[vlc-devel] VLC 0.5.3 crashes running under GDB on RH9

j.zorko at att.net j.zorko at att.net
Tue Jun 17 19:46:12 CEST 2003

Hello, all ...

I'm trying to determine the cause of a crash using VLC 0.5.3 -- sometimes, after
running awhile, it segfaults when it detects a new network MPEG2 stream and
tries to play it.  Unfortunately, VLC and GDB don't seem to like each other very
well, and GDB doesn't tell me much in this instance (perhaps the stack is
getting trashed?)  Has anyone else seen this, or has this been fixed on 0.6.0 /
CVS?  This is on Red Hat 9, 2GHz P4, client and server VLCs running on the same

[jmzorko at jmzorko vlc-0.5.3]$ uname -a
Linux jmzorko.seacoms.com 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686
i386 GNU/Linux
[jmzorko at jmzorko vlc-0.5.3]$

OK -- first start the client VLC under GDB, thusly:

[jmzorko at jmzorko vlc-0.5.3]$ gdb vlc
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 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-redhat-linux-gnu"...
(gdb) run udp/ts:@
Starting program: /home/jmzorko/perforce/app/videolan/vlc-0.5.3/vlc
[New Thread 1077041920 (LWP 9332)]
VideoLAN Client 0.5.3 Natalya
[New Thread 1103649984 (LWP 9333)]
[New Thread 1116941376 (LWP 9334)]
[00000149] main input: playlist item `udp/ts:@'
[New Thread 1125329856 (LWP 9335)]
[New Thread 1133718336 (LWP 9336)]

... now start the server VLC in another XTerm:

[jmzorko at jmzorko vlc-0.5.3]$ ./vlc --sout udp/ts://
VideoLAN Client 0.5.3 Natalya
[00000150] main input: playlist item
[00000151] packetizer_mpegvideo decoder: Running mpegvideo packetizer
[00000152] packetizer_a52 decoder: Running A/52 packetizer
[00000154] access_output_udp private: Open: addr:`' port:`1234'
[00000156] mux_ts_dvbpsi private: Open
[00000152] packetizer_a52 decoder: A/52 channels:6 samplerate:48000 bitrate:384000

... at which point the client VLC does this:

[New Thread 1142106816 (LWP 9345)]
[New Thread 1150495296 (LWP 9346)]
[00000151] main audio output error: couldn't find a filter for the first part of
the conversion
[00000151] main audio output error: couldn't set an input pipeline
[Thread 1150495296 (LWP 9346) exited]
[Thread 1142106816 (LWP 9345) exited]
Couldn't get registers: No such process.
(gdb) bt
Cannot fetch general-purpose registers for thread 1125329856: generic error
(gdb) info threads
Cannot find new threads: generic error

... any ideas?  Has anyone else encountered this?



Falling You - exploring the beauty 
of voice and sound

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