<div dir="ltr"><div>Hello,<br>I have spend some time updating an old OTP app that was running with<br> Erlang R13B03 and yaws-1.87<br></div>to <br><div> Erlang R16B03-1 and yaws-1.98<br></div><div>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.<br>
<br></div><div>The sasl is writing progress and info reports to tty:<br>=PROGRESS REPORT==== 25-Mar-2014::21:38:04 ===<br> supervisor: {local,kernel_safe_sup}<br> started: [{pid,<0.164.0>},<br> {name,timer_server},<br>
{mfargs,{timer,start_link,[]}},<br> {restart_type,permanent},<br> {shutdown,1000},<br> {child_type,worker}]<br><br>=INFO REPORT==== 25-Mar-2014::21:38:34 ===<br>
Send ping frame<br>=INFO REPORT==== 25-Mar-2014::21:39:04 ===<br>Send ping frame<br>=INFO REPORT==== 25-Mar-2014::21:39:34 ===<br>Send ping frame<br><br></div><div>The above are due a WebSocket connection to yaws.<br><br>
</div><div>I force a crash doing this in yaws:<br></div><div><br>out(A) -><br> X = 1,<br> Y = 2,<br> X = Y,<br>...<br><br>I know the crash is happening because the HTTP request gets this:<br><br># curl -x "" <a href="http://127.0.0.1:12121/dialplan">http://127.0.0.1:12121/dialplan</a><br>
<br><h2>Internal error, yaws code crashed</h2><br /><hr /><br><pre><br><br>ERROR erlang code threw an uncaught exception:<br> File: appmod:0<br>Class: error<br>Exception: {badmatch,false}<br>
Req: {http_request,'GET',{abs_path,"/dialplan"},{1,1}}<br>Stack: [{dialplan,out,1,[{file,"src/dialplan.erl"},{line,19}]},<br> {yaws_server,deliver_dyn_part,8,<br> [{file,"yaws_server.erl"},{line,2801}]},<br>
{yaws_server,aloop,4,[{file,"yaws_server.erl"},{line,1215}]},<br> {yaws_server,acceptor0,2,[{file,"yaws_server.erl"},{line,1052}]},<br> {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]<br>
</pre><hr /><br><br><br></div><div>But still I don't get crash reports in the tty.<br><br></div><div>Does anyone know of any change related to this?<br><br></div><div>Regards,<br></div><div>Takeshi<br></div>
<div></div><div><br><br><br></div></div>