[Bug 23707] New: stack overflow when destroying a window whose owner is itself

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jul 18 17:59:42 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=23707

           Summary: stack overflow when destroying a window whose owner is
                    itself
           Product: Wine
           Version: 1.2
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Keywords: download, source, testcase
          Severity: normal
          Priority: P2
         Component: user32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: madewokherd at gmail.com


Created an attachment (id=29697)
 --> (http://bugs.winehq.org/attachment.cgi?id=29697)
testcase (C source)

File this one under "crazy situations created by the mono test suite".

If you create a window, change its parent to itself (using SetWindowLong[Ptr]
with GWL[P]_HWNDPARENT), and then destroy the window, DestroyWindow recurses
infinitely and causes a stack overflow.

Test case attached.

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



More information about the wine-bugs mailing list