[vlc-devel] Re: VLC 0.5.3 experiment ... leads to segfault

Gildas Bazin gbazin at netcourrier.com
Sat Jun 21 11:37:35 CEST 2003


On Saturday 21 June 2003 11:33, Gildas Bazin wrote:
> On Friday 20 June 2003 22:40, John Michael Zorko wrote:
> > 
> > Hello, all ...
> > 
> > I'm chasing a segfault with VLC 0.5.3 having to do with video playback. 
> >   I can get this to happen reliably on a RedHat 9 box by doing the 
> > following, and i'd like to know if anyone else can verify:
> > 
> 

BTW, if you still want to debug this on 0.5.3, valgrind will surely be able 
to track the problem. Without debugging symbols it already gives some very 
interesting info:

==2433== Thread 5:
==2433== Invalid write of size 8
==2433==    at 0x080CDDB0: (within /usr/bin/vlc)
==2433==    Address 0x4561AF90 is 0 bytes after a block of size 115200 
alloc'd
==2433==    at 0x400248C9: memalign (vg_replace_malloc.c:317)
==2433==    by 0x08060A2F: (within /usr/bin/vlc)
==2433==
==2433== Thread 5:
==2433== Invalid write of size 8
==2433==    at 0x080CDDB7: (within /usr/bin/vlc)
==2433==    Address 0x456A7BBE is 115198 bytes inside a block of size 115200 
alloc'd
==2433==    at 0x400248C9: memalign (vg_replace_malloc.c:317)
==2433==    by 0x08060A2F: (within /usr/bin/vlc)
==2433==
==2433== Thread 5:
==2433== Invalid write of size 8
==2433==    at 0x080CDDC8: (within /usr/bin/vlc)
==2433==    Address 0x456A7BBF is 115199 bytes inside a block of size 115200 
alloc'd
==2433==    at 0x400248C9: memalign (vg_replace_malloc.c:317)
==2433==    by 0x08060A2F: (within /usr/bin/vlc)
==2433==
etc...

I used the following command line:
valgrind ./vlc --noaudio udp/ts:@239.0.0.20 -vv -V dummy --dummy-chroma YV12 
-I dummy

--
Gildas

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list