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@winehq.org ReportedBy: dank@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...)