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 

Icecast KH28 - Segmentation fault ?!

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
m3gab0y



Joined: 15 Aug 2009
Posts: 47
Location: London, UK

PostPosted: Fri Dec 31, 2010 8:59 am    Post subject: Icecast KH28 - Segmentation fault ?! Reply with quote

Just installed this on the producton server, started it and got:

root@srv2:/icecast# icecast -c icecast.xml
Changed root successfully to "/".
Changed groupid to 118.
Changed userid to 111.
*** glibc detected *** icecast: corrupted double-linked list: 0x080934a0 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7a83845]
/lib/libc.so.6[0xb7a8629a]
/lib/libc.so.6(__libc_calloc+0xc9)[0xb7a87299]
icecast[0x805cf93]
icecast[0x806745a]
icecast[0x8059dcc]
icecast[0x805d64d]
icecast[0x8074aad]
/lib/libpthread.so.0[0xb7a06f3b]
/lib/libc.so.6(clone+0x5e)[0xb7ae3bee]
======= Memory map: ========
Aborted

On the test servers (both win and linux) kh28 runs fine. On the production kh8 runs fine, but kh28 dies with this error only on this "specific" server...

I can guarantee that the RAM and HDD's are OK, i've tried recompiling and still the same error only on this server. Everywhere else I updated to kh28 flawlessly.


LOGS:

access.log
Code:

192.168.1.118 - source [31/Dec/2010:12:09:55 +0200] "GET /admin/metadata HTTP/1.0" 200 184 "-" "(Mozilla Compatible)" 0

error.log
Code:
[2010-12-31  12:09:47] INFO thread/ lock abort set to 0
[2010-12-31  12:09:47] INFO main/ Icecast 2.3.2-kh28 server started
[2010-12-31  12:09:47] INFO client/ requested worker count 1
[2010-12-31  12:09:47] DBUG yp/ Updating YP configuration
[2010-12-31  12:09:47] INFO yp/ Adding new YP server "http://dir.xiph.org/cgi-bin/yp-cgi" (timeout 15s, default interval 30s)
[2010-12-31  12:09:47] INFO yp/ Starting Directory client for YP processing
[2010-12-31  12:09:47] DBUG client/ 0153FF78 now has 0 clients
[2010-12-31  12:09:47] DBUG client/ Added 1 pending clients to 0153FF78
[2010-12-31  12:09:47] DBUG stats/ update "global" banned_IPs (0)
[2010-12-31  12:09:47] DBUG client/ 0153FF78 now has 1 clients
[2010-12-31  12:09:47] DBUG stats/ update "global" outgoing_kbitrate (0)
[2010-12-31  12:09:47] DBUG yp/ Add pending yps http://dir.xiph.org/cgi-bin/yp-cgi
[2010-12-31  12:09:47] INFO connection/ connection thread started
[2010-12-31  12:09:47] INFO connection/ No SSL capability on any configured ports
[2010-12-31  12:09:47] INFO connection/ listener socket on port 80 address 192.168.1.118
[2010-12-31  12:09:47] INFO connection/ 1 listening sockets setup complete
[2010-12-31  12:09:48] DBUG stats/ update "global" banned_IPs (0)
[2010-12-31  12:09:48] DBUG stats/ update "global" outgoing_kbitrate (0)
[2010-12-31  12:09:49] DBUG stats/ update "global" banned_IPs (0)
[2010-12-31  12:09:49] DBUG stats/ update "global" outgoing_kbitrate (0)
[2010-12-31  12:09:50] DBUG stats/ update "global" banned_IPs (0)
[2010-12-31  12:09:50] DBUG stats/ update "global" outgoing_kbitrate (0)
[2010-12-31  12:09:51] DBUG stats/ update "global" banned_IPs (0)
[2010-12-31  12:09:51] DBUG stats/ update "global" outgoing_kbitrate (0)
[2010-12-31  12:09:52] DBUG stats/ update "global" banned_IPs (0)
[2010-12-31  12:09:52] DBUG stats/ update "global" outgoing_kbitrate (0)
[2010-12-31  12:09:53] DBUG stats/ update "global" banned_IPs (0)
[2010-12-31  12:09:53] DBUG stats/ update "global" outgoing_kbitrate (0)
[2010-12-31  12:09:54] DBUG stats/ update "global" banned_IPs (0)
[2010-12-31  12:09:54] DBUG stats/ update "global" outgoing_kbitrate (0)
[2010-12-31  12:09:55] DBUG stats/ update "global" banned_IPs (0)
[2010-12-31  12:09:55] DBUG stats/ update "global" outgoing_kbitrate (0)
[2010-12-31  12:09:55] DBUG stats/ update "global" clients (1)
[2010-12-31  12:09:55] DBUG stats/ update "global" connections (1)
[2010-12-31  12:09:55] DBUG client/ Added 1 pending clients to 0153FF78
[2010-12-31  12:09:55] INFO connection/ Source logging in at mountpoint "/test"
[2010-12-31  12:09:55] INFO source/ sources count is now 1
[2010-12-31  12:09:55] DBUG stats/ update "global" sources (1)
[2010-12-31  12:09:55] DBUG stats/ new source stat /test
[2010-12-31  12:09:55] DBUG stats/ new node on /test "listenurl" (http://192.168.1.118:80/test)
[2010-12-31  12:09:55] INFO source/ Applying mount information for "/test"
[2010-12-31  12:09:55] DBUG stats/ new node on /test "listener_peak" (0)
[2010-12-31  12:09:55] DBUG format-mp3/ sending metadata interval 16000
[2010-12-31  12:09:55] DBUG format-mp3/ charset ISO8859-1
[2010-12-31  12:09:55] DBUG stats/ new node on /test "public" (0)
[2010-12-31  12:09:55] DBUG stats/ new node on /test "server_name" (Test Server)
[2010-12-31  12:09:55] DBUG stats/ new node on /test "server_description" (This is my server description)
[2010-12-31  12:09:55] DBUG stats/ new node on /test "server_url" (http://www.oddsock.org)
[2010-12-31  12:09:55] DBUG stats/ new node on /test "genre" (Rock)
[2010-12-31  12:09:55] DBUG stats/ new node on /test "bitrate" (192)
[2010-12-31  12:09:55] DBUG stats/ new node on /test "server_type" (audio/mpeg)
[2010-12-31  12:09:55] DBUG source/ max listeners is not specified
[2010-12-31  12:09:55] DBUG stats/ new node on /test "max_listeners" (unlimited)
[2010-12-31  12:09:55] DBUG source/ public set to 0
[2010-12-31  12:09:55] DBUG source/ queue size to 102400
[2010-12-31  12:09:55] DBUG source/ min queue size to 0
[2010-12-31  12:09:55] DBUG source/ burst size to 0
[2010-12-31  12:09:55] DBUG source/ source timeout to 10
[2010-12-31  12:09:55] INFO connection/ source /test is ready to start
[2010-12-31  12:09:55] DBUG client/ 0153FF78 now has 2 clients
[2010-12-31  12:09:55] DBUG stats/ update "global" clients (2)
[2010-12-31  12:09:55] DBUG stats/ update "global" source_client_connections (1)
[2010-12-31  12:09:55] DBUG stats/ update "global" source_total_connections (1)
[2010-12-31  12:09:55] DBUG stats/ new node on /test "slow_listeners" (0)
[2010-12-31  12:09:55] DBUG stats/ update "/test" server_type (audio/mpeg)
[2010-12-31  12:09:55] DBUG stats/ update "/test" listener_peak (0)
[2010-12-31  12:09:55] DBUG stats/ update "/test" listener_peak (0)
[2010-12-31  12:09:55] DBUG stats/ new node on /test "listener_connections" (0)
[2010-12-31  12:09:55] DBUG stats/ new node on /test "stream_start" (Fri, 31 Dec 2010 12:09:55)
[2010-12-31  12:09:55] DBUG stats/ new node on /test "total_mbytes_sent" (0)
[2010-12-31  12:09:55] DBUG stats/ new node on /test "total_bytes_sent" (0)
[2010-12-31  12:09:55] DBUG stats/ new node on /test "total_bytes_read" (0)
[2010-12-31  12:09:55] DBUG stats/ new node on /test "outgoing_kbitrate" (0)
[2010-12-31  12:09:55] DBUG stats/ new node on /test "incoming_bitrate" (0)
[2010-12-31  12:09:55] DBUG stats/ new node on /test "connected" (0)
[2010-12-31  12:09:55] DBUG stats/ new node on /test "source_ip" (192.168.1.118)
[2010-12-31  12:09:55] DBUG stats/ new node on /test "audio_info" (ice-samplerate=44100;ice-bitrate=192;ice-channels=2)
[2010-12-31  12:09:55] INFO source/ Source /test initialised
[2010-12-31  12:09:55] DBUG stats/ update "global" connections (2)
[2010-12-31  12:09:55] DBUG client/ Added 1 pending clients to 0153FF78
[2010-12-31  12:09:55] INFO source/ listener count on /test now 0
[2010-12-31  12:09:55] DBUG stats/ new node on /test "listeners" (0)
[2010-12-31  12:09:55] DBUG connection/ start with /admin/metadata
[2010-12-31  12:09:55] DBUG stats/ update "global" client_connections (1)
[2010-12-31  12:09:55] DBUG admin/ Got metadata update request
[2010-12-31  12:09:55] DBUG stats/ new node on /test "title" ()
[2010-12-31  12:09:55] DBUG stats/ new node on /test "metadata_updated" (Fri, 31 Dec 2010 12:09:55)
[2010-12-31  12:09:55] INFO admin/ Metadata song on mountpoint /test changed to ""
[2010-12-31  12:09:55] DBUG client/ 0153FF78 now has 3 clients
[2010-12-31  12:09:55] DBUG stats/ update "global" clients (1)
[2010-12-31  12:09:55] DBUG client/ 0153FF78 now has 2 clients
[2010-12-31  12:09:56] INFO mpeg/ MPEG 1 Layer 3 detected (44100, 2) on /test
[2010-12-31  12:09:56] DBUG format-mp3/ shoutcast metadata block setup with StreamTitle='';
[2010-12-31  12:09:56] DBUG source/ weird state of min_queue point
[2010-12-31  12:09:56] DBUG refbuf/ next not null
[2010-12-31  12:09:56] DBUG source/ weird state of min_queue point
[2010-12-31  12:09:56] DBUG refbuf/ next not null
[2010-12-31  12:09:56] DBUG source/ weird state of min_queue point
[2010-12-31  12:09:56] DBUG stats/ update "global" banned_IPs (0)
[2010-12-31  12:09:56] DBUG stats/ update "global" outgoing_kbitrate (4)
[2010-12-31  12:09:56] DBUG source/ weird state of min_queue point
[2010-12-31  12:09:56] DBUG refbuf/ next not null
[2010-12-31  12:09:56] DBUG source/ weird state of min_queue point
[2010-12-31  12:09:56] DBUG refbuf/ next not null
[2010-12-31  12:09:56] DBUG source/ weird state of min_queue point
[2010-12-31  12:09:56] DBUG mpeg/ no frame sync, re-checking after skipping 303 (1400)
[2010-12-31  12:09:56] DBUG mpeg/ no frame sync, re-checking after skipping 143 (1096)
[2010-12-31  12:09:56] DBUG mpeg/ no frame sync, re-checking after skipping 2 (952)
[2010-12-31  12:09:56] DBUG mpeg/ no frame sync, re-checking after skipping 81 (949)
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Dec 31, 2010 4:08 pm    Post subject: Reply with quote

can you try with kh28.13

http://www.xiphicecast.webspace.virginmedia.com/icecast-2.3.2-kh28.13.tar.gz

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



Joined: 15 Aug 2009
Posts: 47
Location: London, UK

PostPosted: Tue Jan 04, 2011 10:58 pm    Post subject: Reply with quote

This one screws over the title streaming Sad, it adds some weird symbols after the actual song.
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Jan 05, 2011 12:36 am    Post subject: Reply with quote

I've been flushing out a bug with streams (relays) effectively hanging on restart but I think I sorted it out.

http://www.xiphicecast.webspace.virginmedia.com/icecast-2.3.2-kh28.15.tar.gz

I'd need to see the details from the log on this title issue, I've not had any reports on that aspect.

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



Joined: 15 Aug 2009
Posts: 47
Location: London, UK

PostPosted: Wed Jan 05, 2011 5:35 pm    Post subject: Reply with quote

Please, produce a Windows-version, as the relays are on a Windows server....
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Jan 05, 2011 7:12 pm    Post subject: Reply with quote

ok, some unrelated changes done and a win32 build.

http://www.xiphicecast.webspace.virginmedia.com/icecast2_win32_v2.3.2-kh28.18_setup.exe

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



Joined: 15 Aug 2009
Posts: 47
Location: London, UK

PostPosted: Sun Jan 09, 2011 5:19 pm    Post subject: Reply with quote

The title streaming bug still exist for relays.
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun Jan 09, 2011 6:12 pm    Post subject: Reply with quote

I've identified a possible metadata corruption since 28.18 when a flv metadata listener could break things. Fixed the the latest

http://www.xiphicecast.webspace.virginmedia.com/icecast2_win32_v2.3.2-kh28.22_setup.exe

If still not fixed then I'd need some details about the stream in question.

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



Joined: 06 Jan 2011
Posts: 7

PostPosted: Mon Jan 10, 2011 4:42 pm    Post subject: Reply with quote

Hey, I know the branch delivers flv, but check this flash lib out that does it for you on the client.

http://thundersnow.thebitstream.com/

it makes flash play aacp and video directly from icecast without a transcoder.

I created a provider that consumes the flv streams from icecast also, but the main function is transcoding the stream to flv packets on the client.

It works pretty darn good here and there, and could use a little optimization here and there as well, heh. Its a couple weeks old and rapidly developing.

Andy
_________________
thebitstream.com
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server 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