[Icecast-dev] Help with Icecast core dump

Charles Gagnon charlesg at unixrealm.com
Sun Jul 2 14:50:56 PDT 2006


I need help with an icecast coredump (Signal 10, Bus Error) I keep
getting. I finally got the thing to generate a core file and I ran
the degugger to get a stack trace.  Any help would be greatly
appreciated.

I checked 4 dumps and they are all at the same place. Since it
looked like it was in the auth code, I turned the auth more off for
now. I was runnning with:

    <mount>
        <mount-name>/scan60-1.mp3</mount-name>
        <max-listeners>10</max-listeners>
        <authentication type="url">      
            <option name="listener_add" value="http://www.scan60.com/modules/ice/index.php?la" />
            <option name="listener_remove" value="http://www.scan60.com/modules/ice/index.php?lr" />
            <option name="mount_add" value="http://www.scan60.com/modules/ice/index.php?ma"/>
            <option name="mount_remove" value="http://www.scan60.com/modules/ice/index.php?mr"/>
            <option name="timelimit_header" value="icecast-timelimit:" />
            <option name="auth_header" value="icecast-auth-user: 1" />
        </authentication>
    </mount>

The auth options point to an auth module I found for Xoops. My whole
site is built on Xoops and the concept was to allow only signed in
users to play a mount from the icecast server.

Core was generated by `/usr/local/bin/icecast -c
/usr/local/etc/icecast.xml'.
Program terminated with signal 10, Bus error.
Reading symbols from /usr/local/lib/libvorbis.so.0...done.
Loaded symbols for /usr/local/lib/libvorbis.so.0
Reading symbols from /usr/local/lib/libogg.so.0...done.
Loaded symbols for /usr/local/lib/libogg.so.0
Reading symbols from /usr/local/lib/libxslt.so.1...done.
Loaded symbols for /usr/local/lib/libxslt.so.1
Reading symbols from /usr/local/lib/libxml2.so.2...done.
Loaded symbols for /usr/local/lib/libxml2.so.2
Reading symbols from /usr/lib/libdl.so.1...done.
Loaded symbols for /usr/lib/libdl.so.1
Reading symbols from /usr/local/lib/libz.so...done.
Loaded symbols for /usr/local/lib/libz.so
Reading symbols from /usr/lib/libpthread.so.1...done.
Loaded symbols for /usr/lib/libpthread.so.1
Reading symbols from /usr/local/lib/libiconv.so.2...done.
Loaded symbols for /usr/local/lib/libiconv.so.2
Reading symbols from /usr/lib/libm.so.1...done.
Loaded symbols for /usr/lib/libm.so.1
Reading symbols from /usr/lib/libsocket.so.1...done.
Loaded symbols for /usr/lib/libsocket.so.1
Reading symbols from /usr/lib/libnsl.so.1...done.
Loaded symbols for /usr/lib/libnsl.so.1
Reading symbols from /usr/lib/librt.so.1...done.
Loaded symbols for /usr/lib/librt.so.1
Reading symbols from /usr/lib/libc.so.1...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/local/lib/libgcc_s.so.1...done.
Loaded symbols for /usr/local/lib/libgcc_s.so.1
Reading symbols from /usr/lib/libmp.so.2...done.
Loaded symbols for /usr/lib/libmp.so.2
Reading symbols from /usr/lib/libaio.so.1...done.
Loaded symbols for /usr/lib/libaio.so.1
Reading symbols from /usr/lib/libmd5.so.1...done.
Loaded symbols for /usr/lib/libmd5.so.1
Reading symbols from /usr/platform/SUNW,Ultra-2/lib/libc_psr.so.1...done.
Loaded symbols for /usr/platform/SUNW,Ultra-2/lib/libc_psr.so.1
Reading symbols from /usr/lib/libthread.so.1...done.
Loaded symbols for /usr/lib/libthread.so.1
Reading symbols from /usr/lib/nss_files.so.1...done.
Loaded symbols for /usr/lib/nss_files.so.1
#0  auth_new_listener (auth_user=0x63148) at auth.c:158
158             if (client->auth->authenticate (auth_user) != AUTH_OK)
(gdb) bt
#0  auth_new_listener (auth_user=0x63148) at auth.c:158
#1  0x000278ec in auth_run_thread (arg=0x44c00) at auth.c:203
#2  0x0002b234 in _start_routine (arg=0x63148) at thread.c:655
(gdb) 


Thanks.

-- 
Charles Gagnon                   | My views are my views and they
http://unixrealm.com             | do not represent those of anybody
charlesg at unixrealm.com        | but me.

   To err is human, but to really mess things up you need a
   computer.


More information about the Icecast-dev mailing list