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

Creator crashes on Valgrind profiling

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 3.5.1
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      openSUSE Leap 42.1, x64, KDE 5, Breeze theme

      Description

      When I run Valgrind (without GDB) in Qt Creator to analyse my program, Creator reproducibly crashes when it starts printing out Valgrind warnings. All the filter checkboxes were turned on.

      I reproduced it twice. Once when the first line was opened, second when all the lines were collapsed. Creator crashed both times when the first off-screen line would have appeared (or it just didn't have time to repaint).

      I suppose this is because the stack ran out: GDB is now listing the almost 50.000th line of the backtrace. I'd rather attach it than paste . Although the bottommost part is:

      #47596 0x00007ffff70d2e6c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x676cc0, receiver=receiver@entry=0x30f2300, e=e@entry=0x7fffffffc1e0) at kernel/qapplication.cpp:3713
      #47597 0x00007ffff70d7cd8 in QApplication::notify(QObject*, QEvent*) (this=0x7fffffffd410, receiver=0x30f2300, e=0x7fffffffc1e0) at kernel/qapplication.cpp:3500
      #47598 0x00007ffff67c3ba5 in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7fffffffd410, receiver=receiver@entry=0x30f2300, event=event@entry=0x7fffffffc1e0) at kernel/qcoreapplication.cpp:965
      #47599 0x00007ffff710b29e in QWidgetPrivate::setGeometry_sys(int, int, int, int, bool) (event=0x7fffffffc1e0, receiver=0x30f2300) at ../../src/corelib/kernel/qcoreapplication.h:224
      #47600 0x00007ffff710b29e in QWidgetPrivate::setGeometry_sys(int, int, int, int, bool) (this=this@entry=0x3b28810, x=0, y=0, w=1279, h=<optimized out>, isMove=<optimized out>, isMove@entry=true) at kernel/qwidget.cpp:7187
      #47601 0x00007ffff710bf79 in QWidget::setGeometry(QRect const&) (this=0x30f2300, r=...) at kernel/qwidget.cpp:7084
      #47602 0x00007ffff728d59d in QAbstractScrollAreaPrivate::layoutChildren() (this=this@entry=0x3ae3040) at widgets/qabstractscrollarea.cpp:515
      #47603 0x00007ffff7345a03 in QListView::updateGeometries() (this=this@entry=0x3ae68c0) at itemviews/qlistview.cpp:1466
      #47604 0x00007fffda0d0860 in Analyzer::DetailedErrorView::updateGeometries() (this=0x3ae68c0) at detailederrorview.cpp:301
      #47605 0x00007ffff731a0dd in QAbstractItemView::doItemsLayout() (this=this@entry=0x3ae68c0) at itemviews/qabstractitemview.cpp:1197
      #47606 0x00007ffff73457e1 in QListView::doItemsLayout() (this=0x3ae68c0) at itemviews/qlistview.cpp:1441
      #47607 0x00007ffff731d2d9 in QAbstractItemView::timerEvent(QTimerEvent*) (this=0x3ae68c0, event=<optimized out>) at itemviews/qabstractitemview.cpp:2474
      #47608 0x00007ffff67f458c in QObject::event(QEvent*) (this=this@entry=0x3ae68c0, e=e@entry=0x7fffffffcbb0) at kernel/qobject.cpp:1227
      #47609 0x00007ffff7112e74 in QWidget::event(QEvent*) (this=this@entry=0x3ae68c0, event=event@entry=0x7fffffffcbb0) at kernel/qwidget.cpp:9095
      #47610 0x00007ffff720d4de in QFrame::event(QEvent*) (this=this@entry=0x3ae68c0, e=e@entry=0x7fffffffcbb0) at widgets/qframe.cpp:540
      #47611 0x00007ffff728eb23 in QAbstractScrollArea::event(QEvent*) (this=this@entry=0x3ae68c0, e=e@entry=0x7fffffffcbb0) at widgets/qabstractscrollarea.cpp:1147
      #47612 0x00007ffff73281db in QAbstractItemView::event(QEvent*) (this=0x3ae68c0, event=0x7fffffffcbb0) at itemviews/qabstractitemview.cpp:1618
      #47613 0x00007ffff70d2e8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x676cc0, receiver=receiver@entry=0x3ae68c0, e=e@entry=0x7fffffffcbb0) at kernel/qapplication.cpp:3717
      #47614 0x00007ffff70d7cd8 in QApplication::notify(QObject*, QEvent*) (this=0x7fffffffd410, receiver=0x3ae68c0, e=0x7fffffffcbb0) at kernel/qapplication.cpp:3500
      #47615 0x00007ffff67c3ba5 in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7fffffffd410, receiver=0x3ae68c0, event=event@entry=0x7fffffffcbb0) at kernel/qcoreapplication.cpp:965
      #47616 0x00007ffff681a44d in QTimerInfoList::activateTimers() (event=0x7fffffffcbb0, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:224
      #47617 0x00007ffff681a44d in QTimerInfoList::activateTimers() (this=0x6d7170) at kernel/qtimerinfo_unix.cpp:637
      #47618 0x00007ffff681a771 in timerSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:177
      #47619 0x00007ffff489ac84 in g_main_context_dispatch (context=0x7fffe40016f0) at gmain.c:3122
      #47620 0x00007ffff489ac84 in g_main_context_dispatch (context=context@entry=0x7fffe40016f0) at gmain.c:3737
      #47621 0x00007ffff489aed8 in g_main_context_iterate (context=context@entry=0x7fffe40016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3808
      #47622 0x00007ffff489af7c in g_main_context_iteration (context=0x7fffe40016f0, may_block=1) at gmain.c:3869
      #47623 0x00007ffff681aa3c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x6e6070, flags=...) at kernel/qeventdispatcher_glib.cpp:418
      #47624 0x00007ffff67c1a63 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffffffcdf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
      #47625 0x00007ffff67c95d6 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1229
      #47626 0x00007ffff53aa3ac in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1528
      #47627 0x00007ffff70cf615 in QApplication::exec() () at kernel/qapplication.cpp:2977
      #47628 0x000000000040a85c in main(int, char**) (argc=1, argv=<optimized out>) at main.cpp:526
      

        Attachments

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

          Activity

            People

            Assignee:
            hjk hjk
            Reporter:
            szotsaki Szőts Ákos
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes