Re: [Qtractor-devel] Regressions in current drumkv1 Git
An Audio/MIDI multi-track sequencer
Brought to you by:
rncbc
From: Frank N. <bea...@we...> - 2018-10-18 18:53:01
|
Hi again, a few days ago I wrote: > > as of drumkv1-0.9.2.34git.56c7f4 today those issues might have been > > fixed for you to bother again :) > > Great, thanks..I gave it a quick try yesterday and was still able to provoke > a crash after some time of fiddling around, but I have no core dump, so will > need to go after this again this weekend. I have run some more tests today, and can still get qtractor/drumkv1 to crash pretty quickly; the point where it's crashing is not constant, though. Now I realized I do not have to run the drumkv1 LV2 plugin in Qtractor; I can also make the stand-alone "drumkv1_jack" app to crash in a similar way, and I guess this might make debugging easier. Also, I don't need to connect any JACK audio ports of drumkv1_jack to my soundcard to provoke the crash. It's enough to connect MIDI, play MIDI events into drumkv1_jack via a keyboard while I am quickly switching the sound bank for a little while (Cursor-Up/Down in the "Recently used" dropdown box helps to reproduce this quickly). Here are some excerpts from inspecting the core dump of a crashed drumkv1_jack instance: Core was generated by `drumkv1_jack'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007f8b57f46924 in drumkv1_sample::ratio (this=0x0) at drumkv1_sample.h:113 113 { return m_ratio; } [Current thread is 1 (Thread 0x7f8b3cbea700 (LWP 8061))] (gdb) bt #0 0x00007f8b57f46924 in drumkv1_sample::ratio (this=0x0) at drumkv1_sample.h:113 #1 0x00007f8b57f46a4a in drumkv1_generator::next (this=0x18eb5d8, freq=65.4063873) at drumkv1_sample.h:193 #2 0x00007f8b57f44167 in drumkv1_impl::process (this=0x18b8cc0, ins=0x7f8b3cbe9850, outs=0x7f8b3cbe9830, nframes=128) at drumkv1.cpp:2078 #3 0x00007f8b57f45a7a in drumkv1::process (this=0x18b18d0, ins=0x7f8b3cbe9850, outs=0x7f8b3cbe9830, nframes=128) at drumkv1.cpp:2502 #4 0x000000000040a8bd in drumkv1_jack::process (this=0x18b18d0, nframes=128) at drumkv1_jack.cpp:276 #5 0x0000000000409f7a in drumkv1_jack_process (nframes=128, arg=0x18b18d0) at drumkv1_jack.cpp:112 #6 0x00007f8b58693c1e in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0 #7 0x00007f8b58693058 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0 #8 0x00007f8b586ab680 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0 #9 0x00007f8b56ef06ba in start_thread (arg=0x7f8b3cbea700) at pthread_create.c:333 #10 0x00007f8b5668e41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Core was generated by `drumkv1_jack'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007f3c6a223961 in drumkv1_sample::isOver (this=0x0, index=0) at drumkv1_sample.h:128 128 { return !m_pframes || (index >= m_offset_end2); } [Current thread is 1 (Thread 0x7f3c4eebf700 (LWP 8196))] (gdb) bt #0 0x00007f3c6a223961 in drumkv1_sample::isOver (this=0x0, index=0) at drumkv1_sample.h:128 #1 0x00007f3c6a223c6c in drumkv1_generator::isOver (this=0x98f8d8) at drumkv1_sample.h:224 #2 0x00007f3c6a223aee in drumkv1_generator::value (this=0x98f8d8, k=0) at drumkv1_sample.h:203 #3 0x00007f3c6a22119f in drumkv1_impl::process (this=0x962c70, ins=0x7f3c4eebe850, outs=0x7f3c4eebe830, nframes=128) at drumkv1.cpp:2081 #4 0x00007f3c6a222a7a in drumkv1::process (this=0x95dc10, ins=0x7f3c4eebe850, outs=0x7f3c4eebe830, nframes=128) at drumkv1.cpp:2502 #5 0x000000000040a8bd in drumkv1_jack::process (this=0x95dc10, nframes=128) at drumkv1_jack.cpp:276 #6 0x0000000000409f7a in drumkv1_jack_process (nframes=128, arg=0x95dc10) at drumkv1_jack.cpp:112 #7 0x00007f3c6a970c1e in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0 #8 0x00007f3c6a970058 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0 #9 0x00007f3c6a988680 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0 #10 0x00007f3c691cd6ba in start_thread (arg=0x7f3c4eebf700) at pthread_create.c:333 #11 0x00007f3c6896b41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Core was generated by `drumkv1_jack'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007fee4cb9bb2c in drumkv1_generator::value (this=0x27bee98, k=0) at drumkv1_sample.h:208 208 const float x0 = frames[m_index]; [Current thread is 1 (Thread 0x7fee31834700 (LWP 8249))] (gdb) bt #0 0x00007fee4cb9bb2c in drumkv1_generator::value (this=0x27bee98, k=0) at drumkv1_sample.h:208 #1 0x00007fee4cb9919f in drumkv1_impl::process (this=0x278dc40, ins=0x7fee31833850, outs=0x7fee31833830, nframes=128) at drumkv1.cpp:2081 #2 0x00007fee4cb9aa7a in drumkv1::process (this=0x2788d00, ins=0x7fee31833850, outs=0x7fee31833830, nframes=128) at drumkv1.cpp:2502 #3 0x000000000040a8bd in drumkv1_jack::process (this=0x2788d00, nframes=128) at drumkv1_jack.cpp:276 #4 0x0000000000409f7a in drumkv1_jack_process (nframes=128, arg=0x2788d00) at drumkv1_jack.cpp:112 #5 0x00007fee4d2e8c1e in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0 #6 0x00007fee4d2e8058 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0 #7 0x00007fee4d300680 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0 #8 0x00007fee4bb456ba in start_thread (arg=0x7fee31834700) at pthread_create.c:333 #9 0x00007fee4b2e341d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Anything else how I can help in digging deeper? Do you need my test data (tiny drum pattern track)? I'd love to see this one squashed, https://sonoj.org is just around the corner ;-). Thanks, Frank |