Hi Romain,

I called <name>.stop for all the input.harbor source connections before I
try to terminate liquidsoap.
But the problem now is that when liquidsoap is up again, and the same
source is still keep trying to connect to the liquidsoap, I get "Feeding
stopped: Ogg_demuxer.Invalid_stream." errors.
Please see the log below:

2012/03/12 14:31:42 >>> LOG START
2012/03/12 14:31:41 [protocols.external:3] Didn't find "ufetch".
2012/03/12 14:31:41 [protocols.external:3] Found "/usr/bin/wget".
2012/03/12 14:31:41 [main:3] Liquidsoap 1.0.0
2012/03/12 14:31:41 [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/12 14:31:41 [dynamic.loader:2] Could not load plugins in directory
/usr/local/lib/liquidsoap/1.0.0/plugins.
2012/03/12 14:31:42 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz
master.
2012/03/12 14:31:42 [frame:3] Frame size must be a multiple of 1764 ticks =
1764 audio samples = 1 video samples.
2012/03/12 14:31:42 [frame:3] Targetting 'frame.duration': 0.04s = 1764
audio samples = 1764 ticks.
2012/03/12 14:31:42 [frame:3] Frames last 0.04s = 1764 audio samples = 1
video samples = 1764 ticks.
2012/03/12 14:31:42 [threads:3] Created thread "generic queue #1".
2012/03/12 14:31:42 [threads:3] Created thread "generic queue #2".
2012/03/12 14:31:42 [threads:3] Created thread "non-blocking queue #1".
2012/03/12 14:31:42 [harbor:3] Adding mountpoint '/master' on port 8080
2012/03/12 14:31:42 [harbor:3] Adding mountpoint '/dj' on port 9090
2012/03/12 14:31:42 [airtime_128:3] Connecting mount airtime_128 for
[email protected]...
2012/03/12 14:31:42 [airtime_128:3] Connection setup was successful.
2012/03/12 14:31:42 [lang:3]
/usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh --connect
--stream-id=1 --time=1331577102.08
2012/03/12 14:31:42 [threads:3] Created thread "wallclock_main" (1 total).
2012/03/12 14:31:42 [clock.wallclock_main:3] Streaming loop starts,
synchronized with wallclock.
2012/03/12 14:31:42 [master_dj_switch:3] Switch to default_fallback.
2012/03/12 14:31:42 [default_fallback:3] Switch to src_5227.
2012/03/12 14:31:42 [src_5227:3] Inserting missing metadata.
2012/03/12 14:31:42 [dummy(dot)1:3] Source failed (no more tracks) stopping
output...
2012/03/12 14:31:42 [dummy(dot)2:3] Source failed (no more tracks) stopping
output...
2012/03/12 14:31:42 [dummy(dot)3:3] Source failed (no more tracks) stopping
output...
2012/03/12 14:31:47 [lang:3]
/usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh
--source-name=master_dj --source-status=true
2012/03/12 14:31:47 [decoder:3] Method "OGG" accepted "application/ogg".
2012/03/12 14:31:47 [threads:3] Created thread "harbor source feeding" (2
total).
2012/03/12 14:31:47 [master_harbor:3] Decoding...
2012/03/12 14:32:00 [server:3] New client: localhost.
2012/03/12 14:32:00 [server:3] New client: localhost.
2012/03/12 14:32:00 [server:3] Client localhost disconnected.
2012/03/12 14:32:00 [lang:3]
/usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh
--source-name=master_dj --source-status=false
2012/03/12 14:32:00 [server:3] Client localhost disconnected.
2012/03/12 14:32:01 [master_harbor:2] Feeding stopped: Source stopped.
2012/03/12 14:32:01 [threads:3] Thread "harbor source feeding" terminated
(1 remaining).
2012/03/12 14:32:02 [lang:3]
/usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh
--source-name=master_dj --source-status=true
2012/03/12 14:32:02 [decoder:3] Method "OGG" accepted "application/ogg".
2012/03/12 14:32:02 [threads:3] Created thread "harbor source feeding" (2
total).
2012/03/12 14:32:02 [master_harbor:3] Decoding...
2012/03/12 14:32:02 [dummy(dot)1:3] Source failed (no more tracks) stopping
output...
2012/03/12 14:32:02 [master_harbor:2] Feeding stopped:
Ogg_demuxer.Invalid_stream.
2012/03/12 14:32:02 [lang:3]
/usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh
--source-name=master_dj --source-status=false
2012/03/12 14:32:02 [threads:3] Thread "harbor source feeding" terminated
(1 remaining).
2012/03/12 14:32:02 [server:3] New client: localhost.
2012/03/12 14:32:02 [server:3] Client localhost disconnected.
2012/03/12 14:32:03 [lang:3]
/usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh
--source-name=master_dj --source-status=true
2012/03/12 14:32:03 [decoder:3] Method "OGG" accepted "application/ogg".
2012/03/12 14:32:03 [threads:3] Created thread "harbor source feeding" (2
total).
2012/03/12 14:32:03 [master_harbor:3] Decoding...
2012/03/12 14:32:04 [master_harbor:2] Feeding stopped:
Ogg_demuxer.Invalid_stream.
2012/03/12 14:32:04 [server:3] New client: localhost.
2012/03/12 14:32:04 [server:3] Client localhost disconnected.
2012/03/12 14:32:04 [lang:3]
/usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh
--source-name=master_dj --source-status=false
2012/03/12 14:32:04 [threads:3] Thread "harbor source feeding" terminated
(1 remaining).
2012/03/12 14:32:05 [lang:3]
/usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh
--source-name=master_dj --source-status=true
2012/03/12 14:32:05 [decoder:3] Method "OGG" accepted "application/ogg".
2012/03/12 14:32:05 [threads:3] Created thread "harbor source feeding" (2
total).
2012/03/12 14:32:05 [master_harbor:3] Decoding...
2012/03/12 14:32:05 [master_harbor:2] Feeding stopped:
Ogg_demuxer.Invalid_stream.
2012/03/12 14:32:05 [server:3] New client: localhost.
2012/03/12 14:32:05 [server:3] Client localhost disconnected.
2012/03/12 14:32:05 [lang:3]
/usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh
--source-name=master_dj --source-status=false
2012/03/12 14:32:05 [threads:3] Thread "harbor source feeding" terminated
(1 remaining).
2012/03/12 14:32:06 [lang:3]
/usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh
--source-name=master_dj --source-status=true
2012/03/12 14:32:06 [decoder:3] Method "OGG" accepted "application/ogg".
2012/03/12 14:32:06 [threads:3] Created thread "harbor source feeding" (2
total).
2012/03/12 14:32:06 [master_harbor:3] Decoding...
2012/03/12 14:32:07 [master_harbor:2] Feeding stopped:
Ogg_demuxer.Invalid_stream.
2012/03/12 14:32:07 [server:3] New client: localhost.
2012/03/12 14:32:07 [server:3] Client localhost disconnected.
2012/03/12 14:32:07 [lang:3]
/usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh
--source-name=master_dj --source-status=false
2012/03/12 14:32:07 [threads:3] Thread "harbor source feeding" terminated
(1 remaining).
2012/03/12 14:32:07 [lang:3]
/usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh
--source-name=master_dj --source-status=true
2012/03/12 14:32:07 [decoder:3] Method "OGG" accepted "application/ogg".
2012/03/12 14:32:07 [threads:3] Created thread "harbor source feeding" (2
total).
2012/03/12 14:32:07 [master_harbor:3] Decoding...
2012/03/12 14:32:08 [master_harbor:2] Feeding stopped:
Ogg_demuxer.Invalid_stream.
2012/03/12 14:32:08 [server:3] New client: localhost.
2012/03/12 14:32:08 [server:3] Client localhost disconnected.
2012/03/12 14:32:08 [lang:3]
/usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh
--source-name=master_dj --source-status=false
2012/03/12 14:32:08 [threads:3] Thread "harbor source feeding" terminated
(1 remaining).
2012/03/12 14:32:09 [lang:3]
/usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh
--source-name=master_dj --source-status=true
2012/03/12 14:32:09 [decoder:3] Method "OGG" accepted "application/ogg".
2012/03/12 14:32:09 [threads:3] Created thread "harbor source feeding" (2
total).
2012/03/12 14:32:09 [master_harbor:3] Decoding...
2012/03/12 14:32:09 [master_harbor:2] Feeding stopped:
Ogg_demuxer.Invalid_stream.
2012/03/12 14:32:10 [server:3] New client: localhost.
2012/03/12 14:32:10 [server:3] Client localhost disconnected.
2012/03/12 14:32:10 [lang:3]
/usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh
--source-name=master_dj --source-status=false
2012/03/12 14:32:10 [threads:3] Thread "harbor source feeding" terminated
(1 remaining).

If I cut the source and restart the source itselt, it connects ok. Any
thoughts on this?
Thanks!

On Thu, Mar 8, 2012 at 7:48 PM, James Moon <[email protected]>wrote:

> Hi Romain,
>
> I opened up a ticket and below is the link:
>
> http://dev.sourcefabric.org/browse/LS-615
>
> Thank you.
>
>
>
> On Thu, Mar 8, 2012 at 7:39 PM, Romain Beauxis <[email protected]>wrote:
>
>> Hi,
>>
>> 2012/3/7 James Moon <[email protected]>:
>> > I had to manually kill the liquidsoap process by running "sudo kill -9
>> > <pid>". I'm not sure if it would ever stops.
>> >
>> > I did put id after I wrote this email and I confirmed that the "Buffer
>> > overrun" msg is from one of input.harbor that the source was still
>> connected
>> > while it's trying to terminate.
>> > Keep it mind that if I disconnect the source and try to terminate
>> > liquidsoap, I won't get into this situation.
>> >
>> > Can you guys confirm if this if bug or not?
>>
>> It definitely looks like a bug. It'd be nice if you could open a
>> ticket for it there:
>>  http://dev.sourcefabric.org/browse/LS
>>
>> In the meantime, you should be able to call <name>.stop through the
>> telnet/server interface before shutting down liquidsoap.
>>
>> Romain
>>
>
>
>
> --
> James Moon
>   Software Developer, Sourcefabric
> [email protected]
>
> www.sourcefabric.com | *www.sourcefabric.org*
>
> 720 Bathurst St. Suite 203
> M5S 2R4, Toronto, ON, Canada
>
>


-- 
James Moon
 Software Developer, Sourcefabric
[email protected]

www.sourcefabric.com | *www.sourcefabric.org*

720 Bathurst St. Suite 203
M5S 2R4, Toronto, ON, Canada
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
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-dev2
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to