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 358891 - [dvdreadsrc] aborts due to src->cur_pack == dsi_pack.dsi_gi.nv_pck_lbn assertion failing
[dvdreadsrc] aborts due to src->cur_pack == dsi_pack.dsi_gi.nv_pck_lbn assert...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-ugly
git master
Other All
: High critical
: 0.10.7
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 357914 385206 385411 387396 389346 395718 402535 409656 409863 416260 421971 423185 423550 424592 424962 425101 425733 425877 425962 426316 428031 428285 428857 429384 429544 429820 429903 430005 430372 430447 430454 431265 432070 432631 432851 433048 433096 434178 434621 435119 435795 435844 436577 437799 437883 439000 439001 439986 439989 441676 443141 443794 445680 448370 448377 449772 452871 454467 455489 455768 459938 462937 464040 470911 476576 477402 482033 486566 510682 514745 515681 515723 517059 517882 519789 520003 521937 521938 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-10-02 00:25 UTC by wcaskey
Modified: 2008-03-12 19:02 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
Requested dbg.log (69 bytes, text/plain)
2006-10-03 21:33 UTC, wcaskey
Details
Requested dbg.log (19.81 KB, text/plain)
2006-10-05 02:33 UTC, wcaskey
Details

Description wcaskey 2006-10-02 00:25:33 UTC
Version: 2.16.1

What were you doing when the application crashed?
Opening a DVD (not encrypted, created with Sonic MyDVD Deluxe)


Distribution: Ubuntu 6.10 (edgy)
Gnome Release: 2.16.0 2006-09-04 (Ubuntu)
BugBuddy Version: 2.16.0

Memory status: size: 70299648 vsize: 0 resident: 70299648 share: 0 rss: 23322624 rss_rlim: 0
CPU usage: start_time: 1159748657 rtime: 0 utime: 175 stime: 0 cutime:160 cstime: 0 timeout: 15 it_real_value: 0 frequency: 11

Backtrace was generated from '/usr/bin/totem'

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1225861456 (LWP 8654)]
[New Thread -1265390688 (LWP 8668)]
[New Thread -1250690144 (LWP 8665)]
[New Thread -1242219616 (LWP 8664)]
0xffffe410 in __kernel_vsyscall ()

Thread 2 (Thread -1265390688 (LWP 8668))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 gnome_gtk_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 __kernel_vsyscall
  • #5 *__GI_raise
    from /lib/tls/i686/cmov/libc.so.6
  • #6 *__GI_abort
    from /lib/tls/i686/cmov/libc.so.6
  • #7 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #8 g_log
    from /usr/lib/libglib-2.0.so.0
  • #9 g_assert_warning
    from /usr/lib/libglib-2.0.so.0
  • #10 gst_dvd_read_src_create
    at dvdreadsrc.c line 773
  • #11 gst_push_src_get_type
    from /usr/lib/libgstbase-0.10.so.0
  • #12 gst_base_src_get_type
    from /usr/lib/libgstbase-0.10.so.0
  • #13 gst_base_src_get_type
    from /usr/lib/libgstbase-0.10.so.0
  • #14 gst_task_set_lock
    from /usr/lib/libgstreamer-0.10.so.0
  • #15 g_thread_pool_push
    from /usr/lib/libglib-2.0.so.0
  • #16 g_thread_create_full
    from /usr/lib/libglib-2.0.so.0
  • #17 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #18 clone
    from /lib/tls/i686/cmov/libc.so.6

Comment 1 Tim-Philipp Müller 2006-10-02 12:57:11 UTC
Did you create the DVD yourself? If so, any chance you could create a minimal DVD with some very short clip and make the .iso file or an archive of the DVD directory structure available somewhere? (That's the easiest way to debug this)
Comment 2 Tim-Philipp Müller 2006-10-02 13:04:44 UTC
Also, could you run this from the command line

  $ export GST_DEBUG_NO_COLOR=1
  $ GST_DEBUG=dvdreadsrc:5 gst-launch-0.10 playbin uri=dvd://1 2>dbg.log

and when it crashes/stops, do:

  $ gzip dbg.log

and attach the file?

(Possibly a duplicate of bug #340433, but not sure yet)
Comment 3 wcaskey 2006-10-03 21:33:26 UTC
Created attachment 73975 [details]
Requested dbg.log
Comment 4 Tim-Philipp Müller 2006-10-04 10:05:25 UTC
The log only contains this:

 bash: gst-launch-01.0: command not found

:)

Could you try again, this time using 'gst-launch-0.10' please? You can check the output with

  $ cat dbg.log

before gzipping it.

Thanks!
Comment 5 wcaskey 2006-10-05 02:33:20 UTC
Created attachment 74030 [details]
Requested dbg.log

I did update my system using the updater today before trying this. Still got the same crash. And, this dbg.log has a lot of lines...Bill
Comment 6 Tim-Philipp Müller 2006-10-05 09:07:16 UTC
Thank you, looks good.

Highlights:

DEBUG dvdreadsrc.c:202:gst_dvd_read_src_start:<source> Loading VMG info
*** Zero check failed in ifo_read.c:432
    for vmgi_mat->zero_3 = 0x00000000010000000000000000000000000000


and

INFO dvdreadsrc.c:1420:gst_dvd_read_src_goto_sector:<source> Seek succeeded, going to chapter 1, cell 0
LOG  dvdreadsrc.c:359:gst_dvd_read_src_goto_chapter:<source> Opened chapter 1 - cell 0-1
LOG  dvdreadsrc.c:1169:gst_dvd_read_src_do_seek:<source> seek to sector 0x00000000 ok

*** libdvdread: CHECK_VALUE failed in nav_read.c:207 ***
*** for dsi->dsi_gi.zero1 == 0 ***

** ERROR **: file dvdreadsrc.c: line 773 (gst_dvd_read_src_read): assertion failed: (src->cur_pack 

Comment 7 Jason Gerard DeRose 2006-12-08 01:04:11 UTC
Someone had this same assertion failure using a production DVD from netflix:
https://launchpad.net/products/kungfu/+bug/74886 

Tim,

From your investigation so far, does this look like a bug in libdvdread or dvdreadsrc... or simply that the (src->cur_pack == dsi_pack.dsi_gi.nv_pck_lbn) assertion needs to be replaced with something less rigid because some DVDs are wrong?
Comment 8 Christian Kirbach 2006-12-12 21:26:03 UTC
*** Bug 385206 has been marked as a duplicate of this bug. ***
Comment 9 palfrey 2006-12-13 21:25:18 UTC
*** Bug 385411 has been marked as a duplicate of this bug. ***
Comment 10 André Klapper 2007-01-12 03:43:42 UTC
*** Bug 387396 has been marked as a duplicate of this bug. ***
Comment 11 André Klapper 2007-01-12 03:43:50 UTC
*** Bug 389346 has been marked as a duplicate of this bug. ***
Comment 12 André Klapper 2007-01-17 00:56:36 UTC
*** Bug 395718 has been marked as a duplicate of this bug. ***
Comment 13 André Klapper 2007-01-17 00:56:54 UTC
confirming as per dups
Comment 14 Teppo Turtiainen 2007-01-31 17:06:28 UTC
*** Bug 402535 has been marked as a duplicate of this bug. ***
Comment 15 Tim-Philipp Müller 2007-02-19 17:13:00 UTC
*** Bug 409656 has been marked as a duplicate of this bug. ***
Comment 16 Tim-Philipp Müller 2007-02-20 11:57:47 UTC
*** Bug 409863 has been marked as a duplicate of this bug. ***
Comment 17 Philip Withnall 2007-03-25 14:32:08 UTC
*** Bug 421971 has been marked as a duplicate of this bug. ***
Comment 18 André Klapper 2007-03-31 17:25:09 UTC
*** Bug 423185 has been marked as a duplicate of this bug. ***
Comment 19 André Klapper 2007-03-31 17:26:51 UTC
*** Bug 416260 has been marked as a duplicate of this bug. ***
Comment 20 André Klapper 2007-03-31 17:26:57 UTC
*** Bug 423550 has been marked as a duplicate of this bug. ***
Comment 21 Tim-Philipp Müller 2007-04-02 19:13:02 UTC
*** Bug 357914 has been marked as a duplicate of this bug. ***
Comment 22 Philip Withnall 2007-04-03 15:01:12 UTC
*** Bug 424962 has been marked as a duplicate of this bug. ***
Comment 23 Philip Withnall 2007-04-03 15:09:17 UTC
*** Bug 425101 has been marked as a duplicate of this bug. ***
Comment 24 Pascal Terjan 2007-04-04 21:22:58 UTC
*** Bug 425962 has been marked as a duplicate of this bug. ***
Comment 25 Pascal Terjan 2007-04-04 21:23:17 UTC
*** Bug 425877 has been marked as a duplicate of this bug. ***
Comment 26 Pascal Terjan 2007-04-04 21:24:55 UTC
*** Bug 426316 has been marked as a duplicate of this bug. ***
Comment 27 Philip Withnall 2007-04-08 11:11:15 UTC
*** Bug 425733 has been marked as a duplicate of this bug. ***
Comment 28 Philip Withnall 2007-04-08 12:16:36 UTC
*** Bug 424592 has been marked as a duplicate of this bug. ***
Comment 29 Philip Withnall 2007-04-09 23:33:05 UTC
*** Bug 428031 has been marked as a duplicate of this bug. ***
Comment 30 Philip Withnall 2007-04-10 17:00:57 UTC
*** Bug 428285 has been marked as a duplicate of this bug. ***
Comment 31 André Klapper 2007-04-11 21:37:48 UTC
160 dups so far, any progress here?
gstreamer folks, do you need any additional information? if so, what?
Comment 32 Tim-Philipp Müller 2007-04-11 22:54:25 UTC
> 160 dups so far, any progress here?
> gstreamer folks, do you need any additional information? if so, what?

 (a) Does this still happen with Feisty?

 (b) a DVD .iso image or actual DVD with which we can reproduce
     this reliably

Comment 33 Bruno Boaventura 2007-04-12 15:28:36 UTC
*** Bug 428857 has been marked as a duplicate of this bug. ***
Comment 34 Philip Withnall 2007-04-13 18:17:52 UTC
*** Bug 429384 has been marked as a duplicate of this bug. ***
Comment 35 Philip Withnall 2007-04-14 09:35:00 UTC
*** Bug 429544 has been marked as a duplicate of this bug. ***
Comment 36 Philip Withnall 2007-04-15 10:24:14 UTC
*** Bug 429820 has been marked as a duplicate of this bug. ***
Comment 37 Philip Withnall 2007-04-15 10:28:21 UTC
*** Bug 429903 has been marked as a duplicate of this bug. ***
Comment 38 Philip Withnall 2007-04-15 15:44:46 UTC
*** Bug 430005 has been marked as a duplicate of this bug. ***
Comment 39 palfrey 2007-04-16 18:38:52 UTC
*** Bug 430372 has been marked as a duplicate of this bug. ***
Comment 40 Philip Withnall 2007-04-22 20:09:05 UTC
*** Bug 430447 has been marked as a duplicate of this bug. ***
Comment 41 Philip Withnall 2007-04-22 20:09:18 UTC
*** Bug 430454 has been marked as a duplicate of this bug. ***
Comment 42 Diego Escalante Urrelo (not reading bugmail) 2007-04-24 23:58:58 UTC
*** Bug 432851 has been marked as a duplicate of this bug. ***
Comment 43 Diego Escalante Urrelo (not reading bugmail) 2007-04-25 00:02:43 UTC
*** Bug 433048 has been marked as a duplicate of this bug. ***
Comment 44 Diego Escalante Urrelo (not reading bugmail) 2007-04-25 00:03:12 UTC
*** Bug 433096 has been marked as a duplicate of this bug. ***
Comment 45 Philip Withnall 2007-04-27 19:03:36 UTC
*** Bug 431265 has been marked as a duplicate of this bug. ***
Comment 46 Philip Withnall 2007-04-27 19:22:35 UTC
*** Bug 432070 has been marked as a duplicate of this bug. ***
Comment 47 Philip Withnall 2007-04-28 13:58:17 UTC
*** Bug 432631 has been marked as a duplicate of this bug. ***
Comment 48 Philip Withnall 2007-04-28 22:03:19 UTC
*** Bug 434178 has been marked as a duplicate of this bug. ***
Comment 49 Philip Withnall 2007-04-30 18:10:58 UTC
*** Bug 434621 has been marked as a duplicate of this bug. ***
Comment 50 palfrey 2007-05-02 11:32:34 UTC
*** Bug 435119 has been marked as a duplicate of this bug. ***
Comment 51 Diego Escalante Urrelo (not reading bugmail) 2007-05-04 18:59:13 UTC
*** Bug 435795 has been marked as a duplicate of this bug. ***
Comment 52 Diego Escalante Urrelo (not reading bugmail) 2007-05-04 19:01:28 UTC
*** Bug 435844 has been marked as a duplicate of this bug. ***
Comment 53 Philip Withnall 2007-05-07 18:58:11 UTC
*** Bug 436577 has been marked as a duplicate of this bug. ***
Comment 54 Philip Withnall 2007-05-12 11:36:05 UTC
*** Bug 437799 has been marked as a duplicate of this bug. ***
Comment 55 Philip Withnall 2007-05-12 13:00:20 UTC
*** Bug 437883 has been marked as a duplicate of this bug. ***
Comment 56 David Schleef 2007-05-13 20:40:52 UTC
Surely *someone* on the CC list can provide an ISO image or DVD that triggers this bug.
Comment 57 johnsong 2007-05-13 20:49:32 UTC
I don't have the DVD-making savvy to create one, but I can describe one. I generated this bug while playing a DVD I made using this DVD-duplicator shell script. 

http://flavor8.com/index.php/2006/03/26/how-to-back-up-your-dvds-in-ubuntu/

I'm not sure what went wrong during the making, but I do know what the end result was. Of the 5 .vob files on the original disc, two made it to the backup copy. The other three were all files of the correct size, but completely empty. 

The copied DVD would play fine through the first two vobs, but when I tried to scroll ahead past that point, I generated this bug. 

Perhaps someone else can use this information to create a test case?
Comment 58 Philip Withnall 2007-05-18 06:31:55 UTC
*** Bug 439000 has been marked as a duplicate of this bug. ***
Comment 59 Philip Withnall 2007-05-18 06:32:14 UTC
*** Bug 439001 has been marked as a duplicate of this bug. ***
Comment 60 palfrey 2007-05-20 18:42:51 UTC
*** Bug 439986 has been marked as a duplicate of this bug. ***
Comment 61 palfrey 2007-05-20 18:43:02 UTC
*** Bug 439989 has been marked as a duplicate of this bug. ***
Comment 62 Philip Withnall 2007-05-27 21:55:27 UTC
*** Bug 441676 has been marked as a duplicate of this bug. ***
Comment 63 Philip Withnall 2007-06-02 10:17:42 UTC
*** Bug 443141 has been marked as a duplicate of this bug. ***
Comment 64 Philip Withnall 2007-06-04 08:25:01 UTC
*** Bug 443794 has been marked as a duplicate of this bug. ***
Comment 65 Philip Withnall 2007-06-09 10:58:33 UTC
*** Bug 445680 has been marked as a duplicate of this bug. ***
Comment 66 Philip Withnall 2007-06-17 10:10:35 UTC
*** Bug 448370 has been marked as a duplicate of this bug. ***
Comment 67 Philip Withnall 2007-06-17 10:10:56 UTC
*** Bug 448377 has been marked as a duplicate of this bug. ***
Comment 68 Philip Withnall 2007-06-21 16:22:44 UTC
*** Bug 449772 has been marked as a duplicate of this bug. ***
Comment 69 David Schleef 2007-06-24 03:56:21 UTC
Tim, I have a DVD in my grubby little hands that triggers this bug.  Let's fix it.
Comment 70 André Klapper 2007-06-24 10:16:15 UTC
195 dups, this makes it #5 in the current gnome duplicate stats. would be really cool to get a fix, yeah.
Comment 71 David Schleef 2007-06-25 07:54:45 UTC
2007-06-25  David Schleef  <ds@schleef.org>

        * ext/dvdread/dvdreadsrc.c:
          If we can't read a nav packet, or it doesn't look like a nav
          packet, that's an error.  Previous behavior was to look at
          the next packet; I can't find any justification for doing that.
          Fixes: #358891.


This fixes the bug for the disk I have.  There are a variety of conditions that can trigger this bug -- the crash has been converted into a "cannot play" error.  In many cases (such as mine), this is the correct behavior.  There may be some cases where erroring out is not the best behavior, in which case addition work needs to be done.

(and a big hello to the 150 million people on the CC list.)
Comment 72 Philip Withnall 2007-07-03 12:55:07 UTC
*** Bug 452871 has been marked as a duplicate of this bug. ***
Comment 73 palfrey 2007-07-07 21:50:50 UTC
*** Bug 454467 has been marked as a duplicate of this bug. ***
Comment 74 Philip Withnall 2007-07-11 13:32:03 UTC
*** Bug 455489 has been marked as a duplicate of this bug. ***
Comment 75 Philip Withnall 2007-07-11 13:35:52 UTC
*** Bug 455768 has been marked as a duplicate of this bug. ***
Comment 76 Iestyn Pryce 2007-07-25 11:32:01 UTC
*** Bug 459938 has been marked as a duplicate of this bug. ***
Comment 77 Iestyn Pryce 2007-08-03 18:40:56 UTC
*** Bug 462937 has been marked as a duplicate of this bug. ***
Comment 78 Iestyn Pryce 2007-08-06 16:59:22 UTC
*** Bug 464040 has been marked as a duplicate of this bug. ***
Comment 79 Philip Withnall 2007-09-01 23:56:42 UTC
*** Bug 470911 has been marked as a duplicate of this bug. ***
Comment 80 Philip Withnall 2007-09-13 15:56:26 UTC
*** Bug 476576 has been marked as a duplicate of this bug. ***
Comment 81 Philip Withnall 2007-09-16 08:33:35 UTC
*** Bug 477402 has been marked as a duplicate of this bug. ***
Comment 82 Philip Withnall 2007-10-21 11:42:40 UTC
*** Bug 482033 has been marked as a duplicate of this bug. ***
Comment 83 Philip Withnall 2007-10-21 12:23:14 UTC
*** Bug 486566 has been marked as a duplicate of this bug. ***
Comment 84 Philip Withnall 2008-01-20 08:16:33 UTC
*** Bug 510682 has been marked as a duplicate of this bug. ***
Comment 85 Philip Withnall 2008-02-06 23:06:04 UTC
*** Bug 514745 has been marked as a duplicate of this bug. ***
Comment 86 Philip Withnall 2008-02-11 11:47:28 UTC
*** Bug 515681 has been marked as a duplicate of this bug. ***
Comment 87 Philip Withnall 2008-02-11 11:53:50 UTC
*** Bug 515723 has been marked as a duplicate of this bug. ***
Comment 88 Philip Withnall 2008-02-17 20:14:42 UTC
*** Bug 517059 has been marked as a duplicate of this bug. ***
Comment 89 Philip Withnall 2008-02-21 16:49:14 UTC
*** Bug 517882 has been marked as a duplicate of this bug. ***
Comment 90 Philip Withnall 2008-03-01 23:51:48 UTC
*** Bug 519789 has been marked as a duplicate of this bug. ***
Comment 91 Philip Withnall 2008-03-03 06:12:08 UTC
*** Bug 520003 has been marked as a duplicate of this bug. ***
Comment 92 Philip Withnall 2008-03-12 19:01:51 UTC
*** Bug 521937 has been marked as a duplicate of this bug. ***
Comment 93 Philip Withnall 2008-03-12 19:02:07 UTC
*** Bug 521938 has been marked as a duplicate of this bug. ***