Re: [Plib-users] Crash in plibsl
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2000-08-25 04:56:29
|
David Bateman wrote: > > Hmmm, it seems to play just fine on my plib-1.2.0 install, if a bit on the > LOUD side. All I did was copy bigjapn2.mod to examples/sl in plib_examples, > rename it to "Paravoka.mod", and "./mod_demo". Nope - it Seg Faulted on my machine...it looks like it did it when the music ended and it was due to wrap-around an start playing for a second time. Program received signal SIGSEGV, Segmentation fault. _MOD_instHirevLoop (ihip=0x807df50) at slMODinst.cxx:129 129 int d = ( signed char ) ( *ihiPtr ^ 0x80 ) ; (gdb) where #0 _MOD_instHirevLoop (ihip=0x807df50) at slMODinst.cxx:129 #1 0x804d3c4 in _MOD_instLoop () at slMODinst.cxx:468 #2 0x804f073 in _MOD_playNote () at slMODnote.cxx:435 #3 0x804b2dc in MODfile::play_one (this=0x806f730, ppat=12) at slMODfile.cxx:400 #4 0x804bb0f in MODfile::update (this=0x806f730) at slMODfile.cxx:523 #5 0x804a52f in slMODPlayer::low_read (this=0x806f6d8, nframes=1024, dst=0x806e6b8 't' <repeats 12 times>, at slMODPlayer.cxx:41 #6 0x804a30d in slPlayer::read (this=0x806f6d8, nframes=1024, dst=0x806e6b8 't' <repeats 12 times>, next_env=0) at slPlayer.cxx:62 #7 0x80494a2 in slScheduler::realUpdate (this=0x8053da0, dump_first=0) at slScheduler.cxx:196 #8 0x8048d2f in main () at /usr/include/plib/sl.h:676 Also, I loaded it into FunkTrackerGOLD - it didn't complain *or* crash but it *did* play the tune at about twice the normal speeed. That double speed thing is *strange* - other tunes play at the same speed in Funktracker and SL. Does this mean that there is a bug in SL? Does it mean that the MOD file is somehow 'broken'? I'm not sure. I was hoping for more concrete evidence. -- Steve Baker HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://web2.airmail.net/sjbaker1 Projects : http://plib.sourceforge.net http://tuxaqfh.sourceforge.net http://tuxkart.sourceforge.net http://prettypoly.sourceforge.net |