Crash in duppy queue when feeding an harbor input with a dynamically created 
icecast output
-------------------------------------------------------------------------------------------

                 Key: LS-482
                 URL: http://dev.sourcefabric.org/browse/LS-482
             Project: Liquidsoap
          Issue Type: Bug
            Reporter: David Baelde


Consider the following script:
===
live = input.harbor(port=8888,"live")
add_timeout(2.,{
  output.icecast(%mp3,port=8888,mount="live",fallible=true,
                 once(sine(duration=1.14))) ;
  (-1.)
})
output.dummy(fallible=true,live)
===

Sometimes it runs fine but sometimes it crashes like that:
2011/02/22 22:19:39 [threads:1] Thread "generic queue #1" aborts with exception 
Bad file descriptor in select()!
Thread 1 killed on uncaught exception Unix.Unix_error(3, "select", "")
Raised at file "", line 0, characters 0-0
2011/02/22 22:19:39 [main:3] Shutdown started!

I ran this with the latest SVN (r8188). I'm not sure what's going on, but it 
smells like a race condition between closing and reading.

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

        

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Savonet-devl mailing list
Savonet-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-devl

Répondre à