Apache OpenOffice (AOO) Bugzilla – Issue 111589
Dll call causes OOo crash sometime, such as: Call HtmlHelp(0, "C:\Test.chm", 0, 0)
Last modified: 2013-02-24 20:56:51 UTC
Dll call causes OOo crash sometime, such as: Call HtmlHelp(0, "C:\Test.chm", 0, 0): Public Declare Function HtmlHelp Lib "hhctrl.ocx" Alias "HtmlHelpA" _ (ByVal hwndCaller As Long, ByVal pszFile As String, _ ByVal uCommand As Long, ByVal dwData As Long) As Long Sub windowsAPI() Call HtmlHelp(0, "C:\test.chm", 0, 0) End Sub I tried to delete the line "FreeDllHandle( pDll->GetHandle() )" in method "SbiDllMgr::~SbiDllMgr()" and "void SbiDllMgr::FreeDll( const ByteString& rDllName )", OOo did not crash, so I think the cause may be: The dll call is not completed(The dll call is async?), but the dll is free.
To Andreas: I am not sure the root cause I talked is right, do you have any
To Andreas: I am not sure the root cause I talked is right, do you have any idea on this issue?
Known the root cause and has a rough fix.