liquidsoap process becomes unstoppable on using mp3 at output.harbor
--------------------------------------------------------------------
Key: LS-530
URL: http://dev.sourcefabric.org/browse/LS-530
Project: Liquidsoap
Issue Type: Bug
Components: Liquidsoap
Environment: Liquidsoap 1.0.0-beta+svn (@7a59a2e26b1e:20110518:171410).
Linux machine 2.6.38-8-generic-pae #42-Ubuntu SMP Mon Apr 11 05:17:09 UTC 2011
i686 i686 i386 GNU/Linux
Reporter: peter
if a listener is connected to liquidsoap's output (using ogg),
stopping liquidsoap with CTRL+C works fine
liquidsoap 'output.harbor(mount="/test",port=8888,
%vorbis.cbr(bitrate=160000,channels=2), mksafe(sine()) )'
if you use mp3 encoding instead of, the liquidsoap process becomes unstoppable
liquidsoap 'output.harbor(mount="/test",port=8888, %mp3(bitrate=160),
mksafe(sine()) )'
2011/05/18 17:52:21 [threads:3] Created thread "generic queue #1".
2011/05/18 17:52:21 [harbor:3] Adding HTTP handler for '/test' on port 8888
2011/05/18 17:52:21 [threads:3] Created thread "wallclock_main" (1 total).
2011/05/18 17:52:21 [clock.wallclock_main:3] Streaming loop starts,
synchronized with wallclock.
2011/05/18 17:52:21 [mksafe:3] Switch to sine_4389.
^C2011/05/18 17:52:31 [main:3] Shutdown started!
2011/05/18 17:52:31 [main:3] Waiting for threads to terminate...
2011/05/18 17:52:31 [harbor:3] Removing HTTP handler for '/test' on port 8888
^C^C^C^Z
[1]+ Angehalten liquidsoap
'output.harbor(mount="/test",port=8888, %mp3(bitrate=160), mksafe(sine()) )'
peter@machine:~/radio/savonet.hg/savonet$ ps -afe | grep liquidsoap
peter 10619 2364 3 17:52 pts/2 00:00:00 liquidsoap
output.harbor(mount="/test",port=8888, %mp3(bitrate=160), mksafe(sine()) )
peter 10643 2364 0 17:52 pts/2 00:00:00 grep liquidsoap
peter@machine:~/radio/savonet.hg/savonet$ pkill -f liquidsoap
peter@machine:~/radio/savonet.hg/savonet$ ps -afe | grep liquidsoap
peter 10619 2364 2 17:52 pts/2 00:00:00 liquidsoap
output.harbor(mount="/test",port=8888, %mp3(bitrate=160), mksafe(sine()) )
peter 10650 2364 0 17:52 pts/2 00:00:00 grep liquidsoap
peter@machine:~/radio/savonet.hg/savonet$ kill -9 10619
peter@machine:~/radio/savonet.hg/savonet$ ps -afe | grep liquidsoap
peter 10658 2364 0 17:53 pts/2 00:00:00 grep liquidsoap
[1]+ killed liquidsoap 'output.harbor(mount="/test",port=8888,
%mp3(bitrate=160), mksafe(sine()) )'
peter@machine:~/radio/savonet.hg/savonet$ ps -afe | grep liquidsoap
peter 10660 2364 0 17:53 pts/2 00:00:00 grep liquidsoap
(this is not important to me, since we use ogg only :)
--
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
------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its
next-generation tools to help Windows* and Linux* C/C++ and Fortran
developers boost performance applications - including clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Savonet-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-devl