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 600263 - Totem crashes when trying to seek a DVD
Totem crashes when trying to seek a DVD
Status: RESOLVED DUPLICATE of bug 593330
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
unspecified
Other Linux
: High critical
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-10-31 21:57 UTC by Sam
Modified: 2010-05-10 10:39 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
The entire GDB session (78.70 KB, application/octet-stream)
2009-11-01 09:37 UTC, Sam
  Details
an actual stack trace (21.77 KB, text/plain)
2009-11-01 09:47 UTC, Sam
  Details
resindvd: Guard against a divide-by-zero error. (836 bytes, patch)
2009-11-16 11:04 UTC, Jan Schmidt
committed Details | Review

Description Sam 2009-10-31 21:57:47 UTC
DVDs play fine as long as one doesn't try to seek in the middle of playback. When seeking, Totem crashes with a "floating point exception." I don't know how to log backtraces so respond back, whoever reads this.
Comment 1 Bastien Nocera 2009-10-31 22:29:24 UTC
Thanks for taking the time to report this bug.
Without a stack trace from the crash it's very hard to determine what caused it.
Can you get us a stack trace? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!
Comment 2 Sam 2009-11-01 09:37:50 UTC
Created attachment 146676 [details]
The entire GDB session
Comment 3 Sam 2009-11-01 09:38:48 UTC
I downloaded all debugging symbols necessary for totem (libdvdread-dbg, all the gstreamer-dbgs, totem-dbg as well as the gnome-dbg and gtk2.0+-dbg)
When I try to report bugs using bug-buddy though the program sends the following: 

"** (bug-buddy:5113): WARNING **: Could not read /proc/5054/exe: Failed to read the symbolic link '/proc/5054/exe': No such file or directory
ptrace: No such process.
/home/guest/5054: No such file or directory.
No stack.
/usr/share/bug-buddy/gdb-cmd:3: Error in sourced command file:
No registers."


Thus, I tried to step through the program manually using GDB. When I do, the following information is sent as soon as I try to seek the video:


"Program received signal SIGFPE, Arithmetic exception.
0xb47de031 in __udivdi3 () from /usr/lib/gstreamer-0.10/libresindvd.so
Current language:  auto; currently asm"

I don't know what I'm doing wrong. I'll attach the entirety of the gdb session, but I don't know if that's actually helpful or not.
Comment 4 Sam 2009-11-01 09:47:03 UTC
I'm sorry: I'm an idiot; I should've attached something else.
Comment 5 Sam 2009-11-01 09:47:44 UTC
Created attachment 146678 [details]
an actual stack trace
Comment 6 Bastien Nocera 2009-11-16 10:50:09 UTC
Division by 0?
  • #0 __udivdi3
    from /usr/lib/gstreamer-0.10/libresindvd.so
  • #1 rsn_dvdsrc_do_seek
    at resindvdsrc.c line 1955

Comment 7 Jan Schmidt 2009-11-16 10:59:19 UTC
Coincidentally, I found and made a patch for this the other day. It's waiting for gst-plugins-bad to thaw before I can push it.
Comment 8 Jan Schmidt 2009-11-16 11:04:48 UTC
Created attachment 147864 [details] [review]
resindvd: Guard against a divide-by-zero error.
Comment 9 brotherjonah 2009-12-26 04:56:31 UTC
I've got a traceback on gst, gstreamer which is typical (of things happening with my media players)
Ubuntu 9.10 Karmic Koala, i686 4 Hard drives (2 IDE, 2 SCSI) 2 gb swap on each. 630 mb RAM arrayed as 128-256-256 non-ecc.Multiple boot options Win2K, Ubuntu and Knoppix. 

The Error traceback here is from the exaile music player failing to launch from the Gnome desktop. Also similar problems with Gmerlin, Rhythmbox, and the xine players associated with all of them.

quote: 
INFO    : Loading Exaile 0.3.0.1...
INFO    : Loading settings...
Traceback (most recent call last):
  • File "/usr/lib/exaile/exaile.py", line 56 in <module>
    main()
  • File "/usr/lib/exaile/exaile.py", line 53 in main
    exaile = main.Exaile()
  • File "/usr/lib/exaile/xl/main.py", line 90 in __init__
    self.__init()
  • File "/usr/lib/exaile/xl/main.py", line 116 in __init
    self.__show_splash()
  • File "/usr/lib/exaile/xl/main.py", line 241 in __show_splash
    import xlgui
  • File "/usr/lib/exaile/xlgui/__init__.py", line 46 in <module>
    from xlgui import devices, guiutil, icons, prefs, queue
  • File "/usr/lib/exaile/xlgui/prefs/__init__.py", line 46 in <module>
    from xlgui.prefs import playlists_prefs, osd_prefs
  • File "/usr/lib/exaile/xlgui/prefs/osd_prefs.py", line 42 in <module>
    from xlgui import osd
  • File "/usr/lib/exaile/xlgui/osd.py", line 31 in <module>
    from xlgui.main import PlaybackProgressBar
  • File "/usr/lib/exaile/xlgui/main.py", line 31 in <module>
    import gst, logging
  • File "/usr/lib/python2.6/dist-packages/gst-0.10/gst/__init__.py", line 193 in <module>
    from _gst import *
RuntimeError: can't initialize module gst: Error re-scanning registry , child terminated by signal

I then attempted to open the Ubuntu Software center, which opened, stayed open for 5 seconds (about) then crashed. The next up on the hit parade is the report on that crash, which happened less than a minute after trying exaile. 

It, too, is full of  and gst module errors.
(software-center:4013): GStreamer-WARNING **: adding type GstFourcc multiple times

(software-center:4013): GStreamer-WARNING **: adding type GstIntRange multiple times

(software-center:4013): GStreamer-WARNING **: adding type GstDoubleRange multiple times

(software-center:4013): GStreamer-WARNING **: adding type GstFractionRange multiple times

(software-center:4013): GStreamer-WARNING **: adding type GstValueList multiple times

(software-center:4013): GStreamer-WARNING **: adding type GstValueArray multiple times

(software-center:4013): GStreamer-WARNING **: adding type GstFraction multiple times

(software-center:4013): GStreamer-WARNING **: adding type gdouble multiple times

(software-center:4013): GStreamer-WARNING **: adding type gfloat multiple times

(software-center:4013): GStreamer-WARNING **: adding type gchararray multiple times

(software-center:4013): GStreamer-WARNING **: adding type gboolean multiple times

(software-center:4013): GStreamer-WARNING **: adding type GEnum multiple times

(software-center:4013): GStreamer-WARNING **: adding type GFlags multiple times

(software-center:4013): GStreamer-WARNING **: adding type gint multiple times

(software-center:4013): GStreamer-WARNING **: adding type gint64 multiple times

(software-center:4013): GStreamer-WARNING **: adding type glong multiple times

(software-center:4013): GStreamer-WARNING **: adding type guint multiple times

(software-center:4013): GStreamer-WARNING **: adding type guint64 multiple times

(software-center:4013): GStreamer-WARNING **: adding type gulong multiple times
Could not initialize GStreamer: Error re-scanning registry , child terminated by signal

I haven't gotten GMerlin to run, nor Totem, 

The problems really started after the first time I ran Amarok which I understand is a KDE app and not native Gnome.

The software-center app is native to Ubuntu but geared to run in Gnome.
Comment 10 Sebastian Dröge (slomo) 2010-05-10 10:36:12 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 593330 ***
Comment 11 Sebastian Dröge (slomo) 2010-05-10 10:39:30 UTC
Comment on attachment 147864 [details] [review]
resindvd: Guard against a divide-by-zero error.

commit c4fb624ad9d9694f250a49b7d793b98aa6268434
Author: Jan Schmidt <thaytan@noraisin.net>
Date:   Sat Nov 14 00:31:29 2009 +0000

    resindvd: Guard against a divide-by-zero error.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=600263