[erlang-questions] How to analyse why (w)erl.exe is not starting?

Edmond Begumisa <>
Mon Sep 27 17:24:48 CEST 2010


Is Windows Error Reporting enabled on the box?

My guess is that werl.exe/erl.exe are crashing before they've had a chance  
to set up the emulator crash dump infrastructure (but hopefully after all  
the dll loading is done) in which case a minidump might help.

If I'm not mistaken, the official windows OTP binary installer has a  
sub-directory with debug versions of werl.exe/erl.exe and corresponding  
symbol files (werl.pbg/erl.pdb). You could try copying these to your  
server, then triggering the creation of a minidump using WER (which you  
could copy from the temp directory before it's sent to Microsoft), then  
finally analyse the call-stack using VS.

http://support.microsoft.com/kb/310414

(Don't know if WER configuration for win2k3 is the same as for XP)

- Edmond -


On Mon, 27 Sep 2010 05:49:34 +1000, Boris Mühmer  
<> wrote:

> 2010/9/26 Koener Antoine <>:
>> Look for 'depends.exe', this is the windows 'ldd' command.
>> You'll spot which dll is missing if any.
>> [...]
>> You can also try 'procmon' from sysinternals, this is the [sl]trace fro
>> windows.
>
> I know both tools, but I didn't want to copy them over to that server.
> Somehow I hoped there would be an easier way to track down this
> misbehaviour...
>
>
>   - boris
>
> ________________________________________________________________
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:
>


-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


More information about the erlang-questions mailing list