[Bug 16164] New: Sketchup 7 crashes when you click "Start using Sketchup"

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Nov 22 17:29:48 CST 2008


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

           Summary: Sketchup 7 crashes when you click "Start using Sketchup"
           Product: Wine
           Version: 1.1.9
          Platform: Other
               URL: http://sketchup.google.com
        OS/Version: other
            Status: NEW
          Keywords: download
          Severity: normal
          Priority: P2
         Component: mshtml
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: dank at kegel.com


This is the first bug people run into.
(The next one is bug 14045.)

When you start SketchUp, it puts up a dialog saying 
"Welcome to Sketchup".  When you click "Start using Sketchup",
it crashes before putting up the main window.

You can work around it by checking "Don't show this again",
and then running the app again, but it would be nice if that
wasn't needed.

Mike Hearn said the cause was mshtml wasn't refcounted 
properly, so I checked... and he's right.  Hacking DLLCanUnloadNow
in mshtml to always return S_FALSE, like this,

diff --git a/dlls/mshtml/main.c b/dlls/mshtml/main.c
@@ -231,7 +231,7 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID
riid, LPVOID *ppv)
 HRESULT WINAPI DllCanUnloadNow(void)
 {
     TRACE("() ref=%d\n", module_ref);
-    return module_ref ? S_FALSE : S_OK;
+    return S_FALSE; //module_ref ? S_FALSE : S_OK;

gets you past the crash.  So presumably it's an mshtml
bug.  (In honor of this bug, I created an mshtml category in
bugzilla finally...)


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