[Bug 25310] New: Bugs in RtlUnwindEx
http://bugs.winehq.org/show_bug.cgi?id=25310 Summary: Bugs in RtlUnwindEx Product: Wine Version: unspecified Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll AssignedTo: wine-bugs(a)winehq.org ReportedBy: mkoegler(a)auto.tuwien.ac.at MSDN (http://msdn.microsoft.com/en-us/library/ms680615(VS.85).aspx) describes the passed context as scratch-space, not something that the application has to initialize. The wine implemetation expect a valid context. Looking at the debug output, it is also clearly visible, that the wine implementation unwinds the stack pointer one stack frame to far. The attached patch fixes these problems: * RtlUnwindEx is called via DEFINE_REGS_ENTRYPOINT and the new context is used as starting point. * Stay at the same context, if the target stack frame has been reached. There have been more infomation about the internal of RtlUnwindEx published: http://www.nynaeve.net/?p=113 The patch make RtlUnwindEx more compilant with this description - it is still incomplete. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=25310 --- Comment #1 from mkoegler(a)auto.tuwien.ac.at 2010-11-26 15:51:38 CST --- Created an attachment (id=32148) --> (http://bugs.winehq.org/attachment.cgi?id=32148) Patch for RtlUnwindEx -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=25310 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch --- Comment #2 from Austin English <austinenglish(a)gmail.com> 2010-11-26 20:19:50 CST --- Patches should be sent to wine-patches(a)winehq.org. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=25310 --- Comment #3 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2010-11-27 07:15:26 CST --- Wine version? Is that a pure theoretical problem or you have an application and a test case showing the bug? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=25310 --- Comment #4 from mkoegler(a)auto.tuwien.ac.at 2010-11-27 10:04:44 CST --- The patch is for a GIT snapshot - somewhere between 1.3.7 and 1.3.8. Its enough to allow one program at my site to run without segfaulting under Linux too. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=25310 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.3.7 --- Comment #5 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2010-11-29 02:14:16 CST --- (In reply to comment #4)
The patch is for a GIT snapshot - somewhere between 1.3.7 and 1.3.8.
Its enough to allow one program at my site to run without segfaulting under Linux too.
Please provide a test case to prove that the patch is correct. Patches are not picked up from bugzilla, they should be sent to wine-patches, or if you need a review to wine-devel. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=25310 --- Comment #6 from butraxz(a)gmail.com 2013-06-21 15:10:15 CDT --- This ticket has not been updated for over 900 days. Is this still an issue in wine version 1.6-rc3 or higher or is this to be closed as abandoned ? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=25310 Sebastian Lackner <sebastian(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian(a)fds-team.de --- Comment #7 from Sebastian Lackner <sebastian(a)fds-team.de> --- (In reply to mkoegler from comment #0)
Looking at the debug output, it is also clearly visible, that the wine implementation unwinds the stack pointer one stack frame to far.
It is impossible to solve this bug without further information (test application, more detailed description why specific changes are necessary, ...), but based on the description it could be similar to or a duplicate of https://bugs.winehq.org/show_bug.cgi?id=34254 . This bug is also related to Wine unwinding the stack too far. -- 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=25310 Sebastian Lackner <sebastian(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |ABANDONED --- Comment #8 from Sebastian Lackner <sebastian(a)fds-team.de> --- The problem with unwinding one frame too far was resolved in 33c3990e4d5f637807eee55367b9f49f761571ef (see bug 34254). Nevertheless, since its impossible to test without any further response I will close as abandoned. -- 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=25310 Béla Gyebrószki <gyebro69(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #9 from Béla Gyebrószki <gyebro69(a)gmail.com> --- Closing abandoned bugs. -- 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)
-
wine-bugs@winehq.org