Crash with insufficient memory when opening a video
@pcastro
Submitted by Pedro Castro Assigned to Maintainers of GNOME subtitles
Link to original bug (#633640)
Description
Opening a video with insufficient (video?) memory outputs the following:
Got video info: width=640, height=352, aspect_Ratio=1.818182, frame_rate=23.976, has_audio=True, has_video=True Got video duration: 00:33:02.3150000 The program 'gnome-subtitles' received an X Window System error. This probably reflects a bug in the program. The error was 'BadAlloc (insufficient resources for operation)'. (Details: serial 57 error_code 11 request_code 133 minor_code 19) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.)
This should be tested for, in order to return a convenient error message.
Version: latest