[icecast] icecast2 alpha 1 (09/19/03) seg fault

V Mahabir newmannium at hotmail.com
Sun Sep 21 16:49:27 PDT 2003


icecast2 doesn't want to run stable on my Slackmachine:

Linux tyson 2.4.18 #9 Fri Oct 4 17:13:35 CEST 2002 i586 unknown

I followed the guidelines at http://melmoth.dyndns.org.

I use Winamp v2.81 in combination with Oddcast DSP plugin.
I can get the stream up and running. I also can connect to it and listen to 
it through another instance of Winamp.

The seg fault is reproducable:
1. I press the play button in the Winamp instance that functions as the 
2. I press the connect button on the Oddcast DSP plugin
(2.5. I can fire up another instance of Winamp now and tune into the stream 
and enjoy the Ogg Vorbis quality experience ;-))
3. I press the stop button in Winamp and wait for 10 secs (source idle 
timeout) before I hit play again
4. I press the stop button again and start the 10 sec wait
5. The seg fault usually occurs after waiting for 10 secs and pressing play.

I've done a "make debug" and ran icecast in gdb:

gdb --args icecast -c ../etc/icecast.xml

Upon typing "run" I get this error:

Program received signal SIG32, Real-time event 32.
0x40363d61 in sigsuspend () from /lib/libc.so.6

I then typed "c" (+enter) 8 times before it stopped giving this error and 
decided to actually run.

This is the backtrace after segfaulting:

Program received signal SIGSEGV, Segmentation fault.
0x4040efa2 in poll () from /lib/libc.so.6
(gdb) bt
#0  0x4040efa2 in poll () from /lib/libc.so.6
#1  0x0804df6c in wait_for_serversock (timeout=100) at connection.c:144
#2  0x0804e0b1 in _accept_connection () at connection.c:222
#3  0x0804e48b in connection_accept_loop () at connection.c:356
#4  0x0804d4a6 in _server_proc () at main.c:253
#5  0x0804d996 in main (argc=3, argv=0xbffffa14) at main.c:432
#6  0x4034fbb4 in __libc_start_main () from /lib/libc.so.6

I talked to Mike in #icecast about this (he helped me getting the backtrace 
in the first place :-)) but besides suggesting my libs we're prolly screwed 
up he didn't have any other options.

I then decided to update my Slack 8.1. based libs to the ones packaged with 
Slack 9:

- Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/3.2.2/specs
Configured with: ../gcc-3.2.2/configure --prefix=/usr --enable-shared 
--enable-threads=posix --enable-__cxa_atexit --disable-checking 
--with-gnu-ld --verbose --target=i386-slackware-linux 
Thread model: posix
gcc version 3.2.2

- glibc-2.3.1

The problem persisted though...

MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 

--- >8 ----
List archives:  http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.

More information about the Icecast mailing list