Another fundamental problem with the source protocol
----------------------------------------------------

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


After some thinking about liquidsoap 2, I found something tricky that I never 
noticed before. It didn't take me two attempts to turn it into a bug... The 
following script which crashes liquidsoap with a failed assertion:
{{{
q = 
request.queue(queue=[request.create("/home/dbaelde/media/audio/albums/Doors/The 
Doors/01 - The Doors - Break On Through (To The Other Side).mp3")])
output.dummy(id="bar",mksafe(q))
output.dummy(id="foo",fallback([amplify(1.,q),blank(duration=1.)]))

def at(t,s)
  add_timeout(t,{ignore(server.execute(s));(-1.)})
end

# TODO on peut aussi faire crasher liq en faisant un non-unit pas ignoré
# e.g {"foo"} a runtime (minor bug)
at(3.,"foo.stop")
at(4.,"bar.skip")
at(5.,"foo.start")
}}}

-- 
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
Savonet-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-devl

Répondre à