XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • None
    • Qt Creator 13.0.0
    • Help System
    • None
    • Linux/X11
    • 7e8eb0f5e (master), 51ddffefd (13.0), bff383377 (dev), c3a80b8f7 (6.7)

    Description

      Happens during typing inside the search bar of help page. To reproduce:
      1. Open help page for "QHeaderView".
      2. Press Ctrl + F and type: "toCon".
      3. Press Return - crash.

      Call stack:

      Thread 1 (Thread 0x7f8a2a97ae40 (LWP 61281)):
      #0  0x00007f8a2b30a56e in QExplicitlySharedDataPointer<QFontPrivate>::QExplicitlySharedDataPointer (this=0x7ffe028e36a0, o=...) at /home/jarek/dev/qt-65/qtbase/src/corelib/tools/qshareddata.h:149
      #1  0x00007f8a2b301ceb in QFont::QFont (this=0x7ffe028e36a0, font=...) at /home/jarek/dev/qt-65/qtbase/src/gui/text/qfont.cpp:750
      #2  0x00007f89f8062b30 in toQFont (hFont=0) at /home/jarek/dev/creator-13/src/libs/qlitehtml/src/container_qpainter.cpp:38
      #3  0x00007f89f806bb1d in operator() (__closure=0x7ffe028e378a, e=...) at /home/jarek/dev/creator-13/src/libs/qlitehtml/src/container_qpainter.cpp:1210
      #4  0x00007f89f806c5bf in DocumentContainer::findText (this=0x55bd8f4a4548, text=..., flags=..., incremental=true, wrapped=0x7ffe028e3a16, success=0x7ffe028e38bf, oldSelection=0x7ffe028e3940, newSelection=0x7ffe028e3960) at /home/jarek/dev/creator-13/src/libs/qlitehtml/src/container_qpainter.cpp:1241
      #5  0x00007f89f8081fc2 in QLiteHtmlWidget::findText (this=0x55bda01b34a0, text=..., flags=..., incremental=true, wrapped=0x7ffe028e3a16) at /home/jarek/dev/creator-13/src/libs/qlitehtml/src/qlitehtmlwidget.cpp:449
      #6  0x00007f89f825776d in Help::Internal::LiteHtmlHelpViewer::findText (this=0x55bda0131920, text=..., flags=..., incremental=true, fromSearch=false, wrapped=0x7ffe028e3a16) at /home/jarek/dev/creator-13/src/plugins/help/litehtmlhelpviewer.cpp:220
      #7  0x00007f89f81e8791 in Help::Internal::HelpViewerFindSupport::find (this=0x55bd91c2e170, txt=..., findFlags=..., incremental=true) at /home/jarek/dev/creator-13/src/plugins/help/helpfindsupport.cpp:49
      #8  0x00007f89f81e867a in Help::Internal::HelpViewerFindSupport::findIncremental (this=0x55bd91c2e170, txt=..., findFlags=...) at /home/jarek/dev/creator-13/src/plugins/help/helpfindsupport.cpp:34
      #9  0x00007f8a0315e9e3 in Core::Internal::CurrentDocumentFind::findIncremental (this=0x55bd8dcdcef0, txt=..., findFlags=...) at /home/jarek/dev/creator-13/src/plugins/coreplugin/find/currentdocumentfind.cpp:99
      #10 0x00007f8a03176176 in Core::Internal::FindToolBar::invokeFindIncremental (this=0x55bd8dcdcfe0) at /home/jarek/dev/creator-13/src/plugins/coreplugin/find/findtoolbar.cpp:690
      #11 0x00007f8a031801d0 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (Core::Internal::FindToolBar::*)()>::call(void (Core::Internal::FindToolBar::*)(), Core::Internal::FindToolBar*, void**) (f=(void (Core::Internal::FindToolBar::*)(Core::Internal::FindToolBar * const)) 0x7f8a031760e2 <Core::Internal::FindToolBar::invokeFindIncremental()>, o=0x55bd8dcdcfe0, arg=0x7ffe028e3d30) at /home/jarek/dev/qt-65/qtbase/src/corelib/kernel/qobjectdefs_impl.h:137
      #12 0x00007f8a0317fca5 in QtPrivate::FunctionPointer<void (Core::Internal::FindToolBar::*)()>::call<QtPrivate::List<>, void>(void (Core::Internal::FindToolBar::*)(), Core::Internal::FindToolBar*, void**) (f=(void (Core::Internal::FindToolBar::*)(Core::Internal::FindToolBar * const)) 0x7f8a031760e2 <Core::Internal::FindToolBar::invokeFindIncremental()>, o=0x55bd8dcdcfe0, arg=0x7ffe028e3d30) at /home/jarek/dev/qt-65/qtbase/src/corelib/kernel/qobjectdefs_impl.h:174
      #13 0x00007f8a0317f879 in QtPrivate::QSlotObject<void (Core::Internal::FindToolBar::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x55bd8dceccf0, r=0x55bd8dcdcfe0, a=0x7ffe028e3d30, ret=0x0) at /home/jarek/dev/qt-65/qtbase/src/corelib/kernel/qobjectdefs_impl.h:432
      #14 0x00007f8a2a19dc13 in QtPrivate::QSlotObjectBase::call (this=0x55bd8dceccf0, r=0x55bd8dcdcfe0, a=0x7ffe028e3d30) at /home/jarek/dev/qt-65/qtbase/src/corelib/kernel/qobjectdefs_impl.h:374
      #15 0x00007f8a2a216714 in doActivate<false> (sender=0x55bd8dcdee40, signal_index=7, argv=0x7ffe028e3d30) at /home/jarek/dev/qt-65/qtbase/src/corelib/kernel/qobject.cpp:4036
      #16 0x00007f8a2a20c6b9 in QMetaObject::activate (sender=0x55bd8dcdee40, m=0x7f8a2c97c3c0 <QLineEdit::staticMetaObject>, local_signal_index=0, argv=0x7ffe028e3d30) at /home/jarek/dev/qt-65/qtbase/src/corelib/kernel/qobject.cpp:4096
      #17 0x00007f8a2c244790 in QLineEdit::textChanged (this=0x55bd8dcdee40, _t1=...) at /home/jarek/dev/qt-65-build/qtbase/src/widgets/Widgets_autogen/include/moc_qlineedit.cpp:696
      #18 0x00007f8a2c24393a in QLineEdit::qt_static_metacall (_o=0x55bd8dcdee40, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7ffe028e3f90) at /home/jarek/dev/qt-65-build/qtbase/src/widgets/Widgets_autogen/include/moc_qlineedit.cpp:525
      #19 0x00007f8a2a2167c2 in doActivate<false> (sender=0x55bd8d57f350, signal_index=6, argv=0x7ffe028e3f90) at /home/jarek/dev/qt-65/qtbase/src/corelib/kernel/qobject.cpp:4048
      #20 0x00007f8a2a20c6b9 in QMetaObject::activate (sender=0x55bd8d57f350, m=0x7f8a2c97cb60 <QWidgetLineControl::staticMetaObject>, local_signal_index=3, argv=0x7ffe028e3f90) at /home/jarek/dev/qt-65/qtbase/src/corelib/kernel/qobject.cpp:4096
      #21 0x00007f8a2c255aa6 in QWidgetLineControl::textChanged (this=0x55bd8d57f350, _t1=...) at /home/jarek/dev/qt-65-build/qtbase/src/widgets/Widgets_autogen/include/moc_qwidgetlinecontrol_p.cpp:362
      #22 0x00007f8a2c24f5e7 in QWidgetLineControl::finishChange (this=0x55bd8d57f350, validateFromState=68, update=false, edited=true) at /home/jarek/dev/qt-65/qtbase/src/widgets/widgets/qwidgetlinecontrol.cpp:713
      #23 0x00007f8a2c24daff in QWidgetLineControl::insert (this=0x55bd8d57f350, newText=...) at /home/jarek/dev/qt-65/qtbase/src/widgets/widgets/qwidgetlinecontrol.cpp:232
      #24 0x00007f8a2c255007 in QWidgetLineControl::processKeyEvent (this=0x55bd8d57f350, event=0x7ffe028e4bf0) at /home/jarek/dev/qt-65/qtbase/src/widgets/widgets/qwidgetlinecontrol.cpp:1915
      #25 0x00007f8a2c23ff9c in QLineEdit::keyPressEvent (this=0x55bd8dcdee40, event=0x7ffe028e4bf0) at /home/jarek/dev/qt-65/qtbase/src/widgets/widgets/qlineedit.cpp:1742
      #26 0x00007f8a2cc2a73c in Utils::CompletingLineEdit::keyPressEvent (this=0x55bd8dcdee40, e=0x7ffe028e4bf0) at /home/jarek/dev/creator-13/src/libs/utils/completinglineedit.cpp:45
      #27 0x00007f8a2ccb3136 in Utils::FancyLineEdit::keyPressEvent (this=0x55bd8dcdee40, event=0x7ffe028e4bf0) at /home/jarek/dev/creator-13/src/libs/utils/fancylineedit.cpp:384
      #28 0x00007f8a2c03a2e3 in QWidget::event (this=0x55bd8dcdee40, event=0x7ffe028e4bf0) at /home/jarek/dev/qt-65/qtbase/src/widgets/kernel/qwidget.cpp:8977
      #29 0x00007f8a2c23f3a2 in QLineEdit::event (this=0x55bd8dcdee40, e=0x7ffe028e4bf0) at /home/jarek/dev/qt-65/qtbase/src/widgets/widgets/qlineedit.cpp:1476
      #30 0x00007f8a2cc2a659 in Utils::CompletingLineEdit::event (this=0x55bd8dcdee40, e=0x7ffe028e4bf0) at /home/jarek/dev/creator-13/src/libs/utils/completinglineedit.cpp:32
      #31 0x00007f8a2bfa9d96 in QApplicationPrivate::notify_helper (this=0x55bd8d5797c0, receiver=0x55bd8dcdee40, e=0x7ffe028e4bf0) at /home/jarek/dev/qt-65/qtbase/src/widgets/kernel/qapplication.cpp:3290
      #32 0x00007f8a2bfa73f8 in QApplication::notify (this=0x55bd8d5760a0, receiver=0x55bd8dcdee40, e=0x7ffe028e4bf0) at /home/jarek/dev/qt-65/qtbase/src/widgets/kernel/qapplication.cpp:2718
      #33 0x00007f8a2a17a435 in QCoreApplication::notifyInternal2 (receiver=0x55bd8dcdee40, event=0x7ffe028e4bf0) at /home/jarek/dev/qt-65/qtbase/src/corelib/kernel/qcoreapplication.cpp:1119
      #34 0x00007f8a2a17a4c8 in QCoreApplication::forwardEvent (receiver=0x55bd8dcdee40, event=0x7ffe028e4bf0, originatingEvent=0x0) at /home/jarek/dev/qt-65/qtbase/src/corelib/kernel/qcoreapplication.cpp:1134
      #35 0x00007f8a2c06e12f in QWidgetWindow::handleKeyEvent (this=0x55bd8db83b20, event=0x7ffe028e4bf0) at /home/jarek/dev/qt-65/qtbase/src/widgets/kernel/qwidgetwindow.cpp:665
      #36 0x00007f8a2c06c196 in QWidgetWindow::event (this=0x55bd8db83b20, event=0x7ffe028e4bf0) at /home/jarek/dev/qt-65/qtbase/src/widgets/kernel/qwidgetwindow.cpp:234
      #37 0x00007f8a2bfa9d96 in QApplicationPrivate::notify_helper (this=0x55bd8d5797c0, receiver=0x55bd8db83b20, e=0x7ffe028e4bf0) at /home/jarek/dev/qt-65/qtbase/src/widgets/kernel/qapplication.cpp:3290
      #38 0x00007f8a2bfa9b88 in QApplication::notify (this=0x55bd8d5760a0, receiver=0x55bd8db83b20, e=0x7ffe028e4bf0) at /home/jarek/dev/qt-65/qtbase/src/widgets/kernel/qapplication.cpp:3241
      #39 0x00007f8a2a17a435 in QCoreApplication::notifyInternal2 (receiver=0x55bd8db83b20, event=0x7ffe028e4bf0) at /home/jarek/dev/qt-65/qtbase/src/corelib/kernel/qcoreapplication.cpp:1119
      #40 0x00007f8a2a17b067 in QCoreApplication::sendSpontaneousEvent (receiver=0x55bd8db83b20, event=0x7ffe028e4bf0) at /home/jarek/dev/qt-65/qtbase/src/corelib/kernel/qcoreapplication.cpp:1551
      #41 0x00007f8a2afe7ed9 in QGuiApplicationPrivate::processKeyEvent (e=0x7ffe028e4db0) at /home/jarek/dev/qt-65/qtbase/src/gui/kernel/qguiapplication.cpp:2442
      #42 0x00007f8a2afe685e in QGuiApplicationPrivate::processWindowSystemEvent (e=0x7ffe028e4db0) at /home/jarek/dev/qt-65/qtbase/src/gui/kernel/qguiapplication.cpp:2071
      #43 0x00007f8a245cf7e0 in QIBusPlatformInputContext::filterEventFinished (this=0x55bd8d60d890, call=0x55bd9eaac740) at /home/jarek/dev/qt-65/qtbase/src/plugins/platforminputcontexts/ibus/qibusplatforminputcontext.cpp:507
      #44 0x00007f8a245d8ca5 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QDBusPendingCallWatcher*>, void, void (QIBusPlatformInputContext::*)(QDBusPendingCallWatcher*)>::call (f=(void (QIBusPlatformInputContext::*)(QIBusPlatformInputContext * const, QDBusPendingCallWatcher *)) 0x7f8a245cf30c <QIBusPlatformInputContext::filterEventFinished(QDBusPendingCallWatcher*)>, o=0x55bd8d60d890, arg=0x7ffe028e50a0) at /home/jarek/dev/qt-65-build/qtbase/include/QtCore/../../../../qt-65/qtbase/src/corelib/kernel/qobjectdefs_impl.h:137
      #45 0x00007f8a245d8573 in QtPrivate::FunctionPointer<void (QIBusPlatformInputContext::*)(QDBusPendingCallWatcher*)>::call<QtPrivate::List<QDBusPendingCallWatcher*>, void> (f=(void (QIBusPlatformInputContext::*)(QIBusPlatformInputContext * const, QDBusPendingCallWatcher *)) 0x7f8a245cf30c <QIBusPlatformInputContext::filterEventFinished(QDBusPendingCallWatcher*)>, o=0x55bd8d60d890, arg=0x7ffe028e50a0) at /home/jarek/dev/qt-65-build/qtbase/include/QtCore/../../../../qt-65/qtbase/src/corelib/kernel/qobjectdefs_impl.h:174
      #46 0x00007f8a245d779d in QtPrivate::QSlotObject<void (QIBusPlatformInputContext::*)(QDBusPendingCallWatcher*), QtPrivate::List<QDBusPendingCallWatcher*>, void>::impl (which=1, this_=0x55bda1ac0560, r=0x55bd8d60d890, a=0x7ffe028e50a0, ret=0x0) at /home/jarek/dev/qt-65-build/qtbase/include/QtCore/../../../../qt-65/qtbase/src/corelib/kernel/qobjectdefs_impl.h:432
      #47 0x00007f8a2a19dc13 in QtPrivate::QSlotObjectBase::call (this=0x55bda1ac0560, r=0x55bd8d60d890, a=0x7ffe028e50a0) at /home/jarek/dev/qt-65/qtbase/src/corelib/kernel/qobjectdefs_impl.h:374
      #48 0x00007f8a2a216714 in doActivate<false> (sender=0x55bd9eaac740, signal_index=3, argv=0x7ffe028e50a0) at /home/jarek/dev/qt-65/qtbase/src/corelib/kernel/qobject.cpp:4036
      #49 0x00007f8a2a20c6b9 in QMetaObject::activate (sender=0x55bd9eaac740, m=0x7f8a288c73e0 <QDBusPendingCallWatcher::staticMetaObject>, local_signal_index=0, argv=0x7ffe028e50a0) at /home/jarek/dev/qt-65/qtbase/src/corelib/kernel/qobject.cpp:4096
      #50 0x00007f8a2882f080 in QDBusPendingCallWatcher::finished (this=0x55bd9eaac740, _t1=0x55bd9eaac740) at /home/jarek/dev/qt-65-build/qtbase/src/dbus/DBus_autogen/include/moc_qdbuspendingcall.cpp:201
      #51 0x00007f8a2882f12f in QDBusPendingCallWatcherPrivate::_q_finished (this=0x55bda2612460) at /home/jarek/dev/qt-65/qtbase/src/dbus/qdbuspendingcall.cpp:460
      #52 0x00007f8a2882edba in QDBusPendingCallWatcher::qt_static_metacall (_o=0x55bd9eaac740, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x55bda298f358) at /home/jarek/dev/qt-65-build/qtbase/src/dbus/DBus_autogen/include/moc_qdbuspendingcall.cpp:139
      #53 0x00007f8a2a2034ed in QMetaCallEvent::placeMetaCall (this=0x55bda298f310, object=0x55bd9eaac740) at /home/jarek/dev/qt-65/qtbase/src/corelib/kernel/qobject.cpp:652
      #54 0x00007f8a2a20488c in QObject::event (this=0x55bd9eaac740, e=0x55bda298f310) at /home/jarek/dev/qt-65/qtbase/src/corelib/kernel/qobject.cpp:1438
      #55 0x00007f8a2bfa9d96 in QApplicationPrivate::notify_helper (this=0x55bd8d5797c0, receiver=0x55bd9eaac740, e=0x55bda298f310) at /home/jarek/dev/qt-65/qtbase/src/widgets/kernel/qapplication.cpp:3290
      #56 0x00007f8a2bfa9b88 in QApplication::notify (this=0x55bd8d5760a0, receiver=0x55bd9eaac740, e=0x55bda298f310) at /home/jarek/dev/qt-65/qtbase/src/widgets/kernel/qapplication.cpp:3241
      #57 0x00007f8a2a17a435 in QCoreApplication::notifyInternal2 (receiver=0x55bd9eaac740, event=0x55bda298f310) at /home/jarek/dev/qt-65/qtbase/src/corelib/kernel/qcoreapplication.cpp:1119
      #58 0x00007f8a2a17afd7 in QCoreApplication::sendEvent (receiver=0x55bd9eaac740, event=0x55bda298f310) at /home/jarek/dev/qt-65/qtbase/src/corelib/kernel/qcoreapplication.cpp:1537
      #59 0x00007f8a2a17bf2e in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55bd8d577150) at /home/jarek/dev/qt-65/qtbase/src/corelib/kernel/qcoreapplication.cpp:1899
      #60 0x00007f8a2a17b7fc in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /home/jarek/dev/qt-65/qtbase/src/corelib/kernel/qcoreapplication.cpp:1758
      #61 0x00007f8a2a5cdfd8 in postEventSourceDispatch (s=0x55bd8d60af70) at /home/jarek/dev/qt-65/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:243
      #62 0x00007f8a28920d3b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #63 0x00007f8a28976258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #64 0x00007f8a2891e3e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #65 0x00007f8a2a5ce89a in QEventDispatcherGlib::processEvents (this=0x55bd8d5f3970, flags=...) at /home/jarek/dev/qt-65/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:393
      #66 0x00007f8a2591d22a in QXcbGlibEventDispatcher::processEvents (this=0x55bd8d5f3970, flags=...) at /home/jarek/dev/qt-65/qtbase/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:96
      #67 0x00007f8a2a18e941 in QEventLoop::processEvents (this=0x7ffe028e5910, flags=...) at /home/jarek/dev/qt-65/qtbase/src/corelib/kernel/qeventloop.cpp:100
      #68 0x00007f8a2a18ecb0 in QEventLoop::exec (this=0x7ffe028e5910, flags=...) at /home/jarek/dev/qt-65/qtbase/src/corelib/kernel/qeventloop.cpp:182
      #69 0x00007f8a2a17ada0 in QCoreApplication::exec () at /home/jarek/dev/qt-65/qtbase/src/corelib/kernel/qcoreapplication.cpp:1440
      #70 0x00007f8a2afe6146 in QGuiApplication::exec () at /home/jarek/dev/qt-65/qtbase/src/gui/kernel/qguiapplication.cpp:1925
      #71 0x00007f8a2bfa6d83 in QApplication::exec () at /home/jarek/dev/qt-65/qtbase/src/widgets/kernel/qapplication.cpp:2569
      #72 0x000055bd8b5f6896 in main (argc=1, argv=0x7ffe028e6078) at /home/jarek/dev/creator-13/src/app/main.cpp:888
      

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-30427
        # Subject Branch Project Status CR V

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes