[Bug 41637] Altium Designer 16: Wineserver stuck / not responding since 1.9.2*

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Nov 14 13:46:42 CST 2016


https://bugs.winehq.org/show_bug.cgi?id=41637

--- Comment #10 from Eugene Savelov <savelov at gmail.com> ---
Having examined linux patch-4.8.3, I found some changes to ptrace API, does
wine use it?  I found some earlier issues with wine regarding it - could this
be related?
Can't think of anything else that may affect wine in mostly hardware-related
stuff contained in linux kernel patch.



diff --git a/arch/x86/kernel/ptrace.c b/arch/x86/kernel/ptrace.c
index f79576a541ff..a1606eadd9ce 100644
--- a/arch/x86/kernel/ptrace.c
+++ b/arch/x86/kernel/ptrace.c
@@ -173,8 +173,8 @@ unsigned long kernel_stack_pointer(struct pt_regs *regs)
                return sp;

        prev_esp = (u32 *)(context);
-       if (prev_esp)
-               return (unsigned long)prev_esp;
+       if (*prev_esp)
+               return (unsigned long)*prev_esp;

        return (unsigned long)regs;
 }

-- 
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.



More information about the wine-bugs mailing list