Menu

#113 Ubuntu freezes after exiting gldb-gui video catpure

new
debugger
major
0.0.20140104
defect
2014-03-27
2014-03-21
André
No

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.

1 Attachments

Discussion

  • André

    André - 2014-03-21

    Console output after exiting gldb-gui.

     
  • Bruce Merry

    Bruce Merry - 2014-03-27

    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.