Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-54432

Crash on exit in QGtk3Menu::menuItemForTag

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.8.0 Alpha
    • 5.8.0 Alpha
    • Widgets: Styles
    • None
    • 30eecdf6d8e593027542df8e809dc2b5f33cc60e

    Description

      qtbase dev branch with HEAD at 05aedf4
      Crash on exit with qtbase/examples/widgets/richtext/textedit.

      Backtrace:

      Thread 1 "textedit" received signal SIGSEGV, Segmentation fault.
      0x0000000000000000 in ?? ()
      (gdb) bt
      #0  0x0000000000000000 in  ()
      #1  0x00007fffeb5ea46c in QGtk3Menu::menuItemForTag(unsigned long long) const (this=0x731fc0, tag=7211456) at qgtk3menu.cpp:459
      #2  0x00007ffff78de5e7 in QMenu::actionEvent(QActionEvent*) (this=0x688470, e=0x7fffffffd6d0) at widgets/qmenu.cpp:3346
      #3  0x00007ffff77307a6 in QWidget::event(QEvent*) (this=0x688470, event=0x7fffffffd6d0) at kernel/qwidget.cpp:9135
      #4  0x00007ffff78db8e1 in QMenu::event(QEvent*) (this=0x688470, e=0x7fffffffd6d0) at widgets/qmenu.cpp:2800
      #5  0x00007ffff76d8d26 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=0x440d10, receiver=0x688470, e=0x7fffffffd6d0) at kernel/qapplication.cpp:3761
      #6  0x00007ffff76d8b2a in QApplication::notify(QObject*, QEvent*) (this=0x7fffffffdba0, receiver=0x688470, e=0x7fffffffd6d0) at kernel/qapplication.cpp:3724
      #7  0x00007ffff6b7d29f in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x688470, event=0x7fffffffd6d0) at kernel/qcoreapplication.cpp:988
      #8  0x00007ffff76c75b8 in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=0x688470, event=0x7fffffffd6d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
      #9  0x00007ffff772021e in QWidget::removeAction(QAction*) (this=0x688470, action=0x6e09c0) at kernel/qwidget.cpp:3363
      #10 0x00007ffff76c4600 in QAction::~QAction() (this=0x6e09c0, __in_chrg=<optimized out>) at kernel/qaction.cpp:564
      #11 0x00007ffff76c47f8 in QAction::~QAction() (this=0x6e09c0, __in_chrg=<optimized out>) at kernel/qaction.cpp:583
      #12 0x00007ffff6bbd3c2 in QObjectPrivate::deleteChildren() (this=0x6e0650) at kernel/qobject.cpp:1970
      #13 0x00007ffff771b77d in QWidget::~QWidget() (this=0x6d6920, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1683
      #14 0x00007ffff78d716b in QMenu::~QMenu() (this=0x6d6920, __in_chrg=<optimized out>) at widgets/qmenu.cpp:1502
      #15 0x00007ffff78d71bc in QMenu::~QMenu() (this=0x6d6920, __in_chrg=<optimized out>) at widgets/qmenu.cpp:1519
      #16 0x00007ffff6bbd3c2 in QObjectPrivate::deleteChildren() (this=0x67cc20) at kernel/qobject.cpp:1970
      #17 0x00007ffff771b77d in QWidget::~QWidget() (this=0x67d160, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1683
      #18 0x00007ffff78e64ac in QMenuBar::~QMenuBar() (this=0x67d160, __in_chrg=<optimized out>) at widgets/qmenubar.cpp:744
      #19 0x00007ffff78e64ea in QMenuBar::~QMenuBar() (this=0x67d160, __in_chrg=<optimized out>) at widgets/qmenubar.cpp:749
      #20 0x00007ffff6bbd3c2 in QObjectPrivate::deleteChildren() (this=0x535bf0) at kernel/qobject.cpp:1970
      #21 0x00007ffff771b77d in QWidget::~QWidget() (this=0x7fffffffdbd0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1683
      #22 0x00007ffff789b9a0 in QMainWindow::~QMainWindow() (this=0x7fffffffdbd0, __in_chrg=<optimized out>) at widgets/qmainwindow.cpp:409
      #23 0x0000000000413898 in TextEdit::~TextEdit() (this=0x7fffffffdbd0, __in_chrg=<optimized out>) at textedit.h:68
      #24 0x0000000000413562 in main(int, char**) (argc=1, argv=0x7fffffffdda8) at main.cpp:73
      
      

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-54432
          # Subject Branch Project Status CR V

          Activity

            People

              Unassigned Unassigned
              paeglis Gatis Paeglis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes