[Bug 40620] New: Unhandled exception: page fault on read access to 0x00000001 in 32-bit code (0x00422056).
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(a)codeweavers.com Reporter: florit(a)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 ... -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=40620 florit(a)gmx.at changed: What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |SUSE -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=40620 florit(a)gmx.at changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |testcase -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=40620 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|jacek(a)codeweavers.com |wine-bugs(a)winehq.org Component|wine-gecko-unknown |-unknown Version|unspecified |1.9.7 Product|Wine-gecko |Wine -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=40620 Michael Müller <michael(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |michael(a)fds-team.de --- Comment #1 from Michael Müller <michael(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=40620 Joe Conner <joeconner2007(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |joeconner2007(a)gmail.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=40620 --- Comment #2 from Joe Conner <joeconner2007(a)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). -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=40620 florit(a)gmx.at changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |florit(a)gmx.at --- Comment #3 from florit(a)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? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=40620 Janne <janne.kekkonen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |janne.kekkonen@gmail.com --- Comment #4 from Janne <janne.kekkonen@gmail.com> --- Hello, I tested the application attached to Description with Wine 11.11 and Windows 2000. In both tests the application crashed. In Wine 11.11 backtrace was pretty much identical to one on description. Application attached to comment 3. The test was performed on a clean 64-bit prefix using Wine 11.11 running on Ubuntu MATE 24.04. The only terminal output related to the application is the following line: wine: Unhandled page fault on write access to 000000000040EF19 at address 00006FFFFEE8A489 (thread 00f4), starting debugger... Backtrace: Unhandled exception: page fault on write access to 0x000000000040ef19 in 64-bit code (0x006ffffee8a489). Register dump: rip:00006ffffee8a489 rsp:000000000031f938 rbp:0000000000000000 eflags:00010213 ( R- -- I -A- -C) rax:0000000000000000 rbx:0000000000000031 rcx:000000000040ef19 rdx:000000000031f999 rsi:000000000031f999 rdi:000000000040ef19 r8:0000000000000008 r9:000000000020778c r10:0000000000000031 r11:0000000000000001 r12:0000000000000001 r13:0000000000000008 r14:0000000000000000 r15:0000000000000000 Stack dump: 0x0000000031f938: ffffffffffffffff 000000000040ef19 0x0000000031f948: 00006ffffeec32fd 0000000000000008 0x0000000031f958: 0000000000000000 0000000000000000 0x0000000031f968: 00006ffffeec5a4f 0000000000000000 0x0000000031f978: 000000000046f618 0000000000383268 0x0000000031f988: ffffffffffffffe7 ffffffffffffffe7 0x0000000031f998: 303130313030317e 0000000000032800 0x0000000031f9a8: 00006ffffeed1029 00000000001d737e 0x0000000031f9b8: 000000000040ef19 00000000001d737e 0x0000000031f9c8: 0000000000032870 000000000031fa90 0x0000000031f9d8: 00006ffffee9b847 000000000031fa90 0x0000000031f9e8: 0000000000000001 0000000000000008 Backtrace: =>0 0x006ffffee8a489 in msvcrt (+0xa489) (0000000000000000) 1 0x006ffffeec32fd ltoa_helper+0x7d(value=<internal error>, str="H…À”À¶À÷ØHƒÄ(ÃH‹]È ", size=0xffffffffffffffff, radix=<internal error>) [/usr/src/packages/BUILD/dlls/msvcrt/string.c:3056] in msvcrt (0000000000000000) 2 0x006ffffee9b847 _itoa+0x17(value=<internal error>, str="H…À”À¶À÷ØHƒÄ(ÃH‹]È ", radix=<internal error>) [/usr/src/packages/BUILD/dlls/msvcrt/string.c:2086] in msvcrt (0x0000000031fa90) 3 0x000000004018fa in pod_client_a (+0x18fa) (0x0000000031fa90) 4 0x000000004013e8 in pod_client_a (+0x13e8) (0x00000000382f90) 5 0x000000004014eb in pod_client_a (+0x14eb) (0000000000000000) 6 0x006fffffa01549 in kernel32 (+0x11549) (0000000000000000) 7 0x006fffffbe108b in ntdll (+0x1108b) (0000000000000000) 0x006ffffee8a489 msvcrt+0xa489: movsb (%rsi), (%rdi) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=40620 Janne <janne.kekkonen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|janne.kekkonen@gmail.com | -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=40620 Ken Sharp <imwellcushtymelike@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #5 from Ken Sharp <imwellcushtymelike@gmail.com> --- (In reply to Michael Müller from comment #1)
Have you tested the application on Windows? I don't think it can work on Windows this way.
Asked in 2016. Received no answer. (In reply to Janne from comment #4)
I tested the application attached to Description with Wine 11.11 and Windows 2000. In both tests the application crashed. In Wine 11.11 backtrace was pretty much identical to one on description.
Thanks, Janne. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=40620 Austin English <austinenglish@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #6 from Austin English <austinenglish@gmail.com> --- Closing. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla