After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 582067 - Player crashes on resume/suspend if playing visual effects
Player crashes on resume/suspend if playing visual effects
Status: RESOLVED DUPLICATE of bug 351784
Product: totem
Classification: Core
Component: Plugins
2.26.x
Other All
: Normal critical
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2009-05-10 13:58 UTC by ariel cornejo
Modified: 2009-05-13 05:54 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26


Attachments
backtrace with gstreamer dbg symbols (5.44 KB, text/plain)
2009-05-12 12:03 UTC, ariel cornejo
Details

Description ariel cornejo 2009-05-10 13:58:36 UTC
Steps to reproduce:
1. play an mp3 file or stream
2. suspend the computer, with one of several visualizations on (see below)
3. resume; 1-2 seconds of audio can be heard (buffered?)

Stack trace:
$ gdb totem
GNU gdb 6.8-debian
Copyright (C) 2008 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"...
(gdb) run
Starting program: /usr/bin/totem 
[Thread debugging using libthread_db enabled]
[New Thread 0xb680fa60 (LWP 28039)]
[New Thread 0xb636eb90 (LWP 28043)]
[New Thread 0xb5adcb90 (LWP 28044)]
[Thread 0xb5adcb90 (LWP 28044) exited]
/var/lib/python-support/python2.6/gdata/tlslite/utils/cryptomath.py:9: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha
[New Thread 0xb5adcb90 (LWP 28051)]
[New Thread 0xb4580b90 (LWP 28052)]
[New Thread 0xafd41b90 (LWP 28053)]
[New Thread 0xaf540b90 (LWP 28054)]
[New Thread 0xaed3fb90 (LWP 28055)]
[New Thread 0xae0ffb90 (LWP 28056)]
[New Thread 0xad8feb90 (LWP 28057)]
[Thread 0xad8feb90 (LWP 28057) exited]
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 1394 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.)

Program exited with code 01.


Other information:
Affected (built-in) plugins:
libvisual jess plugin plugin v.0.1
libvisual infinite plugin plugin v.0.1
libvisual libvisual corona plugin plugin v.0.1
libvisual Bumpscope plugin plugin v.0.0.1
GOOM: What a GOOM!
GOOM: What a GOOM! 2k1 edition
(by the way, something's odd with the names)
Comment 1 Bastien Nocera 2009-05-10 14:36:38 UTC
Please gather a backtrace as mentioned in the error message.
Comment 2 ariel cornejo 2009-05-10 15:40:51 UTC
(I'm running "$ gdb --args totem --sync")

Setting a breakpoint on gdk_x_error always produces:
  (gdb) b 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.
And the breakpoint is never reached. I try to set the breakpoint both before and during execution ('run', Ctrl-C, 'b gdk_x_error').

If I set the breakpoint on 'exit', this is the trace I get:
  • #0 exit
    from /lib/tls/i686/cmov/libc.so.6
  • #1 ??
    from /usr/lib/libgdk-x11-2.0.so.0
  • #2 _XError
    from /usr/lib/libX11.so.6
  • #3 ??
    from /usr/lib/libX11.so.6
  • #4 _XReply
    from /usr/lib/libX11.so.6
  • #5 XSync
    from /usr/lib/libX11.so.6
  • #6 ??
    from /usr/lib/gstreamer-0.10/libgstxvimagesink.so
  • #7 ??
    from /usr/lib/gstreamer-0.10/libgstxvimagesink.so
  • #8 ??
    from /usr/lib/libgstbase-0.10.so.0
  • #9 ??
    from /usr/lib/libgstbase-0.10.so.0
  • #10 ??
    from /usr/lib/libgstbase-0.10.so.0
  • #11 ??
    from /usr/lib/libgstbase-0.10.so.0
  • #12 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #13 gst_pad_push
    from /usr/lib/libgstreamer-0.10.so.0
  • #14 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #15 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #53 ??
    from /usr/lib/libgstbase-0.10.so.0
  • #54 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #55 gst_pad_push
    from /usr/lib/libgstreamer-0.10.so.0
  • #56 ??
    from /usr/lib/gstreamer-0.10/libgstcoreelements.so
  • #57 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #58 g_thread_pool_thread_proxy
    at /build/buildd/glib2.0-2.20.1/glib/gthreadpool.c line 265
  • #59 g_thread_create_proxy
    at /build/buildd/glib2.0-2.20.1/glib/gthread.c line 635
  • #60 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #61 clone
    from /lib/tls/i686/cmov/libc.so.6

What should I do now?
Comment 3 Philip Withnall 2009-05-10 16:27:55 UTC
(In reply to comment #2)
> What should I do now?

Install debug symbols for GTK+ and try again. It's failing to find the gdk_x_error symbol because it doesn't have the symbol list for GDK.
Comment 4 ariel cornejo 2009-05-10 17:36:49 UTC
Breakpoint 1, gdk_x_error (display=0xa08c3a8, error=0xaf443688) at /build/buildd/gtk+2.0-2.16.1/gdk/x11/gdkmain-x11.c:614
614	/build/buildd/gtk+2.0-2.16.1/gdk/x11/gdkmain-x11.c: No such file or directory.
	in /build/buildd/gtk+2.0-2.16.1/gdk/x11/gdkmain-x11.c
(gdb) bt
  • #0 gdk_x_error
    at /build/buildd/gtk+2.0-2.16.1/gdk/x11/gdkmain-x11.c line 614
  • #1 _XError
    from /usr/lib/libX11.so.6
  • #2 ??
    from /usr/lib/libX11.so.6
  • #3 _XReply
    from /usr/lib/libX11.so.6
  • #4 XSync
    from /usr/lib/libX11.so.6
  • #5 ??
    from /usr/lib/gstreamer-0.10/libgstxvimagesink.so
  • #6 ??
    from /usr/lib/gstreamer-0.10/libgstxvimagesink.so
  • #7 ??
    from /usr/lib/libgstbase-0.10.so.0
  • #8 ??
    from /usr/lib/libgstbase-0.10.so.0
  • #9 ??
    from /usr/lib/libgstbase-0.10.so.0
  • #10 ??
    from /usr/lib/libgstbase-0.10.so.0
  • #11 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #12 gst_pad_push
    from /usr/lib/libgstreamer-0.10.so.0
  • #13 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #14 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #15 gst_pad_push
    from /usr/lib/libgstreamer-0.10.so.0
  • #16 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #17 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #18 gst_pad_push
    from /usr/lib/libgstreamer-0.10.so.0
  • #19 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #20 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #21 gst_pad_push
    from /usr/lib/libgstreamer-0.10.so.0
  • #22 ??
    from /usr/lib/libgstbase-0.10.so.0
  • #23 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #24 gst_pad_push
    from /usr/lib/libgstreamer-0.10.so.0
  • #25 ??
    from /usr/lib/libgstbase-0.10.so.0
  • #26 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #27 gst_pad_push
    from /usr/lib/libgstreamer-0.10.so.0
  • #28 ??
    from /usr/lib/libgstbase-0.10.so.0
  • #29 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #30 gst_pad_push
    from /usr/lib/libgstreamer-0.10.so.0
  • #31 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #32 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #33 gst_pad_push
    from /usr/lib/libgstreamer-0.10.so.0
  • #34 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #35 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #36 gst_pad_push
    from /usr/lib/libgstreamer-0.10.so.0
  • #37 ??
    from /usr/lib/libgstbase-0.10.so.0
  • #38 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #39 gst_pad_push
    from /usr/lib/libgstreamer-0.10.so.0
  • #40 ??
    from /usr/lib/gstreamer-0.10/libgstlibvisual.so
  • #41 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #42 gst_pad_push
    from /usr/lib/libgstreamer-0.10.so.0
  • #43 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #44 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #45 gst_pad_push
    from /usr/lib/libgstreamer-0.10.so.0
  • #46 ??
    from /usr/lib/libgstbase-0.10.so.0
  • #47 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #48 gst_pad_push
    from /usr/lib/libgstreamer-0.10.so.0
  • #49 ??
    from /usr/lib/libgstbase-0.10.so.0
  • #50 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #51 gst_pad_push
    from /usr/lib/libgstreamer-0.10.so.0
  • #52 ??
    from /usr/lib/libgstbase-0.10.so.0
  • #53 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #54 gst_pad_push
    from /usr/lib/libgstreamer-0.10.so.0
  • #55 ??
    from /usr/lib/gstreamer-0.10/libgstcoreelements.so
  • #56 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #57 g_thread_pool_thread_proxy
    at /build/buildd/glib2.0-2.20.1/glib/gthreadpool.c line 265
  • #58 g_thread_create_proxy
    at /build/buildd/glib2.0-2.20.1/glib/gthread.c line 635
  • #59 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #60 clone
    from /lib/tls/i686/cmov/libc.so.6

Comment 5 Philip Withnall 2009-05-10 17:56:49 UTC
Can you also install the GStreamer and gst-plugins-* debug symbols please?
Comment 6 ariel cornejo 2009-05-12 12:03:19 UTC
Created attachment 134490 [details]
backtrace with gstreamer dbg symbols
Comment 7 Philip Withnall 2009-05-12 16:01:09 UTC
Thanks for that. This looks like a duplicate of bug #351784, but there are still questions to be answered there. Could you get a debug log with the following command, and attach it to bug #351784 please?

GST_DEBUG_NO_COLOR=1 GST_DEBUG=*:5 totem &> totem.log

The log will probably be quite big, and will need compressing. Thanks.

*** This bug has been marked as a duplicate of 351784 ***
Comment 8 ariel cornejo 2009-05-13 02:03:21 UTC
> GST_DEBUG_NO_COLOR=1 GST_DEBUG=*:5 totem &> totem.log
> 
> The log will probably be quite big, and will need compressing. Thanks.

-rw-r--r-- 1 ariel ariel 2875052 2009-05-12 21:00 totem.log.bz2
Bugzilla says "The file you are trying to attach is 2808 kilobytes (KB) in size. Non-patch attachments cannot be more than1000 KB"
I recall having seen a link to a site commonly used to upload large log files. What was it?
Comment 9 Philip Withnall 2009-05-13 05:54:26 UTC
You could try rapidshare.com. Please post the link in bug #351784. Thanks.