[erlang-questions] No crash reports to tty with OTP R16B03-1
Siri Hansen
erlangsiri@REDACTED
Tue Mar 25 19:50:04 CET 2014
Is the sasl application running on your node?
/siri
tisdagen den 25:e mars 2014 skrev mayamatakeshi <mayamatakeshi@REDACTED>:
> Hello,
> I have spend some time updating an old OTP app that was running with
> Erlang R13B03 and yaws-1.87
> to
> Erlang R16B03-1 and yaws-1.98
> The app is working fine, but now starting to code more features and
> debugging with the new version, I am not seeing sasl writing crash reports
> to tty anymore.
>
> The sasl is writing progress and info reports to tty:
> =PROGRESS REPORT==== 25-Mar-2014::21:38:04 ===
> supervisor: {local,kernel_safe_sup}
> started: [{pid,<0.164.0>},
> {name,timer_server},
> {mfargs,{timer,start_link,[]}},
> {restart_type,permanent},
> {shutdown,1000},
> {child_type,worker}]
>
> =INFO REPORT==== 25-Mar-2014::21:38:34 ===
> Send ping frame
> =INFO REPORT==== 25-Mar-2014::21:39:04 ===
> Send ping frame
> =INFO REPORT==== 25-Mar-2014::21:39:34 ===
> Send ping frame
>
> The above are due a WebSocket connection to yaws.
>
> I force a crash doing this in yaws:
>
> out(A) ->
> X = 1,
> Y = 2,
> X = Y,
> ...
>
> I know the crash is happening because the HTTP request gets this:
>
> # curl -x "" http://127.0.0.1:12121/dialplan
>
> <h2>Internal error, yaws code crashed</h2><br /><hr />
> <pre>
>
> ERROR erlang code threw an uncaught exception:
> File: appmod:0
> Class: error
> Exception: {badmatch,false}
> Req: {http_request,'GET',{abs_path,"/dialplan"},{1,1}}
> Stack: [{dialplan,out,1,[{file,"src/dialplan.erl"},{line,19}]},
> {yaws_server,deliver_dyn_part,8,
> [{file,"yaws_server.erl"},{line,2801}]},
> {yaws_server,aloop,4,[{file,"yaws_server.erl"},{line,1215}]},
> {yaws_server,acceptor0,2,[{file,"yaws_server.erl"},{line,1052}]},
> {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]
> </pre><hr />
>
>
> But still I don't get crash reports in the tty.
>
> Does anyone know of any change related to this?
>
> Regards,
> Takeshi
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140325/23dbda6c/attachment.htm>
More information about the erlang-questions
mailing list