Totem crashes at startup

Bug #21140 reported by ChristofferS
This bug report is a duplicate of:  Bug #22755: autosink should not be shipped. Edit Remove
8
Affects Status Importance Assigned to Milestone
totem (Ubuntu)
Invalid
Medium
Sebastien Bacher

Bug Description

In Breezy, totem crashes at startup. This is the output:

"cs@amok ~ $ totem

(totem:7429): Gdk-WARNING **: locale not supported by Xlib

(totem:7429): Gdk-WARNING **: cannot set locale modifiers

(totem:7429): libgnomevfs-WARNING **: Cannot load module
`/usr/lib/gnome-vfs-2.0/modules/libcdda.so'
(/usr/lib/gnome-vfs-2.0/modules/libcdda.so: cannot open shared object file: No
such file or directory)

(totem:7429): libgnomevfs-WARNING **: Cannot load module
`/usr/lib/gnome-vfs-2.0/modules/libcdda.so'
(/usr/lib/gnome-vfs-2.0/modules/libcdda.so: cannot open shared object file: No
such file or directory)

** (totem:7429): CRITICAL **: egg_recent_view_gtk_create_tooltip: assertion
`GTK_IS_WIDGET (menu_item)' failed

(totem:7429): Gtk-CRITICAL **: gtk_accel_label_set_accel_closure: assertion
`gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed

(totem:7429): Gtk-CRITICAL **: gtk_accel_label_set_accel_closure: assertion
`gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed
Segmentation fault
"

I think it is related to bug http://bugzilla.ubuntu.com/show_bug.cgi?id=14911

/Chris

http://bugzilla.gnome.org/show_bug.cgi?id=316010: http://bugzilla.gnome.org/show_bug.cgi?id=316010

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

Thanks for your bug. What version of totem/ubuntu do you use? Can you get a
backtrace of the crash (the bug-buddy dialog to send it upstream has it)?

Revision history for this message
ChristofferS (ubuntu-curo) wrote :

I guess it crashes because libcdda.so is missing:

 ls /usr/lib/gnome-vfs-2.0/modules/
libbzip2.so libftp.so libpythonmethod.la libtheme-method.so
libcomputer.so libgzip.so libpythonmethod.so libvfs-test.so
libdns-sd.so libhttp.so libsftp.so
libfile.so libmapping.so libsmb.so
libfont-method.so libnetwork.so libtar.so

Totem version: 1.2.0-0ubuntu1

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

No, cdda has been turn on purpose and it has not effect out of the warning:
http://bugzilla.ubuntu.com/show_bug.cgi?id=14010

Revision history for this message
ChristofferS (ubuntu-curo) wrote :

This is the backtrace from gdb (gdb. file /usr/bin/totem. run. bt)

#0 0x0807b77a in bacon_video_widget_new ()
#1 0x08061e0b in totem_action_play_media_device ()
#2 0x08064362 in main ()

I hope it helps.

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

coud you get one with "thread apply all bt" instead?

Revision history for this message
ChristofferS (ubuntu-curo) wrote :

Here it is:

Thread 2 (Thread -1227863120 (LWP 6930)):
#0 0xb707868a in poll () from /lib/tls/libc.so.6
#1 0xb710e2e8 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#2 0xb710e783 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#3 0xb721d37e in link_thread_io_context () from /usr/lib/libORBit-2.so.0
#4 0xb7127844 in g_static_private_free () from /usr/lib/libglib-2.0.so.0
#5 0xb716d1ee in start_thread () from /lib/tls/libpthread.so.0
#6 0xb708203e in clone () from /lib/tls/libc.so.6

Thread 1 (Thread -1226058048 (LWP 6919)):
#0 0x0807b77a in bacon_video_widget_new ()
#1 0x08061e0b in totem_action_play_media_device ()
#2 0x08064362 in main ()

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

Thanks for the efforts, the backtrace is not that useful atm. Do you use
totem-gstreamer or totem-xine? Could you build a debug package
(https://wiki.ubuntu.com/DebuggingProgramCrash) to get a backtrace with it? If
that's an issue for you I can build one and put it on a webpage.

Revision history for this message
ChristofferS (ubuntu-curo) wrote :

I am using totem-gstreamer.

I made a debug version of totem according to the wiki page. Here is the output:

0x080789b7 in bacon_video_widget_new (width=-1, height=-1,
    type=BVW_USE_TYPE_VIDEO, err=0xbfe89f18) at bacon-video-widget-gst.c:3484
3484 g_signal_connect (GST_PAD_REALIZE (gst_element_get_pad (audio_sink,
"sink")),
(gdb) thread apply all bt full

Thread 2 (Thread -1227940944 (LWP 13990)):
#0 0xb706668a in poll () from /lib/tls/libc.so.6
No symbol table info available.
#1 0xb70fc2e8 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#2 0xb70fc783 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#3 0xb720b37e in link_thread_io_context () from /usr/lib/libORBit-2.so.0
No symbol table info available.
#4 0xb7115844 in g_static_private_free () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#5 0xb715b1ee in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#6 0xb707003e in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 1 (Thread -1226131776 (LWP 13984)):
#0 0x080789b7 in bacon_video_widget_new (width=-1, height=-1,
    type=BVW_USE_TYPE_VIDEO, err=0xbfe89f18) at bacon-video-widget-gst.c:3484
        element = Variable "element" is not available.

I hope it helps.

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

Thanks. Could you get the same backtrace with "bt", I'll forwarded the bug
upstream with these informations

Revision history for this message
ChristofferS (ubuntu-curo) wrote :

#0 0x080789b7 in bacon_video_widget_new (width=-1, height=-1,
    type=BVW_USE_TYPE_VIDEO, err=0xbfd6bb68) at bacon-video-widget-gst.c:3484
#1 0x080619c0 in video_widget_create (totem=0x8160c88) at totem.c:3221
#2 0x080632d6 in main (argc=1, argv=0xbfd6bc44) at totem.c:3487

Here it is.

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

Thanks, I've forwarded the issue upstream:
http://bugzilla.gnome.org/show_bug.cgi?id=316010

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

Do you happen to have "autodetect" turned on in gstreamer-properties? If so,
could you please turn on ALSA and try again?

Revision history for this message
ChristofferS (ubuntu-curo) wrote :

I had "auto-detect" on in gstreamer-properties.

When I use ALSA, totem starts fine.

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

Since upstream doesn't recommend "autosink" for the moment, we agreed on not
shipping it next time. Thanks for the heads-up.

This bug has been marked as a duplicate of bug 22755.

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.