Ubuntu

vlc assert failure: vlc: /build/buildd/libdvdnav-4.1.3/src/vm/vm.c:1744: get_ID: Assertion `pgcit != ((void *)0)' failed.

Reported by Slava8 on 2009-09-22
110
This bug affects 18 people
Affects Status Importance Assigned to Milestone
libdvdnav (Ubuntu)
High
Unassigned

Bug Description

Binary package hint: vlc

VLC unexpectedly closing when I tried to play DVD

ProblemType: Crash
Architecture: i386
AssertionMessage: vlc: /build/buildd/libdvdnav-4.1.3/src/vm/vm.c:1744: get_ID: Assertion `pgcit != ((void *)0)' failed.
Date: Tue Sep 22 21:32:25 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/vlc
Package: vlc-nox 1.0.1-2ubuntu1
ProcCmdline: vlc /media/cdrom0
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-10.34-generic
Signal: 6
SourcePackage: vlc
StacktraceTop:
 __kernel_vsyscall ()
 raise () from /lib/tls/i686/cmov/libc.so.6
 abort () from /lib/tls/i686/cmov/libc.so.6
 __assert_fail () from /lib/tls/i686/cmov/libc.so.6
 ?? () from /usr/lib/libdvdnav.so.4
Title: vlc assert failure: vlc: /build/buildd/libdvdnav-4.1.3/src/vm/vm.c:1744: get_ID: Assertion `pgcit != ((void *)0)' failed.
Uname: Linux 2.6.31-10-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Slava8 (lap911) wrote :

StacktraceTop:__kernel_vsyscall ()
*__GI_raise (sig=6)
*__GI_abort () at abort.c:92
*__GI___assert_fail (
get_ID (vm=0xb712f980, id=3)

Changed in vlc (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
Benjamin Drung (bdrung) on 2009-09-26
visibility: private → public
Miron Cuperman (devrandom) wrote :

I opened a duplicate bug...

There might be a kernel issue here, I'm seeing these intermittently when inserting discs (resulting in failed automount):

Sep 23 23:54:44 living kernel: [ 530.944013] sr 4:0:1:0: [sr0] unaligned transfer
Sep 23 23:54:44 living kernel: [ 530.944087] sr 4:0:1:0: [sr0] unaligned transfer
Sep 23 23:54:44 living kernel: [ 530.944149] sr 4:0:1:0: [sr0] unaligned transfer
Sep 23 23:55:21 living kernel: [ 530.944367] sr 4:0:1:0: [sr0] unaligned transfer
Sep 23 23:55:21 living kernel: [ 530.944432] sr 4:0:1:0: [sr0] unaligned transfer
Sep 23 23:55:21 living kernel: [ 530.944483] sr 4:0:1:0: [sr0] unaligned transfer

I am running Ubuntu Karmic alpha-6. I tried older kernels with the same installation, and ran into the same issue.

The issue is intermittent. Also, swapping out the PATA DVD drive with a SATA one did not resolve the issue.

JB VideoLAN (jb-videolan) wrote :

Well, can you try the "no dvd menu" option?

Changed in vlc (Ubuntu):
status: New → In Progress
Kalman Reti (kalman-reti) wrote :

I reported a duplicate of this bug; in my case checking the "No dvd menu" checkbox worked.

affects: vlc (Ubuntu) → libdvdnav (Ubuntu)
Changed in libdvdnav (Ubuntu):
status: In Progress → New
Christophe (christophe-wk3) wrote :
Download full text (4.0 KiB)

Hi,

this bug does still exist. Both Totem and VLC are affected. I'm able to play the DVD using the "No DVD menus" option of VLC. If I can be of any help chasing the bug please let me know.

Linux r60 2.6.37-020637rc7-generic #201012221342 SMP Wed Dec 22 13:44:43 UTC 2010 x86_64 GNU/Linux

libdvdnav4 4.1.3-7
libtotem-plparser17 2.30.3-0ubuntu1
libvlc5 1.1.5-1~getdeb1
libvlccore4 1.1.5-1~getdeb1
totem 2.32.0-0ubuntu1
totem-common 2.32.0-0ubuntu1
totem-mozilla 2.32.0-0ubuntu1
totem-plugins 2.32.0-0ubuntu1
vlc 1.1.5-1~getdeb1
vlc-data 1.1.5-1~getdeb1
vlc-nox 1.1.5-1~getdeb1
vlc-plugin-notify 1.1.5-1~getdeb1
vlc-plugin-pulse 1.1.5-1~getdeb1

christophe@r60:~$ vlc
VLC media player 1.1.5 The Luggage (revision exported)
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
Blocked: call to setlocale(6, "")
Blocked: call to sigaction(17, 0x7fd8e34f3b20, 0x7fd8e34f3a80)
Warning: call to signal(13, 0x1)
Warning: call to signal(13, 0x1)
Warning: call to srand(1293286352)
Warning: call to rand()
Blocked: call to setlocale(6, "")

(process:3936): Gtk-WARNING **: Locale not supported by C library.
 Using the fallback 'C' locale.
Warning: call to signal(13, 0x1)
Warning: call to rand()
Warning: call to rand()
Warning: call to rand()
Warning: call to rand()
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdnav: DVD Title:
libdvdnav: DVD Serial Number:
libdvdnav: DVD Title (Alternative):
libdvdnav: Unable to find map file '/home/christophe/.dvdnav/.map'
*** Zero check failed in /build/buildd/libdvdread-4.1.3/src/ifo_read.c:517
    for vmgi_mat->zero_3 = 0x00000000010000000000000000000000000000
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000416
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00004000
libdvdread: Elapsed time 0
libdvdread: Found 1 VTS's
libdvdread: Elapsed time 0
Warning: call to srand(947274)
libdvdnav: Language 'en' not found, using 'de' instead
libdvdnav: Menu Languages available: de
libdvdnav: Language 'en' not found, using 'de' instead
libdvdnav: Menu Languages available: de
libdvdnav: Language 'en' not found, using 'de' instead
libdvdnav: Menu Languages available: de
libdvdnav: *** pgci_ut handle is NULL ***
vlc: /build/buildd/libdvdnav-4.1.3/src/vm/vm.c:1744: get_ID: Assertion `pgcit != ((void *)0)' failed.
Aborted

christophe@r60:~$ totem
libdvdread: Using libdvdcss version 1.2.10 for DVD access
*** Zero check failed in /build/buildd/libdvdread-4.1.3/src/ifo_read.c:517
    for vmgi_mat->zero_3 = 0x00000000010000000000000000000000000000
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdnav: DVD Title:
libdvdnav: DVD Serial Number:
libdvdnav: DVD Title (Alternative):
libdvdnav: Unable to find map file '/home/christophe/.dvdnav/.map'
*** Zero check failed in /build/buildd/libdvdread-4.1.3/src/ifo_read.c:517
    for vmgi_mat...

Read more...

Ulisses Penna (uspenna) wrote :

The "No dvd menu" checkbox just works for DVD physical media but does not work for ISO images.
I tried upgrading to libdvdnav4_4.1.4 (for Debian experimental) and the problem keeps the same. So I returned to the original libdvdnav4_4.1.3-7. No solution until now.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in libdvdnav (Ubuntu):
status: New → Confirmed
Mossroy (mossroy) wrote :

This bug seems to be fixed on Precise (12.04). I've been able to read the dvd on the alpha 2 version (without the "no dvd menu" workaround).
I could read it correctly with vlc, but not with totem (it does not hang, but nothing appears on the screen : maybe it is another issue, as precise is still alpha).

I suppose it is because of the upgrade of libdvdnav4 library (version 4.2.0 instead of 4.1.3 : http://packages.ubuntu.com/precise/libdvdnav4). But I can't say for sure.

Mossroy (mossroy) wrote :

I forgot to add that the same DVD (on the same PC) could not be read on lucid or oneiric (with the assertion error message).
I also tested x86 and x64 versions of precise : both work with vlc, and fail with totem

For those who faced this issue : it would be worth trying if it is solved for you with precise

Gnu You (gnuyou) wrote :

Same error on Ubuntu 11.10 x64 trying with mplayer and VLC. Checking 'No Menus' in VLC works fine.

Bryce Harrington (bryce) wrote :

The attached patch should fix the assertion when there's no menu. If someone could confirm, then we can consider this for SRU.

Changed in libdvdnav (Ubuntu):
status: Confirmed → Triaged
importance: Medium → High
tags: added: patch
JB VideoLAN (jb-videolan) wrote :

This was merged upstream.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers