On 12/05/2009 03:36 AM, Nikos Chantziaras wrote: > LMMS is segfaulting almost all the time if I play notes quickly using > the keyboard or the mouse (holding the mouse button and moving the mouse > quickly left/right over the piano view): > > lmms[2594] trap int3 ip:3000c059a1 sp:7fffffffc988 error:0 > lmms[13203]: segfault at 8 ip 0000003000475072 sp 00007fffece442a0 error > 4 in libc-2.11.so[3000400000+14f000]
This bug is driving me crazy since I can't use LMMS for more than 5 minutes without it crashing. All the backtraces I came up with indicate these positions: (This is LMMS release 0.4.6; I chose that so we know what the line numbers mean exactly in the code.) InstrumentPlayHandle::play (this=0x3b3c440, _working_buffer=0x107b460) at /home/realnc/tmp/lmms-0.4.6/include/InstrumentPlayHandle.h:50 MixerWorkerThread::processJobQueue (this=0xfe67b0) at /home/realnc/tmp/lmms-0.4.6/src/core/mixer.cpp:218 MixerWorkerThread::run (this=0xfe67b0) at /home/realnc/tmp/lmms-0.4.6/src/core/mixer.cpp:189 Might be a multithreading bug, I don't know. If that's the case, I'm afraid I don't know much about threaded programming :P Can someone help with this? Checks and assertions I could insert to get to the bottom of this? Also, during runtime, when the program crashes I get this printed on the terminal: *** glibc detected *** ./lmms: corrupted double-linked list: 0x00007fdccc0089b0 *** ======= Backtrace: ========= /lib/libc.so.6[0x30004721c5] /lib/libc.so.6[0x300047263d] /lib/libc.so.6[0x3000474954] /lib/libc.so.6(__libc_malloc+0x70)[0x30004770e0] /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/libstdc++.so.6(_Znwm+0x1d)[0x30030c691d] /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/libstdc++.so.6(_Znam+0x9)[0x30030c6a39] /home/realnc/tmp/lmms/lib64/lmms/libZynAddSubFxCore.so(_ZN6SampleC2EiPKf+0x1f)[0x7fdcfd1589c1] /home/realnc/tmp/lmms/lib64/lmms/libZynAddSubFxCore.so(_ZN8AuSampleC1EiPKf+0x9)[0x7fdcfd1586fd] /home/realnc/tmp/lmms/lib64/lmms/libZynAddSubFxCore.so(_ZN6Chorus3outEPfS0_+0x21)[0x7fdcfd138cb9] /home/realnc/tmp/lmms/lib64/lmms/libZynAddSubFxCore.so(_ZN9EffectMgr3outEPfS0_+0xe5)[0x7fdcfd133211] /home/realnc/tmp/lmms/lib64/lmms/libZynAddSubFxCore.so(_ZN4Part15ComputePartSmpsEv+0x4a8)[0x7fdcfd10d21a] /home/realnc/tmp/lmms/lib64/lmms/libZynAddSubFxCore.so(_ZN6Master8AudioOutEPfS0_+0x72)[0x7fdcfd105d20] /home/realnc/tmp/lmms/lib64/lmms/libZynAddSubFxCore.so(_ZN16LocalZynAddSubFx12processAudioEPA2_f+0x51)[0x7fdcfd0fd805] /home/realnc/tmp/lmms/lib64/lmms/libzynaddsubfx.so(_ZN21ZynAddSubFxInstrument4playEPA2_f+0x4c)[0x7fdcfced35d8] /home/realnc/tmp/lmms/lib64/lmms/libzynaddsubfx.so(_ZN20InstrumentPlayHandle4playEPA2_f+0x2e)[0x7fdcfced6ffa] ./lmms(_ZN17MixerWorkerThread15processJobQueueEv+0x84)[0x595b5e] ./lmms(_ZN17MixerWorkerThread3runEv+0x40)[0x59a2d0] /usr/lib/qt4/libQtCore.so.4[0x3007a73215] /lib/libpthread.so.0[0x3000c06894] /lib/libc.so.6(clone+0x6d)[0x30004d064d] ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ LMMS-devel mailing list LMMS-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lmms-devel