Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

latest kh branch (fh5b) crash *solved*

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Dev Branches
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Fri Apr 28, 2006 8:15 pm    Post subject: latest kh branch (fh5b) crash *solved* Reply with quote

Hi Karl...

im looking MEGA forward to a new Windows build of icecast with the URL authentication option as hopefully i can get rid of those pesky leechers (useragent is BASS, anyone know what that is?)

anyway,
i compiled your latest branch (kh5b) on a fedora 5 box but when i run it, it instantly crashes.

this is the output from putty;

Code:
[root@fdc5-monitor icecast-2.3-kh5b]# icecast -c /usr/local/etc/icecast.xml
*** glibc detected *** icecast: munmap_chunk(): invalid pointer: 0x0806bdc2 ***
======= Backtrace: =========
/lib/libc.so.6(__libc_free+0x17b)[0x63f51f]
icecast[0x804d3d6]
icecast[0x804c2be]
icecast[0x804d324]
icecast[0x804c2be]
icecast[0x804c69d]
icecast[0x804c729]
icecast[0x804d772]
/lib/libc.so.6(__libc_start_main+0xdc)[0x5ed7e4]
icecast(ogg_stream_flush+0xe1)[0x804b781]
======= Memory map: ========
00101000-00138000 r-xp 00000000 fd:00 8000961    /usr/lib/libcurl.so.3.0.0
00138000-00139000 rwxp 00037000 fd:00 8000961    /usr/lib/libcurl.so.3.0.0
00139000-0016c000 r-xp 00000000 fd:00 8012921    /usr/lib/libxslt.so.1.1.15
0016c000-0016d000 rwxp 00032000 fd:00 8012921    /usr/lib/libxslt.so.1.1.15
0042b000-0049e000 r-xp 00000000 fd:00 8021733    /usr/lib/libkrb5.so.3.2
0049e000-004a0000 rwxp 00073000 fd:00 8021733    /usr/lib/libkrb5.so.3.2
004a2000-004e3000 r-xp 00000000 fd:00 3835012    /lib/libssl.so.0.9.8a
004e3000-004e7000 rwxp 00040000 fd:00 3835012    /lib/libssl.so.0.9.8a
005ba000-005bb000 r-xp 005ba000 00:00 0          [vdso]
005bb000-005d4000 r-xp 00000000 fd:00 3835002    /lib/ld-2.4.so
005d4000-005d5000 r-xp 00018000 fd:00 3835002    /lib/ld-2.4.so
005d5000-005d6000 rwxp 00019000 fd:00 3835002    /lib/ld-2.4.so
005d8000-00704000 r-xp 00000000 fd:00 3835003    /lib/libc-2.4.so
00704000-00707000 r-xp 0012b000 fd:00 3835003    /lib/libc-2.4.so
00707000-00708000 rwxp 0012e000 fd:00 3835003    /lib/libc-2.4.so
00708000-0070b000 rwxp 00708000 00:00 0
0070d000-00730000 r-xp 00000000 fd:00 3835004    /lib/libm-2.4.so
00730000-00731000 r-xp 00022000 fd:00 3835004    /lib/libm-2.4.so
00731000-00732000 rwxp 00023000 fd:00 3835004    /lib/libm-2.4.so
00734000-00736000 r-xp 00000000 fd:00 3835005    /lib/libdl-2.4.so
00736000-00737000 r-xp 00001000 fd:00 3835005    /lib/libdl-2.4.so
00737000-00738000 rwxp 00002000 fd:00 3835005    /lib/libdl-2.4.so
0073a000-0074c000 r-xp 00000000 fd:00 8021714    /usr/lib/libz.so.1.2.3
0074c000-0074d000 rwxp 00011000 fd:00 8021714    /usr/lib/libz.so.1.2.3
00890000-008a0000 r-xp 00000000 fd:00 3835007    /lib/libpthread-2.4.so
008a0000-008a1000 r-xp 0000f000 fd:00 3835007    /lib/libpthread-2.4.so
008a1000-008a2000 rwxp 00010000 fd:00 3835007    /lib/libpthread-2.4.so
008a2000-008a4000 rwxp 008a2000 00:00 0
009cf000-009da000 r-xp 00000000 fd:00 3835008    /lib/libgcc_s-4.1.0-20060304.so.1
009da000-009db000 rwxp 0000a000 fd:00 3835008    /lib/libgcc_s-4.1.0-20060304.so.1
00b84000-00bb3000 r-xp 00000000 fd:00 7998927    /usr/lib/libidn.so.11.5.16
00bb3000-00bb4000 rwxp 0002f000 fd:00 7998927    /usr/lib/libidn.so.11.5.16
00c8a000-00c8f000 r-xp 00000000 fd:00 8013803    /usr/lib/libogg.so.0.5.3
00c8f000-00c90000 rwxp 00004000 fd:00 8013803    /usr/lib/libogg.so.0.5.3
00c92000-00cae000 r-xp 00000000 fd:00 7999017    /usr/lib/libvorbis.so.0.3.1
00cae000-00cbc000 rwxp 0001c000 fd:00 7999017    /usr/lib/libvorbis.so.0.3.1
00d92000-00da1000 r-xp 00000000 fd:00 3833925    /lib/libresolv-2.4.so
00da1000-00da2000 r-xp 0000e000 fd:00 3833925    /lib/libresolv-2.4.so
00da2000-00da3000 rwxp 0000f000 fd:00 3833925    /lib/libresolv-2.4.so
00da3000-00da5000 rwxp 00da3000 00:00 0
00db1000-00db3000 r-xp 00000000 fd:00 3835010    /lib/libcom_err.so.2.1
00db3000-00db4000 rwxp 00001000 fd:00 3835010    /lib/libcom_err.so.2.1
00db6000-00dce000 r-xp 00000000 fd:00 8021734    /usr/lib/libgssapi_krb5.so.2.2
00dce000-00dcf000 rwxp 00017000 fd:00 8021734    /usr/lib/libgssapi_krb5.so.2.2
00dd1000-00df5000 r-xp 00000000 fd:00 8021732    /usr/lib/libk5crypto.so.3.0
00df5000-00df6000 rwxp 00024000 fd:00 8021732    /usr/lib/libk5crypto.so.3.0
00df8000-00dfb000 r-xp 00000000 fd:00 8017207    /usr/lib/libkrb5support.so.0.0
00dfb000-00dfc000 rwxp 00002000 fd:00 8017207    /usr/lib/libkrb5support.so.0.0
00ed4000-00edd000 r-xp 00000000 fd:00 3833897    /lib/libnss_files-2.4.so
00edd000-00ede000 r-xp 00008000 fd:00 3833897    /lib/libnss_files-2.4.so
00ede000-00edf000 rwxp 00009000 fd:00 3833897    /lib/libnss_files-2.4.so
055ad000-056cc000 r-xp 00000000 fdAborted
[root@fdc5-monitor icecast-2.3-kh5b]#


Any ideas?
many thanks and keep up the awesome work!


Last edited by Anonymous on Wed May 03, 2006 2:09 pm; edited 1 time in total
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Apr 28, 2006 9:34 pm    Post subject: Reply with quote

I've recently managed to get FC5 on my other box so I was able to try it on there and it also did this. The problem was down to a recent change in kh5 so I'll drop a 5c shortly.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Sat Apr 29, 2006 4:18 pm    Post subject: Reply with quote

hi Karl,
Thanks for your reply...

the crach in the original post was from the basic icecast.xml with one simple mount.

today i tried using my xml that is on a Windows relay but its the same crash:

Code:
<icecast>

  <limits>
    <clients>1000</clients>
    <sources>6</sources>
    <threadpool>5</threadpool>
    <queue-size>524288</queue-size>
    <client-timeout>30</client-timeout>
    <header-timeout>15</header-timeout>
    <source-timeout>10</source-timeout>
    <burst-size>65535</burst-size>
  </limits>

  <authentication>
    <source-password>XXX</source-password>
    <relay-user>relay</relay-user>
    <relay-password>XXX</relay-password>
    <admin-user>admin</admin-user>
    <admin-password>XXX</admin-password>
  </authentication>

  <directory>
    <yp-url-timeout>15</yp-url-timeout>
    <yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
  </directory>

  <directory>
    <yp-url-timeout>15</yp-url-timeout>
    <yp-url>http://www.steamcast.com/sbin/yp.php</yp-url>
  </directory>

  <hostname>ice2.djrm.net</hostname>

  <listen-socket>
    <port>8000</port>
  </listen-socket>
  <listen-socket>
    <port>8001</port>
    <shoutcast-compat>1</shoutcast-compat>
  </listen-socket>

  <master-server>ice1.djrm.net</master-server>
  <master-server-port>8000</master-server-port>
  <master-update-interval>120</master-update-interval>
  <master-username>relay</master-username>
  <master-password>XXXX</master-password>
  <relays-on-demand>1</relays-on-demand>
  <master-redirect-port>8000</master-redirect-port>

  <!-- Streams load in this order , then fallback to the one below... -->

  <mount>
    <mount-name>/stream</mount-name>
    <fallback-mount>/live</fallback-mount>
    <fallback-override>1</fallback-override>
    <public>1</public>
    <stream-name>d j r m   r a d i o | www.djrm.net - [mp3]</stream-name>
    <stream-description>NONSTOP TRANCE N TECHNO 24/7 [LIVESETS,MIXES,LIVEDJS]</stream-description>
    <stream-url>http://www.djrm.net/?ref=ice2-stream</stream-url>
    <genre>Trance Techno Dance</genre>
    <cluster-password>XXX</cluster-password>
  </mount>

  <mount>
    <mount-name>/live</mount-name>
    <fallback-mount>/mp3</fallback-mount>
    <fallback-override>1</fallback-override>
    <public>0</public>
    <stream-name>d j r m   r a d i o | www.djrm.net - [mp3]</stream-name>
    <stream-description>NONSTOP TRANCE N TECHNO 24/7 [LIVESETS,MIXES,LIVEDJS]</stream-description>
    <stream-url>http://www.djrm.net/?ref=ice2-live</stream-url>
    <genre>Trance Techno Dance</genre>
    <cluster-password>XXX</cluster-password>
  </mount>

  <mount>
    <mount-name>/mp3</mount-name>
    <public>0</public>
    <stream-name>d j r m   r a d i o | www.djrm.net - [mp3]</stream-name>
    <stream-description>NONSTOP TRANCE N TECHNO 24/7 [LIVESETS,MIXES,LIVEDJS]</stream-description>
    <stream-url>http://www.djrm.net/?ref=ice2-mp3</stream-url>
    <genre>Trance Techno Dance</genre>
    <cluster-password>XXX</cluster-password>
  </mount>

  <mount>
    <mount-name>/aac</mount-name>
    <public>1</public>
    <bitrate>48</bitrate>
    <type>audio/aacp</type>
    <stream-name>d j r m   r a d i o | www.djrm.net - [aacPLUSv2 48k]</stream-name>
    <stream-description>NONSTOP TRANCE N TECHNO 24/7 [LIVESETS,MIXES,LIVEDJS]</stream-description>
    <stream-url>http://www.djrm.net/?ref=ice2-aac</stream-url>
    <genre>Trance Techno Dance</genre>
    <cluster-password>XXX</cluster-password>
  </mount>

  <mount>
    <mount-name>/nsv.nsv</mount-name>
    <public>1</public>
    <stream-name>d j r m   v i d e o | www.djrm.net - [VIDEO]</stream-name>
    <stream-description>[LIVE VIDEO!] NONSTOP TRANCE N TECHNO 24/7</stream-description>
    <stream-url>http://www.djrm.net/?ref=ice2-nsv</stream-url>
    <genre>Trance Techno Dance Live Video</genre>
    <cluster-password>XXX</cluster-password>
  </mount>

  <mount>
    <mount-name>/ogg</mount-name>
    <public>1</public>
    <stream-name>d j r m   v i d e o | www.djrm.net - [ogg]</stream-name>
    <stream-description>NONSTOP TRANCE N TECHNO 24/7 [LIVESETS,MIXES,LIVEDJS]</stream-description>
    <stream-url>http://www.djrm.net/?ref=ice2-ogg</stream-url>
    <genre>Trance Techno Dance Live Video</genre>
    <cluster-password>XXX</cluster-password>
  </mount>

  <fileserve>1</fileserve>
  <shoutcast-mount>/nsv.nsv</shoutcast-mount>

  <paths>
    <logdir>./logs</logdir>
    <webroot>./web</webroot>
    <adminroot>./admin</adminroot>
   
    <alias source="/" dest="/welcome.htm"/>
    <alias source="/stream.mp3" dest="/stream"/>
  </paths>

    <logging>
        <accesslog>access.log</accesslog>
        <errorlog>error.log</errorlog>
        <!-- <playlistlog>playlist.log</playlistlog> -->
         <loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
         <logsize>10000</logsize> <!-- Max size of a logfile -->
        <!-- If logarchive is enabled (1), then when logsize is reached
             the logfile will be moved to [error|access|playlist].log.DATESTAMP,
             otherwise it will be moved to [error|access|playlist].log.old.
             Default is non-archive mode (i.e. overwrite)
        -->
        <!-- <logarchive>1</logarchive> -->
    </logging>

    <security>
        <chroot>0</chroot>
        <!--
        <changeowner>
            <user>nobody</user>
            <group>nogroup</group>
        </changeowner>
        -->
    </security>

</icecast>




Code:

[root@fdc5-monitor ~]# icecast -c /usr/local/etc/icecast.xml
*** glibc detected *** icecast: munmap_chunk(): invalid pointer: 0x0806bdc2 ***
======= Backtrace: =========
/lib/libc.so.6(__libc_free+0x17b)[0x63f51f]
icecast[0x804d3d6]
icecast[0x804c2be]
icecast[0x804d324]
icecast[0x804c2be]
icecast[0x804c69d]
icecast[0x804c729]
icecast[0x804d772]
/lib/libc.so.6(__libc_start_main+0xdc)[0x5ed7e4]
icecast(ogg_stream_flush+0xe1)[0x804b781]
======= Memory map: ========
00101000-00138000 r-xp 00000000 fd:00 8000961    /usr/lib/libcurl.so.3.0.0
00138000-00139000 rwxp 00037000 fd:00 8000961    /usr/lib/libcurl.so.3.0.0
00139000-0016c000 r-xp 00000000 fd:00 8012921    /usr/lib/libxslt.so.1.1.15
0016c000-0016d000 rwxp 00032000 fd:00 8012921    /usr/lib/libxslt.so.1.1.15
0042b000-0049e000 r-xp 00000000 fd:00 8021733    /usr/lib/libkrb5.so.3.2
0049e000-004a0000 rwxp 00073000 fd:00 8021733    /usr/lib/libkrb5.so.3.2
004a2000-004e3000 r-xp 00000000 fd:00 3835012    /lib/libssl.so.0.9.8a
004e3000-004e7000 rwxp 00040000 fd:00 3835012    /lib/libssl.so.0.9.8a
005ba000-005bb000 r-xp 005ba000 00:00 0          [vdso]
005bb000-005d4000 r-xp 00000000 fd:00 3835002    /lib/ld-2.4.so
005d4000-005d5000 r-xp 00018000 fd:00 3835002    /lib/ld-2.4.so
005d5000-005d6000 rwxp 00019000 fd:00 3835002    /lib/ld-2.4.so
005d8000-00704000 r-xp 00000000 fd:00 3835003    /lib/libc-2.4.so
00704000-00707000 r-xp 0012b000 fd:00 3835003    /lib/libc-2.4.so
00707000-00708000 rwxp 0012e000 fd:00 3835003    /lib/libc-2.4.so
00708000-0070b000 rwxp 00708000 00:00 0
0070d000-00730000 r-xp 00000000 fd:00 3835004    /lib/libm-2.4.so
00730000-00731000 r-xp 00022000 fd:00 3835004    /lib/libm-2.4.so
00731000-00732000 rwxp 00023000 fd:00 3835004    /lib/libm-2.4.so
00734000-00736000 r-xp 00000000 fd:00 3835005    /lib/libdl-2.4.so
00736000-00737000 r-xp 00001000 fd:00 3835005    /lib/libdl-2.4.so
00737000-00738000 rwxp 00002000 fd:00 3835005    /lib/libdl-2.4.so
0073a000-0074c000 r-xp 00000000 fd:00 8021714    /usr/lib/libz.so.1.2.3
0074c000-0074d000 rwxp 00011000 fd:00 8021714    /usr/lib/libz.so.1.2.3
00890000-008a0000 r-xp 00000000 fd:00 3835007    /lib/libpthread-2.4.so
008a0000-008a1000 r-xp 0000f000 fd:00 3835007    /lib/libpthread-2.4.so
008a1000-008a2000 rwxp 00010000 fd:00 3835007    /lib/libpthread-2.4.so
008a2000-008a4000 rwxp 008a2000 00:00 0
009cf000-009da000 r-xp 00000000 fd:00 3835008    /lib/libgcc_s-4.1.0-20060304.so.1
009da000-009db000 rwxp 0000a000 fd:00 3835008    /lib/libgcc_s-4.1.0-20060304.so.1
00b84000-00bb3000 r-xp 00000000 fd:00 7998927    /usr/lib/libidn.so.11.5.16
00bb3000-00bb4000 rwxp 0002f000 fd:00 7998927    /usr/lib/libidn.so.11.5.16
00bda000-00be3000 r-xp 00000000 fd:00 3833897    /lib/libnss_files-2.4.so
00be3000-00be4000 r-xp 00008000 fd:00 3833897    /lib/libnss_files-2.4.so
00be4000-00be5000 rwxp 00009000 fd:00 3833897    /lib/libnss_files-2.4.so
00c8a000-00c8f000 r-xp 00000000 fd:00 8013803    /usr/lib/libogg.so.0.5.3
00c8f000-00c90000 rwxp 00004000 fd:00 8013803    /usr/lib/libogg.so.0.5.3
00c92000-00cae000 r-xp 00000000 fd:00 7999017    /usr/lib/libvorbis.so.0.3.1
00cae000-00cbc000 rwxp 0001c000 fd:00 7999017    /usr/lib/libvorbis.so.0.3.1
00d92000-00da1000 r-xp 00000000 fd:00 3833925    /lib/libresolv-2.4.so
00da1000-00da2000 r-xp 0000e000 fd:00 3833925    /lib/libresolv-2.4.so
00da2000-00da3000 rwxp 0000f000 fd:00 3833925    /lib/libresolv-2.4.so
00da3000-00da5000 rwxp 00da3000 00:00 0
00db1000-00db3000 r-xp 00000000 fd:00 3835010    /lib/libcom_err.so.2.1
00db3000-00db4000 rwxp 00001000 fd:00 3835010    /lib/libcom_err.so.2.1
00db6000-00dce000 r-xp 00000000 fd:00 8021734    /usr/lib/libgssapi_krb5.so.2.2
00dce000-00dcf000 rwxp 00017000 fd:00 8021734    /usr/lib/libgssapi_krb5.so.2.2
00dd1000-00df5000 r-xp 00000000 fd:00 8021732    /usr/lib/libk5crypto.so.3.0
00df5000-00df6000 rwxp 00024000 fd:00 8021732    /usr/lib/libk5crypto.so.3.0
00df8000-00dfb000 r-xp 00000000 fd:00 8017207    /usr/lib/libkrb5support.so.0.0
00dfb000-00dfc000 rwxp 00002000 fd:00 8017207    /usr/lib/libkrb5support.so.0.0
055ad000-056cc000 r-xp 00000000 fd:00 3835011    /lib/libcrypto.so.0.9.8a
056cc000-056df000 rwxp 0011e000 fd:00 3835011    /lib/libcrypto.so.0.9.8a
056df000-056e2000 rwxp 056df000 00:00 0 Aborted
[root@fdc5-monitor ~]#
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat Apr 29, 2006 4:55 pm    Post subject: Reply with quote

is this with kh5c? I manged to stop these errors here with FC5

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Wed May 03, 2006 2:10 pm    Post subject: Reply with quote

karlH wrote:
is this with kh5c? I manged to stop these errors here with FC5

karl.


thanks Karl, i got kh5c running and sofar sogood.

Kind regards.
Back to top
Anonymous
Guest





PostPosted: Tue May 23, 2006 8:46 pm    Post subject: Reply with quote

will there be ab windows build?

regards,

Arkadas
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue May 23, 2006 10:38 pm    Post subject: Reply with quote

Windows builds are made as and when oddsock gets time to build one. I myself don't have a windows setup to build it on, although the build should build just as easily as trunk.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Dev Branches All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber