[erlang-questions] How to analyse why (w)erl.exe is not starting?
Boris Mühmer
boris.muehmer@REDACTED
Mon Sep 27 20:38:58 CEST 2010
Well, thanks for all Your input... I just took some time, to have a
closer look...
2010/9/26 Koener Antoine <antoine.koener@REDACTED>:
> Look for 'depends.exe', this is the windows 'ldd' command.
> You'll spot which dll is missing if any.
Not a missing dll, but some interesting behaviour, when using
the profile mode of Dependency Walker on "werl.exe":
1) R13B4/erl5.7.5: everything works (nothing new).
2) R14B/erl5.8.1/normal binary: profiling fails with
MS/VC++: "The application has requested the Runtime to terminate
in an unusual way."
3) R14B/erl5.8.1/debug binary (under erts-5.8.1/bin): profiling fails with
Werl: "Unable to load emulator DLL
(C:\PROGRA~2\ERL58~1.1\ERTS~1.1\ERTS-5~1.1\bin\beam.smp.dll)"
4) I reinstalled R14B using a short path (just under C:, nur under
program files): no improvement
I attached both the profile logs for WERL R13B4 and R14B.
There are several interesting things in it:
a) What's this (this also happens with the working R13B4):
Loaded "NOT_AN_IMAGE" at address 0x7D4C0000. Cannot hook module.
b) Another error (this also happens with the working R13B4):
GetProcAddress(0x77BA0000 [MSVCRT.DLL], "_get_terminate") called
from "MSVCR80.DLL" at address 0x7813447F and returned NULL. Error: The
specified procedure could not be found (127).
c) This is the death blow:
DllMain(0x00A90000, DLL_PROCESS_ATTACH, 0x00000000) in
"BEAM.SMP.DLL" returned 0 (0x0).
d) This belogs to "c" I think
LoadLibraryA("C:\PROGRA~2\ERL58~1.1\ERTS-5~1.1\bin\beam.smp.dll")
returned NULL. Error: A dynamic link library (DLL) initialization
routine failed (1114).
I just wonder: what has changed from R13B4 to R14B to break it only on
"that" system.
"That" system is a "managed server" hosted by "1und1" using
"Virtuozzo". Somehow I believe "Virtuozzo" may be the root of this
problem.
- boris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: WERL-R13B4-profile.log
Type: text/x-log
Size: 57959 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20100927/8964d4a9/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: WERL-R14B-profile.log
Type: text/x-log
Size: 22844 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20100927/8964d4a9/attachment-0001.bin>
More information about the erlang-questions
mailing list