<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Crash when copying the content of a complex DOCX"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=129805#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Crash when copying the content of a complex DOCX"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=129805">bug 129805</a>
from <span class="vcard"><a class="email" href="mailto:serval2412@yahoo.fr" title="Julien Nabet <serval2412@yahoo.fr>"> <span class="fn">Julien Nabet</span></a>
</span></b>
<pre>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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>