Hello, Using Icecast version 2.0.2, I'm seeing segfaults when I connect a particular encoder to the stream. I already have three encoders connected, serving six streams without a problem, but adding the seventh stream crashes Icecast everytime after a period of ten to thirty seconds. All but one of the encoders are Darkice encoders and the encoder which crashes Icecast is also Darkice. So far, I've tried rasing the number of threads to 10, but the same behavior occurs. What sort of information can I provide to the developers to help to diagnose this problem? I'd be happy to run backtraces or whatever is needed, so long as somebody can tell me what they're looking for. -mp
On Mon, 2004-10-25 at 23:14, Myke Place wrote:> Hello, > > Using Icecast version 2.0.2, I'm seeing segfaults when I connect a > particular encoder to the stream. I already have three encoders > connected, serving six streams without a problem, but adding the seventh > stream crashes Icecast everytime after a period of ten to thirty > seconds. All but one of the encoders are Darkice encoders and the > encoder which crashes Icecast is also Darkice. So far, I've tried rasing > the number of threads to 10, but the same behavior occurs. > > What sort of information can I provide to the developers to help to > diagnose this problem? I'd be happy to run backtraces or whatever is > needed, so long as somebody can tell me what they're looking for.if it is reproducible then build a debug version of icecast and get a core file to so that a backtrace can be retrieved. That should be the first thing to check for. karl.
On Tuesday 26 October 2004 08:22, Karl Heyes wrote:> On Mon, 2004-10-25 at 23:14, Myke Place wrote: > > Hello, > > > > Using Icecast version 2.0.2, I'm seeing segfaults when I connect a > > particular encoder to the stream. I already have three encoders > > connected, serving six streams without a problem, but adding the seventh > > stream crashes Icecast everytime after a period of ten to thirty > > seconds. All but one of the encoders are Darkice encoders and the > > encoder which crashes Icecast is also Darkice. So far, I've tried rasing > > the number of threads to 10, but the same behavior occurs. > > > > What sort of information can I provide to the developers to help to > > diagnose this problem? I'd be happy to run backtraces or whatever is > > needed, so long as somebody can tell me what they're looking for. > > if it is reproducible then build a debug version of icecast and get a > core file to so that a backtrace can be retrieved. That should be the > first thing to check for. > > karl. >Do multithreaded coredumps actually _work_ these days? They never used to. Anyway, if they do, then this is fine. If they still don't, then running icecast (built with debug symbols) in a debugger (gdb) is a good idea; when it crashes you should be able to get a backtrace. Mike