[Bug 59792] New: Sentinel HASP 'hardlock.sys' kernel driver fails to load, because of segfault in IsBadReadPtr.
http://bugs.winehq.org/show_bug.cgi?id=59792 Bug ID: 59792 Summary: Sentinel HASP 'hardlock.sys' kernel driver fails to load, because of segfault in IsBadReadPtr. Product: Wine Version: 11.9 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@list.winehq.org Reporter: bernhardu@mailbox.org Distribution: --- Looking at bug #59791 I came to bug #50201 and tried if that may already be fixed. But the installer did not even install the aksfridge driver, because the hardlock driver failed already before, because below instruction receives a segfault while storing some context: 1: x/i $pc => 0x6fffffa84fbb <__wine_setjmpex+59>: movdqa %xmm6,0x60(%rcx) (rr) bt #0 __wine_setjmpex () from dlls/kernel32/x86_64-windows/kernel32.dll #1 IsBadReadPtr (ptr=0x6ffffe3ff000, size=1) at dlls/kernel32/virtual.c:91 #2 MmIsAddressValid at dlls/ntoskrnl.exe/ntoskrnl.c:2978 (rr) print/x $rcx $1 = 0x7ffffec2fa68 I wondered if this could be an alignemnt issue, I added following just to get a even value in $rcx, and it looks like it avoided the segfault. __ASM_GLOBAL_FUNC( __wine_setjmpex, + "andq $~15,%rcx\n\t" "movq %rdx,(%rcx)\n\t" /* jmp_buf->Frame */ But I am not sure how a proper fix should look like, or if IsBadReadPtr is supposed to work under that condition. -- 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=59792 Bernhard Übelacker <bernhardu@mailbox.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |https://web.archive.org/web | |/20201125113604/http://www. | |argusone.com/pub/Add_PC_Fil | |es/Sentinel_HASP_Run-time_s | |etup/HASPUserSetup.exe -- 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 (1)
-
WineHQ Bugzilla