Totem also crashes for me when I resume from sleep mode on my Dell D630.
Activating apport does not catch the error, but running totem in debug
mode from a terminal reports the following after resuming from standby
mode:

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 1959 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.)

Following the instructions for debugging leads to the following stack
trace:

GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/totem...Reading symbols from 
/usr/lib/debug/usr/bin/totem...done.
done.
(gdb) break gdk_x_error
Function "gdk_x_error" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (gdk_x_error) pending.
(gdb) run --sync --debug
Starting program: /usr/bin/totem --sync --debug
[Thread debugging using libthread_db enabled]
(totem:653): Totem-DEBUG: Received SaveYourself(SmSaveLocal, !Shutdown, 
SmInteractStyleNone, !Fast) in state idle
(totem:653): Totem-DEBUG: Setting initial properties
(totem:653): Totem-DEBUG: Sending SaveYourselfDone(True) for initial 
SaveYourself
(totem:653): Totem-DEBUG: Received SaveComplete message in state 
save-yourself-done
[New Thread 0xb6cabb70 (LWP 658)]
[New Thread 0xb64aab70 (LWP 659)]
[Thread 0xb64aab70 (LWP 659) exited]
(totem:653): Totem-DEBUG: totem_playlist_add_one_mrl (): 
seradio-episode164-agileTestingWithLisaCrispin.mp3 (null) (null)

(totem:653): Totem-DEBUG: trying to restore position of: 
file:///home/rjp/Podcasts/Software%20Engineering%20Radio%20-%20the%20podcast%20for%20professional%20software%20developers/seradio-episode164-agileTestingWithLisaCrispin.mp3
(totem:653): Totem-DEBUG: seek time: 176177
[New Thread 0xb64aab70 (LWP 661)]
[New Thread 0xb5affb70 (LWP 662)]
[New Thread 0xb52feb70 (LWP 663)]
[New Thread 0xb0afcb70 (LWP 665)]
[New Thread 0xb02fbb70 (LWP 667)]
[New Thread 0xafafab70 (LWP 668)]
[Thread 0xb0afcb70 (LWP 665) exited]
[Thread 0xb52feb70 (LWP 663) exited]
[Switching to Thread 0xb6cabb70 (LWP 658)]

Breakpoint 1, gdk_x_error (display=0x83e4078, error=0xb6caaf0c) at 
/build/buildd/gtk+2.0-2.20.1/gdk/x11/gdkmain-x11.c:439
439     /build/buildd/gtk+2.0-2.20.1/gdk/x11/gdkmain-x11.c: No such file or 
directory.
        in /build/buildd/gtk+2.0-2.20.1/gdk/x11/gdkmain-x11.c
(gdb) where
#0  gdk_x_error (display=0x83e4078, error=0xb6caaf0c) at 
/build/buildd/gtk+2.0-2.20.1/gdk/x11/gdkmain-x11.c:439
#1  0x00f63299 in _XError (dpy=0x83e4078, rep=0x8404240) at 
../../src/XlibInt.c:3103
#2  0x00f6992f in process_responses (dpy=0x83e4078, wait_for_first_event=<value 
optimized out>, current_error=0xb6cab03c, current_request=102) at 
../../src/xcb_io.c:214
#3  0x00f69fb6 in _XReply (dpy=0x83e4078, rep=0xb6cab070, extra=0, discard=1) 
at ../../src/xcb_io.c:464
#4  0x00f5d847 in XSync (dpy=0x83e4078, discard=0) at ../../src/Sync.c:48
#5  0x01880c49 in gst_xvimagesink_xvimage_put (xvimagesink=0x83e60b8, 
xvimage=0x8578c18) at xvimagesink.c:864
#6  0x01886849 in gst_xvimagesink_handle_xevents (xvimagesink=0x83e60b8) at 
xvimagesink.c:1280
#7  gst_xvimagesink_event_thread (xvimagesink=0x83e60b8) at xvimagesink.c:1635
#8  0x00eafdef in g_thread_create_proxy (data=0x83e81d0) at 
/build/buildd/glib2.0-2.24.1/glib/gthread.c:1893
#9  0x0047b96e in start_thread (arg=0xb6cabb70) at pthread_create.c:300
#10 0x01112a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
(gdb) 

Totem version: totem 2.30.2
Ubuntu version: 10.04

-- 
Totem crashes after using sleep mode
https://bugs.launchpad.net/bugs/230797
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to rhythmbox in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to