Bugzilla – Attachment 159123 Details for
Bug 129824
Crash in: SwDocUpdateField::MakeFieldList_(SwDoc &,int) after "Insert" of a "User Field" with cursor in value field of dialog box ( steps in comment 3 )
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
bt with debug symbols (gtk3)
bt.txt (text/plain), 11.77 KB, created by
Julien Nabet
on 2020-03-29 14:38:54 UTC
(
hide
)
Description:
bt with debug symbols (gtk3)
Filename:
MIME Type:
Creator:
Julien Nabet
Created:
2020-03-29 14:38:54 UTC
Size:
11.77 KB
patch
obsolete
>soffice.bin: /home/julien/lo/libreoffice/sw/inc/txtfld.hxx:55: SwTextNode &SwTextField::GetTextNode() const: Assertion `m_pTextNode' failed. > >Thread 1 "soffice.bin" received signal SIGABRT, Aborted. >__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 >50 ../sysdeps/unix/sysv/linux/raise.c: Aucun fichier ou dossier de ce type. >(gdb) bt >#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 >#1 0x00007ffff7a9a55b in __GI_abort () at abort.c:79 >#2 0x00007ffff7a9a42f in __assert_fail_base > (fmt=0x7ffff7c00b48 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x7fffdb466682 "m_pTextNode", file=0x7fffdb4666f3 "/home/julien/lo/libreoffice/sw/inc/txtfld.hxx", line=55, function=<optimized out>) at assert.c:92 >#3 0x00007ffff7aa9092 in __GI___assert_fail > (assertion=0x7fffdb466682 "m_pTextNode", file=0x7fffdb4666f3 "/home/julien/lo/libreoffice/sw/inc/txtfld.hxx", line=55, function=0x7fffdb466721 "SwTextNode &SwTextField::GetTextNode() const") at assert.c:101 >#4 0x00007fffd9b5ccb3 in SwTextField::GetTextNode() const (this=0x80f7a60) at sw/inc/txtfld.hxx:55 >#5 0x00007fffda60785f in SwFormatField::UpdateTextNode(SfxPoolItem const*, SfxPoolItem const*) (this=0x7c89540, pOld=0x0, pNew=0x0) at sw/source/core/txtnode/atrfld.cxx:307 >#6 0x00007fffda606ea1 in SwFormatField::SwClientNotify(SwModify const&, SfxHint const&) (this=0x7c89540, rModify=..., rHint=...) at sw/source/core/txtnode/atrfld.cxx:247 >#7 0x00007fffd9a8c128 in SwModify::CallSwClientNotify(SfxHint const&) const (this=0x6111aa0, rHint=...) at sw/source/core/attr/calbck.cxx:373 >#8 0x00007fffd9a8dd35 in SwModify::ModifyBroadcast(SfxPoolItem const*, SfxPoolItem const*) (this=0x6111aa0, pOldValue=0x0, pNewValue=0x0) at sw/inc/calbck.hxx:199 >#9 0x00007fffd9a8b788 in SwModify::NotifyClients(SfxPoolItem const*, SfxPoolItem const*) (this=0x6111aa0, pOldValue=0x0, pNewValue=0x0) at sw/source/core/attr/calbck.cxx:201 >#10 0x00007fffd9a8e815 in SwModify::Modify(SfxPoolItem const*, SfxPoolItem const*) (this=0x6111aa0, pOld=0x0, pNew=0x0) at sw/inc/calbck.hxx:184 >#11 0x00007fffd9a8e7c9 in SwClient::ModifyNotification(SfxPoolItem const*, SfxPoolItem const*) (this=0x6111aa0, pOldValue=0x0, pNewValue=0x0) at sw/inc/calbck.hxx:154 >#12 0x00007fffd9c2664e in SwFieldType::UpdateFields() const (this=0x6111aa0) at sw/inc/fldbas.hxx:287 >#13 0x00007fffda1de1c3 in SwUserFieldType::Modify(SfxPoolItem const*, SfxPoolItem const*) (this=0x68c1990, pOld=0x0, pNew=0x0) at sw/source/core/fields/usrfld.cxx:226 >#14 0x00007fffd9a8e7c9 in SwClient::ModifyNotification(SfxPoolItem const*, SfxPoolItem const*) (this=0x68c1990, pOldValue=0x0, pNewValue=0x0) at sw/inc/calbck.hxx:154 >#15 0x00007fffd9c2664e in SwFieldType::UpdateFields() const (this=0x68c1990) at sw/inc/fldbas.hxx:287 >#16 0x00007fffda1a5d6e in SwInputField::applyFieldContent(rtl::OUString const&) (this=0x7e73c30, rNewFieldContent="testtestValueValue") at sw/source/core/fields/expfld.cxx:1269 >#17 0x00007fffda60979b in SwTextInputField::UpdateFieldContent() (this=0x7c38090) at sw/source/core/txtnode/atrfld.cxx:671 >#18 0x00007fffda672486 in SwTextNode::Update(SwIndex const&, int, bool, bool) (this=0x6117910, rPos=SwIndex (offset 5), nChangeLen=11, bNegative=false, bDelete=false) at sw/source/core/txtnode/ndtxt.cxx:1331 >#19 0x00007fffda677e6b in SwTextNode::InsertText(rtl::OUString const&, SwIndex const&, SwInsertFlags) (this=0x6117910, rStr="\004testValue\005", rIdx=SwIndex (offset 5), nMode=SwInsertFlags::EMPTYEXPAND) > at sw/source/core/txtnode/ndtxt.cxx:2304 >#20 0x00007fffda6a8fb5 in SwTextNode::InsertHint(SwTextAttr*, SetAttrMode) (this=0x6117910, pAttr=0x80f7a80, nMode=SetAttrMode::DEFAULT) at sw/source/core/txtnode/thints.cxx:1548 >#21 0x00007fffda6adf46 in SwTextNode::SetAttr(SfxItemSet const&, int, int, SetAttrMode, SwTextAttr**) (this=0x6117910, rSet= > SfxItemSet of pool 0x60d1b30 with parent 0x0 and Which ranges: [(46, 49), (53, 53), (55, 55)] = {...}, nStt=5, nEnd=5, nMode=SetAttrMode::DEFAULT, ppNewTextAttr=0x0) > at sw/source/core/txtnode/thints.cxx:1974 >#22 0x00007fffda6fa10b in SwRegHistory::InsertItems(SfxItemSet const&, int, int, SetAttrMode, SwTextAttr**) > (this=0x7ffffffed898, rSet=SfxItemSet of pool 0x60d1b30 with parent 0x0 and Which ranges: [(46, 49), (53, 53), (55, 55)] = {...}, nStart=5, nEnd=5, nFlags=SetAttrMode::DEFAULT, ppNewTextAttr=0x0) > at sw/source/core/undo/rolbck.cxx:1393 >#23 0x00007fffd9e388bc in (anonymous namespace)::lcl_InsAttr(SwDoc*, SwPaM const&, SfxItemSet const&, SetAttrMode, SwUndoAttr*, SwRootFrame const*, bool, SwTextAttr**) (pDoc=0x60ed8f0, rRg= > SwPaM = {...}, rChgSet=SfxItemSet of pool 0x60d1b30 with parent 0x0 and Which ranges: [(55, 55)] = {...}, nFlags=SetAttrMode::DEFAULT, pUndo=0x7c9eb30, pLayout= > 0x0, bExpandCharToPara=false, ppNewTextAttr=0x0) at sw/source/core/doc/DocumentContentOperationsManager.cxx:1384 >#24 0x00007fffd9e37669 in sw::DocumentContentOperationsManager::InsertPoolItem(SwPaM const&, SfxPoolItem const&, SetAttrMode, SwRootFrame const*, bool, SwTextAttr**) > (this=0x2f9dd90, rRg=SwPaM = {...}, rHt=..., nFlags=SetAttrMode::DEFAULT, pLayout=0x0, bExpandCharToPara=false, ppNewTextAttr=0x0) at sw/source/core/doc/DocumentContentOperationsManager.cxx:3324 >#25 0x00007fffda1130d4 in SwEditShell::Insert2(SwField const&, bool) (this=0x62eadc0, rField=..., bForceExpandHints=false) at sw/source/core/edit/edfld.cxx:160 >#26 0x00007fffdb2a3b6f in SwWrtShell::Insert(SwField const&, SwPaM*) (this=0x62eadc0, rField=..., pAnnotationRange=0x0) at sw/source/uibase/wrtsh/wrtsh2.cxx:113 >#27 0x00007fffdaf6b792 in SwFieldMgr::InsertField(SwInsertField_Data const&) (this=0x7b812a0, rData=...) at sw/source/uibase/fldui/fldmgr.cxx:1487 >#28 0x00007fff24ae614a in SwFieldPage::InsertField(SwFieldTypesEnum, unsigned short, rtl::OUString const&, rtl::OUString const&, unsigned int, char16_t, bool) (this= > 0x7b81240, nTypeId=SwFieldTypesEnum::Input, nSubType=2, rPar1="testName", rPar2="testjul", nFormatId=0, cSeparator=32 u' ', bIsAutomaticLanguage=true) at sw/source/ui/fldui/fldpage.cxx:127 >#29 0x00007fff24b00433 in SwFieldVarPage::FillItemSet(SfxItemSet*) (this=0x7b81240) at sw/source/ui/fldui/fldvar.cxx:1196 >#30 0x00007fff24af5995 in SwFieldDlg::OKHdl(weld::Button&) (this=0x7bb5280) at sw/source/ui/fldui/fldtdlg.cxx:150 >#31 0x00007fff24af52e0 in SwFieldDlg::LinkStubOKHdl(void*, weld::Button&) (instance=0x7bb5280, data=...) at sw/source/ui/fldui/fldtdlg.cxx:144 >#32 0x00007fffe4edb1a8 in Link<weld::Button&, void>::Call(weld::Button&) const (this=0x7a7b8e8, data=...) at include/tools/link.hxx:111 >#33 0x00007fffe4edb165 in weld::Button::signal_clicked() (this=0x7a7b8e0) at include/vcl/weld.hxx:1154 >#34 0x00007fffe4e69f34 in (anonymous namespace)::GtkInstanceButton::signalClicked(_GtkButton*, void*) (widget=0x7a7b610) at vcl/unx/gtk3/gtk3gtkinst.cxx:6427 >#35 0x00007fffea25cfd2 in g_closure_invoke () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 >#36 0x00007fffea270784 in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 >#37 0x00007fffea27b54f in g_signal_emit_valist () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 >#38 0x00007fffea27bedf in g_signal_emit () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 >#39 0x00007fffe472346e in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 >--Type <RET> for more, q to quit, c to continue without paging-- >#40 0x00007fffe47234d4 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 >#41 0x00007fffea25cfd2 in g_closure_invoke () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 >#42 0x00007fffea2708d2 in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 >#43 0x00007fffea27b54f in g_signal_emit_valist () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 >#44 0x00007fffea27bedf in g_signal_emit () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 >#45 0x00007fffe47219b0 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 >#46 0x00007fffe49c7f7d in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 >#47 0x00007fffea25d206 in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 >#48 0x00007fffea27b8d4 in g_signal_emit_valist () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 >#49 0x00007fffea27bedf in g_signal_emit () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 >#50 0x00007fffe47e6e14 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 >#51 0x00007fffea260052 in g_cclosure_marshal_VOID__BOXEDv () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 >#52 0x00007fffea25d206 in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 >#53 0x00007fffea27b8d4 in g_signal_emit_valist () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 >#54 0x00007fffea27bedf in g_signal_emit () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 >#55 0x00007fffe47e3f32 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 >#56 0x00007fffe47e554b in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 >#57 0x00007fffe47e840e in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 >#58 0x00007fffe47b084c in gtk_event_controller_handle_event () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 >#59 0x00007fffe496bf9d in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 >#60 0x00007fffe49c1ceb in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 >#61 0x00007fffea25d206 in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 >#62 0x00007fffea27ac51 in g_signal_emit_valist () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 >#63 0x00007fffea27bedf in g_signal_emit () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 >#64 0x00007fffe496da12 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 >#65 0x00007fffe482daf8 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 >#66 0x00007fffe482fcbb in gtk_main_do_event () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 >#67 0x00007fffe452b805 in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 >#68 0x00007fffe455da32 in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 >#69 0x00007fffea17260d in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 >#70 0x00007fffea172890 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 >#71 0x00007fffea17291f in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 >#72 0x00007fffe4e45d2c in GtkSalData::Yield(bool, bool) (this=0x5314b0, bWait=true, bHandleAllCurrentEvents=false) at vcl/unx/gtk3/gtk3gtkdata.cxx:382 >#73 0x00007fffe4e4af02 in GtkInstance::DoYield(bool, bool) (this=0x5228f0, bWait=true, bHandleAllCurrentEvents=false) at vcl/unx/gtk3/gtk3gtkinst.cxx:384 >#74 0x00007ffff0724c79 in ImplYield(bool, bool) (i_bWait=true, i_bAllEvents=false) at vcl/source/app/svapp.cxx:454 >#75 0x00007ffff0724a30 in Application::Yield() () at vcl/source/app/svapp.cxx:518 >#76 0x00007ffff07249a9 in Application::Execute() () at vcl/source/app/svapp.cxx:433 >#77 0x00007ffff7ca61fd in desktop::Desktop::Main() (this=0x7fffffff2708) at desktop/source/app/app.cxx:1602 >#78 0x00007ffff0745ca4 in ImplSVMain() () at vcl/source/app/svmain.cxx:196 >#79 0x00007ffff07474f9 in SVMain() () at vcl/source/app/svmain.cxx:228 >#80 0x00007ffff7d18860 in soffice_main() () at desktop/source/app/sofficemain.cxx:107 >#81 0x000000000040088d in sal_main () at desktop/source/app/main.c:48 >#82 0x0000000000400867 in main (argc=2, argv=0x7fffffff28d8) at desktop/source/app/main.c:47 >(gdb) frame 4 >#4 0x00007fffd9b5ccb3 in SwTextField::GetTextNode (this=0x80f7a60) at sw/inc/txtfld.hxx:55 >55 assert(m_pTextNode); >(gdb) p m_pTextNode >$1 = (SwTextNode *) 0x0 >(gdb) p this >$2 = (const SwTextField *) 0x80f7a60 >(gdb) p *this >$3 = {<SwTextAttr> = {_vptr$SwTextAttr = 0x7fffdbe4f538 <vtable for SwTextInputField+152>, m_pAttr = 0x7c89540, m_nStart = 5, m_bDontExpand = true, m_bLockExpandFlag = true, m_bDontMoveAttr = false, > m_bCharFormatAttr = false, m_bOverlapAllowedAttr = false, m_bPriorityAttr = false, m_bDontExpandStart = true, m_bNesting = true, m_bHasDummyChar = false, m_bFormatIgnoreStart = false, > m_bFormatIgnoreEnd = false, m_bHasContent = true, m_pHints = 0x0}, _vptr$SwTextField = 0x7fffdbe4f4f8 <vtable for SwTextInputField+88>, > m_aExpand = <error reading variable: Cannot access memory at address 0x6666666666666604>, m_pTextNode = 0x0} >(gdb) frame 5 >
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 129824
: 159123