[ http://dev.sourcefabric.org/browse/LS-615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21914#action_21914 ]
Romain Beauxis commented on LS-615: ----------------------------------- Hi, Unfortunately, I cannot reproduce. Here's what I am doing: Liq1: liquidsoap 'output.dummy(input.harbor("foo"),fallible=true) set("log.level",4)' Liq2: liquidsoap 'output.icecast(port=8005,mount="foo",%mp3,sine())' Steps: * Start Liq1 * Start Liq2 * Make sure Li2 is connected to Liq1 and Liq1 is decoding * Hit crtl+c in Liq1 console Result: 2012/03/13 18:16:02 [clock:4] Main phase starts. 2012/03/13 18:16:02 [clock.wallclock_main:3] Streaming loop starts, synchronized with wallclock. 2012/03/13 18:16:02 [dummy:3] Source failed (no more tracks) stopping output... 2012/03/13 18:16:05 [harbor:4] New client on port 8005: localhost 2012/03/13 18:16:05 [harbor:4] Header: User-Agent, value: Liquidsoap/1.0.0 (Unix; OCaml 3.12.1). 2012/03/13 18:16:05 [harbor:4] Header: ice-public, value: 1. 2012/03/13 18:16:05 [harbor:4] Header: ice-description, value: Liquidsoap Radio!. 2012/03/13 18:16:05 [harbor:4] Header: ice-url, value: http://savonet.sf.net. 2012/03/13 18:16:05 [harbor:4] Header: ice-name, value: foo. 2012/03/13 18:16:05 [harbor:4] Header: ice-genre, value: Misc. 2012/03/13 18:16:05 [harbor:4] Header: ice-audio-info, value: bitrate=128;samplerate=44100;channels=2. 2012/03/13 18:16:05 [harbor:4] Header: Content-Type, value: audio/mpeg. 2012/03/13 18:16:05 [harbor:4] Client logged in. 2012/03/13 18:16:05 [harbor:4] SOURCE request on /foo. 2012/03/13 18:16:05 [decoder:4] Trying method "WAV" for "audio/mpeg"... 2012/03/13 18:16:05 [decoder:4] Trying method "PCM/BASIC" for "audio/mpeg"... 2012/03/13 18:16:05 [decoder:4] Trying method "FLAC" for "audio/mpeg"... 2012/03/13 18:16:05 [decoder:4] Trying method "AAC" for "audio/mpeg"... 2012/03/13 18:16:05 [decoder:4] Trying method "OGG" for "audio/mpeg"... 2012/03/13 18:16:05 [decoder:4] Trying method "MP3" for "audio/mpeg"... 2012/03/13 18:16:05 [decoder:3] Method "MP3" accepted "audio/mpeg". 2012/03/13 18:16:05 [threads:3] Created thread "harbor source feeding" (2 total). 2012/03/13 18:16:05 [harbor:4] Adding source on mountpoint "/foo" with type "audio/mpeg". 2012/03/13 18:16:05 [harbor_4522:3] Decoding... ^C2012/03/13 18:16:08 [main:3] Shutdown started! 2012/03/13 18:16:08 [main:3] Waiting for threads to terminate... 2012/03/13 18:16:08 [dummy:4] Activations changed: static=[], dynamic=[]. 2012/03/13 18:16:08 [source:4] Source dummy gets down. 2012/03/13 18:16:08 [harbor_4522:4] Activations changed: static=[], dynamic=[]. 2012/03/13 18:16:08 [source:4] Source harbor_4522 gets down. 2012/03/13 18:16:08 [harbor:3] Removing mountpoint '/foo' on port 8005 2012/03/13 18:16:08 [harbor:3] Nothing more on port 8005: closing sockets. 2012/03/13 18:16:08 [clock.wallclock_main:3] Streaming loop stopped. 2012/03/13 18:16:08 [threads:3] Thread "wallclock_main" terminated (1 remaining). 2012/03/13 18:16:08 [harbor_4522:2] Feeding stopped: Source stopped. 2012/03/13 18:16:08 [threads:3] Thread "harbor source feeding" terminated (0 remaining). 2012/03/13 18:16:08 [main:3] Cleaning downloaded files... 2012/03/13 18:16:08 >>> LOG END Thus, it would be nice if you could provide reproduction steps, if possible using a minimal script.. Thanks! > Cannot terminate liquidsoap > --------------------------- > > Key: LS-615 > URL: http://dev.sourcefabric.org/browse/LS-615 > Project: Liquidsoap > Issue Type: Bug > Components: Liquidsoap > Affects Versions: 1.0 > Reporter: James Moon > > If you try to terminate liquidsoap, while there is source connected to > input.harber, the process is not getting terminated becaust LS is busy > writing "Buffer overrun" message to the log file. > 2012/03/06 11:29:44 >>> LOG START > 2012/03/06 11:29:44 [protocols.external:3] Didn't find "ufetch". > 2012/03/06 11:29:44 [protocols.external:3] Found "/usr/bin/wget". > 2012/03/06 11:29:44 [main:3] Liquidsoap 1.0.0 > 2012/03/06 11:29:44 [main:3] Using: graphics=[distributed with Ocaml] > pcre=6.0.1 dtools=0.2.2 duppy=0.4.2 duppy.syntax=0.4.2 cry=0.2.2 mm=0.2.0 > ogg=0.4.3 vorbis=0.6.1 mad=0.4.4 flac=0.1.0 flac.ogg=0.1.0 > dynlink=[distributed with Ocaml] lame=0.3.1 alsa=0.2.1 ao=0.2.0 taglib=0.2.0 > camomile=0.7.1 portaudio=0.2.0 pulseaudio=0.1.2 > 2012/03/06 11:29:44 [dynamic.loader:2] Could not load plugins in directory > /usr/local/lib/liquidsoap/1.0.0/plugins. > 2012/03/06 11:29:44 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master. > 2012/03/06 11:29:44 [frame:3] Frame size must be a multiple of 1764 ticks = > 1764 audio samples = 1 video samples. > 2012/03/06 11:29:44 [frame:3] Targetting 'frame.duration': 0.04s = 1764 audio > samples = 1764 ticks. > 2012/03/06 11:29:44 [frame:3] Frames last 0.04s = 1764 audio samples = 1 > video samples = 1764 ticks. > 2012/03/06 11:29:44 [threads:3] Created thread "generic queue #1". > 2012/03/06 11:29:44 [threads:3] Created thread "generic queue #2". > 2012/03/06 11:29:44 [threads:3] Created thread "non-blocking queue #1". > 2012/03/06 11:29:44 [harbor:3] Adding mountpoint '/master' on port 8080 > 2012/03/06 11:29:44 [harbor:3] Adding mountpoint '/dj' on port 9090 > 2012/03/06 11:29:44 [airtime_128:3] Connecting mount airtime_128 for > source@127.0.0.1... > 2012/03/06 11:29:44 [airtime_128:3] Connection setup was successful. > 2012/03/06 11:29:44 [lang:3] > /usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh --connect > --stream-id=1 --time=1331051384.12 > 2012/03/06 11:29:44 [threads:3] Created thread "wallclock_main" (1 total). > 2012/03/06 11:29:44 [clock.wallclock_main:3] Streaming loop starts, > synchronized with wallclock. > 2012/03/06 11:29:44 [fallback_5255:3] Switch to fallback_5250. > 2012/03/06 11:29:44 [fallback_5250:3] Switch to fallback_5245. > 2012/03/06 11:29:44 [fallback_5245:3] Switch to src_5202. > 2012/03/06 11:29:44 [src_5202:3] Inserting missing metadata. > 2012/03/06 11:29:44 [dummy(dot)1:3] Source failed (no more tracks) stopping > output... > 2012/03/06 11:29:44 [dummy(dot)2:3] Source failed (no more tracks) stopping > output... > 2012/03/06 11:29:44 [dummy(dot)3:3] Source failed (no more tracks) stopping > output... > 2012/03/06 11:29:54 [server:3] New client: localhost. > 2012/03/06 11:29:54 [decoder:3] Method "MP3" accepted > "/var/tmp/airtime/pypo/cache/scheduler/2fb0b329dddaf05662d92e19c2d3698e.mp3". > 2012/03/06 11:29:54 [server:3] Client localhost disconnected. > 2012/03/06 11:29:54 [queue:3] Prepared > "/var/tmp/airtime/pypo/cache/scheduler/2fb0b329dddaf05662d92e19c2d3698e.mp3" > (RID 0). > 2012/03/06 11:29:54 [cue_cut_5105:3] Cueing in... > 2012/03/06 11:29:54 [lang:3] > /usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh --data='0' > --media-id=72 > 2012/03/06 11:29:54 [lang:3] Using stream_format 0 > 2012/03/06 11:29:54 [fallback_5245:3] Switch to src_5196 with transition. > 2012/03/06 11:30:19 [decoder:3] Method "OGG" accepted "application/ogg". > 2012/03/06 11:30:19 [threads:3] Created thread "harbor source feeding" (2 > total). > 2012/03/06 11:30:19 [harbor_5247:3] Decoding... > 2012/03/06 11:30:29 [dummy(dot)2:3] Source failed (no more tracks) stopping > output... > 2012/03/06 11:31:13 [main:3] Shutdown started! > 2012/03/06 11:31:13 [main:3] Waiting for threads to terminate... > 2012/03/06 11:31:13 [airtime_128:3] Closing connection... > 2012/03/06 11:31:13 [clock.wallclock_main:3] Streaming loop stopped. > 2012/03/06 11:31:13 [threads:3] Thread "wallclock_main" terminated (1 > remaining). > 2012/03/06 11:29:44 [harbor_5247:3] Buffer overrun: Dropping 0.02s. > 2012/03/06 11:29:44 [harbor_5247:3] Buffer overrun: Dropping 0.02s. > 2012/03/06 11:29:44 [harbor_5247:3] Buffer overrun: Dropping 0.02s. > 2012/03/06 11:29:44 [harbor_5247:3] Buffer overrun: Dropping 0.02s. > 2012/03/06 11:29:44 [harbor_5247:3] Buffer overrun: Dropping 0.02s. > 2012/03/06 11:29:44 [harbor_5247:3] Buffer overrun: Dropping 0.02s. > 2012/03/06 11:29:44 [harbor_5247:3] Buffer overrun: Dropping 0.02s. > 2012/03/06 11:29:44 [harbor_5247:3] Buffer overrun: Dropping 0.02s. > 2012/03/06 11:29:44 [harbor_5247:3] Buffer overrun: Dropping 0.02s. > 2012/03/06 11:29:44 [harbor_5247:3] Buffer overrun: Dropping 0.02s. > 2012/03/06 11:29:44 [harbor_5247:3] Buffer overrun: Dropping 0.02s. > 2012/03/06 11:29:44 [harbor_5247:3] Buffer overrun: Dropping 0.02s. > 2012/03/06 11:29:44 [harbor_5247:3] Buffer overrun: Dropping 0.02s. > 2012/03/06 11:29:44 [harbor_5247:3] Buffer overrun: Dropping 0.02s. > 2012/03/06 11:29:44 [harbor_5247:3] Buffer overrun: Dropping 0.02s. > 2012/03/06 11:29:44 [harbor_5247:3] Buffer overrun: Dropping 0.02s. > 2012/03/06 11:29:44 [harbor_5247:3] Buffer overrun: Dropping 0.02s. > 2012/03/06 11:29:44 [harbor_5247:3] Buffer overrun: Dropping 0.02s. > 2012/03/06 11:29:44 [harbor_5247:3] Buffer overrun: Dropping 0.02s. > 2012/03/06 11:29:44 [harbor_5247:3] Buffer overrun: Dropping 0.02s. > 2012/03/06 11:29:44 [harbor_5247:3] Buffer overrun: Dropping 0.02s. > 2012/03/06 11:29:44 [harbor_5247:3] Buffer overrun: Dropping 0.02s. > 2012/03/06 11:29:44 [harbor_5247:3] Buffer overrun: Dropping 0.02s. > 2012/03/06 11:29:44 [harbor_5247:3] Buffer overrun: Dropping 0.02s. > 2012/03/06 11:29:44 [harbor_5247:3] Buffer overrun: Dropping 0.02s. > 2012/03/06 11:29:44 [harbor_5247:3] Buffer overrun: Dropping 0.02s. > 2012/03/06 11:29:44 [harbor_5247:3] Buffer overrun: Dropping 0.02s. > 2012/03/06 11:29:44 [harbor_5247:3] Buffer overrun: Dropping 0.02s. > 2012/03/06 11:29:44 [harbor_5247:3] Buffer overrun: Dropping 0.00s. > 2012/03/06 11:29:44 [harbor_5247:3] Buffer overrun: Dropping 0.02s. > 2012/03/06 11:29:44 [harbor_5247:3] Buffer overrun: Dropping 0.02s. > 2012/03/06 11:29:44 [harbor_5247:3] Buffer overrun: Dropping 0.02s. > 2012/03/06 11:29:44 [harbor_5247:3] Buffer overrun: Dropping 0.02s. > 2012/03/06 11:29:44 [harbor_5247:3] Buffer overrun: Dropping 0.02s. > 2012/03/06 11:29:44 [harbor_5247:3] Buffer overrun: Dropping 0.02s. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://dev.sourcefabric.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Savonet-devl mailing list Savonet-devl@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-devl