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

--- Comment #16 from Hossein <[email protected]> ---
Testing with the latest LO 26.8 master:

Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: f25dbabaec77368a30a8561a9d04120add4e9aa2
CPU threads: 20; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan;
VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

The crash assert still happens, but in different step, in this assertion:

void WinSalFrame::ReleaseGraphics( SalGraphics* pGraphics )
{
->    assert(mbGraphicsAcquired && "Can only call ReleaseGraphics when you own
the graphics");
...
}

Assertion is added in:
a086036723e0f358af2686ffc2a525627c4bb201

This is the stack trace:

vclplug_winlo.dll!WinSalFrame::ReleaseGraphics(SalGraphics * pGraphics) Line
1046
        at vcl\win\window\salframe.cxx(1046)
vcllo.dll!vcl::WindowOutputDevice::ReleaseGraphics(bool bRelease) Line 904
        at vcl\source\window\window.cxx(904)
vcllo.dll!vcl::Window::dispose() Line 486
        at vcl\source\window\window.cxx(486)
vcllo.dll!DockingWindow::dispose() Line 409
        at vcl\source\window\dockwin.cxx(409)
vcllo.dll!ToolBox::dispose() Line 1313
        at vcl\source\window\toolbox.cxx(1313)
vcllo.dll!VclReferenceBase::disposeOnce() Line 38
        at vcl\source\outdev\vclreferencebase.cxx(38)
vcllo.dll!VclPtr<vcl::Window>::disposeAndClear() Line 208
        at include\vcl\vclptr.hxx(208)
vcllo.dll!VclBuilder::disposeBuilder() Line 685
        at vcl\source\window\builder.cxx(685)
vcllo.dll!VclBuilder::~VclBuilder() Line 677
        at vcl\source\window\builder.cxx(677)
vcllo.dll!VclBuilder::`scalar deleting destructor'(unsigned int)
vcllo.dll!std::default_delete<VclBuilder>::operator()(VclBuilder * _Ptr) Line
3338
        at C:\Program Files\Microsoft Visual
Studio\18\Community\VC\Tools\MSVC\14.50.35717\include\memory(3338)
vcllo.dll!std::unique_ptr<VclBuilder,std::default_delete<VclBuilder>>::reset(VclBuilder
* _Ptr) Line 3500
        at C:\Program Files\Microsoft Visual
Studio\18\Community\VC\Tools\MSVC\14.50.35717\include\memory(3500)
vcllo.dll!SalInstanceBuilder::~SalInstanceBuilder() Line 7076
        at vcl\source\app\salvtables.cxx(7076)
vcllo.dll!SalInstanceBuilder::`scalar deleting destructor'(unsigned int)
svxlo.dll!std::default_delete<weld::Builder>::operator()(weld::Builder * _Ptr)
Line 3338
        at C:\Program Files\Microsoft Visual
Studio\18\Community\VC\Tools\MSVC\14.50.35717\include\memory(3338)
svxlo.dll!std::unique_ptr<weld::Builder,std::default_delete<weld::Builder>>::~unique_ptr<weld::Builder,std::default_delete<weld::Builder>>()
Line 3456
        at C:\Program Files\Microsoft Visual
Studio\18\Community\VC\Tools\MSVC\14.50.35717\include\memory(3456)
svxlo.dll!padWidthForSidebar(weld::Toolbar & rToolbar, const
com::sun::star::uno::Reference<com::sun::star::frame::XFrame> & rFrame) Line
1460
        at svx\source\dialog\dlgctrl.cxx(1460)
svxlo.dll!svx::sidebar::ParaPropertyPanel::ParaPropertyPanel(weld::Widget *
pParent, const com::sun::star::uno::Reference<com::sun::star::frame::XFrame> &
rxFrame, SfxBindings * pBindings,
com::sun::star::uno::Reference<com::sun::star::ui::XSidebar> xSidebar) Line 642
        at svx\source\sidebar\paragraph\ParaPropertyPanel.cxx(642)
svxlo.dll!std::make_unique<svx::sidebar::ParaPropertyPanel,weld::Widget *
&,com::sun::star::uno::Reference<com::sun::star::frame::XFrame> const
&,SfxBindings * &,com::sun::star::uno::Reference<com::sun::star::ui::XSidebar>
const &,0>(weld::Widget * & <_Args_0>, const
com::sun::star::uno::Reference<com::sun::star::frame::XFrame> & <_Args_1>,
SfxBindings * & <_Args_2>, const
com::sun::star::uno::Reference<com::sun::star::ui::XSidebar> & <_Args_3>) Line
3659
        at C:\Program Files\Microsoft Visual
Studio\18\Community\VC\Tools\MSVC\14.50.35717\include\memory(3659)
svxlo.dll!svx::sidebar::ParaPropertyPanel::Create(weld::Widget * pParent, const
com::sun::star::uno::Reference<com::sun::star::frame::XFrame> & rxFrame,
SfxBindings * pBindings, const
com::sun::star::uno::Reference<com::sun::star::ui::XSidebar> & rxSidebar) Line
61
        at svx\source\sidebar\paragraph\ParaPropertyPanel.cxx(61)
svxlo.dll!`anonymous namespace'::PanelFactory::createUIElement(const
rtl::OUString & rsResourceURL, const
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> &
rArguments) Line 135
        at svx\source\sidebar\PanelFactory.cxx(135)
fwklo.dll!`anonymous namespace'::UIElementFactoryManager::createUIElement(const
rtl::OUString & ResourceURL, const
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> & Args)
Line 439
        at framework\source\uifactory\uielementfactorymanager.cxx(439)
sfxlo.dll!sfx2::sidebar::SidebarController::CreateUIElement(const
com::sun::star::uno::Reference<com::sun::star::awt::XWindow> & rxWindow, const
rtl::OUString & rsImplementationURL, const bool bWantsCanvas, const
sfx2::sidebar::Context & rContext) Line 1062
        at sfx2\source\sidebar\SidebarController.cxx(1062)
sfxlo.dll!sfx2::sidebar::SidebarController::CreatePanel(std::basic_string_view<char16_t,std::char_traits<char16_t>>
rsPanelId, weld::Widget * pParentWindow, const bool bIsInitiallyExpanded, const
sfx2::sidebar::Context & rContext, const VclPtr<sfx2::sidebar::Deck> & pDeck)
Line 1002
        at sfx2\source\sidebar\SidebarController.cxx(1002)
sfxlo.dll!sfx2::sidebar::SidebarController::CreatePanels(std::basic_string_view<char16_t,std::char_traits<char16_t>>
rDeckId, const sfx2::sidebar::Context & rContext) Line 802
        at sfx2\source\sidebar\SidebarController.cxx(802)
sfxlo.dll!sfx2::sidebar::SidebarController::CreateDeck(std::basic_string_view<char16_t,std::char_traits<char16_t>>
rDeckId, const sfx2::sidebar::Context & rContext, bool bForceCreate) Line 754
        at sfx2\source\sidebar\SidebarController.cxx(754)
sfxlo.dll!sfx2::sidebar::SidebarController::SwitchToDeck(const
sfx2::sidebar::DeckDescriptor & rDeckDescriptor, const sfx2::sidebar::Context &
rContext) Line 916
        at sfx2\source\sidebar\SidebarController.cxx(916)
sfxlo.dll!sfx2::sidebar::SidebarController::UpdateConfigurations() Line 635
        at sfx2\source\sidebar\SidebarController.cxx(635)
sfxlo.dll!sfx2::sidebar::SidebarController::notifyContextChangeEvent(const
com::sun::star::ui::ContextChangeEventObject & rEvent) Line 371
        at sfx2\source\sidebar\SidebarController.cxx(371)
fwklo.dll!`anonymous
namespace'::ContextChangeEventMultiplexer::BroadcastEventToSingleContainer(const
com::sun::star::ui::ContextChangeEventObject & rEventObject, const
com::sun::star::uno::Reference<com::sun::star::uno::XInterface> & rxEventFocus)
Line 252
        at framework\source\services\ContextChangeEventMultiplexer.cxx(252)
fwklo.dll!`anonymous
namespace'::ContextChangeEventMultiplexer::broadcastContextChangeEvent(const
com::sun::star::ui::ContextChangeEventObject & rEventObject, const
com::sun::star::uno::Reference<com::sun::star::uno::XInterface> & rxEventFocus)
Line 235
        at framework\source\services\ContextChangeEventMultiplexer.cxx(235)
sfxlo.dll!sfx2::sidebar::ContextChangeBroadcaster::BroadcastContextChange(const
com::sun::star::uno::Reference<com::sun::star::frame::XFrame> & rxFrame, const
rtl::OUString & rsModuleName, const rtl::OUString & rsContextName) Line 105
        at sfx2\source\sidebar\ContextChangeBroadcaster.cxx(105)
sfxlo.dll!sfx2::sidebar::ContextChangeBroadcaster::Activate(const
com::sun::star::uno::Reference<com::sun::star::frame::XFrame> & rxFrame) Line
53
        at sfx2\source\sidebar\ContextChangeBroadcaster.cxx(53)
sfxlo.dll!SfxShell::BroadcastContextForActivation(const bool bIsActivated) Line
742
        at sfx2\source\control\shell.cxx(742)
sfxlo.dll!SfxShell::Activate(bool __formal) Line 392
        at sfx2\source\control\shell.cxx(392)
sfxlo.dll!SfxShell::DoActivate_Impl(SfxViewFrame * pFrame, bool bMDI) Line 345
        at sfx2\source\control\shell.cxx(345)
sfxlo.dll!SfxDispatcher::FlushImpl() Line 1407
        at sfx2\source\control\dispatch.cxx(1407)
sfxlo.dll!SfxDispatcher::Flush() Line 159
        at sfx2\source\control\dispatch.cxx(159)
swlo.dll!SwView::SelectShell() Line 518
        at sw\source\uibase\uiview\view.cxx(518)
swlo.dll!SwView::AttrChangedNotify(LinkParamNone * __formal) Line 586
        at sw\source\uibase\uiview\view.cxx(586)
swlo.dll!SwView::Activate(bool bMDIActivate) Line 104
        at sw\source\uibase\uiview\view1.cxx(104)
sfxlo.dll!SfxShell::DoActivate_Impl(SfxViewFrame * pFrame, bool bMDI) Line 345
        at sfx2\source\control\shell.cxx(345)
sfxlo.dll!SfxDispatcher::DoActivate_Impl(bool bMDI) Line 601
        at sfx2\source\control\dispatch.cxx(601)
sfxlo.dll!SfxViewFrame::DoActivate(bool bUI) Line 1214
        at sfx2\source\view\viewfrm.cxx(1214)
sfxlo.dll!SfxApplication::SetViewFrame_Impl(SfxViewFrame * pFrame) Line 227
        at sfx2\source\appl\app.cxx(227)
sfxlo.dll!SfxViewFrame::SetViewFrame(SfxViewFrame * pFrame) Line 3761
        at sfx2\source\view\viewfrm.cxx(3761)
sfxlo.dll!SfxViewFrame::MakeActive_Impl(bool bGrabFocus) Line 2368
        at sfx2\source\view\viewfrm.cxx(2368)
sfxlo.dll!SfxBaseController::ConnectSfxFrame_Impl(const
SfxBaseController::ConnectSfxFrame i_eConnect) Line 1211
        at sfx2\source\view\sfxbasecontroller.cxx(1211)
sfxlo.dll!SfxBaseController::attachFrame(const
com::sun::star::uno::Reference<com::sun::star::frame::XFrame> & xFrame) Line
532
        at sfx2\source\view\sfxbasecontroller.cxx(532)
sfxlo.dll!utl::ConnectFrameControllerModel(const
com::sun::star::uno::Reference<com::sun::star::frame::XFrame> & xFrame, const
com::sun::star::uno::Reference<com::sun::star::frame::XController2> &
xController, const
com::sun::star::uno::Reference<com::sun::star::frame::XModel> & xModel) Line 57
        at include\unotools\fcm.hxx(57)
sfxlo.dll!`anonymous
namespace'::SfxFrameLoader_Impl::impl_createDocumentView(const
com::sun::star::uno::Reference<com::sun::star::frame::XModel2> & i_rModel,
const com::sun::star::uno::Reference<com::sun::star::frame::XFrame> & i_rFrame,
const comphelper::NamedValueCollection & i_rViewFactoryArgs, const
rtl::OUString & i_rViewName) Line 593
        at sfx2\source\view\frmload.cxx(593)
sfxlo.dll!`anonymous namespace'::SfxFrameLoader_Impl::load(const
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> & rArgs,
const com::sun::star::uno::Reference<com::sun::star::frame::XFrame> &
_rTargetFrame) Line 812
        at sfx2\source\view\frmload.cxx(812)
fwklo.dll!framework::LoadEnv::impl_loadContent() Line 1181
        at framework\source\loadenv\loadenv.cxx(1181)
fwklo.dll!framework::LoadEnv::start() Line 417
        at framework\source\loadenv\loadenv.cxx(417)
fwklo.dll!framework::LoadEnv::startLoading(const rtl::OUString & sURL, const
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> &
lMediaDescriptor, const
com::sun::star::uno::Reference<com::sun::star::frame::XFrame> & xBaseFrame,
const rtl::OUString & sTarget, long nSearchFlags, LoadEnvFeatures eFeature)
Line 313
        at framework\source\loadenv\loadenv.cxx(313)
fwklo.dll!framework::LoadEnv::loadComponentFromURL(const
com::sun::star::uno::Reference<com::sun::star::frame::XComponentLoader> &
xLoader, const
com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> &
xContext, const rtl::OUString & sURL, const rtl::OUString & sTarget, long
nSearchFlags, const
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> & lArgs)
Line 169
        at framework\source\loadenv\loadenv.cxx(169)
fwklo.dll!framework::Desktop::loadComponentFromURL(const rtl::OUString & sURL,
const rtl::OUString & sTargetFrameName, long nSearchFlags, const
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> &
lArguments) Line 594
        at framework\source\services\desktop.cxx(594)
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
        at bridges\source\cpp_uno\msvc_win32_x86-64\uno2cpp.cxx(214)
mscx_uno.dll!unoInterfaceProxyDispatch(_uno_Interface * pUnoI, const
_typelib_TypeDescription * pMemberTD, void * pReturn, void * * pArgs, _uno_Any
* * ppException) Line 430
        at bridges\source\cpp_uno\msvc_win32_x86-64\uno2cpp.cxx(430)
binaryurplo.dll!binaryurp::IncomingRequest::execute_throw(binaryurp::BinaryAny
* returnValue,
std::vector<binaryurp::BinaryAny,std::allocator<binaryurp::BinaryAny>> *
outArguments) Line 239
        at binaryurp\source\incomingrequest.cxx(239)
binaryurplo.dll!binaryurp::IncomingRequest::execute() Line 79
        at binaryurp\source\incomingrequest.cxx(79)
binaryurplo.dll!request(void * pThreadSpecificData) Line 84
        at binaryurp\source\reader.cxx(84)
cppu3.dll!cppu_threadpool::JobQueue::enter(const void * nDisposeId, bool
bReturnWhenNoJob) Line 101
        at cppu\source\threadpool\jobqueue.cxx(101)
cppu3.dll!cppu_threadpool::ORequestThread::run() Line 165
        at cppu\source\threadpool\thread.cxx(165)
cppu3.dll!threadFunc(void * param) Line 190
        at include\osl\thread.hxx(190)
sal3.dll!oslWorkerWrapperFunction(void * pData) Line 67
        at sal\osl\w32\thread.cxx(67)

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

Reply via email to