[icecast] icecast2 is killed when client connects (on sparc32)

Joern Nettingsmeier nettings at folkwang-hochschule.de
Sun Mar 9 21:32:55 UTC 2003



here's what gdb yields:

(gdb) run -c icecast.xml
Starting program: /usr/local/bin/icecast -c icecast.xml
Changed root successfully to "/usr/local/icecast".
Changed groupid to 65534.
Changed userid to 65534.

Program received signal ?, Unknown signal.
0x505062d4 in sigsuspend () from /lib/libc.so.6
(gdb) bt
#0  0x505062d4 in sigsuspend () from /lib/libc.so.6
#1  0x500343f0 in __pthread_wait_for_restart_signal () from 
/lib/libpthread.so.0
#2  0x50033bfc in pthread_create@@GLIBC_2.1 () from /lib/libpthread.so.0
#3  0x20274 in thread_create_c ()
#4  0x1a008 in stats_initialize () at stats.c:81
#5  0x15104 in main (argc=273516, argv=0x37000) at main.c:356

when run in gdb, this error happens about 1 sec after starting, without 
a client trying to connect (without gdb, it just sits there after 
startup and only bails out the moment somebody tries to connect).

<p>Joern Nettingsmeier wrote:
> hi !
> 
> i have succesfully compiled libshout/icecast/ices on a quad ss20 
> (4xhypersparc at 125mhz, 128mb ram). ten out of ten for a robust, 
> cross-platform build, guys ! it compiled straight out of the box.
> 
> i can start the server and it even connects to a remote server and 
> starts to relay. when i run xmms from another machine and connect, it 
> stops at "pre-buffering 0/32k". here's an strace of the icecast server 
> at that time:
> 
> poll([{fd=3, events=POLLIN}], 1, 100)   = 0
> poll([{fd=3, events=POLLIN}], 1, 100)   = 0
> poll([{fd=3, events=POLLIN}], 1, 100)   = 0
> poll([{fd=3, events=POLLIN}], 1, 100)   = 0
> poll([{fd=3, events=POLLIN}], 1, 100)   = 0
> poll([{fd=3, events=POLLIN}], 1, 100)   = 0
> poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, 100) = 1
> getsockopt(3, SOL_SOCKET, SO_TYPE, [1], [4]) = 0
> accept(3, {sin_family=AF_INET, sin_port=htons(32992), 
> sin_addr=inet_addr("192.168.200.201")}}, [16]) = 9
> rt_sigtimedwait(ptrace: umoven: Input/output error
> [?], ptrace: umoven: Input/output error
> 0xffff, 0x80, -268442784) = 0
> rt_sigtimedwait(ptrace: umoven: Input/output error
> [?], ptrace: umoven: Input/output error
> 0xffff, 0x8, -268442800) = 0
> time(NULL)                              = 1047243022
> kill(25894, SIGRT_0)                    = 0
> poll([{fd=3, events=POLLIN}], 1, 100)   = -1 EINTR (Interrupted system 
> call)
> +++ killed by SIGKILL +++
> 
> kernel is 2.2.20-smp (2.4 unfortunately does not work on sparc32-smp :(( ).
> 
> any guesses ? is anyone seeing similar problems on other platforms with 
> current cvs (2003-03-09 19:30 utc) or have i run into a sparc-specific 
> problem ?
> if you need more info, i'll be happy to provide it.
> 
> best,
> 
> jörn
> 
> 
> 

<p>
-- 
If you're happy and you know it, bomb Iraq.

Jörn Nettingsmeier
Kurfürstenstr 49, 45138 Essen, Germany
http://spunk.dnsalias.org (my server)
http://www.linuxdj.com/audio/lad/ (Linux Audio Developers)

<p><p><p>--- >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