https://bugs.documentfoundation.org/show_bug.cgi?id=169876

Mike Kaganski <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #11 from Mike Kaganski <[email protected]> ---
Noel: on Windows, loading the bugdoc sometimes produces an assert with

> vclplug_winlo.dll!WinSalFrame::AcquireGraphics() Line 1023    C++
> vcllo.dll!vcl::WindowOutputDevice::AcquireGraphics() Line 837 C++
> vcllo.dll!OutputDevice::HasMirroredGraphics() Line 662        C++
> vcllo.dll!vcl::Window::ImplPosSizeWindow(__int64 nX, __int64 nY, __int64 
> nWidth, __int64 nHeight, PosSizeFlags nFlags) Line 1524      C++
> vcllo.dll!vcl::Window::setPosSizePixel(__int64 nX, __int64 nY, __int64 
> nWidth, __int64 nHeight, PosSizeFlags nFlags) Line 2807        C++
> vcllo.dll!DockingWindow::setPosSizePixel(__int64 nX, __int64 nY, __int64 
> nWidth, __int64 nHeight, PosSizeFlags nFlags) Line 829       C++
> vcllo.dll!vcl::Window::SetPosSizePixel(const Point & rNewPos, const Size & 
> rNewSize) Line 1354        C++
> fwklo.dll!framework::ToolbarLayoutManager::implts_calcWindowPosSizeOnSingleRowColumn(long
>  nDockingArea, long nOffset, 
> framework::ToolbarLayoutManager::SingleRowColumnWindowData & 
> rRowColumnWindowData, const Size & rContainerSize) Line 2541       C++
> fwklo.dll!framework::ToolbarLayoutManager::doLayout(const Size & 
> aContainerSize) Line 229     C++
> fwklo.dll!framework::LayoutManager::implts_doLayout(bool 
> bForceRequestBorderSpace, bool bOuterResize) Line 2323       C++
> fwklo.dll!framework::LayoutManager::implts_doLayout_notify(bool bOuterResize) 
> Line 2212       C++
> fwklo.dll!framework::LayoutManager::unlock() Line 2195        C++
> embobj.dll!embeddedobj::DocumentHolder::GetDocFrame() Line 868        C++
> embobj.dll!embeddedobj::DocumentHolder::Show() Line 1012      C++
> embobj.dll!OCommonEmbeddedObject::SwitchStateTo_Impl(long nNextState) Line 
> 334        C++
> embobj.dll!OCommonEmbeddedObject::changeState(long nNewState) Line 523        
> C++
> dbalo.dll!dbaccess::ODocumentDefinition::onCommandOpenSomething(const 
> com::sun::star::uno::Any & _rOpenArgument, const bool _bActivate, const 
> com::sun::star::uno::Reference<com::sun::star::ucb::XCommandEnvironment> & 
> _rxEnvironment) Line 933     C++
> dbalo.dll!dbaccess::ODocumentDefinition::execute(const 
> com::sun::star::ucb::Command & aCommand, long CommandId, const 
> com::sun::star::uno::Reference<com::sun::star::ucb::XCommandEnvironment> & 
> Environment) Line 997        C++
> dbalo.dll!dbaccess::ODocumentContainer::loadComponentFromURL(const 
> rtl::OUString & _sURL, const rtl::OUString & __formal, long __formal, const 
> com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> & 
> Arguments) Line 552      C++
> dbulo.dll!dbaui::OLinkedDocumentsAccess::impl_open(const rtl::OUString & 
> _rLinkName, com::sun::star::uno::Reference<com::sun::star::lang::XComponent> 
> & _xDefinition, dbaui::ElementOpenMode _eOpenMode, const 
> comphelper::NamedValueCollection & _rAdditionalArgs) Line 145  C++
> dbulo.dll!dbaui::OLinkedDocumentsAccess::open(const rtl::OUString & 
> _rLinkName, com::sun::star::uno::Reference<com::sun::star::lang::XComponent> 
> & _xDefinition, dbaui::ElementOpenMode _eOpenMode, const 
> comphelper::NamedValueCollection & _rAdditionalArgs) Line 297       C++
> dbulo.dll!dbaui::OApplicationController::openElementWithArguments(const 
> rtl::OUString & _sName, dbaui::ElementType _eType, dbaui::ElementOpenMode 
> _eOpenMode, unsigned short _nInstigatorCommand, const 
> comphelper::NamedValueCollection & _rAdditionalArguments) Line 1777   C++
> dbulo.dll!dbaui::OApplicationController::loadComponentWithArguments(long 
> ObjectType, const rtl::OUString & ObjectName, unsigned char ForEditing, const 
> com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> & 
> Arguments) Line 436      C++
> dbulo.dll!dbaui::OApplicationController::loadComponent(long ObjectType, const 
> rtl::OUString & ObjectName, unsigned char ForEditing) Line 425  C++
> dbalo.dll!dbaccess::ODocumentDefinition::impl_openUI_nolck_throw(bool 
> _bForEditing) Line 1802 C++
> dbalo.dll!dbaccess::ODocumentDefinition::open() Line 1839     C++
> mscx_uno.dll!`anonymous 
> namespace'::cpp_call(bridges::cpp_uno::shared::UnoInterfaceProxy * pThis, 
> bridges::cpp_uno::shared::VtableSlot aVtableSlot, 
> _typelib_TypeDescriptionReference * pReturnTypeRef, long nParams, 
> _typelib_MethodParameter * pParams, void * pUnoReturn, void * * pUnoArgs, 
> _uno_Any * * ppUnoExc) Line 214       C++
> mscx_uno.dll!unoInterfaceProxyDispatch(_uno_Interface * pUnoI, const 
> _typelib_TypeDescription * pMemberTD, void * pReturn, void * * pArgs, 
> _uno_Any * * ppException) Line 430 C++
> reflectionlo.dll!stoc_corefl::`anonymous 
> namespace'::IdlInterfaceMethodImpl::invoke(const com::sun::star::uno::Any & 
> rObj, com::sun::star::uno::Sequence<com::sun::star::uno::Any> & rArgs) Line 
> 593  C++
> sblo.dll!SbUnoObject::Notify(SfxBroadcaster & rBC, const SfxHint & rHint) 
> Line 2226   C++
> svllo.dll!SfxBroadcaster::Broadcast(const SfxHint & rHint) Line 43    C++
> sblo.dll!SbxVariable::Broadcast(SfxHintId nHintId) Line 154   C++
> sblo.dll!SbxValue::SbxValue(const SbxValue & r) Line 68       C++
> sblo.dll!SbxVariable::SbxVariable(const SbxVariable & r) Line 48      C++
> sblo.dll!SbxMethod::SbxMethod(const SbxMethod & r) Line 841   C++
> sblo.dll!SbiRuntime::FindElement(SbxObject * pObj, unsigned long nOp1, 
> unsigned long nOp2, ErrCode nNotFound, bool bLocal, bool bStatic) Line 3700   
>  C++
> sblo.dll!SbiRuntime::StepELEM(unsigned long nOp1, unsigned long nOp2) Line 
> 4195       C++
> sblo.dll!SbiRuntime::Step() Line 805  C++
> sblo.dll!`anonymous namespace'::RunInitGuard::run() Line 1021 C++
> sblo.dll!SbModule::Run(SbMethod * pMeth) Line 1181    C++
> sblo.dll!SbModule::Notify(SfxBroadcaster & rBC, const SfxHint & rHint) Line 
> 776       C++
> svllo.dll!SfxBroadcaster::Broadcast(const SfxHint & rHint) Line 43    C++
> sblo.dll!SbMethod::Broadcast(SfxHintId nHintId) Line 2116     C++
> sblo.dll!SbxValue::Get(SbxValues & rRes) Line 289     C++
> sblo.dll!SbMethod::Call(SbxValue * pRet, SbxVariable * pCaller) Line 2072     
> C++
> basprovlo.dll!basprov::BasicScriptImpl::invoke(const 
> com::sun::star::uno::Sequence<com::sun::star::uno::Any> & aParams, 
> com::sun::star::uno::Sequence<short> & aOutParamIndex, 
> com::sun::star::uno::Sequence<com::sun::star::uno::Any> & aOutParam) Line 262 
>  C++
> protocolhandlerlo.dll!scripting_protocolhandler::ScriptProtocolHandler::dispatchWithNotification(const
>  com::sun::star::util::URL & aURL, const 
> com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> & lArgs, 
> const 
> com::sun::star::uno::Reference<com::sun::star::frame::XDispatchResultListener>
>  & xListener) Line 213        C++
> protocolhandlerlo.dll!scripting_protocolhandler::ScriptProtocolHandler::dispatch(const
>  com::sun::star::util::URL & aURL, const 
> com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> & lArgs) 
> Line 286  C++
> dbalo.dll!dbaccess::`anonymous namespace'::lcl_dispatchScriptURL_throw(const 
> unotools::WeakReference<dbaccess::ODatabaseDocument> & xWeakDocument, const 
> com::sun::star::uno::Reference<com::sun::star::util::XURLTransformer> & 
> xURLTransformer, const rtl::OUString & _rScriptURL, const 
> com::sun::star::document::DocumentEvent & _rTrigger) Line 100      C++
> dbalo.dll!dbaccess::DocumentEventExecutor::documentEventOccured(const 
> com::sun::star::document::DocumentEvent & Event) Line 169       C++
> dbalo.dll!comphelper::OInterfaceContainerHelper3<com::sun::star::document::XDocumentEventListener>::NotifySingleListener<com::sun::star::document::DocumentEvent>::operator()(const
>  
> com::sun::star::uno::Reference<com::sun::star::document::XDocumentEventListener>
>  & listener) Line 252     C++
> dbalo.dll!comphelper::OInterfaceContainerHelper3<com::sun::star::document::XDocumentEventListener>::forEach<comphelper::OInterfaceContainerHelper3<com::sun::star::document::XDocumentEventListener>::NotifySingleListener<com::sun::star::document::DocumentEvent>>(const
>  
> comphelper::OInterfaceContainerHelper3<com::sun::star::document::XDocumentEventListener>::NotifySingleListener<com::sun::star::document::DocumentEvent>
>  & func) Line 278   C++
> dbalo.dll!comphelper::OInterfaceContainerHelper3<com::sun::star::document::XDocumentEventListener>::notifyEach<com::sun::star::document::DocumentEvent>(void(com::sun::star::document::XDocumentEventListener::*)(const
>  com::sun::star::document::DocumentEvent &) NotificationMethod, const 
> com::sun::star::document::DocumentEvent & Event) Line 293        C++
> dbalo.dll!dbaccess::DocumentEventNotifier_Impl::impl_notifyEvent_nothrow(const
>  com::sun::star::document::DocumentEvent & _rEvent) Line 197    C++
> dbalo.dll!dbaccess::DocumentEventNotifier_Impl::processEvent(const 
> comphelper::AnyEvent & _rEvent) Line 230   C++
> comphelper.dll!comphelper::AsyncEventNotifierBase::execute() Line 138 C++
> comphelper.dll!comphelper::AsyncEventNotifierAutoJoin::run() Line 246 C++
> comphelper.dll!threadFunc(void * param) Line 190      C++
> sal3.dll!oslWorkerWrapperFunction(void * pData) Line 67       C++
> ucrtbased.dll!00007ff8faf32ec5()      Unknown
> kernel32.dll!BaseThreadInitThunk()    Unknown
> ntdll.dll!RtlUserThreadStart()        Unknown

It looks like sometimes WinSalFrame::ReleaseGraphics doesn't release what it is
expected to release ... but in general, I don't quite understand our handling
of HDCs. Could you please take a look at this at some point? Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to