GNOME Bugzilla – Bug 358891
[dvdreadsrc] aborts due to src->cur_pack == dsi_pack.dsi_gi.nv_pck_lbn assertion failing
Last modified: 2008-03-12 19:02:07 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 ()
+ Trace 73987
Thread 2 (Thread -1265390688 (LWP 8668))
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)
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)
Created attachment 73975 [details] Requested dbg.log
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!
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
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
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?
*** Bug 385206 has been marked as a duplicate of this bug. ***
*** Bug 385411 has been marked as a duplicate of this bug. ***
*** Bug 387396 has been marked as a duplicate of this bug. ***
*** Bug 389346 has been marked as a duplicate of this bug. ***
*** Bug 395718 has been marked as a duplicate of this bug. ***
confirming as per dups
*** Bug 402535 has been marked as a duplicate of this bug. ***
*** Bug 409656 has been marked as a duplicate of this bug. ***
*** Bug 409863 has been marked as a duplicate of this bug. ***
*** Bug 421971 has been marked as a duplicate of this bug. ***
*** Bug 423185 has been marked as a duplicate of this bug. ***
*** Bug 416260 has been marked as a duplicate of this bug. ***
*** Bug 423550 has been marked as a duplicate of this bug. ***
*** Bug 357914 has been marked as a duplicate of this bug. ***
*** Bug 424962 has been marked as a duplicate of this bug. ***
*** Bug 425101 has been marked as a duplicate of this bug. ***
*** Bug 425962 has been marked as a duplicate of this bug. ***
*** Bug 425877 has been marked as a duplicate of this bug. ***
*** Bug 426316 has been marked as a duplicate of this bug. ***
*** Bug 425733 has been marked as a duplicate of this bug. ***
*** Bug 424592 has been marked as a duplicate of this bug. ***
*** Bug 428031 has been marked as a duplicate of this bug. ***
*** Bug 428285 has been marked as a duplicate of this bug. ***
160 dups so far, any progress here? gstreamer folks, do you need any additional information? if so, what?
> 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
*** Bug 428857 has been marked as a duplicate of this bug. ***
*** Bug 429384 has been marked as a duplicate of this bug. ***
*** Bug 429544 has been marked as a duplicate of this bug. ***
*** Bug 429820 has been marked as a duplicate of this bug. ***
*** Bug 429903 has been marked as a duplicate of this bug. ***
*** Bug 430005 has been marked as a duplicate of this bug. ***
*** Bug 430372 has been marked as a duplicate of this bug. ***
*** Bug 430447 has been marked as a duplicate of this bug. ***
*** Bug 430454 has been marked as a duplicate of this bug. ***
*** Bug 432851 has been marked as a duplicate of this bug. ***
*** Bug 433048 has been marked as a duplicate of this bug. ***
*** Bug 433096 has been marked as a duplicate of this bug. ***
*** Bug 431265 has been marked as a duplicate of this bug. ***
*** Bug 432070 has been marked as a duplicate of this bug. ***
*** Bug 432631 has been marked as a duplicate of this bug. ***
*** Bug 434178 has been marked as a duplicate of this bug. ***
*** Bug 434621 has been marked as a duplicate of this bug. ***
*** Bug 435119 has been marked as a duplicate of this bug. ***
*** Bug 435795 has been marked as a duplicate of this bug. ***
*** Bug 435844 has been marked as a duplicate of this bug. ***
*** Bug 436577 has been marked as a duplicate of this bug. ***
*** Bug 437799 has been marked as a duplicate of this bug. ***
*** Bug 437883 has been marked as a duplicate of this bug. ***
Surely *someone* on the CC list can provide an ISO image or DVD that triggers this bug.
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?
*** Bug 439000 has been marked as a duplicate of this bug. ***
*** Bug 439001 has been marked as a duplicate of this bug. ***
*** Bug 439986 has been marked as a duplicate of this bug. ***
*** Bug 439989 has been marked as a duplicate of this bug. ***
*** Bug 441676 has been marked as a duplicate of this bug. ***
*** Bug 443141 has been marked as a duplicate of this bug. ***
*** Bug 443794 has been marked as a duplicate of this bug. ***
*** Bug 445680 has been marked as a duplicate of this bug. ***
*** Bug 448370 has been marked as a duplicate of this bug. ***
*** Bug 448377 has been marked as a duplicate of this bug. ***
*** Bug 449772 has been marked as a duplicate of this bug. ***
Tim, I have a DVD in my grubby little hands that triggers this bug. Let's fix it.
195 dups, this makes it #5 in the current gnome duplicate stats. would be really cool to get a fix, yeah.
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.)
*** Bug 452871 has been marked as a duplicate of this bug. ***
*** Bug 454467 has been marked as a duplicate of this bug. ***
*** Bug 455489 has been marked as a duplicate of this bug. ***
*** Bug 455768 has been marked as a duplicate of this bug. ***
*** Bug 459938 has been marked as a duplicate of this bug. ***
*** Bug 462937 has been marked as a duplicate of this bug. ***
*** Bug 464040 has been marked as a duplicate of this bug. ***
*** Bug 470911 has been marked as a duplicate of this bug. ***
*** Bug 476576 has been marked as a duplicate of this bug. ***
*** Bug 477402 has been marked as a duplicate of this bug. ***
*** Bug 482033 has been marked as a duplicate of this bug. ***
*** Bug 486566 has been marked as a duplicate of this bug. ***
*** Bug 510682 has been marked as a duplicate of this bug. ***
*** Bug 514745 has been marked as a duplicate of this bug. ***
*** Bug 515681 has been marked as a duplicate of this bug. ***
*** Bug 515723 has been marked as a duplicate of this bug. ***
*** Bug 517059 has been marked as a duplicate of this bug. ***
*** Bug 517882 has been marked as a duplicate of this bug. ***
*** Bug 519789 has been marked as a duplicate of this bug. ***
*** Bug 520003 has been marked as a duplicate of this bug. ***
*** Bug 521937 has been marked as a duplicate of this bug. ***
*** Bug 521938 has been marked as a duplicate of this bug. ***