[erlang-questions] try to find the crash report (a challenge)
Joel Reymont
joelr1@REDACTED
Thu Dec 1 14:36:26 CET 2011
You can get the crash reports in /tmp/error.log (in my case).
This works if the list of httpd modules is set to [mod_log, mod_crash].
There's still nothing shown via regular SASL channels.
On Dec 1, 2011, at 1:34 PM, Yurii Rashkovskii wrote:
> The problem is in httpd. httpd_request_handler has this:
>
> PROCESSED = (catch Module:Function([Data | Args])),
>
> so it will swallow your crash. Besides, the case statement right after that seems to be fairly wrong. It has an all-catch clause NewMFA, and it assumes PROCESSED is a new MFA if it is nothing that matched before. That means, an EXIT tuple will be treated as a new MFA. Unless I'm missing something, this is just wrong.
--------------------------------------------------------------------------
- for hire: mac osx device driver ninja, kernel extensions and usb drivers
---------------------+------------+---------------------------------------
http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont
---------------------+------------+---------------------------------------
More information about the erlang-questions
mailing list