Redux crashes when deleting the Redux instance while an instrument is previewed

Just discovered a bug in redux (v.1.2.2), which crashes the host immediately.

Steps to reproduce:

  1. Open redux instance.
  2. Load sample.
  3. Play instrument while previewing sample from redux browser and then delete redux instance.

Can anyone confirm this?

Tried in Reaper 6.43 and Ableton Live 11 on macOS 10.14.6
Will record a video if needed.

No crash here.
Reaper 6.44 , redux 1.2.2 demo, manjaro linux.

No crash Either on Ubuntu-20.04 Linux , Tracktion_Waveform-11 redux-1.2.2

( Note that I was playing a loop on an instrument , whilst previewing a long sample and closing the Redux instance as I don’t have a MIDI keyboard hooked up to this machine… Just incase that makes a difference as the OP didn’t specify how they played their instrument @korsun )

Hi, thanks!
My bad, I needed to mention, what this happens then you playing an instrument, previewing a sample from redux browser and removing redux instance simultaneously :slight_smile:
(No MIDI keyboard was used also)
You can see here

Reproduced on win10, reaper 6.44, redux 1.2.2

Reproduced by playing a sample with midi and previewing it at the same time in the redux browser

1 Like

Reproduced on bitwig: it crashes the audio engine only :slight_smile:

Can reproduce this crash on Reaper tho on the same machine. Below is the GDB output

Instrument was successfully loaded.
Renoise Redux LOG> VST Shell: Unsupported host canDo: hasCockosViewAsConfig
Renoise Redux LOG> VST Shell: Open plugin editor...
Renoise Redux LOG> System: Application path retrieved from /proc/self/exe: '/opt/REAPER/reaper'
Renoise Redux LOG> VST Shell: Enabled ForceSettingFocus workaround for reaper
Renoise Redux LOG> VST Shell: Requesting new window size: 870, 220
Renoise Redux LOG> VST Shell: Requesting new window size: 1244, 699
[New Thread 0x7fffbb9ee700 (LWP 39143)]
Renoise Redux LOG> VST Shell: Closing plugin editor...
Renoise Redux LOG> Redux: Releasing plugin shell instance...
Renoise Redux LOG> Redux: Shutting down graphport...
Renoise Redux LOG> Redux: Releasing preferences...

Thread 11 "reaper" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffbb9ee700 (LWP 39143)]
0x00007fffbe12a1cc in ?? ()
   from /home/chrissy/.vst/renoise_redux_x86_64/renoise_redux.so
(gdb) thread apply all bt

Thread 11 (Thread 0x7fffbb9ee700 (LWP 39143)):
#0  0x00007fffbe12a1cc in  () at /home/chrissy/.vst/renoise_redux_x86_64/renoise_redux.so
#1  0x00007fffbdbe8477 in  () at /home/chrissy/.vst/renoise_redux_x86_64/renoise_redux.so
#2  0x00007fffbe3a5186 in  () at /home/chrissy/.vst/renoise_redux_x86_64/renoise_redux.so
#3  0x00007fffbdf138a4 in  () at /home/chrissy/.vst/renoise_redux_x86_64/renoise_redux.so
#4  0x00007fffbdf17d33 in  () at /home/chrissy/.vst/renoise_redux_x86_64/renoise_redux.so
#5  0x00007fffbdf21422 in  () at /home/chrissy/.vst/renoise_redux_x86_64/renoise_redux.so
#6  0x00007fffbe392183 in  () at /home/chrissy/.vst/renoise_redux_x86_64/renoise_redux.so
#7  0x00007ffff7f8c609 in start_thread (arg=<optimised out>) at pthread_create.c:477
#8  0x00007ffff7a64293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7fffbc1ef700 (LWP 39137)):
#0  futex_wait_cancelable (private=<optimised out>, expected=0, futex_word=0x60b--Type <RET> for more, q to quit, c to continue without paging--
2cec) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x60b2cf0, cond=0x60b2cc0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x60b2cc0, mutex=0x60b2cf0) at pthread_cond_wait.c:638
#3  0x00007fffbe391cfe in  () at /home/chrissy/.vst/renoise_redux_x86_64/renoise_redux.so
#4  0x00007fffbddb574f in  () at /home/chrissy/.vst/renoise_redux_x86_64/renoise_redux.so
#5  0x00007fffbe392183 in  () at /home/chrissy/.vst/renoise_redux_x86_64/renoise_redux.so
#6  0x00007ffff7f8c609 in start_thread (arg=<optimised out>) at pthread_create.c:477
#7  0x00007ffff7a64293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fffbc9f0700 (LWP 39136)):
#0  futex_wait_cancelable (private=<optimised out>, expected=0, futex_word=0x65ae05c) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x65ae060, cond=0x65ae030) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x65ae030, mutex=0x65ae060) at pthread_cond_wait.c:638
--Type <RET> for more, q to quit, c to continue without paging--
#3  0x00007fffbe391cfe in  () at /home/chrissy/.vst/renoise_redux_x86_64/renoise_redux.so
#4  0x00007fffbddb574f in  () at /home/chrissy/.vst/renoise_redux_x86_64/renoise_redux.so
#5  0x00007fffbe392183 in  () at /home/chrissy/.vst/renoise_redux_x86_64/renoise_redux.so
#6  0x00007ffff7f8c609 in start_thread (arg=<optimised out>) at pthread_create.c:477
#7  0x00007ffff7a64293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fffbd1f1700 (LWP 39135)):
#0  futex_wait_cancelable (private=<optimised out>, expected=0, futex_word=0x64c861c) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x64c8620, cond=0x64c85f0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x64c85f0, mutex=0x64c8620) at pthread_cond_wait.c:638
#3  0x00007fffbe391cfe in  () at /home/chrissy/.vst/renoise_redux_x86_64/renoise_redux.so
#4  0x00007fffbddb574f in  () at /home/chrissy/.vst/renoise_redux_x86_64/renoise_redux.so
#5  0x00007fffbe392183 in  () at /home/chrissy/.vst/renoise_redux_x86_64/renoise--Type <RET> for more, q to quit, c to continue without paging--
_redux.so
#6  0x00007ffff7f8c609 in start_thread (arg=<optimised out>) at pthread_create.c:477
#7  0x00007ffff7a64293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fffc37fe700 (LWP 39134)):
#0  futex_abstimed_wait_cancelable (private=<optimised out>, abstime=0x7fffc37fdd60, clockid=<optimised out>, expected=0, futex_word=0x217cb88) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fffc37fdd60, clockid=<optimised out>, mutex=0x217cb38, cond=0x217cb60) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x217cb60, mutex=0x217cb38, abstime=0x7fffc37fdd60) at pthread_cond_wait.c:656
#3  0x00007ffff769972b in  () at /opt/REAPER/libSwell.so
#4  0x00000000006a1bae in  ()
#5  0x00007ffff7699deb in  () at /opt/REAPER/libSwell.so
#6  0x00007ffff7f8c609 in start_thread (arg=<optimised out>) at pthread_create.c:477
#7  0x00007ffff7a64293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fffc3fff700 (LWP 39133)):
--Type <RET> for more, q to quit, c to continue without paging--
#0  futex_abstimed_wait_cancelable (private=<optimised out>, abstime=0x7fffc3ffed60, clockid=<optimised out>, expected=0, futex_word=0x217d418) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fffc3ffed60, clockid=<optimised out>, mutex=0x217d3c8, cond=0x217d3f0) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x217d3f0, mutex=0x217d3c8, abstime=0x7fffc3ffed60) at pthread_cond_wait.c:656
#3  0x00007ffff769972b in  () at /opt/REAPER/libSwell.so
#4  0x00000000006a165e in  ()
#5  0x00007ffff7699deb in  () at /opt/REAPER/libSwell.so
#6  0x00007ffff7f8c609 in start_thread (arg=<optimised out>) at pthread_create.c:477
#7  0x00007ffff7a64293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fffecc57700 (LWP 39132)):
#0  futex_abstimed_wait_cancelable (private=<optimised out>, abstime=0x7fffecc56d60, clockid=<optimised out>, expected=0, futex_word=0x217b7cc) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fffecc56d60, clockid=<optimised out>, mutex=0x217b778, cond=0x217b7a0) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x217b7a0, mutex=0x217b778, abstime=0x7fffecc56d60) at pthread_cond_wait.c:656
--Type <RET> for more, q to quit, c to continue without paging--
#3  0x00007ffff769972b in  () at /opt/REAPER/libSwell.so
#4  0x00000000006a165e in  ()
#5  0x00007ffff7699deb in  () at /opt/REAPER/libSwell.so
#6  0x00007ffff7f8c609 in start_thread (arg=<optimised out>) at pthread_create.c:477
#7  0x00007ffff7a64293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fffed458700 (LWP 39131)):
#0  futex_wait_cancelable (private=<optimised out>, expected=0, futex_word=0x24acb18) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x24acac0, cond=0x24acaf0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x24acaf0, mutex=0x24acac0) at pthread_cond_wait.c:638
#3  0x00007ffff515787c in pa_threaded_mainloop_wait () at /lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007ffff5b26028 in pa_simple_read () at /lib/x86_64-linux-gnu/libpulse-simple.so.0
#5  0x000000000041eaa3 in  ()
#6  0x000000000041c446 in  ()
#7  0x0000000000420cce in  ()
#8  0x00007ffff7699deb in  () at /opt/REAPER/libSwell.so
--Type <RET> for more, q to quit, c to continue without paging--
#9  0x00007ffff7f8c609 in start_thread (arg=<optimised out>) at pthread_create.c:477
#10 0x00007ffff7a64293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fffedc59700 (LWP 39130)):
#0  0x00007ffff7a57aff in __GI___poll (fds=0x7fffd0001ce0, nfds=3, timeout=846) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff51571d6 in  () at /lib/x86_64-linux-gnu/libpulse.so.0
#2  0x00007ffff5148841 in pa_mainloop_poll () at /lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007ffff5148ec3 in pa_mainloop_iterate () at /lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007ffff5148f70 in pa_mainloop_run () at /lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007ffff515711d in  () at /lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007ffff2afe72c in  () at /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-13.99.so
#7  0x00007ffff7f8c609 in start_thread (arg=<optimised out>) at pthread_create.c:477
#8  0x00007ffff7a64293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

--Type <RET> for more, q to quit, c to continue without paging--
Thread 2 (Thread 0x7fffee45a700 (LWP 39129)):
#0  0x00007ffff7a57aff in __GI___poll (fds=0x7fffe8007170, nfds=3, timeout=704) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff51571d6 in  () at /lib/x86_64-linux-gnu/libpulse.so.0
#2  0x00007ffff5148841 in pa_mainloop_poll () at /lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007ffff5148ec3 in pa_mainloop_iterate () at /lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007ffff5148f70 in pa_mainloop_run () at /lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007ffff515711d in  () at /lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007ffff2afe72c in  () at /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-13.99.so
#7  0x00007ffff7f8c609 in start_thread (arg=<optimised out>) at pthread_create.c:477
#8  0x00007ffff7a64293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95


Thread 1 (Thread 0x7ffff7940b80 (LWP 39124)):
#0  0x00007fffbe3926cc in  () at /home/chrissy/.vst/renoise_redux_x86_64/renoise_redux.so
#1  0x00007fffbe3a69ca in  () at /home/chrissy/.vst/renoise_redux_x86_64/renoise_redux.so
--Type <RET> for more, q to quit, c to continue without paging--
#2  0x00007fffbdf7bcd8 in  () at /home/chrissy/.vst/renoise_redux_x86_64/renoise_redux.so
#3  0x00007fffbdbe0f75 in  () at /home/chrissy/.vst/renoise_redux_x86_64/renoise_redux.so
#4  0x00007fffbdbe1063 in  () at /home/chrissy/.vst/renoise_redux_x86_64/renoise_redux.so
#5  0x00007fffbdffb74f in  () at /home/chrissy/.vst/renoise_redux_x86_64/renoise_redux.so
#6  0x00007fffbe03bfa1 in  () at /home/chrissy/.vst/renoise_redux_x86_64/renoise_redux.so
#7  0x00007fffbdbdf059 in  () at /home/chrissy/.vst/renoise_redux_x86_64/renoise_redux.so
#8  0x00007fffbe038988 in  () at /home/chrissy/.vst/renoise_redux_x86_64/renoise_redux.so
#9  0x0000000000901016 in  ()
#10 0x000000000090c8c6 in  ()
#11 0x000000000076cbe5 in  ()
#12 0x000000000073d794 in  ()
#13 0x000000000075061d in  ()
#14 0x00007ffff76bfa26 in  () at /opt/REAPER/libSwell.so
#15 0x00007ffff76b2ac7 in  () at /opt/REAPER/libSwell.so
#16 0x00007ffff76c27f0 in  () at /opt/REAPER/libSwell.so
#17 0x00007ffff76dd273 in  () at /opt/REAPER/libSwell.so
--Type <RET> for more, q to quit, c to continue without paging--
#18 0x00007ffff76dd6e7 in  () at /opt/REAPER/libSwell.so
#19 0x00007ffff76ddb75 in  () at /opt/REAPER/libSwell.so
#20 0x00007ffff710af79 in  () at /lib/x86_64-linux-gnu/libgdk-3.so.0
#21 0x00007ffff713e106 in  () at /lib/x86_64-linux-gnu/libgdk-3.so.0
#22 0x00007ffff6d2117d in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007ffff6d21400 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007ffff6d214a3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007ffff76df69a in  () at /opt/REAPER/libSwell.so
#26 0x00007ffff76bfd92 in  () at /opt/REAPER/libSwell.so
#27 0x00000000004158c6 in  ()
#28 0x00007ffff79690b3 in __libc_start_main (main=0x414f00, argc=1, argv=0x7fffffffdec8, init=<optimised out>, fini=<optimised out>, rtld_fini=<optimised out>, stack_end=0x7fffffffdeb8) at ../csu/libc-start.c:308
#29 0x000000000041b09a in _start ()

Thanks to all. Will be fixed in the next update.

2 Likes