tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 63625] Unable to start Tomcat 7.0.96 (stop by 0xc0000005)
Date Mon, 02 Sep 2019 09:36:04 GMT

--- Comment #18 from Norimasa Yamamoto <> ---
I checked WPUTENV prototype.

In src\native\windows\include\apwin.h
typedef int (__stdcall *WPUTENV) (const wchar_t *env);

But I disassembled from ucrtbase.dll!_wputenv om x86 platform,
it seems to be _cdecl (=calling args should be destroyed by caller).

This mismatch will cause stack corruption after calling wputenv_ucrt
on x86. This should be root cause, I think.
(On x64, first few calling args are passed by registers.)

Changing prototype will fix the error from stack corruption.
However, environment block manipulation is not work on AdoptOpenJDK,
because it is depending on msvcr120.dll.

You are receiving this mail because:
You are the assignee for the bug.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message