totem won't start with totem-xine engine

Bug #32401 reported by ChrisDesjardins
16
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Medium
Unassigned
totem (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Below is the error I get...
chris@ubuntu:~$ totem
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 69 error_code 11 request_code 141 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.)

Revision history for this message
Sebastian Dröge (slomo) wrote :

Hi, which version of libxine-main1 and totem do you have installed?
And on which architecture are you?

Changed in totem:
status: Unconfirmed → Needs Info
Revision history for this message
Mark (twistedtexan) wrote : Re: [Bug 32401] totem won't start with totem-xine engine

ubuntu 5.10 breezy
Mozilla Firefox 1.0.7
Totem 1.2.0
xine-lib 1.0.1

I did have 1 more problem out of the program but a reboot seemed to
correct it. My computer locked up when I made adjustments to the volume
control on the totem player panel. Remember that this is only after I
first tested Totem with out a restart. I have not had the same problem
again. I would suggest a reboot after installation. I did play 2
different movies but I didn't do that back to back. i.e. I stopped
Totem, installed the second disk, opened Totem and Played the second
movie. Thanks again. I'll keep you informed about any future problems.

On Wed, 2006-02-22 at 10:36 +0000, Sebastian Dröge wrote:
> Public bug report changed:
> https://launchpad.net/malone/bugs/32401
>
> Comment:
> Hi, which version of libxine-main1 and totem do you have installed?
> And on which architecture are you?

Revision history for this message
Sebastien Bacher (seb128) wrote :

So the issue is fixed for you? The lock is probably a linux issue rather than an application one. Should the bug be closed if it works fine for you now?

Revision history for this message
joehill (joseph-hill) wrote :

I'm having the same problem. When I try to start totem (totem-xine engine), the totem window appears for a split second then disappears, and I get this on the console:

GTK Accessibility Module initialized
Bonobo accessibility support initialized

** (totem:11392): WARNING **: Trying to connect to an older version of the GNOME screensaver
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 69 error_code 11 request_code 141 minor_code 19)

I'm using all the currently updated Dapper packages, which I upgraded to today.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Could you get a backtrace?
- gdb totem
(gdb) break gdk_x_error
(gdb) run --sync
... crash
(gdb) thread apply all bt

Does it happen when opening it with a movie as argument?

Revision history for this message
joehill (joseph-hill) wrote :
Download full text (5.7 KiB)

I have not problem starting with a movie argument. I only get this problem with mo movie argument.

Here's the backtrace:

Starting program: /usr/bin/totem --sync
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1224407360 (LWP 12909)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
GTK Accessibility Module initialized
(no debugging symbols found)
(no debugging symbols found)
Bonobo accessibility support initialized
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread -1228751952 (LWP 12912)]

** (totem:12909): WARNING **: Trying to connect to an older version of...

Read more...

Revision history for this message
Daniel Holbach (dholbach) wrote :

Could you please try again and follow the instructions carefully? The

(gdb) break gdk_x_error
(gdb) run --sync

bits are very important.

Revision history for this message
joehill (joseph-hill) wrote :
Download full text (6.6 KiB)

I think this is what I did the first time, but I'm including all my commands so it's more clear what I did. Please tell me if I need to try something else.

~$ gdb totem
GNU gdb 6.4-debian
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".

(gdb) break gdb_x_error
Function "gdb_x_error" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y

Breakpoint 1 (gdb_x_error) pending.
(gdb) run --sync
Starting program: /usr/bin/totem --sync
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1224149312 (LWP 12766)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debu...

Read more...

Revision history for this message
Phil Bull (philbull) wrote :

It looks like you've used the line '(gdb) break gdb_x_error' rather than '(gdb) break gdk_x_error'.

Revision history for this message
joehill (joseph-hill) wrote :
Download full text (6.4 KiB)

Touché. Ok, here's another try:

~$ gdb totem
GNU gdb 6.4-debian
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".

(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
Starting program: /usr/bin/totem --sync
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1224718656 (LWP 13914)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debuggin...

Read more...

Revision history for this message
Sebastien Bacher (seb128) wrote :

do you have libgtk2.0-0-dbg libglib2.0-0-dbg installed?

Revision history for this message
joehill (joseph-hill) wrote :
Download full text (5.5 KiB)

Ok, I hope this is more useful--I ran it again with the libraries you suggested installed:

(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
Starting program: /usr/bin/totem --sync
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1224882496 (LWP 6549)]
Breakpoint 2 at 0xb79acfed: file gdkmain-x11.c, line 599.
Pending breakpoint "gdk_x_error" resolved
GTK Accessibility Module initialized
Bonobo accessibility support initialized
[New Thread -1230165072 (LWP 6552)]

** (totem:6549): WARNING **: Trying to connect to an older version of the GNOME screensaver
[New Thread -1235666000 (LWP 6554)]
[New Thread -1252045904 (LWP 6555)]
[New Thread -1260438608 (LWP 6558)]
[New Thread -1269101648 (LWP 6559)]
[New Thread -1281594448 (LWP 6560)]
[New Thread -1291875408 (LWP 6561)]
[New Thread -1300268112 (LWP 6562)]
Option '--sync' is unknown and was ignored
[New Thread -1314882640 (LWP 6563)]
[Switching to Thread -1252045904 (LWP 6555)]

Breakpoint 2, gdk_x_error (display=0x851f5c0, error=0xb55f4200)
    at gdkmain-x11.c:599
599 gdkmain-x11.c: No such file or directory.
        in gdkmain-x11.c
(gdb) thread apply all bt

Thread 10 (Thread -1314882640 (LWP 6563)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb73a93c1 in __lll_mutex_unlock_wake ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb73a62df in _L_mutex_unlock_128 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#3 0x08a7bab8 in ?? ()
#4 0xb7cdd4e3 in xine_config_load () from /usr/lib/libxine.so.1
#5 0xb7d0e164 in ?? () from /usr/lib/libxine.so.1
#6 0x08a7bab8 in ?? ()
#7 0x08afc758 in ?? ()
#8 0x08a6bb08 in ?? ()
#9 0xb1e40707 in ?? () from /usr/lib/xine/plugins/1.1.1/xineplug_dmx_image.so
#10 0x08a6bd98 in ?? ()
#11 0x08a7bab8 in ?? ()
#12 0x00001fff in ?? ()
#13 0x00000000 in ?? ()

Thread 9 (Thread -1300268112 (LWP 6562)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb73a6c76 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#2 0xb7cecc40 in xine_event_wait () from /usr/lib/libxine.so.1
#3 0x08a99e70 in ?? ()

Thread 8 (Thread -1291875408 (LWP 6561)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb73a6c76 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb7cdd690 in xine_config_load () from /usr/lib/libxine.so.1
#3 0xb7d0e164 in ?? () from /usr/lib/libxine.so.1
#4 0xffffffff in ?? ()
#5 0x08a844d8 in ?? ()
#6 0x08a6b198 in ?? ()
#7 0xb7ce4065 in _x_waveformatex_le2me () from /usr/lib/libxine.so.1
#8 0x08a7ca40 in ?? ()
#9 0x08a84538 in ?? ()
#10 0x00000000 in ?? ()

Thread 7 (Thread -1281594448 (LWP 6560)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb73a6c76 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb7cdd690 in xine_config_load () from /usr/lib/libxine.so.1
#3 0xb7d0e164 in ?...

Read more...

Revision history for this message
joehill (joseph-hill) wrote :

Oh, and I forgot to mention--this is from the second try. On the first try, my whole computer froze (black screen with intermittent "wait" cursor) and I had to reboot, which is not uncommon for me when I use totem.

Revision history for this message
Gary Coady (garycoady) wrote :

This looks like bug #35229 - and all workarounds on that page work for me.

It would explain why a reboot helped - you freed up memory so that allocating memory for the totem logo worked.

Revision history for this message
joehill (joseph-hill) wrote :

Yes, thanks for pointing that out. Renaming the .png does prevent it from crashing on startup. In my case, it has never started without an argument regardless of whether I reboot or not. (The X crash I mentioned above seems to be an unrelated bug with the i810 driver.)

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for totem (Ubuntu) because there has been no activity for 60 days.]

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.