http://bugs.winehq.org/show_bug.cgi?id=11930
Summary: Unhandled page fault on read access to 0x00000001 Product: Wine Version: 0.9.57. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: cardcaptorstacey@gmail.com
Created an attachment (id=11234) --> (http://bugs.winehq.org/attachment.cgi?id=11234) Error returned in Konsole
Program does not load at all
http://bugs.winehq.org/show_bug.cgi?id=11930
--- Comment #1 from Timo-Heikki Mäkelä imaxfun@gmail.com 2008-03-08 16:00:45 --- Which application?
http://bugs.winehq.org/show_bug.cgi?id=11930
--- Comment #2 from Stacey cardcaptorstacey@gmail.com 2008-03-08 16:08:30 --- Sam & Max. The location of the file is in the attachment
http://bugs.winehq.org/show_bug.cgi?id=11930
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk
--- Comment #3 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-03-08 17:41:26 --- Hi, you filed an exact dupe of your own bug...
I wonder what happens if you apply the patch below. The api is undocument and i wonder what would happen if we would just hide it.
diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec index 112efbf..2267cf3 100644 --- a/dlls/kernel32/kernel32.spec +++ b/dlls/kernel32/kernel32.spec @@ -461,8 +461,8 @@ @ stub GetConsoleFontInfo @ stub GetConsoleFontSize @ stub GetConsoleHardwareState -@ stdcall GetConsoleInputExeNameA(long ptr) -@ stdcall GetConsoleInputExeNameW(long ptr) +#@ stdcall GetConsoleInputExeNameA(long ptr) +#@ stdcall GetConsoleInputExeNameW(long ptr) @ stdcall GetConsoleInputWaitHandle() @ stdcall GetConsoleKeyboardLayoutNameA(ptr) @ stdcall GetConsoleKeyboardLayoutNameW(ptr) @@ -550,7 +550,7 @@
If that doean't help,could you apply the path below. To see to what string the appname exactly resolves to? Attach the console output to this or the other bug.
diff --git a/dlls/kernel32/console.c b/dlls/kernel32/console.c index a1e2de6..d0be3fb 100644 --- a/dlls/kernel32/console.c +++ b/dlls/kernel32/console.c @@ -1004,7 +1004,7 @@ BOOL WINAPI GetConsoleInputExeNameW(DWORD buflen, LPWSTR buffer) if (buflen > strlenW(input_exe)) strcpyW(buffer, input_exe); else SetLastError(ERROR_BUFFER_OVERFLOW); RtlLeaveCriticalSection(&CONSOLE_CritSect); - +FIXME("%s\n",debugstr_w(buffer)); return TRUE; }
http://bugs.winehq.org/show_bug.cgi?id=11930
--- Comment #4 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-03-08 18:00:51 --- I forgot to say, before you apply second patch , first apply this one (it's Hans' patch from previous bug):
http://bugs.winehq.org/attachment.cgi?id=9954
http://bugs.winehq.org/show_bug.cgi?id=11930
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Unhandled page fault on read|sam and max crashes on |access to 0x00000001 |startup
http://bugs.winehq.org/show_bug.cgi?id=11930
--- Comment #5 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-03-09 04:45:50 --- I wrote tiny test, and Hans' patch resolves name of the executable correctly. So the cause of the crash probably lies somehwere else.
Stacey, could you apply Hans' patch,and then run with WINEDEBUG=+relay,+seh,+tid wine appname.exe &>log, and attach the bzipped2 log file to this bug. thx
http://bugs.winehq.org/show_bug.cgi?id=11930
--- Comment #6 from Austin English austinenglish@gmail.com 2008-06-09 16:18:28 --- Is this still an issue in current (1.0-rc4) or newer wine?
http://bugs.winehq.org/show_bug.cgi?id=11930
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |ABANDONED
--- Comment #7 from Austin English austinenglish@gmail.com 2008-12-08 04:21:16 --- Abandoned.
http://bugs.winehq.org/show_bug.cgi?id=11930
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Austin English austinenglish@gmail.com 2008-12-08 04:23:14 --- Closing.