<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Organize basic macro: crash with gtk3 backend when opened from start center"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=126661">126661</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Organize basic macro: crash with gtk3 backend when opened from start center
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.4.0.0.alpha0+ Master
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>BASIC
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>vmiklos@collabora.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>andreas.heinisch@yahoo.de, caolanm@redhat.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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 <<a href="mailto:andreas.heinisch@yahoo.de">andreas.heinisch@yahoo.de</a>>
Date:   Wed Jul 31 12:48:33 2019 +0200

    <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Bad alphabet sort of list of macros"
   href="show_bug.cgi?id=70813">tdf#70813</a> Sorted list of macros in macro dialog

    Change-Id: Ibb488b2252a2eea001f1f00aacc4060e365e0df0
    Reviewed-on: <a href="https://gerrit.libreoffice.org/76739">https://gerrit.libreoffice.org/76739</a>
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <<a href="mailto:noel.grandin@collabora.co.uk">noel.grandin@collabora.co.uk</a>>

Andreas, Caolan: any idea if the commit is the problem here or the gtk3 impl?
Thanks.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>