[Bug 44530] New: Every time I launch ANY wine application I get an error popup
https://bugs.winehq.org/show_bug.cgi?id=44530 Bug ID: 44530 Summary: Every time I launch ANY wine application I get an error popup Product: Wine Version: 2.1 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: pszudzik(a)throwarock.com Distribution: --- Created attachment 60484 --> https://bugs.winehq.org/attachment.cgi?id=60484 Bug dump Every time I launch ANY wine application I get an error popup. I don't have any fonts either in any windows program that uses a list of fonts -- 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=44530 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|2.1 |2.18 --- Comment #1 from Austin English <austinenglish(a)gmail.com> --- =>0 0x000000000068b8c6 in hardlock.sys (+0x4b8c6) (0x000000000053e120) Looks like something you installed installed a system driver that's crashing. -- 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=44530 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4(a)web.de Status|UNCONFIRMED |NEEDINFO Ever confirmed|0 |1 --- Comment #2 from Fabian Maurer <dark.shadow4(a)web.de> ---
Looks like something you installed installed a system driver that's crashing. This. Please retry in a clean WINEPREFIX, when you find out which installed program maybe you can report that as issue. But like it is, the only thing we can tell you is that your wine installation is most likely broken.
-- 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=44530 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |ntoskrnl Summary|Every time I launch ANY |64-bit Sentinel HASP |wine application I get an |hardlock.sys kernel driver |error popup |tries to access to DR7 (not | |handled in ntoskrnl | |emulate_instruction) CC| |focht(a)gmx.net URL| |ftp://ftp.aladdin.com/pub/a | |laddin.de/hardlock/hldrv32. | |zip Keywords| |download, hardware, | |obfuscation, win64 Status|NEEDINFO |NEW Hardware|x86 |x86-64 --- Comment #3 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, confirming. It's essentially the 64-bit case of bug 35842 ("Sentinel HASP hardlock.sys kernel driver (bundled with Kompas-3D v14) tries to access to DR7 (not handled in ntoskrnl emulate_instruction)") https://source.winehq.org/git/wine.git/commitdiff/bd6e1976b379527f3327fafe5e... --- snip --- Unhandled exception: page fault in 64-bit code (0x000000000068b8c6). Register dump: rip:000000000068b8c6 rsp:000000000053df50 rbp:000000000053e120 eflags:00010206 ( R- -- I - -P- ) rax:0000000000000400 rbx:000000000068c91d rcx:000000000068b9de rdx:000000000068c135 rsi:000000000068c135 rdi:000000000068b9de r8:00000000000007e8 r9:000000000068b9de r10:000000000004cc00 r11:0000000000013478 r12:00000000000131b0 r13:0000000000000000 r14:0000000000013318 r15:000000000068b9de Stack dump: ... Backtrace: =>0 0x000000000068b8c6 in hardlock.sys (+0x4b8c6) (0x000000000053e120) 0x000000000068b8c6: movl %eax,%dr7 Modules: Module Address Debug info Name (26 modules) PE 640000- 68cc00 Export hardlock.sys ELF 7b400000- 7b812000 Deferred kernel32<elf> \-PE 7b420000- 7b812000 \ kernel32 ELF 7bc00000- 7bd1a000 Deferred ntdll<elf> \-PE 7bc20000- 7bd1a000 \ ntdll ELF 7c000000- 7c004000 Deferred <wine-loader> ELF 7ffbc6438000- 7ffbc6650000 Deferred hal<elf> \-PE 7ffbc6440000- 7ffbc6650000 \ hal ELF 7ffbc6650000- 7ffbc68e7000 Deferred rpcrt4<elf> \-PE 7ffbc6660000- 7ffbc68e7000 \ rpcrt4 ELF 7ffbc68e7000- 7ffbc6b3e000 Deferred ntoskrnl<elf> \-PE 7ffbc6900000- 7ffbc6b3e000 \ ntoskrnl ... Threads: process tid prio (all id:s are in hex) ... 00000011 (D) C:\windows\system32\winedevice.exe 00000019 0 <== 00000017 0 00000016 0 00000012 0 --- snip --- The instruction decoding is obviously the same. --- snip --- 00000000006CB8C6 0F 23 F8 mov dr7,rax --- snip --- The 64-bit variant of 'emulate_instruction' doesn't have the decoding of 0x23 + drX cases: https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/ntoskrnl.exe/instr.c#... $ sha1sum hldrv32.zip 7186efb2b6b2db2d05a788c6ee49606eed85f717 hldrv32.zip $ du -sh hldrv32.zip 4.9M hldrv32.zip $ wine --version wine-3.1-316-g65989f2ace Regards -- 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=44530 --- Comment #4 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, recently there was some refactoring work on the 32-bit emulate_instruction to fix bug 44636 0x0f 0x20-0x2f 20: MOV Rd,Cd 21: MOV Rd,Dd 22: MOV Cd,Rd 23: MOV Dd,Rd https://source.winehq.org/git/wine.git/commitdiff/9f103a9e78e4e337026828f15c... ("ntoskrnl.exe: More general implementation of the CRn and DRn registers.") https://source.winehq.org/git/wine.git/commitdiff/0cbb5d0a146ebb2a80712cab7e... ("ntoskrnl.exe: Add a helper function for accessing registers.") Sadly the 64-bit emulate_instruction lacks it entirely. https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/ntoskrnl.exe/instr.c#... $ wine --version wine-3.3 Regards -- 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=44530 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Staged patchset| |https://github.com/wine-sta | |ging/wine-staging/blob/mast | |er/patches/ntdll-x86_64_Exc | |eptionInformation/0004-ntdl | |l-Correctly-handle-privileg | |ed-instructions-on-x8.patch Status|NEW |STAGED --- Comment #5 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, there is a poor man's version for handling privileged instructions on x86_64 buried in between various other (unrelated) patches: https://github.com/wine-staging/wine-staging/tree/master/patches/ntdll-x86_6... Specifically: https://github.com/wine-staging/wine-staging/blob/master/patches/ntdll-x86_6... Marking 'Staged' for this one patch only. The whole patchset has rather questionable traceability. There is no information which apps/games really need this. Regards -- 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=44530 --- Comment #6 from Paul Szudzik <pszudzik(a)throwarock.com> --- I'm using a very limited set of Wine applications on Ubuntu. I have Carbide Create, Helicon Remote andI attempted DeskEngrave. So, I am unclear as to the state of this bug report. It looks like it is a relative bug that has been resolved on an x86 platform, so not sure if it will be handled on an x64? I am willing to try any patch. Thanks.. -- 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=44530 Zebediah Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12(a)gmail.com --- Comment #7 from Zebediah Figura <z.figura12(a)gmail.com> --- (In reply to Anastasius Focht from comment #5)
The whole patchset has rather questionable traceability. There is no information which apps/games really need this.
It was originally for Overwatch (apparently); it was submitted by Andrew Wesie here: https://www.winehq.org/pipermail/wine-patches/2016-November/155819.html and subsequently broken up by Michael Müller. The first patch was added before the others; it seems to be a way to make ntdll-Builtin_Prot (also for Overwatch, Wine bug 44650) more correct. -- 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=44530 Zebediah Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |NEW Staged patchset|https://github.com/wine-sta | |ging/wine-staging/blob/mast | |er/patches/ntdll-x86_64_Exc | |eptionInformation/0004-ntdl | |l-Correctly-handle-privileg | |ed-instructions-on-x8.patch | --- Comment #8 from Zebediah Figura <z.figura12(a)gmail.com> --- Wrong exception code is fixed by 2f870c1801c8d455faadd6c301aad318f287713b. The only visible effect this has, of course, is that now winedbg correctly reports the exception as a privileged instruction rather than a page fault. Removing STAGED status accordingly. -- 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=44530 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |ce09790d29630a6a4c0cd49459a | |fc2097700ad10 Resolution|--- |FIXED --- Comment #9 from Alexandre Julliard <julliard(a)winehq.org> --- It should be fixed by ce09790d29630a6a4c0cd49459afc2097700ad10. -- 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=44530 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #10 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 3.6. -- 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=44530 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |3.0.x -- 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=44530 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.x |--- --- Comment #11 from Michael Stefaniuc <mstefani(a)winehq.org> --- Removing the 3.0.x milestone from bugs included in 3.0.2. -- 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=44530 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mcseport(a)gmail.com --- Comment #12 from Anastasius Focht <focht(a)gmx.net> --- *** Bug 40541 has been marked as a duplicate of this 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.
https://bugs.winehq.org/show_bug.cgi?id=44530 --- Comment #13 from Anastasius Focht <focht(a)gmx.net> --- *** Bug 40542 has been marked as a duplicate of this 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.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla