https://bugs.winehq.org/show_bug.cgi?id=54482
Bug ID: 54482 Summary: RtlCaptureStackBackTrace cause segv Product: Wine Version: 8.1 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: ake.rehnman@gmail.com Distribution: ---
Created attachment 74033 --> https://bugs.winehq.org/attachment.cgi?id=74033 patch attempt
RtlCaptureStackBackTrace crash on segmentation fault because the unwinding keeps going beyond the stack end. It seems on x86-64 the stack actually starts at least 32 bytes below StackBase so the compariston with context.rsp to StackBase will never hit but we get a context.rpc value of 0 which obviously SEGV:s.
I made a patch attempt and just check if rcp = 0 and end the unwinding.
https://bugs.winehq.org/show_bug.cgi?id=54482
ake.rehnman@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #74033|0 |1 is patch| |
https://bugs.winehq.org/show_bug.cgi?id=54482
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- Is this still an issue? If so, how to reproduce?
https://bugs.winehq.org/show_bug.cgi?id=54482
--- Comment #2 from ake.rehnman@gmail.com --- I do not know if it still is an issue. I have not worked on this project for a year at least.