[vlc-devel] linux - segmentation fault at startup

Sébastien Escudier sebastien-devel at celeos.eu
Thu Sep 4 14:57:52 CEST 2008


Quoting Christophe Mutricy <xtophe at videolan.org>:

> > #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
>
>
> Looking at config/core.c, there is no chance for p_this to change to
> NULL. So it points on a memory problem.

actually p_this does not change to NULL, but p_module_bank changes to NULL.
So the call to vlc_list_find is done with a NULL value of p_module_bank :

return vlc_list_find ((vlc_object_t *)p_module_bank,
                                  i_type, FIND_CHILD);

Any idea how p_module_bank could change to NULL (I checked it was not NULL
before) ?


Thank you

valgrind log :
http://pastebin.com/m4953973a
backtrace :
http://mailman.videolan.org/pipermail/vlc-devel/2008-September/049298.html



More information about the vlc-devel mailing list