Opened 16 years ago

Closed 14 years ago

#4894 closed defect (wontfix)

libdvdnav assertion

Reported by: stuartm Owned by: skamithi
Priority: minor Milestone: 0.24
Component: MythTV - DVD Playback Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Whether or not the underlying problem can be worked around, we shouldn't be using asserts when we can gracefully exit back to the main menu.

2008-03-08 18:30:02.852 TV: Attempting to change from None to WatchingPreRecorded? libdvdnav: Using dvdnav version 0.1.10-xine from http://xine.sf.net libdvdread: Encrypted DVD support unavailable. libdvdnav: DVD Title: LUCKY_NUMBER_SLEVIN libdvdnav: DVD Serial Number: 448E7D0D_MVB libdvdnav: DVD Title (Alternative): libdvdnav: Unable to find map file '/home/gbee/.dvdnav/LUCKY NUMBER SLEVIN.map' libdvdnav: DVD disk reports itself with Region mask 0x00fd0000. Regions: 2 2008-03-08 18:30:05.651 Opened DVD device at dev/dvd * Zero check failed in ifo_read.c:644

for pgc->zero_1 = 0x70fb

* libdvdread: CHECK_VALUE failed in ifo_read.c:645 * * for pgc->nr_of_programs <= pgc->nr_of_cells *

* Zero check failed in ifo_read.c:650

for pgc->audio_control[i] = 0x105f

* Zero check failed in ifo_read.c:650

for pgc->audio_control[i] = 0x0100

* Zero check failed in ifo_read.c:653

for pgc->subp_control[i] = 0x20959200

* Zero check failed in ifo_read.c:653

for pgc->subp_control[i] = 0x07000000

* Zero check failed in ifo_read.c:653

for pgc->subp_control[i] = 0x606e9000

* Zero check failed in ifo_read.c:653

for pgc->subp_control[i] = 0x40027800

* Zero check failed in ifo_read.c:653

for pgc->subp_control[i] = 0x0f000000

* Zero check failed in ifo_read.c:653

for pgc->subp_control[i] = 0x05010032

* Zero check failed in ifo_read.c:653

for pgc->subp_control[i] = 0x0a000000

* Zero check failed in ifo_read.c:653

for pgc->subp_control[i] = 0x70000000

* Zero check failed in ifo_read.c:653

for pgc->subp_control[i] = 0x70000000

* Zero check failed in ifo_read.c:653

for pgc->subp_control[i] = 0x105f9500

* Zero check failed in ifo_read.c:653

for pgc->subp_control[i] = 0x30dd9100

* Zero check failed in ifo_read.c:653

for pgc->subp_control[i] = 0x20e69600

* Zero check failed in ifo_read.c:653

for pgc->subp_control[i] = 0x01000000

* Zero check failed in ifo_read.c:653

for pgc->subp_control[i] = 0x20959200

* Zero check failed in ifo_read.c:653

for pgc->subp_control[i] = 0x08000000

* libdvdread: CHECK_VALUE failed in ifo_read.c:663 * * for pgc->program_map_offset != 0 *

libdvdnav: ifoRead_PGCI_UT failed mythfrontend: vm.c:1503: process_command: Assertion `0' failed. Aborted

Change History (8)

comment:1 Changed 16 years ago by Anduin Withers

Owner: changed from Anduin Withers to skamithi
Status: newassigned

There are about 60 asserts in libmythdvdnav, almost all of which require changes beyond NDEBUG. Many have no safe return, and those that do, the return is often not checked. Assigning to Stanley Kamithi to let him have input, we should fix this but it isn't as trivial as it should be.

comment:2 Changed 16 years ago by stuartm

Agreed, the fix is not trivial but at least we might start to eliminate some of them. Maybe starting with the ones which can be easily triggered by system configuration problems. In the example I cited above libdecss wasn't installed so this is probably an error many users will run into.

comment:3 Changed 16 years ago by stuartm

Component: mythdvdDVD Playback

comment:4 Changed 15 years ago by skamithi

Priority: majorminor

comment:5 Changed 14 years ago by robertm

Milestone: 0.220.23

comment:6 Changed 14 years ago by robertm

Milestone: 0.230.24

not sure how much of this even applies any more after the latest dvdnav resync, but pushing to .24 since nothing is happening with this one.

comment:7 Changed 14 years ago by robertm

Component: DVD PlaybackMythTV - DVD Playback

comment:8 Changed 14 years ago by skamithi

Resolution: wontfix
Status: assignedclosed

i don't have time for this. it can be reopened when someone has time to do it.

Note: See TracTickets for help on using tickets.