I can confirm that after i rolled back this merge on_shutdown is working
fine for me. Good build was made from this point:
https://github.com/savonet/liquidsoap/commit/e3c0664a271d02b5ff5bf3d43127211180e8fdbdit
worked fine!

Hope this helps :)


2014/1/15 Alexander <[email protected]>

> I am far from understanding ocaml, but.. can't this bug caused by this
> merge request?
> https://github.com/savonet/liquidsoap/pull/135
>
>
>
> 2014/1/14 Alexander <[email protected]>
>
>> Line 86, char 10: Unknown error!
>> Fatal error: exception Assert_failure("shutdown.ml", 9, 12)
>> Called from file "shutdown.ml", line 24, characters 53-61
>> Called from file "lang/lang_builtins.ml", line 1318, characters 16-41
>> Called from file "lang/lang_values.ml", line 904, characters 14-20
>> Called from file "lang/lang_values.ml", line 986, characters 16-44
>> Called from file "lang/lang_values.ml", line 982, characters 19-34
>> Called from file "lang/lang.ml", line 604, characters 14-38
>> Called from file "tools/tutils.ml", line 85, characters 14-18
>> Re-raised at file "tools/tutils.ml", line 85, characters 54-55
>> Called from file "lang/lang.ml", line 630, characters 8-12
>> Re-raised at file "lang/lang.ml", line 739, characters 49-50
>> Called from file "lang/lang.ml", line 752, characters 8-242
>>  Called from file "lang/lang.ml", line 762, characters 4-76
>> Called from file "main.ml", line 114, characters 34-40
>> Called from file "main.ml", line 544, characters 4-31
>>
>> Same script was working fine on liquidsoap debian wheezy package
>> (currently using build from github source).
>> 86 line is last line. Liquidsoap every time is showing at last char of a
>> script (i am not sending script itself, as it is really working and quite
>> big).
>>
>> After commenting out everything i found that exception is being raised
>> when i use on_shutdown function, even like this:
>> on_shutdown(fun() -> print("shutdown!"));
>>
>> Is this a bug?
>> --
>> Kind regards,
>> Alexander.
>>
>
>
>
> --
> Kind regards,
> Alexander.
>



-- 
Kind regards,
Alexander.
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to