Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-25805

Crash when resizing breakpoint view when debugger is starting up

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 4.15.0
    • Fix Version/s: None
    • Component/s: Debugger
    • Labels:
      None

      Description

      Steps to reproduce:

      1. Open a session containing qtquickcontrols2 build
      2. Put a breakpoint somewhere
      3. Start debugging
      4. While the debugger is setting up, start dragging the splitter for the breakpoint view in the bottom right back and forth
      Thread 1 "qtcreator" received signal SIGSEGV, Segmentation fault.
      0x00007ffff6ebb772 in QDockAreaLayoutInfo::separatorRect(QList<int> const&) const () from /home/mitch/dev/qt-unified/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      (gdb) bt
      #0  0x00007ffff6ebb772 in QDockAreaLayoutInfo::separatorRect(QList<int> const&) const () at /home/mitch/dev/qt-unified/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #1  0x00007ffff6ebb80f in QDockAreaLayout::separatorRect(QList<int> const&) const () at /home/mitch/dev/qt-unified/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #2  0x00007ffff6ee388e in QMainWindowLayoutSeparatorHelper<QMainWindowLayout>::adjustCursor(QPoint const&) () at /home/mitch/dev/qt-unified/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #3  0x00007ffff6ee3d17 in QMainWindowLayoutSeparatorHelper<QMainWindowLayout>::windowEvent(QEvent*) () at /home/mitch/dev/qt-unified/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #4  0x00007ffff6ee2d17 in QMainWindow::event(QEvent*) () at /home/mitch/dev/qt-unified/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #5  0x00007ffff6d9c43c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /home/mitch/dev/qt-unified/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #6  0x00007ffff6da44fa in QApplication::notify(QObject*, QEvent*) () at /home/mitch/dev/qt-unified/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #7  0x00007ffff59ff808 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /home/mitch/dev/qt-unified/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
      #8  0x00007ffff6da253a in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) ()
          at /home/mitch/dev/qt-unified/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #9  0x00007ffff6df3fe8 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () at /home/mitch/dev/qt-unified/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #10 0x00007ffff6df6cf3 in QWidgetWindow::event(QEvent*) () at /home/mitch/dev/qt-unified/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #11 0x00007ffff6d9c43c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /home/mitch/dev/qt-unified/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #12 0x00007ffff6da2f20 in QApplication::notify(QObject*, QEvent*) () at /home/mitch/dev/qt-unified/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #13 0x00007ffff59ff808 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /home/mitch/dev/qt-unified/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
      #14 0x00007ffff647556d in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /home/mitch/dev/qt-unified/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Gui.so.5
      #15 0x00007ffff6476955 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
          at /home/mitch/dev/qt-unified/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Gui.so.5
      #16 0x00007ffff64528ab in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/mitch/dev/qt-unified/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Gui.so.5
      #17 0x00007ffff10f969a in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () at /home/mitch/dev/qt-unified/Tools/QtCreator/lib/Qt/plugins/platforms/../../lib/libQt5XcbQpa.so.5
      #18 0x00007ffff22cf17d in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #19 0x00007ffff22cf400 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #20 0x00007ffff22cf4a3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #21 0x00007ffff5a5b1cc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/mitch/dev/qt-unified/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
      #22 0x00007ffff59fe21a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/mitch/dev/qt-unified/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
      #23 0x00007ffff5a071d3 in QCoreApplication::exec() () at /home/mitch/dev/qt-unified/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
      
      Qt Creator 4.15.0
      Based on Qt 5.15.2 (GCC 7.3.1 20180303 (Red Hat 7.3.1-5), 64 bit)
      
      Built on May 4 2021 01:17:20
      
      From revision 978f6caf1e
      

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            hjk hjk
            Reporter:
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes