After fetching the latest from Mercurial, I continue to have the same
problem. Liquidsoap crashes or segv's after a short time using this script:

#!/usr/local/bin/liquidsoap

set("log.file.path","/usr/local/etc/liquidsoap/liquidradio.log")
set("log.level",4)
set("scheduler.generic_queues",4)

playlist = playlist(timeout=3600., conservative=true, length=600.,
    reload=1, reload_mode="rounds", mode="randomize")

output.icecast(%vorbis.cbr(samplerate=44100, channels=2, bitrate=128),
    host = "localhost",
    port = 8000, password = "(password)", mount = "trance.ogg",
    description="Synthetronica Radio: Trance", genre="Trance",
    url="http://audiodef:8000/trance.ogg";, name="Trance",
    fallback([normalize(playlist("/usr/local/etc/liquidsoap/trance.m3u")),
    playlist.safe("/usr/local/etc/liquidsoap/safelist.m3u")]))

output.icecast(%vorbis.cbr(samplerate=44100, channels=2, bitrate=128),
host = "localhost",
    port = 8000, password = "(password)", mount = "ambient.ogg",
    description="Synthetronica Radio: Ambient", genre="Ambient",
    url="http://audiodef:8000/ambient.ogg";, name="Ambient",
       
fallback([normalize(playlist("/usr/local/etc/liquidsoap/ambient.m3u")),
        playlist.safe("/usr/local/etc/liquidsoap/safelist.m3u")]))

output.icecast(%vorbis.cbr(samplerate=44100, channels=2, bitrate=128),
host = "localhost",
    port = 8000, password = "(password)", mount = "downtempo.ogg",
    description="Synthetronica Radio: Downtempo", genre="Downtempo",
    url="http://audiodef:8000/downtempo.ogg";, name="Downtempo",
       
fallback([normalize(playlist("/usr/local/etc/liquidsoap/downtempo.m3u")),
        playlist.safe("/usr/local/etc/liquidsoap/safelist.m3u")]))

output.icecast(%vorbis.cbr(samplerate=44100, channels=2, bitrate=128),
host = "localhost",
    port = 8000, password = "(password)", mount = "techno.ogg",
        description="Synthetronica Radio: Techno", genre="Techno",
        url="http://audiodef:8000/techno.ogg";, name="Techno",
       
fallback([normalize(playlist("/usr/local/etc/liquidsoap/techno.m3u")),
        playlist.safe("/usr/local/etc/liquidsoap/safelist.m3u")]))

I'm going back to add one change at a time, from my previous script, to
see what the deal-breaker is. Right now, I'm running:

#!/usr/local/bin/liquidsoap

set("log.file.path","/usr/local/etc/liquidsoap/liquidradio.log")
set("log.level",4)
set("scheduler.generic_queues",4)

playlist = playlist(timeout=3600., conservative=true, length=400.,
reload_mode="rounds", reload=1)

output.icecast(%vorbis.cbr(samplerate=44100, channels=2, bitrate=128),
    host = "localhost",
    port = 8000, password = "(password)", mount = "trance.ogg",
    description="Synthetronica Radio: Trance", genre="Trance",
    url="http://audiodef:8000/trance.ogg";, name="Trance",
    fallback([normalize(playlist("/usr/local/etc/liquidsoap/trance.m3u")),
    single("/var/www/audiodef/htdocs/audio/dc3.ogg")]))

output.icecast(%vorbis.cbr(samplerate=44100, channels=2, bitrate=128),
host = "localhost",
    port = 8000, password = "(password)", mount = "ambient.ogg",
    description="Synthetronica Radio: Ambient", genre="Ambient",
    url="http://audiodef:8000/ambient.ogg";, name="Ambient",
       
fallback([normalize(playlist("/usr/local/etc/liquidsoap/ambient.m3u")),
        single("/var/www/audiodef/htdocs/audio/dc3.ogg")]))

output.icecast(%vorbis.cbr(samplerate=44100, channels=2, bitrate=128),
host = "localhost",
    port = 8000, password = "(password)", mount = "downtempo.ogg",
    description="Synthetronica Radio: Downtempo", genre="Downtempo",
    url="http://audiodef:8000/downtempo.ogg";, name="Downtempo",
       
fallback([normalize(playlist("/usr/local/etc/liquidsoap/downtempo.m3u")),
        single("/var/www/audiodef/htdocs/audio/dc3.ogg")]))

output.icecast(%vorbis.cbr(samplerate=44100, channels=2, bitrate=128),
host = "localhost",
    port = 8000, password = "(password)", mount = "techno.ogg",
        description="Synthetronica Radio: Techno", genre="Techno",
        url="http://audiodef:8000/techno.ogg";, name="Techno",
       
fallback([normalize(playlist("/usr/local/etc/liquidsoap/techno.m3u")),
        single("/var/www/audiodef/htdocs/audio/dc3.ogg")]))

Where all I changed was the addition of reload_mode="rounds", reload=1
to my playlist redefinition. I definitely want my playlists to reload
after going through once.

Damien

On 09/29/11 12:48, David Baelde wrote:
> On Thu, Sep 29, 2011 at 2:41 PM, Audiodef Online <[email protected]> wrote:
>> There was nothing in the log, as liquidsoap appears to have crashed
>> before it could write out.
> Such sudden crashes are rare, usually they're a segfault. They are
> typically tied to one particular feature/library, so minimizing your
> script and changing encoders is useful to narrow it down.
>
>> I was going to go back and try changing one small thing at a time from
>> my original script, but since you didn't say there was anything wrong,
>> I'm going to download the latest and see how that goes. :-)
> It's a good thing to update first. Then, if the crash happens again,
> send us the log -- if that's fine with you, you can send it to the
> list directly.
>
> Cheers,


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to