[Libreoffice-bugs] [Bug 118377] CRASH: Writer crashes inserting a section
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed Jul 4 12:03:26 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=118377
--- Comment #5 from Armin Le Grand (CIB) <Armin.Le.Grand at me.com> ---
mpOutDevStateStack is a std::unique_ptr<OutDevStateStack> and gets initialized
in OutputDevice::OutputDevice (mpOutDevStateStack.reset(new OutDevStateStack)).
It only gets reset (mpOutDevStateStack.reset()) in OutputDevice::dispose(),
thus I guess this must happen somehow.
When breaking in Control::DrawControlText at the end where ControlTextRenderer
gets constructed, mpControlData->mpReferenceDevice has a device, but it's
VclReferenceBase says indeed -> {mnRefCnt=2 mbDisposed=true }.
That mpControlData->mpReferenceDevice comes from Control directly, so that may
also be disposed already. Question is if this can be detected? There is already
Control::ImplCallEventListenersAndHandler where xThis->IsDisposed() is used
with 'VclPtr<Control> xThis(this)' (whyever).
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180704/f6a6e164/attachment.html>
More information about the Libreoffice-bugs
mailing list