[Libreoffice-bugs] [Bug 129805] Crash when copying the content of a complex DOCX

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Jan 5 12:28:20 UTC 2020


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

--- Comment #2 from Julien Nabet <serval2412 at yahoo.fr> ---
Some gdb debug:
584     
585             if ((eType == MarkType::TEXT_FIELDMARK || eType ==
MarkType::DATE_FIELDMARK)
586                 && (rPaM.GetPoint()->nNode.GetNode().StartOfSectionNode()
!= rPaM.GetMark()->nNode.GetNode().StartOfSectionNode()
587                     || (pSepPos &&
rPaM.GetPoint()->nNode.GetNode().StartOfSectionNode() !=
pSepPos->nNode.GetNode().StartOfSectionNode())))
588             {
589                 SAL_WARN("sw.core", "MarkManager::makeMark(..)"
590                     " - invalid range on fieldmark, different nodes array
sections");
591                 return nullptr;
592             }
593     
(gdb) p eType
$1 = IDocumentMarkAccess::MarkType::TEXT_FIELDMARK
(gdb) p rPaM.GetPoint()->nNode.GetNode().StartOfSectionNode()
$2 = (SwStartNode *) 0x55555ed2d1b0
(gdb) p rPaM.GetMark()->nNode.GetNode().StartOfSectionNode()
$3 = (SwStartNode *) 0x55555edb38f0
(gdb) p *(rPaM.GetMark()->nNode.GetNode().StartOfSectionNode())
$4 = {<SwNode> = {<BigPtrEntry> = {_vptr.BigPtrEntry = 0x7fffdb326d30 <vtable
for SwSectionNode+16>, m_pBlock = 0x55555e81af60, m_nOffset = 615}, m_nNodeType
= SwNodeType::Section, m_nAFormatNumLvl = 0 '\000', 
    m_bIgnoreDontExpand = false, m_eMerge = SwNode::Merge::None, static
s_nSerial = 5085, m_nSerial = 3368, 
    m_pAnchoredFlys = std::unique_ptr<std::__debug::vector<SwFrameFormat*,
std::allocator<SwFrameFormat*> >> = {get() = 0x0}, m_pStartOfSection =
0x55555ed9fe10}, m_pEndOfSection = 0x55555edb0ad0, 
  m_eStartNodeType = SwNormalStartNode}
(gdb) p *(rPaM.GetPoint()->nNode.GetNode().StartOfSectionNode())
$5 = {<SwNode> = {<BigPtrEntry> = {_vptr.BigPtrEntry = 0x7fffdb326d30 <vtable
for SwSectionNode+16>, m_pBlock = 0x55555e81af60, m_nOffset = 442}, m_nNodeType
= SwNodeType::Section, m_nAFormatNumLvl = 0 '\000', 
    m_bIgnoreDontExpand = false, m_eMerge = SwNode::Merge::None, static
s_nSerial = 5085, m_nSerial = 3191, 
    m_pAnchoredFlys = std::unique_ptr<std::__debug::vector<SwFrameFormat*,
std::allocator<SwFrameFormat*> >> = {get() = 0x0}, m_pStartOfSection =
0x55555b0e4210}, m_pEndOfSection = 0x55555ed2b320, 
  m_eStartNodeType = SwNormalStartNode}
(gdb) p pSepPos
$6 = (const SwPosition * const) 0x0

-- 
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/20200105/750ed82d/attachment.htm>


More information about the Libreoffice-bugs mailing list