[Bug 17765] AutoCAD 2008: Crash after closing "Selection Preview Cycling" window

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Apr 26 16:25:53 CDT 2009


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


max at veneto.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |max at veneto.com




--- Comment #3 from max at veneto.com  2009-04-26 16:25:49 ---
The problem is in dlls/shdocvw/webbrowser.c or some part related.
Commenting out the lines in 

static ULONG WINAPI WebBrowser_Release(IWebBrowser2 *iface)
{
    WebBrowser *This = WEBBROWSER_THIS(iface);
    LONG ref = InterlockedDecrement(&This->ref);
    TRACE("(%p) ref=%d\n", This, ref);

    if(!ref) {
        if(This->doc_host.document)
            IUnknown_Release(This->doc_host.document);

//        DocHost_Release(&This->doc_host);

//        WebBrowser_OleObject_Destroy(This);

//        heap_free(This);
        SHDOCVW_UnlockModule();
    }

    return ref;
}

The app don't crash anymore. Some heap corruption, I guess.

Ciao

Max


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