[Bug 34425] Visual C++ 2010 Express crashes on clicking 'Help / Samples'

WineHQ Bugzilla wine-bugs at winehq.org
Sun Mar 28 12:13:21 CDT 2021


https://bugs.winehq.org/show_bug.cgi?id=34425

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|-unknown                    |ieframe
                 CC|                            |focht at gmx.net
                URL|https://debian.fmi.uni-sofi |https://web.archive.org/web
                   |a.bg/~aangelov/VS2010Expres |/20111016110147/http://down
                   |s1.iso                      |load.microsoft.com/download
                   |                            |/1/E/5/1E5F1C0A-0D5B-426A-A
                   |                            |603-1798B951DDAE/VS2010Expr
                   |                            |ess1.iso
           Keywords|                            |dotnet

--- Comment #4 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

the crash from the initial report was likely fixed a long time ago. Even after
many years it didn't really progress here though. Some of the current issues
are related to IOleInPlaceActiveObject insufficiencies.

--- quote ---
wine-6.5 it doesn't crash, but instead brings up an error saying "The method or
operation is not implemented."
--- quote ---

That's due to 'IOleInPlaceActiveObject::OnDocWindowActivate' being an
unimplemented method stub. That's on the container teardown path which is the
result of earlier failures. Worse, some of the 'FIXME' method stubs return
S_OK, making it even harder to spot.

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files (x86)/Microsoft Visual Studio
10.0/Common7/IDE

$ WINEDEBUG=+seh,+relay,+ieframe,+ole,+variant,+mshtml,+jscript wine
./VCExpress.exe 
...
0124:trace:ieframe:OleObject_DoVerb (103E8B78)->(-1 00000000 0522D70C 0
000100F0 (10,10)-(900,900))
0124:trace:ieframe:OleObject_DoVerb OLEIVERB_SHOW
...
0124:trace:seh:dispatch_exception code=e0434352 flags=1 addr=7B0101C8
ip=7b0101c8 tid=0124
0124:trace:seh:dispatch_exception  info[0]=80004021
0124:trace:seh:dispatch_exception  info[1]=00000000
0124:trace:seh:dispatch_exception  info[2]=00000000
0124:trace:seh:dispatch_exception  info[3]=00000000
0124:trace:seh:dispatch_exception  info[4]=79140000
0124:warn:seh:dispatch_exception unknown exception (code=e0434352) raised
0124:trace:seh:dispatch_exception  eax=0033c9e4 ebx=00000005 ecx=0033cad0
edx=00000014 esi=00000005 edi=0033ca50
0124:trace:seh:dispatch_exception  ebp=0033ca38 esp=0033c9e4 cs=7bc50023
ds=33002b es=7bc3002b fs=330063 gs=006b flags=00000216
0124:trace:seh:call_vectored_handlers calling handler at 791F5A7C code=e0434352
flags=1 
...
0124:fixme:ieframe:InPlaceActiveObject_ResizeBorder (103E8B78)->(0033D8D4
01E502D8 1) 
...
0124:fixme:ieframe:InPlaceActiveObject_OnDocWindowActivate (103E8B78)->(1) 
...
0124:trace:seh:dispatch_exception code=e0434352 flags=1 addr=7B0101C8
ip=7b0101c8 tid=0124
0124:trace:seh:dispatch_exception  info[0]=80004001
0124:trace:seh:dispatch_exception  info[1]=00000000
0124:trace:seh:dispatch_exception  info[2]=00000000
0124:trace:seh:dispatch_exception  info[3]=00000000
0124:trace:seh:dispatch_exception  info[4]=79140000
0124:warn:seh:dispatch_exception unknown exception (code=e0434352) raised 
...
0124:fixme:ieframe:OleInPlaceObject_InPlaceDeactivate (103E8B78)
...
0124:trace:ieframe:OleObject_Unadvise (103E8B78)->(1)
0124:trace:ole:OleAdviseHolderImpl_Unadvise (103A7568)->(1)
...
0124:Call atl100.AtlUnadvise(103e8b78,36ab5bf4,00000001) ret=36d5a4ce
...
0124:trace:ieframe:OleObject_Close (103E8B78)->(1)
0124:trace:ieframe:OleObject_SetClientSite (103E8B78)->(00000000)
0124:Call user32.DestroyWindow(000100f4) ret=0abc3ec4
...
0124:Ret  user32.DestroyWindow() retval=00000001 ret=0abd63d4
0124:trace:ieframe:on_commandstate_change command=2 enable=0
0124:trace:ieframe:on_commandstate_change command=1 enable=0
0124:trace:ole:OleAdviseHolderImpl_SendOnClose (103A7568)->()
...
0124:trace:ieframe:OleObject_SetClientSite (103E8B78)->(00000000)
...
0124:fixme:ieframe:OleInPlaceObject_InPlaceDeactivate (103E8B78) 
...
0124:Call winex11.drv.SetWindowText(0001010e,103a9290 L"The method or operation
is not implemented.") ret=0085f82e 
--- snip ---

Wine source:

https://source.winehq.org/git/wine.git/blob/71d41b37a1917cdf20cdb171dc73c20dbfdaeefa:/dlls/ieframe/oleobject.c#l1155

--- snip ---
1155 static HRESULT WINAPI
InPlaceActiveObject_ResizeBorder(IOleInPlaceActiveObject *iface,
1156         LPCRECT lprcBorder, IOleInPlaceUIWindow *pUIWindow, BOOL
fFrameWindow)
1157 {
1158     WebBrowser *This = impl_from_IOleInPlaceActiveObject(iface);
1159     FIXME("(%p)->(%p %p %x)\n", This, lprcBorder, pUIWindow,
fFrameWindow);
1160     return E_NOTIMPL;
1161 }
--- snip ---

$ sha1sum VS2010Express1.iso 
adef5e361a1f64374f520b9a2d03c54ee43721c6  VS2010Express1.iso

$ du -sh VS2010Express1.iso
694M    VS2010Express1.iso

$ wine --version
wine-6.5

Regards

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