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

--- Comment #13 from Caolán McNamara <[email protected]> ---
seems a bit odd that a 2024-07-03 bug report about something reported to
recently starting to fail then bisects to a 2016 commit

but fwiw catch throw std::out_of_range

gives:

#0  0x00007ffff74b5201 in __cxa_throw () at /lib64/libstdc++.so.6
#1  0x00007fff9549bf6a in mdds::mtv::detail::throw_block_position_not_found
    (method_sig=0x7fff972a9c41 "multi_type_vector::position", line=490,
pos=18446744073709551598, block_size=17, container_size=1048576)
    at
workdir/UnpackedTarball/mdds/include/mdds/multi_type_vector/soa/../util.hpp:153
#2  0x00007fff95595049 in
mdds::mtv::soa::multi_type_vector<sc::CellStoreTraits>::position
(this=0x1b9f460, pos=18446744073709551598)
    at
workdir/UnpackedTarball/mdds/include/mdds/multi_type_vector/soa/main_def.inl:489
#3  0x00007fff961d9a80 in sc::SharedFormulaUtil::splitFormulaCellGroups
(rDoc=..., rCells=..., rBounds=std::__debug::vector of length 3, capacity 4 =
{...})
    at /home/caolan/LibreOffice/core/sc/source/core/tool/sharedformula.cxx:129
#4  0x00007fff9557f113 in ScColumn::UpdateReference (this=0x1b9f230, rCxt=...,
pUndoDoc=0x6ffe940) at
/home/caolan/LibreOffice/core/sc/source/core/data/column.cxx:2392
#5  0x00007fff95c07e03 in ScTable::UpdateReference (this=0x23b88e0, rCxt=...,
pUndoDoc=0x6ffe940, bIncludeDraw=false, bUpdateNoteCaptionPos=true)
    at /home/caolan/LibreOffice/core/sc/source/core/data/table1.cxx:1875
#6  0x00007fff9578c10a in ScDocument::UpdateReference (this=0x2380190,
rCxt=..., pUndoDoc=0x6ffe940, bIncludeDraw=false, bUpdateNoteCaptionPos=true)
    at /home/caolan/LibreOffice/core/sc/source/core/data/documen3.cxx:1074
#7  0x00007fff95816e2f in ScDocument::CopyBlockFromClip (this=0x2380190,
rCxt=..., nCol1=5, nRow1=267, nCol2=5, nRow2=267, rMark=..., nDx=0, nDy=29)
    at /home/caolan/LibreOffice/core/sc/source/core/data/document.cxx:2736
#8  0x00007fff958181f3 in ScDocument::CopyFromClip
    (this=0x2380190, rDestRange=..., rMark=..., nInsFlag=18815,
pRefUndoDoc=0x6ffe940, pClipDoc=0x61d8ef0, bResetCut=true, bAsLink=false,
bIncludeFiltered=true, bSkipEmptyCells=false, pDestRanges=0x7fffffff4118) at
/home/caolan/LibreOffice/core/sc/source/core/data/document.cxx:2980
#9  0x00007fff96ff0aa1 in ScViewFunc::PasteFromClip
    (this=0x551df38, nFlags=InsertDeleteFlags::ALL, pClipDoc=0x61d8ef0,
nFunction=ScPasteFunc::NONE, bSkipEmptyCells=false, bTranspose=false,
bAsLink=false, eMoveMode=INS_NONE, nUndoExtraFlags=InsertDeleteFlags::NONE,
bAllowDialogs=true) at sc/source/ui/view/viewfun3.cxx:1329
#10 0x00007fff96d56034 in ScClipUtil::PasteFromClipboard (rViewData=...,
pTabViewShell=0x551dc10, bShowDialog=true) at
sc/source/ui/view/cliputil.cxx:110

and in ScColumn::UpdateReference there is aBounds of {-18, 10, 11} so it seems
to be that -18 which is causing the problem.

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

Reply via email to