Skip to content

SWS Script might Crash Reaper with "Bus Error" - Linux #1359

Description

@codecollider

Hi,

not 100% sure if this is caused by the SWS script, I also reported the crash to Justin, but the back trace points to SWS everytime Reaper crashes with "Bus Error" in the terminal. I'm using Debian 10 (with XFCE) and used the version sws-2.12.0.0-Linux-x86_64-23871fdc.tar.xz.

The backtrace is shown below. Currently I'm testing without SWS, but as the error occurs quite rarely I have to test for at least two days to be sure that it's gone.

Also made a thread here: https://forum.cockos.com/showthread.php?t=236818

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/home/marco/opt/REAPER/./reaper'.
Program terminated with signal SIGBUS, Bus error.
#0  0x00007f418e990739 in ?? () from /home/marco/opt/REAPER/libSwell.so
[Current thread is 1 (Thread 0x7f418ec18d80 (LWP 1499))]
(gdb) thread apply all bt
...

Thread 5 (Thread 0x7f413c8e5700 (LWP 1575)):
#0  0x00007f418f21c00c in futex_wait_cancelable (private=0, expected=0, futex_word=0xd419268) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f418f21c00c in __pthread_cond_wait_common (abstime=0x0, mutex=0xd419218, cond=0xd419240) at pthread_cond_wait.c:502
#2  0x00007f418f21c00c in __pthread_cond_wait (cond=0xd419240, mutex=0xd419218) at pthread_cond_wait.c:655
#3  0x00007f415e491dcb in  () at /home/marco/.vst/u-he/Hive.64.so
#4  0x00007f415e491194 in  () at /home/marco/.vst/u-he/Hive.64.so
#5  0x00007f415e742c27 in  () at /home/marco/.vst/u-he/Hive.64.so
#6  0x00007f418f215fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#7  0x00007f418ed1d4cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f4153206700 (LWP 1540)):
#0  0x00007f418f21c00c in futex_wait_cancelable (private=0, expected=0, futex_word=0xb0383b0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f418f21c00c in __pthread_cond_wait_common (abstime=0x0, mutex=0xb038360, cond=0xb038388) at pthread_cond_wait.c:502
#2  0x00007f418f21c00c in __pthread_cond_wait (cond=0xb038388, mutex=0xb038360) at pthread_cond_wait.c:655
#3  0x00007f415e491dcb in  () at /home/marco/.vst/u-he/Hive.64.so
#4  0x00007f415e491194 in  () at /home/marco/.vst/u-he/Hive.64.so
#5  0x00007f415e742c27 in  () at /home/marco/.vst/u-he/Hive.64.so
#6  0x00007f418f215fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#7  0x00007f418ed1d4cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f413d8e7700 (LWP 1573)):
#0  0x00007f418f21c00c in futex_wait_cancelable (private=0, expected=0, futex_word=0xd4191b8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f418f21c00c in __pthread_cond_wait_common (abstime=0x0, mutex=0xd419168, cond=0xd419190) at pthread_cond_wait.c:502
#2  0x00007f418f21c00c in __pthread_cond_wait (cond=0xd419190, mutex=0xd419168) at pthread_cond_wait.c:655
#3  0x00007f415e491dcb in  () at /home/marco/.vst/u-he/Hive.64.so
#4  0x00007f415e491194 in  () at /home/marco/.vst/u-he/Hive.64.so
#5  0x00007f415e742c27 in  () at /home/marco/.vst/u-he/Hive.64.so
#6  0x00007f418f215fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#7  0x00007f418ed1d4cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f4153a07700 (LWP 1539)):
#0  0x00007f418f21c00c in futex_wait_cancelable (private=0, expected=0, futex_word=0xb038358) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f418f21c00c in __pthread_cond_wait_common (abstime=0x0, mutex=0xb038308, cond=0xb038330) at pthread_cond_wait.c:502
#2  0x00007f418f21c00c in __pthread_cond_wait (cond=0xb038330, mutex=0xb038308) at pthread_cond_wait.c:655
#3  0x00007f415e491dcb in  () at /home/marco/.vst/u-he/Hive.64.so
#4  0x00007f415e491194 in  () at /home/marco/.vst/u-he/Hive.64.so
#5  0x00007f415e742c27 in  () at /home/marco/.vst/u-he/Hive.64.so
#6  0x00007f418f215fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#7  0x00007f418ed1d4cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f418ec18d80 (LWP 1499)):
#0  0x00007f418e990739 in  () at /home/marco/opt/REAPER/libSwell.so
#1  0x00007f417ed8f2cd in NotesWnd::Update(bool) [clone .part.29] () at /home/marco/.config/REAPER/UserPlugins/reaper_sws-x86_64.so
#2  0x00007f417ed2ac3c in ScheduledJob::Schedule(ScheduledJob*) () at /home/marco/.config/REAPER/UserPlugins/reaper_sws-x86_64.so
#3  0x00007f417ec28f05 in SWSTimeSlice::SetTrackListChange() () at /home/marco/.config/REAPER/UserPlugins/reaper_sws-x86_64.so
#4  0x000000000061574d in  ()
#5  0x000000000068649f in  ()
#6  0x00000000006acebe in  ()
#7  0x00000000004c93ee in  ()
#8  0x00000000006b6ec8 in  ()
#9  0x00007f418e9b6a33 in  () at /home/marco/opt/REAPER/libSwell.so
#10 0x00007f418e9b6ea2 in  () at /home/marco/opt/REAPER/libSwell.so
#11 0x00007f418e9b7335 in  () at /home/marco/opt/REAPER/libSwell.so
#12 0x00007f418db57465 in  () at /lib/x86_64-linux-gnu/libgdk-3.so.0
#13 0x00007f418db88112 in  () at /lib/x86_64-linux-gnu/libgdk-3.so.0
#14 0x00007f418d7acf2e in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007f418d7ad1c8 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f418d7ad25c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f418e9b876a in  () at /home/marco/opt/REAPER/libSwell.so
#18 0x00007f418e99ad42 in  () at /home/marco/opt/REAPER/libSwell.so
#19 0x0000000000414916 in  ()
#20 0x00007f418ec4809b in __libc_start_main (main=0x414030, argc=1, argv=0x7ffd4fc14eb8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd4fc14ea8) at ../csu/libc-start.c:308
#21 0x0000000000419faa in _start ()`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions