http://bugs.winehq.org/show_bug.cgi?id=24738
Summary: pdfedit crashes (dogfood) Product: Wine Version: 1.3.2 Platform: x86 URL: http://www.cadkas.com/pdfedit!.exe OS/Version: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: ntdll AssignedTo: wine-bugs@winehq.org ReportedBy: xerox_xerox2000@yahoo.co.uk
The program crashes on start with: err:seh:setup_exception_record stack overflow 880 bytes in thread 0009 eip 685caf82 esp 00230fc0 stack 0x230000-0x231000-0x330000
A relay log shows a million of calls to NtQuerySystemInformation just before this happens.
A stupid hack like below makes the application start fine. So something must be unexpectedly be delivered by NtQuerySystemInformation which makes pdfedit unhappy
diff --git a/dlls/ntdll/nt.c b/dlls/ntdll/nt.c index b323c23..e89df02 100644 --- a/dlls/ntdll/nt.c +++ b/dlls/ntdll/nt.c @@ -1321,7 +1321,7 @@ NTSTATUS WINAPI NtQuerySystemInformation( OUT PVOID SystemInformation, IN ULONG Length, OUT PULONG ResultLength) -{ +{return E_NOTIMPL; NTSTATUS ret = STATUS_SUCCESS; ULONG len = 0;