[ 
http://dev.sourcefabric.org/browse/LS-299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13981#action_13981
 ] 

Romain Beauxis commented on LS-299:
-----------------------------------

Ok, I found the issue: non-blocking queues are started before daemonizing, 
which in turns starts a select call which either blocks or crashes when 
daemonizing... I have a patch that fixed is but I will be thiking about a way 
to avoid this in the future before closing the issue...

> main thread deadlock in daemon mode
> -----------------------------------
>
>                 Key: LS-299
>                 URL: http://dev.sourcefabric.org/browse/LS-299
>             Project: Liquidsoap
>          Issue Type: Bug
>          Components: Liquidsoap
>    Affects Versions: 1.0 beta
>            Reporter: Romain Beauxis
>            Assignee: Romain Beauxis
>            Priority: Blocker
>             Fix For: 1.0
>
>
> Liduidsoap hangs in daemon mode with the following script:
> {{{
> set("log.file.path", "/tmp/dynamic.log")
> set("init.daemon.pidfile.path","/tmp/bla.pid")
> set("log.level",5)
> output.file.mp3("/tmp/dynamicTest.mp3",
>   mksafe(request.dynamic({request.create("say:Hello dynamic world")})))
> }}}
> Run with {{{liquidsoap -d}}} and it freezes, run without daemon mode and it 
> works. Also, if you activate telnet, you will see that the scheduler still 
> work.
> This looks like the infamous deadlock issue we've tried to grasp until 
> recently, and the script to reproduce is very simple this time..

-- 
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

        

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Savonet-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-devl

Répondre à