Hi Rajil! I found the issue and fixed it! It was a tricky exception semantics mistake..
I would be very nice if you could try the latest hg and confirm that it is also fixed for you.. Romain 2011/8/22 Rajil Saraswat <[email protected]>: > On 21 August 2011 09:04, Rajil Saraswat <[email protected]> wrote: >> On 21 August 2011 01:06, Romain Beauxis <[email protected]> wrote: >>> 2011/8/20 Romain Beauxis <[email protected]>: >>>> 2011/8/20 Rajil Saraswat <[email protected]>: >>>>> Hi all, >>>> >>>> Hi Rajil! >>>> >>>>> I am relaying a remote ogg stream with icecast, feeding it to >>>>> liquidsoap for transcoding to mp3, and then sending it out using >>>>> icecast again. I built liquidsoap (mercurial) from source few days >>>>> ago. The problem i am facing is that if there is some disruption in >>>>> the remote stream, liquidsoap starts relaying silence as expected, >>>>> however it doesnt go back to playing the remote stream once it is has >>>>> come back. >>>> >>>> I can totally reproduce this and I also think that someone else >>>> mentioned this issue before. >>>> >>>> I have created a ticket for this and will try to work on is as soon as >>>> possible: >>>> http://dev.sourcefabric.org/browse/LS-559 >>> >>> Some update on this bug: >>> I have a running liquidsoap which seem to reproduce this. However, I >>> was not able to reproduce the issue on simple scripts locally. >>> >>> On the instance that reproduces it, it takes some time to actually >>> reach it and it is a freeze. The latest time this hapenned, the code >>> was not up to date so I updated and have it running again. I'll see if >>> that happens again. >>> >>> In the mean time, could you send us more informations about your >>> issue. When this happens, is liquidsoap frozen? For instance, are you >>> able to connect to telnet? Does it shutdown properly when you hit >>> ctrl+C? >>> >>> Thanks for your help! >>> Romain >>> >> >> Romain, >> >> This behaviour is very easily reproducible here. Liquidsoap does not >> freeze at all. I can do Ctrl+C to kill the stream and the telnet >> interface works too. If you need any more verbose logs, i will be >> happy to assist. >> >> Rajil >> > > I increased the level of verbosity to '6'. Here is a dump of the log. > I disconnected/reconnected the stream but liquidsoap kept moaning > about buffer. > > 2011/08/22 22:24:41 >>> LOG START > 2011/08/22 22:24:41 [protocols.external:3] Didn't find "ufetch". > 2011/08/22 22:24:41 [protocols.external:3] Found "/usr/bin/wget". > 2011/08/22 22:24:41 [main:3] Liquidsoap 1.0.0-beta3+svn > (default@f28050f05144:20110822:221034) > 2011/08/22 22:24:41 [main:3] Using: graphics=[distributed with Ocaml] > pcre=6.2.0 dtools=0.2.2 duppy=0.4.1 duppy.syntax=0.4.1 cry=0.2.1 > mm=0.1.0 ogg=0.4.2 vorbis=0.6.0 mad=0.4.2 dynlink=[distributed with > Ocaml] lame=0.3.0 alsa=0.2.1 samplerate=0.1.1 taglib=0.1.4 > 2011/08/22 22:24:41 [main:2] > 2011/08/22 22:24:41 [main:2] DISCLAIMER: This version of Liquidsoap has been > 2011/08/22 22:24:41 [main:2] compiled from a snapshot of the development code. > 2011/08/22 22:24:41 [main:2] As such, it should not be used in production > 2011/08/22 22:24:41 [main:2] unless you know what you are doing! > 2011/08/22 22:24:41 [main:2] > 2011/08/22 22:24:41 [main:2] We are, however, very interested in any feedback > 2011/08/22 22:24:41 [main:2] about our development code and committed to fix > 2011/08/22 22:24:41 [main:2] issues as soon as possible. > 2011/08/22 22:24:41 [main:2] > 2011/08/22 22:24:41 [main:2] If you are interested in collaborating to > 2011/08/22 22:24:41 [main:2] the development of Liquidsoap, feel free to > 2011/08/22 22:24:41 [main:2] drop us a mail at <[email protected]> > 2011/08/22 22:24:41 [main:2] or to join the #savonet IRC channel on Freenode. > 2011/08/22 22:24:41 [main:2] > 2011/08/22 22:24:41 [main:2] Please send any bug report or feature request > 2011/08/22 22:24:41 [main:2] at <http://dev.sourcefabric.org/browse/LS>. > 2011/08/22 22:24:41 [main:2] > 2011/08/22 22:24:41 [main:2] We hope you enjoy this snapshot build of > Liquidsoap! > 2011/08/22 22:24:41 [main:2] > 2011/08/22 22:24:41 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master. > 2011/08/22 22:24:41 [frame:3] Frame size must be a multiple of 1764 > ticks = 1764 audio samples = 1 video samples. > 2011/08/22 22:24:41 [frame:3] Targetting 'frame.duration': 0.04s = > 1764 audio samples = 1764 ticks. > 2011/08/22 22:24:41 [frame:3] Frames last 0.04s = 1764 audio samples = > 1 video samples = 1764 ticks. > 2011/08/22 22:24:41 [video.converter:4] Couldn't find preferred video > converter: gavl. > 2011/08/22 22:24:41 [audio.converter:4] Using preferred samplerate > converter: libsamplerate. > 2011/08/22 22:24:41 [threads:3] Created thread "generic queue #1". > 2011/08/22 22:24:41 [threads:3] Created thread "non-blocking queue #1". > 2011/08/22 22:24:41 [clock:4] Currently 1 clocks allocated. > 2011/08/22 22:24:41 [clock.wallclock_main:4] Starting 1 sources... > 2011/08/22 22:24:41 [source:4] Source output.icecast_4590 gets up. > 2011/08/22 22:24:41 [source:4] Source mksafe gets up. > 2011/08/22 22:24:41 [source:4] Source src_4586 gets up. > 2011/08/22 22:24:41 [threads:3] Created thread "http polling" (1 total). > 2011/08/22 22:24:41 [src_4586:4] Connecting to > <http://172.16.1.132:8000/high.ogg>... > 2011/08/22 22:24:41 [src_4586:4] Activations changed: static=[], > dynamic=[mksafe:/live(dot)mp3:/live(dot)mp3]. > 2011/08/22 22:24:41 [source:4] Source safe_blank gets up. > 2011/08/22 22:24:41 [safe_blank:4] Content kind is {audio=2;video=0;midi=0}. > 2011/08/22 22:24:41 [safe_blank:4] Activations changed: static=[], > dynamic=[mksafe:/live(dot)mp3:/live(dot)mp3]. > 2011/08/22 22:24:41 [mksafe:4] Activations changed: > static=[/live(dot)mp3:/live(dot)mp3], dynamic=[]. > 2011/08/22 22:24:41 [src_4586:6] Not ready: need more buffering (0/88200). > 2011/08/22 22:24:41 [/live(dot)mp3:4] Activations changed: > static=[/live(dot)mp3], dynamic=[]. > 2011/08/22 22:24:41 [/live(dot)mp3:4] Enabling caching mode: active source. > 2011/08/22 22:24:41 [/live(dot)mp3:3] Connecting mount /live.mp3 for > source@localhost... > 2011/08/22 22:24:41 [/live(dot)mp3:3] Connection setup was successful. > > 2011/08/22 22:24:41 [threads:3] Created thread "wallclock_main" (2 total). > 2011/08/22 22:24:41 [clock.wallclock_main:3] Streaming loop starts, > synchronized with wallclock. > 2011/08/22 22:24:41 [clock:4] Main phase starts. > 2011/08/22 22:24:41 [mksafe:3] Switch to safe_blank. > 2011/08/22 22:24:41 [safe_blank:4] Activations changed: > static=[mksafe:/live(dot)mp3:/live(dot)mp3], > dynamic=[mksafe:/live(dot)mp3:/live(dot)mp3]. > 2011/08/22 22:24:41 [src_4586:6] Not ready: need more buffering (0/88200). > 2011/08/22 22:24:41 [src_4586:6] Not ready: need more buffering (0/88200). > 2011/08/22 22:24:41 [src_4586:6] Not ready: need more buffering (0/88200). > 2011/08/22 22:24:42 [src_4586:6] Not ready: need more buffering (0/88200). > 2011/08/22 22:24:42 [src_4586:6] Not ready: need more buffering (0/88200). > 2011/08/22 22:24:42 [src_4586:4] Trying playlist parser for mime > application/ogg > 2011/08/22 22:24:42 [src_4586:4] Content-type "application/ogg". > 2011/08/22 22:24:42 [decoder:4] Trying method "WAV" for "application/ogg"... > 2011/08/22 22:24:42 [decoder:4] Trying method "PCM/BASIC" for > "application/ogg"... > 2011/08/22 22:24:42 [decoder:4] Trying method "OGG" for "application/ogg"... > 2011/08/22 22:24:42 [decoder:3] Method "OGG" accepted "application/ogg". > 2011/08/22 22:24:42 [src_4586:3] Decoding... > 2011/08/22 22:24:42 [src_4586:6] Not ready: need more buffering (0/88200). > 2011/08/22 22:24:42 [src_4586:6] Not ready: need more buffering (0/88200). > 2011/08/22 22:24:42 [src_4586:6] Not ready: need more buffering (0/88200). > 2011/08/22 22:24:42 [src_4586:6] Not ready: need more buffering (0/88200). > 2011/08/22 22:24:42 [src_4586:6] Not ready: need more buffering (0/88200). > 2011/08/22 22:24:42 [src_4586:6] Not ready: need more buffering (0/88200). > 2011/08/22 22:24:42 [src_4586:6] Not ready: need more buffering (0/88200). > 2011/08/22 22:24:42 [src_4586:6] Not ready: need more buffering (0/88200). > 2011/08/22 22:24:42 [src_4586:6] Not ready: need more buffering (0/88200). > 2011/08/22 22:24:42 [src_4586:6] Not ready: need more buffering (0/88200). > 2011/08/22 22:24:42 [src_4586:6] Not ready: need more buffering (0/88200). > 2011/08/22 22:24:42 [src_4586:6] Not ready: need more buffering (0/88200). > 2011/08/22 22:24:42 [decoder.ogg:5] Found a ogg logical stream, serial: > 7fdcc233 > 2011/08/22 22:24:42 [decoder.ogg:5] Trying ogg/vorbis format > 2011/08/22 22:24:42 [decoder.ogg:5] ogg/vorbis format detected for > stream 7fdcc233 > 2011/08/22 22:24:42 [src_4586:6] Not ready: need more buffering (0/88200). > 2011/08/22 22:24:42 [src_4586:6] Not ready: need more buffering (43042/88200). > 2011/08/22 22:24:42 [mksafe:3] Switch to src_4586 with transition. > 2011/08/22 22:24:42 [safe_blank:4] Activations changed: static=[], > dynamic=[mksafe:/live(dot)mp3:/live(dot)mp3]. > 2011/08/22 22:24:42 [src_4586:4] Activations changed: > static=[mksafe:/live(dot)mp3:/live(dot)mp3], > dynamic=[mksafe:/live(dot)mp3:/live(dot)mp3]. > 2011/08/22 22:24:44 [src_4586:4] No network activity for 1.00 second(s). > 2011/08/22 22:25:00 [src_4586:4] No network activity for 1.00 second(s). > 2011/08/22 22:25:29 [src_4586:4] Buffer emptied, buffering needed. > 2011/08/22 22:25:29 [src_4586:6] Not ready: need more buffering (0/88200). > 2011/08/22 22:25:29 [mksafe:3] Switch to safe_blank with transition. > 2011/08/22 22:25:29 [src_4586:4] Activations changed: static=[], > dynamic=[mksafe:/live(dot)mp3:/live(dot)mp3]. > 2011/08/22 22:25:29 [safe_blank:4] Activations changed: > static=[mksafe:/live(dot)mp3:/live(dot)mp3], > dynamic=[mksafe:/live(dot)mp3:/live(dot)mp3]. > 2011/08/22 22:25:30 [src_4586:6] Not ready: need more buffering (0/88200). > 2011/08/22 22:25:30 [src_4586:6] Not ready: need more buffering (0/88200). > 2011/08/22 22:25:30 [src_4586:6] Not ready: need more buffering (0/88200). > 2011/08/22 22:25:30 [src_4586:6] Not ready: need more buffering (0/88200). > 2011/08/22 22:25:30 [src_4586:6] Not ready: need more buffering (0/88200). > 2011/08/22 22:25:30 [src_4586:6] Not ready: need more buffering (0/88200). > 2011/08/22 22:25:30 [src_4586:6] Not ready: need more buffering (0/88200). > .................................... > 2011/08/22 22:29:50 [src_4586:6] Not ready: need more buffering (0/88200). > 2011/08/22 22:29:50 [src_4586:6] Not ready: need more buffering (0/88200). > 2011/08/22 22:29:50 [src_4586:6] Not ready: need more buffering (0/88200). > 2011/08/22 22:29:50 [src_4586:6] Not ready: need more buffering (0/88200). > 2011/08/22 22:29:50 [src_4586:6] Not ready: need more buffering (0/88200). > > ------------------------------------------------------------------------------ > uberSVN's rich system and user administration capabilities and model > configuration take the hassle out of deploying and managing Subversion and > the tools developers use with it. Learn more about uberSVN and get a free > download at: http://p.sf.net/sfu/wandisco-dev2dev > _______________________________________________ > Savonet-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/savonet-users > ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
