Summary: | Linuxsampler from latest svn crashes after first note | ||
---|---|---|---|
Product: | LinuxSampler | Reporter: | Victor <vicsto> |
Component: | drivers | Assignee: | Christian Schoenebeck <cuse> |
Status: | CLOSED FIXED | ||
Severity: | critical | CC: | janflikweert, musical_snake, vicsto |
Priority: | P5 | ||
Version: | SVN Trunk | ||
Hardware: | PC | ||
OS: | Linux | ||
Attachments: | Proposed fix. |
Description
Victor
2014-06-29 15:29:04 CEST
A backtrace is required to investigate this: CXXFLAGS="-O0 -g3" ./configure && make libtool --mode=execute gdb --arg src/linuxsampler run the sampler should now be running as usual, just attached to the GNU debugger. So use the sampler, reproduce the crash, and after it happened, type bt Then paste the printed back trace. I have also updated the website with these instructions now. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7ffff4bb9700 (LWP 13647)] 0x00007ffff79521cc in RTListBase<LinuxSampler::ScriptEvent>::isEmpty (this=0x8) at ../common/../../common/Pool.h:304 304 return _begin.next == &_end; (gdb) bt #0 0x00007ffff79521cc in RTListBase<LinuxSampler::ScriptEvent>::isEmpty ( this=0x8) at ../common/../../common/Pool.h:304 #1 0x00007ffff79535b6 in RTList<LinuxSampler::ScriptEvent>::clear (this=0x0) at ../common/../../common/Pool.h:475 #2 0x00007ffff79960b6 in LinuxSampler::MidiKeyboardManager<LinuxSampler::sf2::Voice>::FreeKey (this=0x7fffe407bd00, pKey=0x7fffe52afff8) at ../common/MidiKeyboardManager.h:348 #3 0x00007ffff7995998 in LinuxSampler::MidiKeyboardManager<LinuxSampler::sf2::Voice>::FreeAllInactiveKyes (this=0x7fffe407bd00) at ../common/MidiKeyboardManager.h:368 #4 0x00007ffff7994200 in LinuxSampler::EngineBase<LinuxSampler::sf2::Voice, sf2::Region, sf2::Region, LinuxSampler::sf2::DiskThread, LinuxSampler::sf2::InstrumentResourceManager, sf2::Preset>::PostProcess (this=0x7fffe402d5a0, pEngineChannel=0x7fffe407b990) at ../EngineBase.h:1089 #5 0x00007ffff7991348 in LinuxSampler::EngineBase<LinuxSampler::sf2::Voice, sf2::Region, sf2::Region, LinuxSampler::sf2::DiskThread, LinuxSampler::sf2::InstrumentResourceManager, sf2::Preset>::RenderAudio (this=0x7fffe402d5a0, Samples=256) at ../EngineBase.h:178 #6 0x00007ffff7a39314 in LinuxSampler::AudioOutputDevice::RenderAudio ( this=0x7fffe4012670, Samples=256) at AudioOutputDevice.cpp:372 #7 0x00007ffff7a4c415 in LinuxSampler::AudioOutputDeviceJack::Process ( this=0x7fffe4012670, Samples=256) at AudioOutputDeviceJack.cpp:253 #8 0x00007ffff7a4cad5 in LinuxSampler::JackClient::Process ( ---Type <return> to continue, or q <return> to quit--- this=0x7fffe401bad0, Samples=256) at AudioOutputDeviceJack.cpp:386 #9 0x00007ffff7a4c894 in LinuxSampler::linuxsampler_libjack_process_callback ( nframes=256, arg=0x7fffe401bad0) at AudioOutputDeviceJack.cpp:332 #10 0x00007ffff639074c in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0 #11 0x00007ffff6390654 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0 #12 0x00007ffff638e279 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0 #13 0x00007ffff63ad858 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0 #14 0x00007ffff6e55182 in start_thread (arg=0x7ffff4bb9700) at pthread_create.c:312 #15 0x00007ffff6b8230d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 This is with a sf2 loaded Created attachment 63 [details] Proposed fix. Try the attached patch whether it fixes this bug. cd linuxsampler patch -p0 < /wherever/bug227.patch make Patch works. Thanks *** Bug 226 has been marked as a duplicate of this bug. *** Fix committed to SVN (r2659, v1.0.0.svn55). Thanks! (In reply to comment #6) > Fix committed to SVN (r2659, v1.0.0.svn55). > > Thanks! Works here too. Thanks ! |