GNOME Bugzilla – Bug 539783
BadAlloc when compositing is turned on
Last modified: 2008-06-25 21:03:35 UTC
This started as https://bugzilla.novell.com/show_bug.cgi?id=402683 With metacity compositing turned on (from gconf), trying to play a video with totem, banshee-1, vlc, mplayer, ... result in a crash: totem movie.ogg The program 'totem' received an X Window System error. This probably reflects a bug in the program. The error was 'BadAlloc (insufficient resources for operation)'. (Details: serial 50 error_code 11 request_code 140 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 is a bug in the device driver, not in Totem. Thanks!
BadAlloc means some request couldn't be satisfied. Should't Totem handle this? Or if it's a bug in the X driver, do you know which bug in particular (from fd.o)?
There's a GStreamer bug opened somewhere about xvimagesink/ximagesink handling better the first frame showed causing a BadAlloc. But the problem usually is in the video driver(s) causing those in error in the first place. If you don't have patched versions of the drivers, it will happen for at least intel and ati drivers, that I know of. Talk to your X maintainers, the drivers in Fedora are all fixed up, AFAIK.