https://bugs.winehq.org/show_bug.cgi?id=37954
Bug ID: 37954 Summary: Unhandled exception: page fault on write access to 0x0cf00052 in 32-bit code (0x00520d30) Product: Wine Version: 1.7.34 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: anonymous.maarten@gmail.com Distribution: ---
Created attachment 50563 --> https://bugs.winehq.org/attachment.cgi?id=50563 Visual Studio 6 project, binary and wine output log
Hey,
While trying to implement msvcirt.dll, I stumbled upon a write to a null pointer.
The source of the binary is (compiled on Visual Studio 6.0, with option \MT and _MT and _DLL defined) see https://msdn.microsoft.com/en-us/library/aa272081(v=vs.60).aspx
#include <strstrea.h> int main() { ostrstream oss; return 0; }
The Visual Studio project, binary and console output are bundled in the attached tar.
The error is: wine: Unhandled page fault on write access to 0x00000000 at address 0x405000 (thread 000 9), starting debugger... Unhandled exception: page fault on write access to 0x00000000 in 32-bit code (0x00405000 ).
In current git all functions called in mscvirt are stubs. I believe that this should not cause a null pointer access.