[Libreoffice-bugs] [Bug 126661] New: Organize basic macro: crash with gtk3 backend when opened from start center

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Aug 1 13:48:40 UTC 2019


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

            Bug ID: 126661
           Summary: Organize basic macro: crash with gtk3 backend when
                    opened from start center
           Product: LibreOffice
           Version: 6.4.0.0.alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: vmiklos at collabora.com
                CC: andreas.heinisch at yahoo.de, caolanm at redhat.com

Steps to reproduce:

1) Open the start center

2) Press alt-f11 to open the basic macro organizer

Expected results: window shows up

Actual results: crash

Linux dbgutil builds fail with this assertion:

/usr/bin/../lib64/gcc/x86_64-suse-linux/7/../../../../include/c++/7/debug/vector:447:
Error: attempt to access an element in an empty container.

Objects involved in the operation:
    sequence "this" @ 0x0x1df5a80 {
      type = std::__debug::vector<int, std::allocator<int> >;
    }

Thread 1 "soffice.bin" received signal SIGABRT, Aborted.
0x00007ffff7822160 in raise () from /lib64/libc.so.6
(gdb) up
#1  0x00007ffff7823741 in abort () from /lib64/libc.so.6
(gdb) 
#2  0x00007ffff70ebcbd in ?? () from /usr/lib64/libstdc++.so.6
(gdb) 
#3  0x00007fffdfac7ebe in std::__debug::vector<int, std::allocator<int> >::back
(this=0x1df5a80) at
/usr/bin/../lib64/gcc/x86_64-suse-linux/7/../../../../include/c++/7/debug/vector:447
447             __glibcxx_check_nonempty();
(gdb) 
#4  0x00007fffdfae4f3a in GtkInstanceTreeView::thaw (this=0x1df5830) at
/home/vmiklos/git/libreoffice/master-clang/vcl/unx/gtk3/gtk3gtkinst.cxx:7985
7985                gtk_tree_sortable_set_sort_column_id(pSortable,
m_aSavedSortColumns.back(), m_aSavedSortTypes.back());

The "gen" backend is not affected.

git bisect says this is a regression from:

commit 1dd8cde5cd2e692a442b6885c59634fba3737284
Author: Andreas Heinisch <andreas.heinisch at yahoo.de>
Date:   Wed Jul 31 12:48:33 2019 +0200

    tdf#70813 Sorted list of macros in macro dialog

    Change-Id: Ibb488b2252a2eea001f1f00aacc4060e365e0df0
    Reviewed-on: https://gerrit.libreoffice.org/76739
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

Andreas, Caolan: any idea if the commit is the problem here or the gtk3 impl?
Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190801/873fce00/attachment-0001.html>


More information about the Libreoffice-bugs mailing list