[vlc-devel] VLC segfaults while playing "For The Birds" DVD Rip

Stepan Roh stepan at srnet.cz
Wed Dec 18 02:14:36 CET 2002


I tried to play my DVD test rip "For The Birds" and got segfault. GDB
output is attached (vlc messages are the same as from non-GDB run). I used
vlc snapshot 20021218. Feel free to ask for more information (except for
AVI itself as it is copy only for private use). AVI has been encoded using
transcode 0.6.0 and I think it is DivX 4.

Have a nice day.

Stepan Roh
-------------- next part --------------
GNU gdb 5.2
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-slackware-linux".
(gdb) file vlc
Reading symbols from vlc...done.
(gdb) run -v4 --vout sdl movies/For\ The\ Birds/For\ The\ Birds.avi
Starting program: /usr/bin/vlc -v4 --vout sdl movies/For\ The\ Birds/For\ The\ Birds.avi
VideoLAN Client snapshot-20021218 Natalya
[00000000] main root debug: VideoLAN Client - version snapshot-20021218 Natalya - (c) 1996-2002 VideoLAN
[00000000] main root debug: libvlc was configured with ./configure --prefix=/usr --sysconfdir=/etc --enable-debug --enable-dvd --enable-dvdread --enable-vcd --enable-svgalib --enable-oss --enable-esd --enable-arts --enable-alsa --enable-gtk --enable-ncurses --enable-xosd --enable-sdl --enable-mozilla --enable-dv --enable-mad --enable-ffmpeg --enable-xvid --with-ffmpeg-tree=/tmp/build/ffmpeg --with-xvid-tree=/tmp/build/xvidcore-0.9.0
[00000000] main root debug: checking builtin modules
[00000000] main root debug: checking plugin modules
[00000000] main root debug: recursively browsing `modules'
[00000000] main root debug: recursively browsing `/usr/lib/vlc'
[00000000] main root debug: recursively browsing `plugins'
[00000003] main vlc debug: module bank initialized, found 126 modules
[00000003] main vlc debug: opening config file /home/stepan/.vlc/vlcrc
[00000003] main vlc debug: CPU has capabilities 486 586 MMX 3DNow! MMXEXT FPU
[00000003] main vlc debug: looking for memcpy module
[00000003] main vlc debug: probing 4 candidates
[00000118] main module debug: using memcpy module "memcpymmxext"

Program received signal SIG32, Real-time event 32.
0x4009d3f5 in sigsuspend () from /lib/libc.so.6
(gdb) c
Continuing.
[00000140] main playlist debug: waiting for thread completion

Program received signal SIG32, Real-time event 32.
0x40116421 in nanosleep () from /lib/libc.so.6
(gdb) c
Continuing.
[00000140] main playlist debug: thread 1026 (playlist) created at priority 0 (src/playlist/playlist.c:77)
[00000140] main playlist debug: adding playlist item ? movies/For The Birds/For The Birds.avi ?
[00000003] main vlc debug: adding sap interface
[00000141] main interface debug: looking for interface module
[00000141] main interface debug: probing 1 candidate
[00000119] main module debug: using interface module "sap"
[00000141] main interface debug: interface initialized
[00000140] main playlist debug: creating new input thread
[00000142] main input: playlist item `movies/For The Birds/For The Birds.avi'
[00000141] main interface debug: looking for network module
[00000141] main interface debug: probing 1 candidate
[00000141] ipv4 interface warning: socket buffer size is 0x1fffe instead of 0x80000
[00000112] main module debug: using network module "ipv4"
[00000112] main module debug: unlocking module "ipv4"
[00000142] main input debug: waiting for thread completion
[00000142] main input debug: thread 3076 (input) created at priority 0 (src/input/input.c:157)
[00000142] main input debug: access `', demux `', name `movies/For The Birds/For The Birds.avi'
[00000142] main input debug: looking for access module
[00000142] main input debug: probing 6 candidates
[00000142] dvdread input warning: dvdread module discarded (not a valid source)
[00000142] dvdread input warning: dvdread module discarded (not a valid source)
[00000142] dvd input warning: dvd module discarded (not a valid block device)
[00000142] dvd input warning: dvd module discarded (not a valid block device)
[00000142] vcd input debug: using .cue file: movies/For The Birds/For The Birds.cue
[00000142] vcd input warning: could not open movies/For The Birds/For The Birds.avi
[00000142] access_file input debug: opening file `movies/For The Birds/For The Birds.avi'
[00000072] main module debug: using access module "access_file"
[00000142] main input debug: looking for demux module
[00000142] main input debug: probing 12 candidates
[00000142] mp4 input warning: MP4 plugin discarded (not a valid file)
[00000142] avi input debug: Found Chunk fourcc:46464952 (RIFF) size:135121802 pos:0
[00000142] avi input debug: found LIST chunk: 'AVI '
[00000142] avi input debug: <list 'AVI '>
[00000142] avi input debug: Found Chunk fourcc:5453494c (LIST) size:292 pos:12
[00000142] avi input debug: found LIST chunk: 'hdrl'
[00000142] avi input debug: <list 'hdrl'>
[00000142] avi input debug: Found Chunk fourcc:68697661 (avih) size:56 pos:24
[00000142] avi input debug: avih: streams:2 flags: HAS_INDEX IS_INTERLEAVED 624x336
[00000142] avi input debug: Found Chunk fourcc:5453494c (LIST) size:116 pos:88
[00000142] avi input debug: found LIST chunk: 'strl'
[00000142] avi input debug: <list 'strl'>
[00000142] avi input debug: Found Chunk fourcc:68727473 (strh) size:56 pos:100
[00000142] avi input debug: strh: type:vids handler:0x58564944 samplesize:0 25.00fps
[00000142] avi input debug: Found Chunk fourcc:66727473 (strf) size:40 pos:164
[00000142] avi input debug: strf: video:DIVX 624x336 planes:1 24bpp
[00000142] avi input debug: </list 'strl'>
[00000142] avi input debug: Found Chunk fourcc:5453494c (LIST) size:92 pos:212
[00000142] avi input debug: found LIST chunk: 'strl'
[00000142] avi input debug: <list 'strl'>
[00000142] avi input debug: Found Chunk fourcc:68727473 (strh) size:56 pos:224
[00000142] avi input debug: strh: type:auds handler:0x00000000 samplesize:1 16000.00fps
[00000142] avi input debug: Found Chunk fourcc:66727473 (strf) size:16 pos:288

Program received signal SIG32, Real-time event 32.
0x4009d3f5 in sigsuspend () from /lib/libc.so.6
(gdb) bt
#0  0x4009d3f5 in sigsuspend () from /lib/libc.so.6
#1  0x40045a4f in pthread_getconcurrency () from /lib/libpthread.so.0
#2  0x400451fb in pthread_create () from /lib/libpthread.so.0
#3  0x0805af66 in __vlc_thread_create (p_this=0x89fb8e0, psz_file=0x8146f61 "src/interface/interface.c", i_line=121,
    psz_name=0x8146f21 "interface", func=0x407dbbc4 <Run>, i_priority=0, b_wait=0) at src/misc/threads.c:606
#4  0x0804e2b5 in intf_RunThread (p_intf=0x89fb8e0) at src/interface/interface.c:120
#5  0x0804d097 in VLC_AddIntf (i_object=0, psz_module=0x81462e6 "sap", b_block=0) at src/libvlc.c:544
#6  0x0804d508 in VLC_Play (i_object=0) at src/libvlc.c:786
#7  0x0804bc00 in main (i_argc=5, ppsz_argv=0xbffff6f4) at src/vlc.c:102
#8  0x4008c17d in __libc_start_main () from /lib/libc.so.6
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x40045628 in pthread_yield () from /lib/libpthread.so.0
(gdb) bt
#0  0x40045628 in pthread_yield () from /lib/libpthread.so.0
#1  0x40045a4f in pthread_getconcurrency () from /lib/libpthread.so.0
#2  0x400451fb in pthread_create () from /lib/libpthread.so.0
#3  0x0805af66 in __vlc_thread_create (p_this=0x89fb8e0, psz_file=0x8146f61 "src/interface/interface.c", i_line=121,
    psz_name=0x8146f21 "interface", func=0x407dbbc4 <Run>, i_priority=0, b_wait=0) at src/misc/threads.c:606
#4  0x0804e2b5 in intf_RunThread (p_intf=0x89fb8e0) at src/interface/interface.c:120
#5  0x0804d097 in VLC_AddIntf (i_object=0, psz_module=0x81462e6 "sap", b_block=0) at src/libvlc.c:544
#6  0x0804d508 in VLC_Play (i_object=0) at src/libvlc.c:786
#7  0x0804bc00 in main (i_argc=5, ppsz_argv=0xbffff6f4) at src/vlc.c:102
#8  0x4008c17d in __libc_start_main () from /lib/libc.so.6


More information about the vlc-devel mailing list