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

--- Comment #2 from Miklos Vajna <[email protected]> ---
Hm, opening this in a --enable-dbgutil build, we already crash on file open:

Thread 1 "soffice.bin" received signal SIGSEGV, Segmentation fault.
0x00007fffcc442ee1 in sw::CalcBreaks (rBreaks=std::__debug::vector of length 0,
capacity 0, rPam=SwPaM = {...}, isOnlyFieldmarks=true) at
/home/vmiklos/git/libreoffice/master/sw/source/core/doc/DocumentContentOperationsManager.cxx:591
591                                    
assert(std::get<0>(startedFields.top())->IsCoveringPosition(SwPosition(rTextNode,
i)));
(gdb) print startedFields
$1 = std::stack wrapping: std::__debug::deque with 1 element = {std::tuple
containing = {[1] = 0x0, [2] = false, [3] = {m_value = 0}, [4] = 0}}

Let me try in a --enable-symbols build, but the fieldmark aspect of this
document would be probably also interesting as a separate bug. The assert was
added in commit 522ed1b685f5b7eb52efb9d874dfacc02bf82139 (ofz#18563 sw: fix 2
problems with field marks, 2019-12-06), although I guess the request is valid
that we should not have a fieldmark separator without a started fieldmark.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to