[MPlayer-users] dvd key read failure

Solyom György billeniumfalcon at freemail.hu
Wed Nov 6 03:09:02 CET 2002


Hello,

I have some problems with mplayer on Mandrake Linux 9.0.

I have a coredump while reading the DVD key (The dvd works fine on win98):

Starting program: /home/solyom/extern/MPlayer-0.90pre9/mplayer -dvd 1
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer 0.90pre9-3.2 (C) 2000-2002 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices Athlon K7 (Family: 6, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx

Reading /home/solyom/.mplayer/codecs.conf: 38 audio & 110 video codecs
Font /home/solyom/.mplayer/font/font.desc loaded successfully! (206 chars)
Failed to open /dev/rtc: Permission denied (mplayer should be setuid root or /dev/rtc should be readable by the user.)
Using usleep() timing
Input config file /home/solyom/.mplayer/input.conf parsed : 50 binds

Playing DVD title 1
libdvdread: Attempting to use device none mounted on /mnt/dvd for CSS authentication
libdvdread: Could not open device with libdvdcss.
libdvdread: Can't open none for reading
libdvdread: Device none inaccessible, CSS authentication not available.
Reading disc structure, please wait...
There are 29 titles on this DVD.
There are 28 chapters in this DVD title.
There are 2 angles in this DVD title.
Using CSS Key-cache dir: /home/solyom/.mplayer/DVDKeys/ 20FFFFFFFF0000000058A

Program received signal SIGSEGV, Segmentation fault.
0x4030f551 in malloc () from /lib/i686/libc.so.6
(gdb) bt
#0 0x4030f551 in malloc () from /lib/i686/libc.so.6
#1 0x4030f262 in malloc () from /lib/i686/libc.so.6
#2 0x08143cd0 in ifoRead_PGC_COMMAND_TBL (ifofile=0x0, cmd_tbl=0x403bd340,
  offset=1077647576) at ifo_read.c:473
#3 0x081442ef in ifoRead_PGC (ifofile=0x834b490, pgc=0x403bd340, offset=12730)
  at ifo_read.c:654
#4 0x08145954 in ifoRead_PGCIT_internal (ifofile=0x834b490, pgcit=0x834c6b8, offset=8208)
  at ifo_read.c:1426
#5 0x08145d7c in ifoRead_PGCI_UT (ifofile=0x834b490) at ifo_read.c:1567
#6 0x08142152 in ifoOpen (dvd=0x403b98d8, title=137676456) at ifo_read.c:148
#7 0x080ed9e2 in open_stream (filename=0x8346c98 "", vcd_track=0, file_format=0x403b98d8)
  at open.c:267
#8 0x080504c2 in main (argc=3, argv=0xbffff6f4) at mplayer.c:881
#9 0x402ba082 in __libc_start_main () from /lib/i686/libc.so.6
(gdb) disass $eip-32 $eip+32
Dump of assembler code from 0x4030f531 to 0x4030f571:
0x4030f531 <malloc+929>:    gs
0x4030f532 <malloc+930>:    loopne 0x4030f4b7 <malloc+807>
0x4030f534 <malloc+932>:    inc  %ebp
0x4030f535 <malloc+933>:    call  0x20867a3e
0x4030f53a <malloc+938>:    je   0x4030f530 <malloc+928>
0x4030f53c <malloc+940>:    mov  0xffffffe8(%ebp),%ecx
0x4030f53f <malloc+943>:    mov  0xfffffff0(%ebp),%eax
0x4030f542 <malloc+946>:    mov  %ecx,0xffffffdc(%ebp)
0x4030f545 <malloc+949>:    lea  (%eax,%ecx,8),%edi
0x4030f548 <malloc+952>:    mov  %edi,%eax
0x4030f54a <malloc+954>:    mov  0xc(%eax),%edx
0x4030f54d <malloc+957>:    cmp  %eax,%edx
0x4030f54f <malloc+959>:    je   0x4030f574 <malloc+996>
0x4030f551 <malloc+961>:    mov  0x4(%edx),%esi
0x4030f554 <malloc+964>:    and  $0xfffffffc,%esi
0x4030f557 <malloc+967>:    mov  %esi,%ecx
0x4030f559 <malloc+969>:    sub  0xffffffec(%ebp),%ecx
0x4030f55c <malloc+972>:    cmp  $0xf,%ecx
0x4030f55f <malloc+975>:    jg   0x4030f7d1 <malloc+1601>
0x4030f565 <malloc+981>:    test  %ecx,%ecx
0x4030f567 <malloc+983>:    jns  0x4030f7bb <malloc+1579>
0x4030f56d <malloc+989>:    mov  0xc(%edx),%edx
0x4030f570 <malloc+992>:    cmp  %eax,%edx
End of assembler dump.


Linux 2.4.19-16mdk #1 Fri Sep 20 18:15:05 CEST 2002 i686 unknown unknown GNU/Linux

/lib/libc-2.2.5.so

XFree86 Version 4.2.1 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 3 September 2002
Build Operating System: Linux 2.4.18-23mdkenterprise i686 [ELF]
Module Loader present

gcc:
Configured with: ../configure --prefix=/usr --libdir=/usr/lib -- with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --enable- long-long --enable-__cxa_atexit --enable- languages=c,c++,ada,f77,objc,java --host=i586-mandrake-linux-gnu -- with-system-zlib
Thread model: posix
gcc version 3.2 (Mandrake Linux 9.0 3.2-1mdk)

GNU ld version 2.12.90.0.15 20020717
GNU assembler 2.12.90.0.15 20020717

processor    : 0
vendor_id    : AuthenticAMD
cpu family   : 6
model      : 1
model name   : AMD-K7(tm) Processor
stepping    : 2
cpu MHz     : 604.254
cache size   : 512 KB
fdiv_bug    : no
hlt_bug     : no
f00f_bug    : no
coma_bug    : no
fpu       : yes
fpu_exception  : yes
cpuid level   : 1
wp       : yes
flags      : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat mmx syscall mmxext 3dnowext 3dnow
bogomips    : 1205.86

Graphics card: ATI Expert2000 (Rage128) 16M RAM. r128


00:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-751 [Irongate] System Controller (rev 23)
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
    Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
    Latency: 64
    Region 0: Memory at e8000000 (32-bit, prefetchable) [size=64M]
    Region 1: Memory at efdff000 (32-bit, prefetchable) [size=4K]
    Region 2: I/O ports at d800 [disabled] [size=4]
    Capabilities: <available only to root>

00:01.0 PCI bridge: Advanced Micro Devices [AMD] AMD-751 [Irongate] AGP Bridge (rev 01) (prog-if 00 [Normal decode])
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
    Status: Cap- 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
    Latency: 64
    Bus: primary=00, secondary=01, subordinate=01, sec- latency=64
    I/O behind bridge: 00007000-00008fff
    Memory behind bridge: efe00000-efefffff
    Prefetchable memory behind bridge: dfc00000-e7cfffff
    BridgeCtl: Parity- SERR+ NoISA- VGA+ MAbort- >Reset- FastB2B-

00:04.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 14)
    Subsystem: Asustek Computer, Inc.: Unknown device 800d
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B-
    Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
    Latency: 0

00:04.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 06) (prog-if 8a [Master SecP PriP])
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
    Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
    Latency: 32
    Region 4: I/O ports at ffa0 [size=16]

00:04.2 USB Controller: VIA Technologies, Inc. USB (rev 06) (prog-if 00 [UHCI])
    Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
    Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
    Latency: 64, cache line size 08
    Interrupt: pin D routed to IRQ 9
    Region 4: I/O ports at c800 [size=32]

00:04.3 USB Controller: VIA Technologies, Inc. USB (rev 06) (prog-if 00 [UHCI])
    Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
    Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
    Latency: 64, cache line size 08
    Interrupt: pin D routed to IRQ 9
    Region 4: I/O ports at cc00 [size=32]

00:04.4 SMBus: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 10)
    Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
    Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-

00:04.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev 12)
    Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
    Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
    Interrupt: pin C routed to IRQ 10
    Region 0: I/O ports at d400 [size=256]
    Region 1: I/O ports at d000 [size=4]

00:0e.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL- 8139/8139C (rev 10)
    Subsystem: Accton Technology Corporation: Unknown device ec01
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
    Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
    Latency: 64 (8000ns min, 16000ns max)
    Interrupt: pin A routed to IRQ 5
    Region 0: I/O ports at c400 [size=256]
    Region 1: Memory at efffff00 (32-bit, non-prefetchable) [size=256]
    Expansion ROM at effe0000 [disabled] [size=64K]
    Capabilities: <available only to root>

00:0f.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL- 8139/8139C (rev 10)
    Subsystem: Allied Telesyn International AT-2500TX/ACPI
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
    Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
    Latency: 64 (8000ns min, 16000ns max)
    Interrupt: pin A routed to IRQ 10
    Region 0: I/O ports at c000 [size=256]
    Region 1: Memory at effffe00 (32-bit, non-prefetchable) [size=256]
    Capabilities: <available only to root>

00:10.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 08)
    Subsystem: Creative Labs CT4760 SBLive!
    Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
    Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
    Latency: 64 (500ns min, 5000ns max)
    Interrupt: pin A routed to IRQ 9
    Region 0: I/O ports at bc00 [size=32]
    Capabilities: <available only to root>

00:10.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 08)
    Subsystem: Creative Labs Gameport Joystick
    Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
    Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
    Latency: 64
    Region 0: I/O ports at dc00 [size=8]
    Capabilities: <available only to root>

01:05.0 VGA compatible controller: ATI Technologies Inc Rage 128 RF/ SG AGP (prog-if 00 [VGA])
    Subsystem: ATI Technologies Inc Magnum/Xpert 128/Xpert 99
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B-
    Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
    Latency: 64 (2000ns min), cache line size 08
    Interrupt: pin A routed to IRQ 11
    Region 0: Memory at e0000000 (32-bit, prefetchable) [size=64M]
    Region 1: I/O ports at 8800 [size=256]
    Region 2: Memory at efefc000 (32-bit, non-prefetchable) [size=16K]
    Expansion ROM at efec0000 [disabled] [size=128K]
    Capabilities: <available only to root>


# -------- Generated by configure -----------

LANG = C
TARGET_OS = Linux
DESTDIR =
prefix = $(DESTDIR)/usr/local
BINDIR = $(DESTDIR)/usr/local/bin
DATADIR = $(DESTDIR)/usr/local/share/mplayer
MANDIR = $(DESTDIR)/usr/local/man
CONFDIR = $(DESTDIR)/usr/local/etc/mplayer
LIBDIR = $(DESTDIR)/usr/local/lib
#AR = ar
CC = gcc
AWK = mawk
RANLIB = ranlib
# OPTFLAGS = -O4 -g3 -march=athlon -mcpu=athlon -pipe -fomit-frame- pointer -ffast-math
OPTFLAGS = -W -Wall -O2 -march=athlon -mcpu=athlon -g3 -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
EXTRA_INC = 
WIN32_PATH = -DWIN32_PATH=\"/usr/lib/win32\"
STRIPBINARIES = no



STREAMING = yes
STREAMING_LIVE_DOT_COM = no
STREAMING_LIB = -lnsl
VIDIX = yes

OPENDIVX = no

UNRARLIB = yes

PNG = yes
JPEG = yes
GIF = yes

EXTRA_LIB =
Z_LIB =  -lz
HAVE_MLIB = no
STATIC_LIB =

X11_INC =
X11DIR = -L/usr/X11R6/lib -lXext -lX11 -lnsl

# for libavcodec:
SRC_PATH=.

# video output
X_LIB = -lGL -lXxf86dga -lXv -lXxf86vm -lXinerama -L/usr/X11R6/lib - lXext -lX11 -lnsl -lnsl
GGI_LIB =
MLIB_LIB = 
MLIB_INC =
DXR2_INC =
DVB_INC =
PNG_LIB = -lpng -lz
JPEG_LIB = -ljpeg
GIF_LIB = -lgif
SDL_LIB =
DIRECTX_LIB =
SVGA_LIB =
AA_LIB =

# audio output
ALSA_LIB = -lasound -ldl -lpthread
NAS_LIB =
ARTS_LIB =
ARTS_INC =
SGIAUDIO_LIB =

# input/demuxer/codecs
TERMCAP_LIB = -ltermcap
LIRC_LIB =
CSS_USE = no
CSS_LIB = -Llibmpdvdkit2 -lmpdvdkit
DVDKIT = no
DVDKIT2 = yes
DVDKIT_SHARED = no
SDL_INC =
W32_DEP = loader/libloader.a
W32_LIB = loader/libloader.a
DS_DEP = loader/dshow/libDS_Filter.a
DS_LIB = loader/dshow/libDS_Filter.a
AV_DEP = libavcodec/libavcodec.a
AV_LIB = libavcodec/libavcodec.a
FAME = no
FAME_LIB =
MP1E_DEP =
MP1E_LIB =
ARCH_LIB =  -lpthread -ldl 
DIVX4LINUX = no
XVID = no
XVID_LIB =
DECORE_LIB =
MENCODER = yes
ENCORE_LIB =  
DIRECTFB_INC =
DIRECTFB_LIB =
CDPARANOIA_INC =
CDPARANOIA_LIB = -lcdda_interface -lcdda_paranoia
FREETYPE_INC =
FREETYPE_LIB =
LZO= no
LZO_LIB=
MAD_LIB =
VORBIS_LIB = -lvorbis -logg
FAAD_LIB =

# --- Some stuff for autoconfigure ----
TARGET_ARCH_X86 = yes
TARGET_CYGWIN = no
TARGET_CPU=686
TARGET_MMX = yes
TARGET_MMX2 = yes
TARGET_3DNOW = yes
TARGET_3DNOWEX = yes
TARGET_SSE = no

# --- GUI stuff ---
GTKLIB = 
GLIBLIB =  
GTK_LIBS =  
GUI = no
DEBUG = -DDEBUG


Has someone an idea, what could go wrong?





More information about the MPlayer-users mailing list