Hi !
Sorry for the delay. We're all on vacations at the moment, so we're not very
responsive...
Le lundi 03 août 2009 00:33:34, polemon a écrit :
> This happend twice today again.
>
> If no one can tell me what to do, or help me get to the problem, I'll be
> forced to dump Liquidsoap for some rudimentary solution with shoutcasts,
> streamtranscoderv3 etc, which puts me back about a year and a half.
>
> Please help, as this is really important for me.
>
> Here's the .liq script, that crashes with the error I described in my
> earlier mail: http://pastie.org/569051
Ok.
As usual, this needs further investigations. In the case of exceptions, we
should need the whole exception trace, as described in the corresponding
section there:
http://savonet.rastageeks.org/wiki/Debugging
Also, it is more easy if you can test patches by recompiling liquidsoap with
them. For instance, I identified a write call that can be the cause of the
issue. I have attached a patch about it. You can apply it by doing, from the
liquidsoap/src directory:
patch -p0 < /path/to/possible_fix.patch
Romain
Index: tools/harbor.ml
===================================================================
--- tools/harbor.ml (révision 6691)
+++ tools/harbor.ml (copie de travail)
@@ -151,7 +151,13 @@
)
let write_answer ?(keep=false) c a =
- ignore (Unix.write c a 0 (String.length a)) ;
+ begin
+ try
+ ignore (Unix.write c a 0 (String.length a)) ;
+ with
+ | Unix.Unix_error(_,_,_) ->
+ log#f 1 "Error while writing answer.."
+ end ;
if not keep then
try
Unix.shutdown c Unix.SHUTDOWN_ALL ;
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users