#269: Liquidsoap crash when portscanned
-------------------------+--------------------------------------------------
Reporter: karye | Owner: toots
Type: Bugs | Status: reopened
Priority: 1 | Milestone:
Component: Liquidsoap | Version: 0.9.0+svn
Resolution: | Keywords:
Mac: 0 | Linux: 1
Netbsd: 0 | Other: 0
Freebsd: 0 |
-------------------------+--------------------------------------------------
Comment(by karye):
At last I got something here.
trace:
{{{
Thread 2 killed on uncaught exception Unix.Unix_error(56, "read", "")
Raised by primitive operation at unknown location
Called from unknown location
Called from unknown location
Called from unknown location
Called from unknown location
Called from file "tools/tutils.ml", line 122, characters 15-18
Re-raised at file "tools/tutils.ml", line 145, characters 21-22
Called from file "thread.ml", line 38, characters 8-14
}}}
The script:
{{{
$ cat /etc/liquidsoap/radioclave_debug.liq
#!/usr/bin/liquidsoap
# Use the telnet server for requests
#set( "server.telnet", true )
# Log dir
set( "log.file.path", "/var/log/liquidsoap/radioclave_debug.log" )
set( "log.level", 5 )
# Server settings for live source
set( "harbor.bind_addr", "0.0.0.0" )
set( "harbor.port", 8010 )
set( "harbor.password", "xxx" )
live = mksafe( input.harbor( buffer = 10., max = 20., "Live" ) )
# Some more music in mp3 and mp4 (aac)
intro = single( "/home/radioclave2/playlists/intro.mp3" )
normal = mksafe( playlist( "/home/radioclave2/playlists/radioclave.m3u" )
)
djlist_shuffle = playlist(
"/home/radioclave2/playlists/djlist_shuffle.m3u" )
djlist_noshuffle = playlist( mode = "normal",
"/home/radioclave2/playlists/djlist_noshuffle.m3u" )
# Load the current playlist
radio = fallback( track_sensitive = false, [ djlist_shuffle,
djlist_noshuffle, normal] )
radio = fallback( track_sensitive = false, [ strip_blank( length = 1.,
live ), radio ] )
output.icecast.mp3(
host = "localhost", port = 8005, password = "C0rr1ente",
bitrate = 96, samplerate = 44100,
mount = "Radioclave", genre = "Salsa, cuba, timba",
restart = true,
url = "http://radioclave.se", description = "Radio Clave",
radio )
}}}
The log:
{{{
009/06/16 10:42:44 [format.mp3:4] open "/home/radioclave2/salsa.all/Albita
RodrÃguez/Mis tacones (2009)/Albita RodrÃguez - Mis tacones (2009) - Mis
tacones.mp3"
2009/06/16 10:42:44 [djlist_shuffle(dot)m3u:3] Prepared
"/home/radioclave2/salsa.all/Albita RodrÃguez/Mis tacones (2009)/Albita
RodrÃguez - Mis tacones (2009) - Mis tacones.mp3" -- rid 2
2009/06/16 10:42:44 [src_4087:3] Switch to src_4084 with forgetful
transition.
2009/06/16 10:42:44 [src_4086:4] Activations changed: static=[src_4086],
dynamic=[src_4087:Radioclave:Radioclave].
2009/06/16 10:42:44 [src_4084:4] Activations changed:
static=[src_4087:Radioclave:Radioclave],
dynamic=[src_4087:Radioclave:Radioclave].
2009/06/16 10:42:44 [src_4084:3] Switch to djlist_shuffle(dot)m3u.
2009/06/16 10:42:44 [djlist_shuffle(dot)m3u:4] Activations changed:
static=[src_4084:src_4087:Radioclave:Radioclave],
dynamic=[src_4084:src_4087:Radioclave:Radioclave].
2009/06/16 10:42:44 [decoder:4] Trying OGG decoder for
"/home/radioclave2/salsa.all/Albita RodrÃguez/Mis tacones (2009)/Albita
RodrÃguez - Mis tacones (2009) - Beso malo.mp3"
2009/06/16 10:42:44 [decoder:4] Trying WAV decoder for
"/home/radioclave2/salsa.all/Albita RodrÃguez/Mis tacones (2009)/Albita
RodrÃguez - Mis tacones (2009) - Beso malo.mp3"
2009/06/16 10:42:44 [decoder:4] Trying MP3 decoder for
"/home/radioclave2/salsa.all/Albita RodrÃguez/Mis tacones (2009)/Albita
RodrÃguez - Mis tacones (2009) - Beso malo.mp3"
2009/06/16 10:42:44 [format.mp3:4] open
"/home/radioclave2/salsa.all/Albita RodrÃguez/Mis tacones (2009)/Albita
RodrÃguez - Mis tacones (2009) - Beso malo.mp3"
2009/06/16 10:42:44 [format.mp3:4] close
"/home/radioclave2/salsa.all/Albita RodrÃguez/Mis tacones (2009)/Albita
RodrÃguez - Mis tacones (2009) - Beso malo.mp3"
2009/06/16 10:42:44 [decoder:3] Decoder MP3 chosed for
"/home/radioclave2/salsa.all/Albita RodrÃguez/Mis tacones (2009)/Albita
RodrÃguez - Mis tacones (2009) - Beso malo.mp3"
2009/06/16 10:42:44 [djlist_shuffle(dot)m3u:4] queue length
1323000+=1323000 (rid 8)
2009/06/16 10:42:56 [harbor:3] New client:
c-4bc9e655.07-3-73746f48.cust.bredbandsbolaget.se
2009/06/16 10:42:56 [threads:1] Thread "generic queue #1" aborts with
exception Unix.Unix_error(56, "read", "")!
2009/06/16 10:42:56 [main:3] Shutdown started!
2009/06/16 10:42:56 [main:3] Waiting for threads to terminate...
2009/06/16 10:42:56 [root:3] Shutting down sources...
2009/06/16 10:42:56 [source:4] Radioclave gets down
2009/06/16 10:42:56 [source:4] src_4087 gets down
2009/06/16 10:42:56 [src_4086:4] Activations changed: static=[src_4086],
dynamic=[].
2009/06/16 10:42:56 [src_4084:4] Activations changed:
static=[src_4087:Radioclave:Radioclave], dynamic=[].
2009/06/16 10:42:56 [source:4] src_4084 gets down
2009/06/16 10:42:56 [djlist_shuffle(dot)m3u:4] Activations changed:
static=[src_4084:src_4087:Radioclave:Radioclave], dynamic=[].
2009/06/16 10:42:56 [source:4] djlist_noshuffle(dot)m3u gets down
2009/06/16 10:43:19 [harbor:2] Failed to accept new client:
Failure("shutting down")
}}}
--
Ticket URL: <http://savonet.rastageeks.org/ticket/269#comment:12>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Savonet-trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-trac