#6 Hanging on exit

closed-fixed
nobody
None
5
2010-05-08
2009-07-13
Anonymous
No

1. start amsyth, using alsa audio & midi
2. start a second instance, from the File menu
3. try to quit the 2nd instance
-> 2nd instance hangs on exit, until killed from terminal / xkill
the first instance can quit okay.

Backtrace for thread 1:
#0 0xb803e430 in __kernel_vsyscall ()
#1 0xb7065be7 in pthread_join () from /lib/tls/i686/cmov/libpthread.so.0
#2 0x08066e1f in MidiInterface::Stop ()
#3 0x00000000 in ?? ()

Backtrace for thread 2:
#0 0xb803e430 in __kernel_vsyscall ()
#1 0xb706c0fb in read () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb720d730 in ?? () from /usr/lib/libasound.so.2
#3 0xb720def1 in ?? () from /usr/lib/libasound.so.2
#4 0xb720ea87 in snd_seq_event_input () from /usr/lib/libasound.so.2
#5 0x08067c02 in ALSAMidiDriver::read ()

Discussion

  • nick dowell

    nick dowell - 2010-04-24

    fixed in revision 315 -
    now using pthread_cancel to terminate audio thread

     
  • nick dowell

    nick dowell - 2010-04-24
    • status: open --> pending-fixed
     
  • nick dowell

    nick dowell - 2010-05-08
    • status: pending-fixed --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks