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

Julien Nabet <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
           Keywords|                            |haveBacktrace

--- Comment #5 from Julien Nabet <[email protected]> ---
On pc Debian x86-64 with master sources updated today, I could reproduce this.

Relevant part of bt:
#4  0x00007f054b8ada19 in __gnu_debug::_Error_formatter::_M_error() const () at
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00007f04bf270ef3 in std::__debug::vector<std::unique_ptr<ScDPLabelData,
std::default_delete<ScDPLabelData> >,
std::allocator<std::unique_ptr<ScDPLabelData,
std::default_delete<ScDPLabelData> > > >::operator[] (this=0x55e2ba1f8690,
__n=18446744073709551615) at
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/debug/vector:523
#6  0x00007f04bf27d1dc in ScPivotLayoutDialog::IsCalculatedElement
(this=0x55e2ba1f8430, nColumn=-1) at
/home/julien/lo/libreoffice/sc/source/ui/dbgui/PivotLayoutDialog.cxx:627
#7  0x00007f04bf28740a in ScPivotLayoutTreeList::InsertEntryForSourceTarget
(this=0x55e2b2f98bc0, rSource=..., nTarget=0) at
/home/julien/lo/libreoffice/sc/source/ui/dbgui/PivotLayoutTreeList.cxx:110
#8  0x00007f04bf27f168 in ScPivotLayoutTreeDropTarget::ExecuteDrop
(this=0x55e2b2f98bd0, rEvt=...) at
/home/julien/lo/libreoffice/sc/source/ui/dbgui/PivotLayoutTreeListBase.cxx:62
#9  0x00007f0541b42ce0 in DropTargetHelper::DropTargetListener::drop
(this=0x55e2babd4ed0, rDTDE=...) at
/home/julien/lo/libreoffice/vcl/source/treelist/transfer2.cxx:155

Console logs:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/debug/vector:523:
In function:
    reference 
    std::vector<std::unique_ptr<ScDPLabelData>>::operator[](size_type) [_Tp 
    = std::unique_ptr<ScDPLabelData>, _Allocator = 
    std::allocator<std::unique_ptr<ScDPLabelData>>]

Error: attempt to subscript container with out-of-bounds index -1, but 
container only holds 4 elements.

Objects involved in the operation:
    sequence "this" @ 0x55e2ba1f8690 {
      type = std::debug::vector<std::unique_ptr<ScDPLabelData,
std::default_delete<ScDPLabelData> >,
std::allocator<std::unique_ptr<ScDPLabelData,
std::default_delete<ScDPLabelData> > > >;
    }

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

Reply via email to