Totem crashes as soon as it opens when DVD is inserted

Bug #502552 reported by f3a97
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
totem (Ubuntu)
Expired
Low
Unassigned

Bug Description

Binary package hint: totem

Hi,

I just discovered that totem crashes as soon as it opens after a DVD is inserted. I've seen some hopefully meaningful messages in my .xsession-errors, please have a look at it.

Here are the steps:

1) I inserted a DVD (Michael Jackson Heal the World, original)
2) I'm asked if I want to open it with movie player, I choose yes
3) Totem opens and quits immediately, with no other messages

If I explore the DVD with nautilus, a button suggest to open it with movie player. If I click on it, again the same problem.

NB: I have installed the ubuntu-restricted-extras package, so DVD support should be installed.

Thanks.

ProblemType: Bug
Architecture: i386
Date: Sun Jan 3 10:43:00 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
NonfreeKernelModules: fglrx
Package: totem 2.28.2-0ubuntu3
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-16.53-generic
SourcePackage: totem
Uname: Linux 2.6.31-16-generic i686
XsessionErrors:
 (gnome-settings-daemon:3140): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (gnome-settings-daemon:3140): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (nautilus:3278): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed
 (polkit-gnome-authentication-agent-1:3306): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (Do:3301): Wnck-CRITICAL **: wnck_set_client_type got called multiple times.

Revision history for this message
f3a97 (f3a97) wrote :
Revision history for this message
f3a97 (f3a97) wrote :

Hi,

I see only 4 files attached, whereas apport collected some more - is that correct?

I doubt, I attach my .xsession-errors, I think it can be useful to track this down.

Revision history for this message
f3a97 (f3a97) wrote :

One note: this is a 2 sided disk, DVD on one side, CD on the other.

I've tried playing normal DVDs and they work as expected.

Revision history for this message
Daniel Letzeisen (dtl131) wrote :

It looks like you're missing libdvdcss/2, which isn't distributed directly for legal reasons (get it from medibuntu). I don't think totem should crash if it can't read a DVD though :\

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

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please try to obtain a backtrace following the instructions at http://wiki.ubuntu.com/DebuggingProgramCrash and upload the backtrace (as an attachment) to the bug report. This will greatly help us in tracking down your problem.

Changed in totem (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
f3a97 (f3a97) wrote :

Hello Seb,

I've tried the procedure you suggested, too bad I cannot execute the totem command coming from the totem-dbg package.

After having installed the package, I guess I have to launch gdb against the binary with the symbols. Am I right?

If so, there must be a problem, since it cannot be run:

gdb /usr/lib/debug/usr/bin/totem
GNU gdb (GDB) 7.0-ubuntu
Copyright (C) 2009 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/lib/debug/usr/bin/totem...done.
(gdb) run
Starting program: /usr/lib/debug/usr/bin/totem
/bin/bash: /usr/lib/debug/usr/bin/totem: impossibile eseguire il file binario
/bin/bash: /usr/lib/debug/usr/bin/totem: Riuscito
During startup program exited with code 1.

Even from command line:

/usr/lib/debug/usr/bin/totem
bash: /usr/lib/debug/usr/bin/totem: impossibile eseguire il file binario
pier@pier-desktop:~$ ls -l /usr/lib/debug/usr/bin
totale 1788
-rwxr-xr-x 1 root root 1041969 2009-11-11 10:09 totem
-rw-r--r-- 1 root root 255336 2009-11-11 10:09 totem-audio-preview
-rw-r--r-- 1 root root 257196 2009-11-11 10:09 totem-video-indexer
-rw-r--r-- 1 root root 266685 2009-11-11 10:09 totem-video-thumbnailer

Am I missing something?

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

the debug directory doesn't contain binaries you can use but debug symbols gdb uses automatically you just need to run totem under gdb and those will be loaded

Revision history for this message
f3a97 (f3a97) wrote :

Hello Seb,

Thanks for the tip!

Please find attached the gdb output, I hope it will be helpful to you!

Feel free to ask for any additional information.

Revision history for this message
f3a97 (f3a97) wrote :

gdb output

Revision history for this message
Daniel Letzeisen (dtl131) wrote :

You're still missing libdvdcss2 to play encrypted media: http://packages.medibuntu.org/karmic/libdvdcss2.html

Revision history for this message
f3a97 (f3a97) wrote :

Thanks Dave,

I'll have a try with this package.

Is that correct that it is not installed by the Ubuntu restricted extras package?

If so this is wrong IMHO, a simple user will not be able to add a new repository and download the libdvdcss2 package.

Thanks in advance!

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

the issue seems rather a libdvdnav one, could you install the debug symbols for this one and get a new gdb log?

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

the bug could be bug #445980

Revision history for this message
f3a97 (f3a97) wrote :

Here you are Seb!

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

did it really crash? the SIGINT suggests somebody interupted the run

Revision history for this message
f3a97 (f3a97) wrote :

Hello Seb,

Actually I experimented the crash while trying to view the DVD from my girlfriend PC.

When I came back home, I repeated the steps on my PC and found that in my case totem just hangs.

The ctrl-c you see is the ctrl-c I sent during gdb debugging.

I don't know what's the reason for the difference, they are both karmic up-to-date PCs. I can try to reproduce the crash when I have a chance, if you want.

I've taken a screenshot of totem during the hang. The only cure is to close it.

BTW, this is an original DVD that plays fine on other operating systems.

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

the hang is a different bug than the crash and is likely due to the lack of libdvdcss, does installing it workaround the issue?

Revision history for this message
f3a97 (f3a97) wrote :

Hello Seb,

Actually installing the libdvdcss package, totem is able to play the DVD. However, sound is not played correctly. With mplayer playing works fine though.

However, I think that this should be fixed with some message, not an hang.

My original crash issue seems quite the same as this one:

https://bugs.launchpad.net/ubuntu/+source/gstreamer0.10/+bug/477273

Please let me know if you need any further information.

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

> However, I think that this should be fixed with some message, not an hang.

Right, that's clearly a bug, just a known one, the bug should have enough informations now thank you

Revision history for this message
Omer Akram (om26er) wrote :

since this bug was reported there were two new Ubuntu versions released (10.04 and 10.04) could you please test with any of those if the issue is still there?

Changed in totem (Ubuntu):
assignee: Ubuntu Desktop Bugs (desktop-bugs) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in totem (Ubuntu):
status: Incomplete → Expired
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.