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

--- Comment #5 from Michael Meeks <[email protected]> ---
A bogus field/column offset is passed in:

/usr/include/c++/4.8/debug/vector:353:error: attempt to subscript container 
    with out-of-bounds index 12303, but container only holds 1024 elements.

(gdb) p nMaxSorts.maKeyState[0]
Attempt to extract a component of a value that is not a structure.
(gdb) p aSortParam.maKeyState[0]
[Thread 0x7fffb49a6700 (LWP 5820) exited]
$5 = (__gnu_cxx::__alloc_traits<std::allocator<ScSortKeyState> >::value_type &)
@0x2c451520: {bDoSort = true, nField = 4, bAscending = false}
(gdb) p aSortParam.maKeyState[1]
$6 = (__gnu_cxx::__alloc_traits<std::allocator<ScSortKeyState> >::value_type &)
@0x2c45152c: {bDoSort = true, nField = 2, bAscending = true}
(gdb) p aSortParam.maKeyState[2]
[Thread 0x7fff9ae9c700 (LWP 5823) exited]
$7 = (__gnu_cxx::__alloc_traits<std::allocator<ScSortKeyState> >::value_type &)
@0x2c451538: {bDoSort = true, nField = 12303, bAscending = true}

It seems the field to sort by is completely bogus. I'm amazed this is a
regression.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to