Menu

#71 Guitarix crashes at startup when used with 192KHz interface

wont-fix
brummer
v1.0_(example)
1
2018-11-12
2018-11-11
No

Guitarix runs normally when I use my interface at 96KHz. As soon as I set it to 192kHz it crashes on startup. I managed to get it to work for short amount of time, but it would crash as soon as I selected some other preset. Because I didn't save that working preset, I can't quite reproduce it.
This is gdb output when I start it:

(gdb) run
Starting program: /usr/bin/guitarix 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffec8eb700 (LWP 3341)]
[New Thread 0x7fffe7fff700 (LWP 3342)]
[New Thread 0x7fffe77fe700 (LWP 3343)]
[New Thread 0x7fffe64f2700 (LWP 3344)]
[New Thread 0x7fffe5cf1700 (LWP 3345)]
[New Thread 0x7fffddfcc700 (LWP 3346)]
[New Thread 0x7fffddf4b700 (LWP 3347)]
[New Thread 0x7fffddeb8700 (LWP 3348)]
[New Thread 0x7fffdde37700 (LWP 3349)]
[New Thread 0x7fffdd636700 (LWP 3350)]
[New Thread 0x7fffdd5b5700 (LWP 3351)]
[New Thread 0x7fffcf187700 (LWP 3353)]

Thread 11 "guitarix" received signal SIGBUS, Bus error.
[Switching to Thread 0x7fffdd636700 (LWP 3350)]
0x00005555557aaa0b in gx_engine::ContrastConvolver::run_contrast(int, float*, float*, PluginDef*) ()
(gdb) bt full
#0  0x00005555557aaa0b in gx_engine::ContrastConvolver::run_contrast(int, float*, float*, PluginDef*) ()
#1  0x000055555594d0b2 in gx_engine::MonoModuleChain::process(int, float*, float*) ()
#2  0x00005555558ef878 in gx_jack::GxJack::gx_jack_process(unsigned int, void*) ()
#3  0x00007ffff7df1d8e in  () at /usr/lib/libjack.so.0
#4  0x00007ffff7df1c96 in  () at /usr/lib/libjack.so.0
#5  0x00007ffff7def4db in  () at /usr/lib/libjack.so.0
#6  0x00007ffff7e10072 in  () at /usr/lib/libjack.so.0
#7  0x00007ffff7dbda9d in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007ffff3d1bb23 in clone () at /usr/lib/libc.so.6

Program Crashes here causing around 30 Xruns

(gdb) n
Single stepping until exit from function _ZN9gx_engine17ContrastConvolver12run_contrastEiPfS1_P9PluginDef,
which has no line number information.
[Thread 0x7fffcf187700 (LWP 3353) exited]
[Thread 0x7fffdd5b5700 (LWP 3351) exited]
[Thread 0x7fffdd636700 (LWP 3350) exited]
[Thread 0x7fffdde37700 (LWP 3349) exited]
[Thread 0x7fffddeb8700 (LWP 3348) exited]
[Thread 0x7fffddf4b700 (LWP 3347) exited]
[Thread 0x7fffddfcc700 (LWP 3346) exited]
[Thread 0x7fffe5cf1700 (LWP 3345) exited]
[Thread 0x7fffe77fe700 (LWP 3343) exited]
[Thread 0x7fffe7fff700 (LWP 3342) exited]
[Thread 0x7fffec8eb700 (LWP 3341) exited]
[Thread 0x7fffeca93500 (LWP 3337) exited]

Program terminated with signal SIGBUS, Bus error.
The program no longer exists.

Completely exiting results in additional 60 Xruns. It manifests itself as unregular beep in headphones.

Discussion

  • brummer

    brummer - 2018-11-12
    • status: open --> wont-fix
    • assigned_to: brummer
     
  • brummer

    brummer - 2018-11-12

    Hi

    Sorry, but that was to be expected. Guitarix use internal 96kHz for the non-linear processing, and this is the highest sample rate the engine would handle.
    I've now added a exit handler and a warning so that guitarix exit clean instead crash, when sample rate is to high.

    regards
    hermann

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB