#358: External encoder will not shutdown when liquidsoap is killed
------------------------+---------------------------------------------------
Reporter: humanclay | Owner: admin
Type: Bugs | Status: new
Priority: 1 | Milestone: NEAR FUTURE
Component: Liquidsoap | Version: 0.9.2+svn
Keywords: | Mac: 0
Linux: 0 | Netbsd: 0
Other: 1 | Freebsd: 1
------------------------+---------------------------------------------------
On 0.9.2-2 on FreeBSD 7.1 i386
When I send liquidsoap a kill signal when it is in the background, or
ctrl-c when it is in the foreground it will not shutdown. Instead it keeps
restarting the external encoder:
2010/05/20 21:31:37 >>> LOG START
2010/05/20 21:31:36 [protocols.external:3] Didn't find "ufetch"
2010/05/20 21:31:36 [protocols.external:3] Found "/usr/local/bin/wget"
2010/05/20 21:31:36 [main:3] Liquidsoap 0.9.2
2010/05/20 21:31:37 [threads:3] Created thread "non-blocking queue #1".
2010/05/20 21:31:37 [threads:3] Created thread "generic queue #1".
2010/05/20 21:31:37 [threads:3] Created thread "root" (1 total).
2010/05/20 21:31:37 [root:3] Waking up active nodes...
2010/05/20 21:31:37 [aacplus-1:2] Creating external encoder..
2010/05/20 21:31:37 [aacplus-1:3] Connecting mount /mount-48k.aac for
sou...@server...
*************************************************************
* Enhanced aacPlus 3GPP Floating Point Reference Encoder
* Build Apr 21 2010, 14:21:43
*
*************************************************************
2010/05/20 21:31:37 [aacplus-1:3] Connection setup was successful.
2010/05/20 21:31:37 [vorbis-1:3] Connecting mount /mount-64k.ogg for
sou...@server...
2010/05/20 21:31:37 [vorbis-1:3] Connection setup was successful.
2010/05/20 21:31:37 [root:3] Broadcast starts up!
^C2010/05/20 21:31:42 [aacplus-1:2] Creating external encoder..
*************************************************************
* Enhanced aacPlus 3GPP Floating Point Reference Encoder
* Build Apr 21 2010, 14:21:43
*
*************************************************************
^C2010/05/20 21:31:44 [aacplus-1:2] Creating external encoder..
*************************************************************
* Enhanced aacPlus 3GPP Floating Point Reference Encoder
* Build Apr 21 2010, 14:21:43
*
*************************************************************
^C2010/05/20 21:31:45 [aacplus-1:2] Creating external encoder..
As you can see, every time I send it a ctrl-C (or a kill signal when in
the background) it continues to restart the aacplusenc encoder over and
over again rather than killing the whole liquidsoap program.
--
Ticket URL: <http://savonet.rastageeks.org/ticket/358>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !
------------------------------------------------------------------------------
_______________________________________________
Savonet-trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-trac