#91: Liquidsoap doesn't work correctly on FreeBSD 6.2 (Mutex.unlock: Operation
not permitted)
-------------------------+--------------------------------------------------
Reporter: GraveR | Owner: mrpingouin
Type: Bugs | Status: new
Priority: 1 | Milestone:
Component: Liquidsoap | Version: 0.3.6+svn
Resolution: | Keywords: freebsd mutex error
-------------------------+--------------------------------------------------
Changes (by mrpingouin):
* owner: admin => mrpingouin
Comment:
Just a little progress report. It seems that only a couple of files will
need changes -- most usages of mutexes follow the original party line. The
"bad" files are src/main.ml (already fixed) src/sources/http_source.ml,
src/sources/alsa_in.ml and src/sources/request_sources.ml where only the
last is commonly used.
Unfortunately, ocaml-duppy (not used in 0.3.6 but mandatory with the SVN
version) needs the fix too. With the fix in main.ml (already on SVN), I'd
expect liq to crash in a different way, because of ocaml-duppy if you run
it on something simple such as 'out(blank())'. It's even possible that
with only one queue (which is the default, I think), duppy behaves well
for BSD.
Just give me a few days (but don't count the week-end:p)
--
Ticket URL: <http://savonet.rastageeks.org/ticket/91#comment:4>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !