http://bugs.winehq.org/show_bug.cgi?id=12582
Summary: solidworks crash a startup in mshtml Product: Wine Version: 0.9.59. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: denis.bonnenfant@diderot.org
solidworks crashes a startup calling setup_nswindow in mshtml. It is a major regression, as it used to work for a long time.
I tried to force gecko installation with winetricks gecko, but it doesn't change anything (it is already installed during installation).
http://bugs.winehq.org/show_bug.cgi?id=12582
--- Comment #1 from denis bonnenfant denis.bonnenfant@diderot.org 2008-04-14 04:56:50 --- Created an attachment (id=12169) --> (http://bugs.winehq.org/attachment.cgi?id=12169) WINEDEBUG=+mshtml log
http://bugs.winehq.org/show_bug.cgi?id=12582
--- Comment #2 from Austin English austinenglish@gmail.com 2008-04-14 05:09:31 --- Please run a regression test: http://wiki.winehq.org/RegressionTesting
Is there a demo/download showing this?
http://bugs.winehq.org/show_bug.cgi?id=12582
--- Comment #3 from denis bonnenfant denis.bonnenfant@diderot.org 2008-04-14 06:23:47 --- I tested back with older versions, and that bug appears in 0.48
The strange thing is that it used to work few months ago with 0.54 So maybe there was some changes in wine-gecko too ?
http://bugs.winehq.org/show_bug.cgi?id=12582
--- Comment #4 from denis bonnenfant denis.bonnenfant@diderot.org 2008-04-14 07:00:03 ---
The strange thing is that it used to work few months ago with 0.54 So maybe there was some changes in wine-gecko too ?
Forget this : I had a path problem, so the test was made on 0.47. I never tested 0.54 since now, and the problem is really appearing version 0.48
http://bugs.winehq.org/show_bug.cgi?id=12582
denis bonnenfant denis.bonnenfant@diderot.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |urlmon Summary|solidworks crash a startup |solidworks crash at startup |in mshtml |in mshtml
http://bugs.winehq.org/show_bug.cgi?id=12582
--- Comment #5 from denis bonnenfant denis.bonnenfant@diderot.org 2008-04-15 08:49:16 --- I tested it again, installing and registering solidworks with 0.47, (the last working version), so I was able to get rid of the registration window, which displaying was the source of the crash.
So now with 0.59 it goes a little bit further, but it still crash in mshtml:setup_nswindow. I guess it is the display of the right panel with help, tooltips...
http://bugs.winehq.org/show_bug.cgi?id=12582
Austin Schuh schuh@berkeley.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |schuh@berkeley.edu
http://bugs.winehq.org/show_bug.cgi?id=12582
denis bonnenfant denis.bonnenfant@diderot.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jacek@codeweavers.com Component|urlmon |-unknown
--- Comment #6 from denis bonnenfant denis.bonnenfant@diderot.org 2008-05-12 16:39:27 --- the problem is mostly in this patch :
From: Jacek Caban jacek@codeweavers.com Date: Sat, 13 Oct 2007 01:58:55 +0000 (+0200) Subject: mshtml: Added IHTMLWindow2::get_option implementation. X-Git-Tag: wine-0.9.48~482 X-Git-Url: http://source.winehq.org/git/wine.git/?a=commitdiff_plain;h=954d4477b5054498...
setup_nswindow is called after HTMLWindow2_Release with a 0 refcount,
I was able to find a really dirty workaround :
in htmlwindows.c :
static ULONG WINAPI HTMLWindow2_Release(IHTMLWindow2 *iface) { HTMLWindow *This = HTMLWINDOW2_THIS(iface); LONG ref = InterlockedDecrement(&This->ref);
TRACE("(%p) ref=%d\n", This, ref); - if(!ref) { - list_remove(&This->entry); - heap_free(This); - } return ref; }
then there was another problem here, solved by suppressing the function...
in mshtml/navigate.c :
static HRESULT WINAPI BindStatusCallback_OnStartBinding(IBindStatusCallback *iface, DWORD dwReserved, IBinding *pbind) { BSCallback *This = STATUSCLB_THIS(iface); + FIXME("(%p)->(%d %p)\n", This, dwReserved, pbind); + return E_NOTIMPL; - TRACE("(%p)->(%d %p)\n", This, dwReserved, pbind); - - IBinding_AddRef(pbind); - This->binding = pbind; - - if(This->doc) - list_add_head(&This->doc->bindings, &This->entry); - - return This->vtbl->start_binding(This); }
It's really hacky but at least it doesn't segfault anymore !
hope that it may help somebody...
http://bugs.winehq.org/show_bug.cgi?id=12582
denis bonnenfant denis.bonnenfant@diderot.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |11991 Keywords| |regression
--- Comment #7 from denis bonnenfant denis.bonnenfant@diderot.org 2008-05-28 07:29:19 --- this bug seems to depend on bug 11991, as the application tries to render some html in the left or right panel, and there are issues with it.
http://bugs.winehq.org/show_bug.cgi?id=12582
Bug 12582 depends on bug 11991, which changed state.
Bug 11991 Summary: OpenGL regression in Hitman 2 and Hitman 3 http://bugs.winehq.org/show_bug.cgi?id=11991
What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
http://bugs.winehq.org/show_bug.cgi?id=12582
denis bonnenfant denis.bonnenfant@diderot.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #8 from denis bonnenfant denis.bonnenfant@diderot.org 2008-07-12 07:18:09 --- It seems to be fixed in 1.1.1
Nice work, Thanks !
Maybe sometimes Solidworks will be useable with Wine...
http://bugs.winehq.org/show_bug.cgi?id=12582
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org 2008-07-25 13:04:05 --- Closing bugs fixed in 1.1.2.