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

Crash when selecting the filename from locator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • Qt Creator 6.0.0
    • Qt Creator 6.0.0-rc1
    • All Other Issues
    • None
    • b62fbe3ab96f916a2e557951639993d7523cc08c (qt-creator/qt-creator/6.0)

    Description

      Call stack:

      Thread 1 (Thread 0x7fdf39b92940 (LWP 5739)):
      #0  __gnu_cxx::__ops::_Iter_equals_val<QWidget* const>::operator()<QList<QObject*>::const_iterator> (this=0x7ffd4e36a5c8, __it=...) at /usr/include/c++/11/bits/predefined_ops.h:270
      #1  0x00007fdf3f726c3b in std::__find_if<QList<QObject*>::const_iterator, __gnu_cxx::__ops::_Iter_equals_val<QWidget* const> > (__first=..., __last=..., __pred=...) at /usr/include/c++/11/bits/stl_algobase.h:2077
      #2  0x00007fdf3f7241cd in std::__find_if<QList<QObject*>::const_iterator, __gnu_cxx::__ops::_Iter_equals_val<QWidget* const> > (__first=..., __last=..., __pred=...) at /usr/include/c++/11/bits/stl_algobase.h:2114
      #3  0x00007fdf3f720c80 in std::find<QList<QObject*>::const_iterator, QWidget*> (__first=..., __last=..., __val=@0x7ffd4e36a6d0: 0xa5dd0b0) at /usr/include/c++/11/bits/stl_algo.h:3884
      #4  0x00007fdf3f71cd42 in QtPrivate::sequential_erase<QList<QObject*>, QWidget*> (c=..., t=@0x7ffd4e36a6d0: 0xa5dd0b0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/tools/qcontainertools_impl.h:284
      #5  0x00007fdf3f71ce56 in QtPrivate::sequential_erase_with_copy<QList<QObject*>, QWidget*> (c=..., t=@0x7ffd4e36a748: 0xa5dd0b0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/tools/qcontainertools_impl.h:301
      #6  0x00007fdf3f71ce7b in QList<QObject*>::removeAll<QWidget*> (this=0x7fdf3da91c40 <main_arena+416>, t=@0x7ffd4e36a748: 0xa5dd0b0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/tools/qlist.h:519
      #7  0x00007fdf3f6fb493 in QWidget::removeAction (this=0xa5dd0b0, action=0x4d808f0) at /home/jarek/dev/qt-62-small/qtbase/src/widgets/kernel/qwidget.cpp:3192
      #8  0x00007fdf0d31c8cf in LanguageClient::updateEditorToolBar (editor=0xa79a6c0) at /home/jarek/dev/creator-6/src/plugins/languageclient/languageclientutils.cpp:271
      #9  0x00007fdf0d2a64f7 in LanguageClient::LanguageClientManager::editorOpened (this=0x187b390, editor=0xa79a6c0) at /home/jarek/dev/creator-6/src/plugins/languageclient/languageclientmanager.cpp:487
      #10 0x00007fdf0d2b8b1e in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<Core::IEditor*>, void, void (LanguageClient::LanguageClientManager::*)(Core::IEditor*)>::call (f=(void (LanguageClient::LanguageClientManager::*)(LanguageClient::LanguageClientManager * const, Core::IEditor *)) 0x7fdf0d2a633e <LanguageClient::LanguageClientManager::editorOpened(Core::IEditor*)>, o=0x187b390, arg=0x7ffd4e36ac70) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:152
      #11 0x00007fdf0d2b589f in QtPrivate::FunctionPointer<void (LanguageClient::LanguageClientManager::*)(Core::IEditor*)>::call<QtPrivate::List<Core::IEditor*>, void> (f=(void (LanguageClient::LanguageClientManager::*)(LanguageClient::LanguageClientManager * const, Core::IEditor *)) 0x7fdf0d2a633e <LanguageClient::LanguageClientManager::editorOpened(Core::IEditor*)>, o=0x187b390, arg=0x7ffd4e36ac70) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:185
      #12 0x00007fdf0d2b10bb in QtPrivate::QSlotObject<void (LanguageClient::LanguageClientManager::*)(Core::IEditor*), QtPrivate::List<Core::IEditor*>, void>::impl (which=1, this_=0x18a48e0, r=0x187b390, a=0x7ffd4e36ac70, ret=0x0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:395
      #13 0x00007fdf3df72ca1 in QtPrivate::QSlotObjectBase::call (this=0x18a48e0, r=0x187b390, a=0x7ffd4e36ac70) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:375
      #14 0x00007fdf3dfd84d9 in doActivate<false> (sender=0x1376b20, signal_index=7, argv=0x7ffd4e36ac70) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobject.cpp:3908
      #15 0x00007fdf3dfd0e3f in QMetaObject::activate (sender=0x1376b20, m=0x7fdf157772c0 <Core::EditorManager::staticMetaObject>, local_signal_index=4, argv=0x7ffd4e36ac70) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobject.cpp:3968
      #16 0x00007fdf1519d03b in Core::EditorManager::editorOpened (this=0x1376b20, _t1=0xa79a6c0) at /home/jarek/dev/creator-6-build-62-small-with-tests/src/plugins/coreplugin/Core_autogen/YAYUJISNOO/moc_editormanager.cpp:571
      #17 0x00007fdf152e4dd4 in Core::Internal::EditorManagerPrivate::addEditor (editor=0xa79a6c0) at /home/jarek/dev/creator-6/src/plugins/coreplugin/editormanager/editormanager.cpp:1457
      #18 0x00007fdf152e1c86 in Core::Internal::EditorManagerPrivate::openEditor (view=0x12d5b00, filePath=..., editorId=..., flags=..., newEditor=0x0) at /home/jarek/dev/creator-6/src/plugins/coreplugin/editormanager/editormanager.cpp:913
      #19 0x00007fdf152ed8a3 in Core::EditorManager::openEditor (filePath=..., editorId=..., flags=..., newEditor=0x0) at /home/jarek/dev/creator-6/src/plugins/coreplugin/editormanager/editormanager.cpp:3068
      #20 0x00007fdf1540168b in Core::BaseFileFilter::openEditorAt (selection=...) at /home/jarek/dev/creator-6/src/plugins/coreplugin/locator/basefilefilter.cpp:244
      #21 0x00007fdf1540147a in Core::BaseFileFilter::accept (this=0x15379c0, selection=..., newText=0x7ffd4e36b3e0, selectionStart=0x7ffd4e36b3dc, selectionLength=0x7ffd4e36b3d8) at /home/jarek/dev/creator-6/src/plugins/coreplugin/locator/basefilefilter.cpp:227
      #22 0x00007fdf15441719 in Core::Internal::LocatorWidget::acceptEntry (this=0x14b0b60, row=1) at /home/jarek/dev/creator-6/src/plugins/coreplugin/locator/locatorwidget.cpp:968
      #23 0x00007fdf1544129f in Core::Internal::LocatorWidget::handleSearchFinished (this=0x14b0b60) at /home/jarek/dev/creator-6/src/plugins/coreplugin/locator/locatorwidget.cpp:908
      #24 0x00007fdf154472f7 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (Core::Internal::LocatorWidget::*)()>::call(void (Core::Internal::LocatorWidget::*)(), Core::Internal::LocatorWidget*, void**) (f=(void (Core::Internal::LocatorWidget::*)(Core::Internal::LocatorWidget * const)) 0x7fdf1544122c <Core::Internal::LocatorWidget::handleSearchFinished()>, o=0x14b0b60, arg=0x7ffd4e36b888) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:152
      #25 0x00007fdf15446c62 in QtPrivate::FunctionPointer<void (Core::Internal::LocatorWidget::*)()>::call<QtPrivate::List<>, void>(void (Core::Internal::LocatorWidget::*)(), Core::Internal::LocatorWidget*, void**) (f=(void (Core::Internal::LocatorWidget::*)(Core::Internal::LocatorWidget * const)) 0x7fdf1544122c <Core::Internal::LocatorWidget::handleSearchFinished()>, o=0x14b0b60, arg=0x7ffd4e36b888) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:185
      #26 0x00007fdf15446451 in QtPrivate::QSlotObject<void (Core::Internal::LocatorWidget::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x14ab1d0, r=0x14b0b60, a=0x7ffd4e36b888, ret=0x0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:395
      #27 0x00007fdf3df72ca1 in QtPrivate::QSlotObjectBase::call (this=0x14ab1d0, r=0x14b0b60, a=0x7ffd4e36b888) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobjectdefs_impl.h:375
      #28 0x00007fdf3dfd84d9 in doActivate<false> (sender=0x14b6190, signal_index=4, argv=0x7ffd4e36b888) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobject.cpp:3908
      #29 0x00007fdf3dfd0e3f in QMetaObject::activate (sender=0x14b6190, m=0x7fdf3e5f78e0 <QFutureWatcherBase::staticMetaObject>, local_signal_index=1, argv=0x0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qobject.cpp:3968
      #30 0x00007fdf3e1b8995 in QFutureWatcherBase::finished (this=0x14b6190) at qtbase/src/corelib/Core_autogen/include/moc_qfuturewatcher.cpp:313
      #31 0x00007fdf3e1b7e1f in QFutureWatcherBasePrivate::sendCallOutEvent (this=0x14b3c30, event=0x7fde45e918f0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/thread/qfuturewatcher.cpp:529
      #32 0x00007fdf3e1b7807 in QFutureWatcherBase::event (this=0x14b6190, event=0x7fde45e918f0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/thread/qfuturewatcher.cpp:428
      #33 0x00007fdf3f68c388 in QApplicationPrivate::notify_helper (this=0xf1c780, receiver=0x14b6190, e=0x7fde45e918f0) at /home/jarek/dev/qt-62-small/qtbase/src/widgets/kernel/qapplication.cpp:3401
      #34 0x00007fdf3f689935 in QApplication::notify (this=0x7ffd4e36c920, receiver=0x14b6190, e=0x7fde45e918f0) at /home/jarek/dev/qt-62-small/qtbase/src/widgets/kernel/qapplication.cpp:2760
      #35 0x00007fdf3df54c38 in QCoreApplication::notifyInternal2 (receiver=0x14b6190, event=0x7fde45e918f0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qcoreapplication.cpp:1063
      #36 0x00007fdf3df55610 in QCoreApplication::sendEvent (receiver=0x14b6190, event=0x7fde45e918f0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qcoreapplication.cpp:1471
      #37 0x00007fdf3df5632b in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xf03070) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qcoreapplication.cpp:1830
      #38 0x00007fdf3df55c96 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qcoreapplication.cpp:1689
      #39 0x00007fdf3e2bed54 in postEventSourceDispatch (s=0xf66b00) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:279
      #40 0x00007fdf3ac7733f in g_main_dispatch (context=0x7fdf24005010) at ../glib/gmain.c:3381
      #41 g_main_context_dispatch (context=0x7fdf24005010) at ../glib/gmain.c:4099
      #42 0x00007fdf3accc2b8 in g_main_context_iterate.constprop.0 (context=context@entry=0x7fdf24005010, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4175
      #43 0x00007fdf3ac749e3 in g_main_context_iteration (context=0x7fdf24005010, may_block=1) at ../glib/gmain.c:4240
      #44 0x00007fdf3e2bf5b6 in QEventDispatcherGlib::processEvents (this=0xf66070, flags=...) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:429
      #45 0x00007fdf2c5ac6ec in QXcbGlibEventDispatcher::processEvents (this=0xf66070, flags=...) at /home/jarek/dev/qt-62-small/qtbase/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:132
      #46 0x00007fdf3df67323 in QEventLoop::processEvents (this=0x7ffd4e36c530, flags=...) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qeventloop.cpp:139
      #47 0x00007fdf3df67653 in QEventLoop::exec (this=0x7ffd4e36c530, flags=...) at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qeventloop.cpp:230
      #48 0x00007fdf3df5544f in QCoreApplication::exec () at /home/jarek/dev/qt-62-small/qtbase/src/corelib/kernel/qcoreapplication.cpp:1378
      #49 0x00007fdf3eb73e3a in QGuiApplication::exec () at /home/jarek/dev/qt-62-small/qtbase/src/gui/kernel/qguiapplication.cpp:1860
      #50 0x00007fdf3f68930f in QApplication::exec () at /home/jarek/dev/qt-62-small/qtbase/src/widgets/kernel/qapplication.cpp:2610
      #51 0x000000000040e0e0 in main (argc=1, argv=0x7ffd4e36db98) at /home/jarek/dev/creator-6/src/app/main.cpp:771
      

      Attachments

        Activity

          People

            jkobus Jarek Kobus
            jkobus Jarek Kobus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: