[Icecast-dev] Icecast 2.0.1 segmentation fault under LInux

Geoff Shang geoff at hitsandpieces.net
Tue Oct 5 16:32:29 PDT 2004


Hi:

I maintain an Icecast server at acbradio.org.  Recently it's been crashing 
fairly regularly.  I've not yet upgraded it to 2.0.2.  I thought I'd report 
this crash bug first as the release note seemed to suggest that the fix 
there was only for Windows.  I'm thinking that either this is a separate 
problem or it's an example of the same one under LInux, thereby making it 
moer important for *nix users to upgrade than the release note suggested.

Here's GDB's output:

[New Thread 88151 (LWP 11848)]
[New Thread 89176 (LWP 11849)]
[New Thread 90201 (LWP 12075)]
[New Thread 91226 (LWP 12076)]
[New Thread 92251 (LWP 12091)]
[New Thread 93276 (LWP 12092)]
[New Thread 94301 (LWP 16133)]
[New Thread 95326 (LWP 16134)]
[New Thread 96351 (LWP 16146)]
[New Thread 97376 (LWP 16147)]
[New Thread 98401 (LWP 16192)]
[New Thread 99426 (LWP 16193)]
[New Thread 100451 (LWP 16207)]
[New Thread 101476 (LWP 7430)]
[New Thread 102501 (LWP 7432)]
[New Thread 103526 (LWP 7487)]
[New Thread 104551 (LWP 7488)]
[New Thread 105576 (LWP 7523)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 8201 (LWP 384)]
_handle_get_request (con=0xe86b95a4, parser=0x814f680, uri=0x81854e0 "/")
     at connection.c:720
720             if(global.serversock[i] == con->serversock) {
(gdb) info threads
   105 Thread 105576 (LWP 7523)  0x40346bb0 in poll () from /lib/libc.so.6
   104 Thread 104551 (LWP 7488)  0x40346bb0 in poll () from /lib/libc.so.6
* 10 Thread 8201 (LWP 384)  _handle_get_request (con=0xe86b95a4,
     parser=0x814f680, uri=0x81854e0 "/") at connection.c:720
   9 Thread 7176 (LWP 383)  0x402a787e in sigsuspend () from /lib/libc.so.6
   8 Thread 6151 (LWP 382)  0x402a787e in sigsuspend () from /lib/libc.so.6
   7 Thread 5126 (LWP 381)  0x402a787e in sigsuspend () from /lib/libc.so.6
   6 Thread 4101 (LWP 380)  0x402a787e in sigsuspend () from /lib/libc.so.6
   5 Thread 3076 (LWP 379)  0x4031ede1 in nanosleep () from /lib/libc.so.6
   4 Thread 2051 (LWP 378)  0x402a787e in sigsuspend () from /lib/libc.so.6
   3 Thread 1026 (LWP 377)  0x4031ede1 in nanosleep () from /lib/libc.so.6
   2 Thread 2049 (LWP 376)  0x40346bb0 in poll () from /lib/libc.so.6
   1 Thread 1024 (LWP 371)  0x40346bb0 in poll () from /lib/libc.so.6
(gdb) bt
#0  _handle_get_request (con=0xe86b95a4, parser=0x814f680, uri=0x81854e0 "/")
     at connection.c:720
#1  0x0804eec6 in _handle_connection (arg=0x494fffff) at connection.c:973
#2  0xfff8e805 in ?? ()
Cannot access memory at address 0xeb5903eb

I'm not an expert with regard to debugging.  I've still got the session 
open in GDB and want to know if there's any more info you want or need 
before I kil it off and restart.

Oh and the logs don't appear to show anything useful.

Geoff.



More information about the Icecast-dev mailing list