https://bugs.winehq.org/show_bug.cgi?id=56932
Bug ID: 56932 Summary: Null pointer dereference in MiniDumpWriteDump Product: Wine Version: 9.1 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: dbghelp Assignee: wine-bugs@winehq.org Reporter: madebr@gmail.com Distribution: ---
Created attachment 76754 --> https://bugs.winehq.org/attachment.cgi?id=76754 Program Error details
When using sdlprocdump [1] to get a minidump and stackframe of a crashing program, wine segfaults inside DbgHelp.MiniDumpWriteDump.
I've attached the error when running the following crashing programming under sdlprocdump.exe. ``` int main(int argc, char *argv[]) { return argc / (argc - 1); } ```
sdlprocdump usage:
``` wine sdlprocdump.exe a.exe ```
[1] https://github.com/libsdl-org/SDL/blob/main/test/win32/sdlprocdump.c