Ubuntu freezes after exiting gldb-gui video catpure
Status: Inactive
Brought to you by:
bmerry
How to reproduce:
1 - run gldb-gui
2 - start video capture with the debugger on a target application
3 - exit gldb-gui (If you exit the debugged application before exiting gldb-gui it will keep saying running and cause the freeze anyway)
It will attempt to create the video file after exiting gldb-gui but fail and freeze the OS.
Console output after exiting gldb-gui.
I can reproduce a similar problem (something starts spawning off ffmpeg and ppmtoy4m processes at a huge rate until it hoses the system). I will take a look sometime, but your best bet is to install the ffmpeg development libraries (libavcodec-dev, libavformat-dev and libswscale-dev, if I remember correctly) and recompile bugle. The code you're using is a fallback path for when bugle can't use libraries to do video encoding, and since I never test it and it causes problems, I may well just remove that path.
By the way, you will probably get better video capture performance by running your application from the command line with environment variables (see the bugle(3) man page). The debugger adds overheads.