[icecast-dev] ices segmentation fault..

Deti Fliegl deti at fliegl.de
Fri Aug 1 15:24:12 PDT 2003



Hi,

ices does not work very reliable here in my place. I am using the latest 
  CVS sources and I get up to three times a day something like that:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 2051 (LWP 8160)]
0x08051103 in resample_clear (s=0x40ef9338) at audio.c:142
142                     if (s->buffers[c])
(gdb) bt
#0  0x08051103 in resample_clear (s=0x40ef9338) at audio.c:142
#1  0x080504a3 in process_and_send_buffer (sdsc=0x805e448, 
buffer=0x8156238) at stream_shared.c:149
#2  0x0804d6ca in ices_instance_stream (arg=0x805e448) at stream.c:254
#3  0x080542b9 in _start_routine (arg=0x805e498) at thread.c:655
#4  0x402fa020 in pthread_start_thread () from /lib/i686/libpthread.so.0

btw: The way calling free in resample_clear does not look reasonable to me:

         if(s->buffers) {
             for(c=0; c<s->channels; c++)
                 if (s->buffers[c])
                     free(s->buffers[c]);
             free(s->buffers);
         }

I think the last free(s->buffers) is too much or am I too stupid?

Deti

<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-dev-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-dev mailing list