[Icecast] Icecast segmentation faults

chiapas at aktivix.org chiapas at aktivix.org
Mon Feb 11 11:22:33 UTC 2008


Hi

On 08/02/2008, Geoff Shang <Geoff at quitelikely.com> wrote:
> Hi,
>
>  Anything helpful in your error.log?  You may need to set the log level to 4
>  (debug).

Ok - I've had 5 seg faults in the last 24 hours which is a pain, as
you can imagine.  I crona  script once per minute to restart Icecast
in the event that it fails so the service is never down for more than
59 secs but it drops encoder/client connections in that time.

However I now have some clues - preceding each seg fault I get this:

[2008-02-10  18:36:10] INFO source/source_main listener count on
/radiofm.mp3 now 0
[2008-02-10  18:36:10] DBUG admin/admin_handle_request Admin request
(/admin/metadata)
[2008-02-10  18:36:10] DBUG admin/admin_handle_request Got command (metadata)
[2008-02-10  18:36:10] INFO admin/admin_handle_request Received admin
command metadata on mount "/radiofm.mp3"
[2008-02-10  18:36:10] DBUG admin/command_metadata Got metadata update
request
   ^NS^S¨7h_¹öR<86>''-10  18:36:10] INFO admin/command_metadata
Metadata on mountpoint /radiofm.mp3 changed to
";V^^<90>LQZ¤´<90>g^C<8f>n%"Uð&B¬<9b>0diÃ
<90><8d>^Y^Q<9c>&^]^Pl4^N^Y<89><9a><95><80>ÃQ§Ã(R)Ã<8d><89>-;ù<94>Ãïû<8b>Y¤âÃe<95><95>qwxn+ÃT<93>½a<97>Ã<9c>rïUªF$ä<8a>Ã2+cÃg6y7^VÃ<81>%óÂ(R)ï<9c>!<Ãú<97>Ãç?Wÿý"
[2008-02-10  18:36:10] DBUG fserve/fserve_add_client Adding client to
file serving engine
[2008-02-10  18:37:01] INFO main/main Icecast 2.3.1 server started

or here's another:

[2008-02-11  06:44:11] INFO admin/command_metadata Metadata on
mountpoint /radiofm.mp3 changed to
";<87>û&æs<8d>á^Db"^LÃ<96><82>»Ak÷Ã_^Ã)<94>¶<8f>Ã¥<g$ø<87>håþe<96>O^Gtâ^N<9e>CÃ8Ããå3Ã(R)WÃ<90>¨<94>^GópóÃ
ö@Ãïüú»ï·k}oõ·'wüþ¾¶<98>b<88>í²ÃÃÃ^Q^A¼nÃ^PSQLÃ<8e>MÃ"
[2008-02-11  06:44:11] DBUG fserve/fserve_add_client Adding client to
file serving engine
[2008-02-11  06:45:01] INFO main/main Icecast 2.3.1 server started

Currently looking at status.xsl at my rogue webcaster there entry for
this chap is thus (names changed to protect the innocent/guilty):

Stream Title:	Radio FM
Stream Description:	Radio FM
Bitrate:	32
Stream Listeners:	0
Stream Genre:	Various
Stream URL:	http://path.to.my.server:8000/radiofm.mp3
Current Song:	r›uX��s�7_�n?�GYF��冄<+R���V%��(:�)��oE��pX��!k�)~�w�+c5�2O�1f��GhE�2*��xC�6�LzFH��"��/*���H5��皠�G��,�L�7M�f̥Z��
Listen:	Click to Listen

The stream plays fine but the song title is obviously borked.

I have only recently switched to this new server setup (FC8,
2.6.23.9-85.fc8) and my previous instance of Icecast was not
vulnerable to this problem - could this be something like I don't have
Unicode/UTF8 installed?

As my previous Icecast installation was not vulnerable to this issue,
I think there must be something that can be done server side to
accommodate this webcaster who is sending us this 'broken' metadata.

Many thanks in advance for your help.

Chip Scooter


More information about the Icecast mailing list