https://bugs.winehq.org/show_bug.cgi?id=40620
Bug ID: 40620 Summary: Unhandled exception: page fault on read access to 0x00000001 in 32-bit code (0x00422056). Product: Wine-gecko Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-gecko-unknown Assignee: jacek@codeweavers.com Reporter: florit@gmx.at Distribution: ---
Created attachment 54479 --> https://bugs.winehq.org/attachment.cgi?id=54479 the test project Console W32 cout some msg
Simple ... i work on some App that rewrites some exe but enough from this. the Backtrace from the Applikation gives me some information About the crash in wine-1.9.7 Linux / OpenSuSe 13.2 .
it's a win32 app that give me no idea why it dosen't should work. here the Backtrace: =>0 0x00422056 in output_a (+0x22056) (0x006df908) 1 0x004018e7 in output_a (+0x18e6) (0x006dfd88) 2 0x004013e2 in output_a (+0x13e1) (0x006dfe60) 3 0x7b465ecc call_process_entry+0xb() in kernel32 (0x006dfe78) 4 0x7b466fd3 in kernel32 (+0x46fd2) (0x006dfeb8) 5 0x7bc86020 call_thread_func_wrapper+0xb() in ntdll (0x006dfed8) 6 0x7bc8922d call_thread_func+0x7c() in ntdll (0x006dffa8) 7 0x7bc85ffe RtlRaiseException+0x21() in ntdll (0x006dffc8) 8 0x7bc5785e call_dll_entry_point+0x3fd() in ntdll (0x006dffe8) 9 0xf75453ad wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000) 10 0xf754546b wine_switch_to_stack+0x2a() in libwine.so.1 (0xffe5b4d8) 11 0x7bc5dc89 LdrInitializeThunk+0x238() in ntdll (0xffe5b518) 12 0x7b46d883 __wine_kernel_init+0xa12() in kernel32 (0xffe5c638) 13 0x7bc5eb83 __wine_process_init+0x192() in ntdll (0xffe5c6c8) 14 0xf7543220 wine_init+0x29f() in libwine.so.1 (0xffe5c728) 15 0x7c000c1c main+0x8b() in <wine-loader> (0xffe5cb78) 16 0xf735a993 __libc_start_main+0xf2() in libc.so.6 (0x00000000)
I got no idea whats wrong! My modifyer or wine.
now marked as bug for the moment ;)
G()()D DAY and a lot of Work ...
https://bugs.winehq.org/show_bug.cgi?id=40620
florit@gmx.at changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |SUSE
https://bugs.winehq.org/show_bug.cgi?id=40620
florit@gmx.at changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |testcase
https://bugs.winehq.org/show_bug.cgi?id=40620
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|jacek@codeweavers.com |wine-bugs@winehq.org Component|wine-gecko-unknown |-unknown Version|unspecified |1.9.7 Product|Wine-gecko |Wine
https://bugs.winehq.org/show_bug.cgi?id=40620
Michael Müller michael@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |michael@fds-team.de
--- Comment #1 from Michael Müller michael@fds-team.de --- Have you tested the application on Windows? I don't think it can work on Windows this way.
My guess is that this is an application bug, but it is a bit hard to tell without the source code. The crash happens in your runPE::run function. You try to check if the the passed buffer (second parameter) starts with MZ. You implemented the comparison using a short or WORD as data type and therefore you need to cast the pointer to a WORD* or short* pointer. Judging from the assembler code, you do not only cast the pointer but also cast the value of the pointer, i.e. you remove the higher 16 bits from the address. The address is therefore invalid and it will crash.
https://bugs.winehq.org/show_bug.cgi?id=40620
Joe Conner joeconner2007@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |joeconner2007@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=40620
--- Comment #2 from Joe Conner joeconner2007@gmail.com --- Created attachment 54533 --> https://bugs.winehq.org/attachment.cgi?id=54533 Unhandled exception: page fault on read access to 0x00000001 in 32-bit code (0xf750c5d3).
Unhandled exception: page fault on read access to 0x00000001 in 32-bit code (0xf750c5d3).
https://bugs.winehq.org/show_bug.cgi?id=40620
florit@gmx.at changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |florit@gmx.at
--- Comment #3 from florit@gmx.at --- Created attachment 54545 --> https://bugs.winehq.org/attachment.cgi?id=54545 refubished Version of modifyer with SSL Socket File Transfer Client
take a closer look on the Project
and there is too a "page fault on access"
let me riddle ... iv'e programmed wrong this application
but there is no build error what i can trace back to his problem. NO Warning else nothing ... it makes no sense when i hold on logic of code
There is always some error ... looks MAD but i do not know better than i ask again:
ist this a bug?