#100: Liquidsoap dies after some hours running
-------------------------+--------------------------------------------------
Reporter: karye | Owner: toots
Type: Bugs | Status: assigned
Priority: 1 | Milestone: 0.3.7
Component: Liquidsoap | Version: 0.3.6+svn
Resolution: | Keywords:
Mac: 0 | Other: 0
Freebsd: 0 | Linux: 1
-------------------------+--------------------------------------------------
Comment (by mrpingouin):
Thanks for the progress reports, it sounds like we're getting closer.
Could you send more gdb information about that segfault? In particular it
would be nice to have the output of "thread apply all backtrace" (maybe
even "thread apply all backtrace full") after the segfault occurs.
For reproducing the problem faster, here's one thing to try:
{{
liquidsoap 'set("root.sync",false)
output.dummy(mksafe(playlist("sam.m3u")))'
}}
This will simply keep playing your playlist as fast as possible (no
synchronization), and dump the output. If the bug is related to MP3
decoding, it will occur more quickly. Otherwise the problem might be
related to encoding, in which case you can try:
{{
liquidsoap 'set("root.sync",false)
output.file.mp3("/dev/null",mksafe(playlist("sam.m3u")))'
}}
Which is as before, but encodes data before dumping it. If you don't
encounter your problem, then it might be related to libshout.
--
Ticket URL: <http://savonet.rastageeks.org/ticket/100#comment:8>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !