Created attachment 386463 [details] strace -f -o rmd.strace recordmydesktop --windowid 0x400003a (sorry allowed it to run too long hence its size) Description of problem: Version-Release number of selected component (if applicable): recordmydesktop-0.3.8.1-4.fc12.x86_64 How reproducible: recordmydesktop --windowid 0x400003a Record for a shortwhile(even a few seconds) cntrl-c and recordmydesktop will hang i the "Shutting down..." phase and never recover. Same happens with different audio qualities etc. If you use "--no-sound" everything works fine. Steps to Reproduce: 1.recordmydesktop 2.wait a few seconds and hit cntrl-c 3.Watch it hang in "Shutting down." Actual results: Recordmydesktop never "finishes" if you attempt to record sound. Expected results: recordmydesktop writes out ogv file including sound Additional info: Appears to work fine if you dont attempt to record sound.
Scratch this. It appears the audio system was in some strange state. Everything else was working but after a cold reboot this issue no longer manifests itself. Sorry for the waste of bandwidth.
Actually, it is a bug. It can be recreated when recording from pulseaudio, although it only seems to happen occasionally. It's a bug in rmd_capture_sound.c. You can see that the audio loops don't check for pdata->running, so they will continue forever if the program exits and the sound driver is returning <= 0 bytes. Just add "&& (pdata->running)" to the while loops on lines 111 and 146 of the latest code (0.3.8.1).