[vlc-devel] linux - segmentation fault at startup

Sébastien Escudier sebastien-devel at celeos.eu
Tue Sep 2 16:04:20 CEST 2008



Hi,

I am using git (so my version is "version 1.0.0-git Goldeneye"

I have a segmentation fault at startup without any command-line argument.
Do you have this problem ?

backtrace and output :

******** BACKTRACE ***********

#0  0xb7c15112 in CountChildren (p_this=<value optimized out>, i_type=-3) at
misc/objects.c:1384
1384	    for( i = 0; i < vlc_internals( p_this )->i_children; i++ )
(gdb) bt
#0  0xb7c15112 in CountChildren (p_this=<value optimized out>, i_type=-3) at
misc/objects.c:1384
#1  0xb7c17d3c in __vlc_list_find (p_this=0x0, i_type=-3, i_mode=3) at
misc/objects.c:883
#2  0xb7c0af1e in config_FindConfig (p_this=0x80f5628, psz_name=0xb6ea5691
"file-mmap") at config/core.c:417
#3  0xb7c0b43c in __config_GetInt (p_this=0x80f5628, psz_name=0xb6ea5691
"file-mmap") at config/core.c:147
#4  0xb7c18e93 in InheritValue (p_this=0x80f5628, psz_name=0xb6ea5691
"file-mmap", p_val=0xbfcbe114, i_type=32) at misc/variables.c:1481
#5  0xb7c191e2 in __var_Create (p_this=0x8101078, psz_name=0xb6ea5691
"file-mmap", i_type=32800) at misc/variables.c:291
#6  0xb6ea5181 in Open (p_this=0x8101078) at ../../include/vlc_variables.h:451
#7  0x08088a6a in __module_Need (p_this=0x8101078, psz_capability=0x80e40f1
"access", psz_name=0xbfcbe2f0 "file", b_strict=true) at modules/modules.c:564
#8  0x080abd52 in access_InternalNew (p_obj=<value optimized out>,
psz_access=0xbfcbe2f0 "file", psz_demux=0xbfcbe2f5 "xspf-open",
    psz_path=0xbfcbe301 "/home/sebastien/.local/share/vlc/ml.xspf",
p_source=0x0) at input/access.c:78
#9  0x080723a0 in InputSourceInit (p_input=0x81038c8, in=0x810139c,
psz_mrl=0x8103668 "file/xspf-open:///home/sebastien/.local/share/vlc/ml.xspf",
    psz_forced_demux=0x0) at input/input.c:2257
#10 0x08075796 in Init (p_input=0xffffff68) at input/input.c:1156
#11 0x08077610 in RunAndDestroy (p_this=0x81038c8) at input/input.c:556
#12 0x08077768 in __input_Read (p_parent=0x80f5628, p_item=0x81036a8,
b_block=true) at input/input.c:402
#13 0x08064659 in playlist_MLLoad (p_playlist=0x80f5628) at
playlist/loadsave.c:167
#14 0x0806352a in playlist_Create (p_parent=0x80f2950) at playlist/engine.c:159
#15 0x08060454 in __playlist_ThreadCreate (p_parent=0x80f2950) at
playlist/thread.c:58
#16 0x08053af6 in libvlc_InternalInit (p_libvlc=0x80f2950, i_argc=3,
ppsz_argv=0xbfcbe8e0) at libvlc.c:788
#17 0x0804c089 in libvlc_new (argc=2, argv=0xbfcbeaa8, p_e=0xbfcbe9ec) at
control/core.c:124
#18 0x0804ba07 in main (i_argc=3, ppsz_argv=0xbfcbeaa4) at vlc.c:130


******** OUTPUT *************


[00000001] main libvlc debug: VLC media player - version 1.0.0-git Goldeneye -
(c) 1996-2008 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure 
'--disable-wxwidgets' '--enable-dbus=no' '--disable-dbus-control'
'--disable-skins2' '--with-live555-tree=/home/sebastien/live/'
'--enable-static=yes' '--enable-shared' '--enable-httpd' '--enable-qt4=no'
'--enable-lua=no' '--enable-growl=no' '--enable-notify=no'
'--disable-audioscrobbler' '--enable-dvdnav=no' '--enable-smb=no'
'--enable-libcdio=no' '--enable-libcddb=no' '--enable-cdda=no'
'--enable-vcd=no' '--enable-screen=no' '--enable-mkv=no' '--enable-mod=no'
'--enable-mpc=no' '--enable-gme=no' '--enable-mad=no' '--disable-id3tag'
'--enable-libtar=no' '--enable-a52=no' '--enable-dca=no' '--enable-png=no'
'--enable-zvbi=no' '--enable-cmml=no' '--enable-xvideo=no' '--enable-glx=no'
'--enable-xinerama=no' '--enable-opengl=no' '--enable-sdl=no'
'--enable-sdl-image=no' '--enable-freetype=no' '--enable-fribidi=no'
'--enable-fb=no' '--enable-oss=no' '--enable-esd=no' '--enable-pulse=no'
'--enable-alsa=no' '--enable-debug'
[00000001] main libvlc debug: translation test: code is "C"
[00000001] main libvlc debug: checking builtin modules
[00000001] main libvlc debug: checking plugin modules
[00000001] main libvlc debug: loading plugins cache file
/home/sebastien/.cache/vlc/plugins-04041e.dat
[00000001] main libvlc warning: could not open plugins cache file
/home/sebastien/.cache/vlc/plugins-04041e.dat for reading
[00000001] main libvlc debug: recursively browsing `/usr/local/lib/vlc'
[00000001] main libvlc debug: recursively browsing `./modules'
[00000001] main libvlc debug: module bank initialized, found 221 modules
[00000001] main libvlc debug: opening config file
(/home/sebastien/.config/vlc/vlcrc)
[00000001] main libvlc: Found old config file at /home/sebastien/.vlc/vlcrc. VLC
will now use /home/sebastien/.config/vlc/vlcrc.
[00000001] main libvlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2
FPU
[00000001] main libvlc debug: looking for memcpy module: 3 candidates
[00000001] main libvlc debug: using memcpy module "memcpymmxext"
[00000224] main interaction debug: thread started
[00000224] main interaction debug: thread 3063069584 (Interaction control)
created at priority 0 (interface/interaction.c:382)
[00000226] main input debug: Creating an input for 'Media Library'
[00000226] main input debug: Input is a meta file: disabling unneeded options
[00000226] main input debug:
`file/xspf-open:///home/sebastien/.local/share/vlc/ml.xspf' gives access `file'
demux `xspf-open' path `/home/sebastien/.local/share/vlc/ml.xspf'
[00000226] main input debug: creating access 'file'
path='/home/sebastien/.local/share/vlc/ml.xspf'
[00000227] main access debug: looking for access module: 3 candidates
Segmentation fault (core dumped)




More information about the vlc-devel mailing list