Bugzilla – Attachment 184400 Details for
Bug 139004
Crash with non-debug & assertion dynamic_cast<SwTextFormatColl const*>(static_cast<const SwFormatChg*>(pOldValue)->pChangedFormat)", file=ndtxt.cxx", line=5437
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
gdb bt
gdb_bt.txt (text/plain), 12.24 KB, created by
Julien Nabet
on 2022-12-30 20:43:31 UTC
(
hide
)
Description:
gdb bt
Filename:
MIME Type:
Creator:
Julien Nabet
Created:
2022-12-30 20:43:31 UTC
Size:
12.24 KB
patch
obsolete
>#0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44 >#1 0x00007fd2688a9d2f in __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78 >#2 0x00007fd26885aef2 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 >#3 0x00007fd268845472 in __GI_abort () at ./stdlib/abort.c:79 >#4 0x00007fd268845395 in __assert_fail_base > (fmt=0x7fd2689b9a70 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x7fd22da3c1b1 "dynamic_cast<SwTextFormatColl const*>(static_cast<const SwFormatChg*>(pOldValue)->pChangedFormat)", file=0x7fd22d9a27fd "/home/julien/lo/libreoffice/sw/source/core/txtnode/ndtxt.cxx", line=5437, function=<optimized out>) at ./assert/assert.c:92 >#5 0x00007fd268853df2 in __GI___assert_fail > (assertion=0x7fd22da3c1b1 "dynamic_cast<SwTextFormatColl const*>(static_cast<const SwFormatChg*>(pOldValue)->pChangedFormat)", file=0x7fd22d9a27fd "/home/julien/lo/libreoffice/sw/source/core/txtnode/ndtxt.cxx", line=5437, function=0x7fd22d7bca3a "void SwTextNode::TriggerNodeUpdate(const sw::LegacyModifyHint &)") at ./assert/assert.c:101 >#6 0x00007fd22f0947d2 in SwTextNode::TriggerNodeUpdate(sw::LegacyModifyHint const&) (this=0x558c74e114e0, rHint=...) at sw/source/core/txtnode/ndtxt.cxx:5437 >#7 0x00007fd22f0aa7f3 in SwTextNode::SwClientNotify(SwModify const&, SfxHint const&) (this=0x558c74e114e0, rModify=..., rHint=...) at sw/source/core/txtnode/ndtxt.cxx:5492 >#8 0x00007fd22e3ad495 in SwClient::CheckRegistrationFormat(SwFormat&) (this=0x558c74e114e0, rOld=...) at sw/source/core/attr/calbck.cxx:117 >#9 0x00007fd22e3ba8e4 in SwFormat::~SwFormat() (this=0x558c74e2dc00) at sw/source/core/attr/format.cxx:220 >#10 0x00007fd22e6420d5 in SwFormatColl::~SwFormatColl() (this=0x558c74e2dc00) at sw/inc/fmtcol.hxx:37 >#11 0x00007fd22e8430ad in SwTextFormatColl::~SwTextFormatColl() (this=0x558c74e2dc00) at sw/source/core/doc/fmtcol.cxx:127 >#12 0x00007fd22e843119 in SwTextFormatColl::~SwTextFormatColl() (this=0x558c74e2dc00) at sw/source/core/doc/fmtcol.cxx:111 >#13 0x00007fd22e62f930 in SwDoc::DelTextFormatColl(unsigned long, bool) (this=0x558c74d3d040, nFormatColl=8, bBroadcast=false) at sw/source/core/doc/docfmt.cxx:990 >#14 0x00007fd22e62fa4e in SwDoc::DelTextFormatColl(SwTextFormatColl const*, bool) (this=0x558c74d3d040, pColl=0x558c74e2dc00, bBroadcast=false) at sw/source/core/doc/docfmt.cxx:998 >#15 0x00007fd22f8466f3 in SwDocStyleSheetPool::Remove(SfxStyleSheetBase*) (this=0x558c74d6d410, pStyle=0x558c74d6d720) at sw/source/uibase/app/docstyle.cxx:2489 >#16 0x00007fd22f830fe0 in SwDocShell::Delete(rtl::OUString const&, SfxStyleFamily) (this=0x558c74b50dd0, rName="Untitled1", nFamily=SfxStyleFamily::Para) at sw/source/uibase/app/docst.cxx:1112 >#17 0x00007fd22f82ebb5 in SwDocShell::ExecStyleSheet(SfxRequest&) (this=0x558c74b50dd0, rReq=...) at sw/source/uibase/app/docst.cxx:496 >#18 0x00007fd22f7fe165 in SfxStubSwDocShellExecStyleSheet(SfxShell*, SfxRequest&) (pShell=0x558c74b50dd0, rReq=...) at workdir/SdiTarget/sw/sdi/swslots.hxx:1427 >#19 0x00007fd2651ced01 in SfxDispatcher::Call_Impl(SfxShell&, SfxSlot const&, SfxRequest&, bool) (this=0x558c74ee0d30, rShell=..., rSlot=..., rReq=..., bRecord=true) at sfx2/source/control/dispatch.cxx:254 >#20 0x00007fd2651d3617 in SfxDispatcher::Execute_(SfxShell&, SfxSlot const&, SfxRequest&, SfxCallMode) > (this=0x558c74ee0d30, rShell=..., rSlot=..., rReq=..., eCallMode=(SfxCallMode::SYNCHRON | SfxCallMode::RECORD)) at sfx2/source/control/dispatch.cxx:753 >#21 0x00007fd2651d3f0f in SfxDispatcher::Execute(unsigned short, SfxCallMode, SfxPoolItem const**, unsigned short, SfxPoolItem const**) > (this=0x558c74ee0d30, nSlot=5551, eCall=(SfxCallMode::SYNCHRON | SfxCallMode::RECORD), pArgs=0x7ffd358f7950, nModi=0, pInternalArgs=0x0) at sfx2/source/control/dispatch.cxx:859 >#22 0x00007fd2653e7760 in SfxCommonTemplateDialog_Impl::Execute_Impl(unsigned short, rtl::OUString const&, rtl::OUString const&, unsigned short, StyleList&, SfxStyleSearchBits, unsigned short*, unsigned short const*) (this=0x558c77fb0240, nId=5551, rStr="Untitled1", rRefStr="", nFamily=2, rStyleList=..., nMask=SfxStyleSearchBits::Auto, pIdx=0x0, pModifier=0x0) at sfx2/source/dialog/templdlg.cxx:428 >#23 0x00007fd2653f87a1 in StyleList::DeleteHdl() (this=0x558c77fb0260) at sfx2/source/dialog/StyleList.cxx:1256 >#24 0x00007fd2653f9cd5 in StyleList::MenuSelectAsyncHdl(void*) (this=0x558c77fb0260) at sfx2/source/dialog/StyleList.cxx:1476 >#25 0x00007fd2653f917d in StyleList::LinkStubMenuSelectAsyncHdl(void*, void*) (instance=0x558c77fb0260, data=0x0) at sfx2/source/dialog/StyleList.cxx:1469 >#26 0x00007fd25fbd6738 in Link<void*, void>::Call(void*) const (this=0x558c78067c78, data=0x0) at include/tools/link.hxx:111 >#27 0x00007fd25fbd27e9 in ImplHandleUserEvent(ImplSVEvent*) (pSVEvent=0x558c78067c70) at vcl/source/window/winproc.cxx:2287 >#28 0x00007fd25fbcf341 in ImplWindowFrameProc(vcl::Window*, SalEvent, void const*) (_pWindow=0x558c71b313f0, nEvent=SalEvent::UserEvent, pEvent=0x558c78067c70) at vcl/source/window/winproc.cxx:2857 >#29 0x00007fd260834020 in SalFrame::CallCallback(SalEvent, void const*) const (this=0x558c71b21840, nEvent=SalEvent::UserEvent, pEvent=0x558c78067c70) at vcl/inc/salframe.hxx:306 >#30 0x00007fd26085eb5f in SalGenericDisplay::ProcessEvent(SalUserEventList::SalUserEvent) (this=0x558c71a3d5a0, aEvent=...) at vcl/unx/generic/app/gendisp.cxx:66 >#31 0x00007fd2603504dd in SalUserEventList::DispatchUserEvents(bool)::$_0::operator()() const (this=0x7ffd358f85a0) at vcl/source/app/salusereventlist.cxx:119 >#32 0x00007fd2603503a4 in SalUserEventList::DispatchUserEvents(bool) (this=0x558c71a3d5a0, bHandleAllCurrentEvents=false) at vcl/source/app/salusereventlist.cxx:120 >#33 0x00007fd26085eab5 in SalGenericDisplay::DispatchInternalEvent(bool) (this=0x558c71a3d5a0, bHandleAllCurrentEvent=false) at vcl/unx/generic/app/gendisp.cxx:51 >#34 0x00007fd256f7b396 in call_userEventFn(void*) (data=0x558c6fd7d270) at vcl/unx/gtk3/gtkdata.cxx:824 >#35 0x00007fd25b91c67f in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 >#36 0x00007fd25b91ca38 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 >#37 0x00007fd25b91cacc in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 >#38 0x00007fd256f79eaf in GtkSalData::Yield(bool, bool) (this=0x558c6fd7d270, bWait=true, bHandleAllCurrentEvents=false) at vcl/unx/gtk3/gtkdata.cxx:405 >#39 0x00007fd256f7f7a3 in GtkInstance::DoYield(bool, bool) (this=0x558c6fd7d120, bWait=true, bHandleAllCurrentEvents=false) at vcl/unx/gtk3/gtkinst.cxx:432 >#40 0x00007fd26042f90f in ImplYield(bool, bool) (i_bWait=true, i_bAllEvents=false) at vcl/source/app/svapp.cxx:475 >#41 0x00007fd26042f27b in Application::Yield() () at vcl/source/app/svapp.cxx:559 >#42 0x00007fd26042f04f in Application::Execute() () at vcl/source/app/svapp.cxx:453 >#43 0x00007fd268b2c1bb in desktop::Desktop::Main() (this=0x7ffd358fa2f8) at desktop/source/app/app.cxx:1604 >#44 0x00007fd260452304 in ImplSVMain() () at vcl/source/app/svmain.cxx:203 >--Type <RET> for more, q to quit, c to continue without paging-- >#45 0x00007fd260453f79 in SVMain() () at vcl/source/app/svmain.cxx:235 >#46 0x00007fd268bab1f3 in soffice_main() () at desktop/source/app/sofficemain.cxx:94 >#47 0x0000558c6f4b7a6d in sal_main () at desktop/source/app/main.c:51 >#48 0x0000558c6f4b7a47 in main (argc=3, argv=0x7ffd358fa508) at desktop/source/app/main.c:49 >(gdb) frame 6 >#6 0x00007fd22f0947d2 in SwTextNode::TriggerNodeUpdate (this=0x558c74e114e0, rHint=...) at sw/source/core/txtnode/ndtxt.cxx:5437 >5437 assert(dynamic_cast<SwTextFormatColl const*>(static_cast<const SwFormatChg*>(pOldValue)->pChangedFormat)); >(gdb) p static_cast<const SwFormatChg*>(pOldValue)->pChangedFormat >$1 = (SwFormat *) 0x558c74e2dc00 >(gdb) p *(static_cast<const SwFormatChg*>(pOldValue)->pChangedFormat) >$2 = {<sw::BorderCacheOwner> = {m_bInCache = false}, <sw::BroadcastingModify> = {<SwModify> = {<SwClient> = {<sw::WriterListener> = {_vptr$WriterListener = 0x7fd22fe6c1f0 <vtable for SwFormat+16>, > m_pLeft = 0x0, m_pRight = 0x558c74e114e0}, m_pRegisteredIn = 0x558c74e32ae0}, m_pWriterListeners = 0x558c76626740, m_bModifyLocked = false}, <sw::BroadcasterMixin> = {m_aNotifier = { > _vptr$SvtBroadcaster = 0x7fd2648ffd30 <vtable for SvtBroadcaster+16>, maListeners = std::__debug::vector of length 0, capacity 0, maDestructedListeners = std::__debug::vector of length 0, capacity 0, > mnEmptySlots = 0, mnListenersFirstUnsorted = 0, mbAboutToDie = false, mbDisposing = false, mbDestNormalized = true}}, <No data fields>}, m_aFormatName = "Untitled1", > m_aSet = {<SfxItemSet> = SfxItemSet of pool 0x558c74d395f0 with parent 0x558c74e32ba8 and Which ranges: [(1, 45), (63, 81), (83, 83), (88, 133), (153, 153), (1014, 1034)] = {1 = 0x0, 2 = 0x0, 3 = 0x0, 4 = 0x0, 5 = 0x0, 6 = 0x0, > 7 = 0x0, 8 = 0x0, 9 = 0x0, 10 = 0x0, 11 = 0x0, 12 = 0x0, 13 = 0x0, 14 = 0x0, 15 = 0x0, 16 = 0x0, 17 = 0x0, 18 = 0x0, 19 = 0x0, 20 = 0x0, 21 = 0x0, 22 = 0x0, 23 = 0x0, 24 = 0x0, 25 = 0x0, 26 = 0x0, > 27 = 0x0, 28 = 0x0, 29 = 0x0, 30 = 0x0, 31 = 0x0, 32 = 0x0, 33 = 0x0, 34 = 0x0, 35 = 0x0, 36 = 0x0, 37 = 0x0, 38 = 0x0, 39 = 0x0, 40 = 0x0, 41 = 0x0, 42 = 0x0, 43 = 0x0, 44 = 0x0, 45 = 0x0, 63 = 0x0, > 64 = 0x0, 65 = 0x0, 66 = 0x0, 67 = 0x0, 68 = 0x0, 69 = 0x0, 70 = 0x0, 71 = 0x0, 72 = {<SfxStringItem> = {<CntUnencodedStringItem> = {<SfxPoolItem> = { > _vptr$SfxPoolItem = 0x7fd22fe9e050 <vtable for SwNumRuleItem+16>, m_nRefCount = 2, m_nWhich = 72, m_nKind = SfxItemKind::NONE}, m_aValue = "Bullet â¢"}, <No data fields>}, <No data fields>}, > 73 = 0x0, 74 = 0x0, 75 = 0x0, 76 = 0x0, 77 = 0x0, 78 = 0x0, 79 = 0x0, 80 = 0x0, 81 = 0x0, 83 = 0x0, 88 = 0x0, 89 = 0x0, 90 = 0x0, 91 = 0x0, 92 = 0x0, 93 = {<SfxPoolItem> = { > _vptr$SfxPoolItem = 0x7fd22fe97160 <vtable for SwFormatPageDesc+16>, m_nRefCount = 1, m_nWhich = 93, m_nKind = SfxItemKind::NONE}, <SwClient> = {<sw::WriterListener> = { > _vptr$WriterListener = 0x7fd22fe971f8 <vtable for SwFormatPageDesc+168>, m_pLeft = 0x0, m_pRight = 0x0}, m_pRegisteredIn = 0x0}, m_oNumOffset = std::optional<unsigned short> [no contained value], > m_pDefinedIn = 0x558c74e2dc00}, 94 = 0x0, 95 = 0x0, 96 = 0x0, 97 = 0x0, 98 = 0x0, 99 = 0x0, 100 = 0x0, 101 = 0x0, 102 = 0x0, 103 = 0x0, 104 = 0x0, 105 = 0x0, 106 = 0x0, 107 = 0x0, 108 = 0x0, 109 = 0x0, > 110 = 0x0, 111 = 0x0, 112 = 0x0, 113 = 0x0, 114 = 0x0, 115 = 0x0, 116 = 0x0, 117 = 0x0, 118 = 0x0, 119 = 0x0, 120 = 0x0, 121 = 0x0, 122 = 0x0, 123 = 0x0, 124 = 0x0, 125 = 0x0, 126 = 0x0, 127 = 0x0, > 128 = 0x0, 129 = 0x0, 130 = 0x0, 131 = 0x0, 132 = 0x0, 133 = 0x0, 153 = 0x0, 1014 = {<SfxEnumItem<com::sun::star::drawing::FillStyle>> = {<SfxEnumItemInterface> = {<SfxPoolItem> = { > _vptr$SfxPoolItem = 0x7fd26396c730 <vtable for XFillStyleItem+16>, m_nRefCount = 2, m_nWhich = 1014, m_nKind = SfxItemKind::NONE}, <No data fields>}, > m_nValue = com::sun::star::drawing::FillStyle::FillStyle_GRADIENT}, <No data fields>}, 1015 = 0x0, 1016 = {<NameOrIndex> = {<SfxStringItem> = {<CntUnencodedStringItem> = {<SfxPoolItem> = { > _vptr$SfxPoolItem = 0x7fd26396c910 <vtable for XFillGradientItem+16>, m_nRefCount = 2, m_nWhich = 1016, m_nKind = SfxItemKind::NONE}, m_aValue = "Pastel Bouquet"}, <No data fields>}, > nPalIndex = -1}, aGradient = {eStyle = com::sun::star::awt::GradientStyle::GradientStyle_LINEAR, aStartColor = rgb(221, 232, 203), aEndColor = rgb(255, 215, 215), nAngle = {m_value = 300}, > nBorder = 0, nOfsX = 0, nOfsY = 0, nIntensStart = 100, nIntensEnd = 100, nStepCount = 0}}, 1017 = 0x0, 1018 = 0x0, 1019 = 0x0, 1020 = {<SfxUInt16Item> = {<CntUInt16Item> = {<SfxPoolItem> = { > _vptr$SfxPoolItem = 0x7fd26396de98 <vtable for XGradientStepCountItem+16>, m_nRefCount = 2, m_nWhich = 1020, m_nKind = SfxItemKind::NONE}, m_nValue = 0}, <No data fields>}, <No data fields>}, > 1021 = 0x0, 1022 = 0x0, 1023 = 0x0, 1024 = 0x0, 1025 = 0x0, 1026 = 0x0, 1027 = 0x0, 1028 = 0x0, 1029 = 0x0, 1030 = 0x0, 1031 = 0x0, 1032 = 0x0, 1033 = 0x0, 1034 = 0x0}, m_pOldSet = 0x0, m_pNewSet = 0x0}, > m_nWhichId = 157, m_nPoolFormatId = 33791, m_nPoolHelpId = 65535, m_nPoolHlpFileId = 255 '\377', m_bAutoFormat = false, m_bFormatInDTOR = true, m_bAutoUpdateOnDirectFormat = false, m_bHidden = false, > m_pGrabBagItem = std::shared_ptr<SfxGrabBagItem> (empty) = {get() = 0x0}} >(gdb) > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 139004
:
168261
| 184400