On 29/05/10 20:16, gabor papp wrote:
hi Claude,

thanks for the report. i updated rtmidi in git. please try it now. i'm
not sure it will help, because the crashes seem to be not related to
midi as they happen during totally different function tests.

Well, it still crashes (in the MIDI thread as far as I can tell) - maybe some random memory corruption or race condition is happening - are there any tips for debugging fluxus with valgrind?


best,
gabor



...
testing: active-mesh
testing: passive-box
testing: passive-cylinder
testing: passive-sphere
testing: passive-mesh
Seg fault (internal error) at 0x7fffef84fb20
mprotect fault on 0x7fffef84fb20

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffea514710 (LWP 19893)]
0x00007ffff4ac0a75 in *__GI_raise (sig=<value optimised out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
        in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) bt
#0  0x00007ffff4ac0a75 in *__GI_raise (sig=<value optimised out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007ffff4ac45c0 in *__GI_abort () at abort.c:92
#2  0x0000000000687fa8 in fault_handler ()
#3  <signal handler called>
#4  0x00007fffef84fb20 in ?? ()
#5  0x00007ffff5bae898 in snd_seq_event_input_pending ()
   from /usr/lib/libasound.so.2
#6  0x00007fffecfba3c4 in alsaMidiHandler (ptr=<value optimised out>)
    at modules/fluxus-midi/src/RtMidi.cpp:865
#7  0x00007ffff7bc69ca in start_thread (arg=<value optimised out>)
    at pthread_create.c:300
#8  0x00007ffff4b7369d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Reply via email to