| freedrull |
| Posted: 2009-08-28 03:47:07 |
|
|
Just looking around Posts: 7
Member since: 2009-07-28 19:05:23 |
On my machine, the linux command line replayer segfaults when you try to play chiprolled.hvl. I copied the latest hvl_replay.c and hvl_replay.h from the windows command line replayer and compiled it with those, but it still crashes! I tried to modify play_hvl.c to make it behave more like the windows replayer...but I have not figured it out yet... |
| freedrull |
| Posted: 2009-08-28 04:14:11 |
|
|
Just looking around Posts: 7
Member since: 2009-07-28 19:05:23 |
Ran it through GDB and it looks like its crashing at hvl_mixchunk...
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7ea1b70 (LWP 10098)]
0x0804ee19 in hvl_mixchunk (ht=0xb7671008, samples=0, buf1=0x817e980 "y�", buf2=0x817f000 <Address 0x817f000 out of bounds>, bufmod=4)
at hvl_replay.c:1999
| |
| Xeron |
| Posted: 2009-09-06 15:34:12 |
|
|
Supreme Being Posts: 331
Member since: 2006-12-13 11:34:00 |
I'll have a look when I get a chance. AHX forever! |
| freedrull |
| Posted: 2009-09-17 03:03:25 |
|
|
Just looking around Posts: 7
Member since: 2009-07-28 19:05:23 |
I noticed chiprolled is one of the few songs that has a Speed Multiplier of 2. I changed it to Speed 1 and it plays fine with segfaulting. So perhaps it is related to this?
I changed a song I made to have speed 2, and it also segfaults. I changed the part of the code that loads the module from this:
| ht->ht_SpeedMultiplier = ((buf[6]>>5)&3)+1; |
to this:
| ht->ht_SpeedMultiplier = 1; |
And the segfault does not occur, although obviously the speed is not correct. So perhaps something is wrong with:
| ht->ht_SpeedMultiplier = ((buf[6]>>5)&3)+1; |
|
| Xeron |
| Posted: 2009-09-29 10:33:38 |
|
|
Supreme Being Posts: 331
Member since: 2006-12-13 11:34:00 |
No, the problem is not with that line. That just reads the speed multiplier from the line. I haven't had a chance to look at it yet, but I will try to this week. AHX forever! |
| freedrull |
| Posted: 2009-10-07 19:46:39 |
|
|
Just looking around Posts: 7
Member since: 2009-07-28 19:05:23 |
Sorry, obviously the problem is not with the hively replayer libs themselves >_<, as the windows replayer does not crash on chiprolled.hvl. It is simply with this replayer code. |