Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 2.1.0
-
None
-
qt-releases.git/4.7.1 (6a007684823298721ba2bdb26c8c0f726201547a) , creator: mainline.git/2.1 (886c4034d48de5e7098a3c8f607a7c92cbf3a42c)
Description
I think I was double clicking a word when this happened:
Backtrace:
#0 0x00007f028f7ca3b7 in QVector<QScriptLine>::operator[] (this=0x0, i=0) at ../../include/QtCore/../../src/corelib/tools/qvector.h:347 347 { Q_ASSERT_X(i >= 0 && i < d->size, "QVector<T>::operator[]", "index out of range"); (gdb) bt #0 0x00007f028f7ca3b7 in QVector<QScriptLine>::operator[] (this=0x0, i=0) at ../../include/QtCore/../../src/corelib/tools/qvector.h:347 #1 0x00007f028f9027b8 in QTextLine::naturalTextRect (this=0x7fff7aee6240) at /home/kkoehne/dev/qt/qt-4.7/src/gui/text/qtextlayout.cpp:1454 #2 0x00007f028573be91 in TextEditor::Internal::TextEditorOverlay::createSelectionPath (this=0x4558170, begin=..., end=..., clip=...) at /home/kkoehne/dev/creator/src/plugins/texteditor/texteditoroverlay.cpp:193 #3 0x00007f028573d58a in TextEditor::Internal::TextEditorOverlay::paintSelection (this=0x4558170, painter=0x7fff7aee6ff0, selection=...) at /home/kkoehne/dev/creator/src/plugins/texteditor/texteditoroverlay.cpp:322 #4 0x00007f028573dec8 in TextEditor::Internal::TextEditorOverlay::paint (this= 0x4558170, painter=0x7fff7aee6ff0, clip=...) at /home/kkoehne/dev/creator/src/plugins/texteditor/texteditoroverlay.cpp:403 #5 0x00007f02856dd4bc in TextEditor::BaseTextEditor::paintEvent (this= 0x1d2d840, e=0x7fff7aee8690) at /home/kkoehne/dev/creator/src/plugins/texteditor/basetexteditor.cpp:2440 #6 0x00007f028f6730e1 in QWidget::event (this=0x1d2d840, event=0x7fff7aee8690) at /home/kkoehne/dev/qt/qt-4.7/src/gui/kernel/qwidget.cpp:8346 #7 0x00007f028fafdc2f in QFrame::event (this=0x1d2d840, e=0x7fff7aee8690) at /home/kkoehne/dev/qt/qt-4.7/src/gui/widgets/qframe.cpp:557 ---Type <return> to continue, or q <return> to quit--- #8 0x00007f028fba82e1 in QAbstractScrollArea::viewportEvent (this=0x1d2d840, e=0x7fff7aee8690) at /home/kkoehne/dev/qt/qt-4.7/src/gui/widgets/qabstractscrollarea.cpp:1043 #9 0x00007f02856da960 in TextEditor::BaseTextEditor::viewportEvent (this= 0x1d2d840, event=0x7fff7aee8690) at /home/kkoehne/dev/creator/src/plugins/texteditor/basetexteditor.cpp:2056 #10 0x00007f028fba8f5b in QAbstractScrollAreaPrivate::viewportEvent (this= 0xfde170, event=0x7fff7aee8690) at /home/kkoehne/dev/qt/qt-4.7/src/gui/widgets/qabstractscrollarea_p.h:100 #11 0x00007f028fba9054 in QAbstractScrollAreaFilter::eventFilter (this= 0x349f930, o=0x2a86850, e=0x7fff7aee8690) at /home/kkoehne/dev/qt/qt-4.7/src/gui/widgets/qabstractscrollarea_p.h:116 #12 0x00007f028ecd841d in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x613060, receiver=0x2a86850, event=0x7fff7aee8690) at /home/kkoehne/dev/qt/qt-4.7/src/corelib/kernel/qcoreapplication.cpp:847 #13 0x00007f028f60bfed in QApplicationPrivate::notify_helper (this=0x613060, receiver=0x2a86850, e=0x7fff7aee8690) at /home/kkoehne/dev/qt/qt-4.7/src/gui/kernel/qapplication.cpp:4441 #14 0x00007f028f60bd16 in QApplication::notify (this=0x7fff7aee9b60, receiver= 0x2a86850, e=0x7fff7aee8690) at /home/kkoehne/dev/qt/qt-4.7/src/gui/kernel/qapplication.cpp:4410 #15 0x00007f028ecd810b in QCoreApplication::notifyInternal (this= 0x7fff7aee9b60, receiver=0x2a86850, event=0x7fff7aee8690) #16 0x00007f028f60efcd in QCoreApplication::sendSpontaneousEvent (receiver= 0x2a86850, event=0x7fff7aee8690) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218 #17 0x00007f028f66abe2 in QWidgetPrivate::drawWidget (this=0xfd2700, pdev= 0xeb9d88, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore= 0xec6400) at /home/kkoehne/dev/qt/qt-4.7/src/gui/kernel/qwidget.cpp:5433 #18 0x00007f028f8a8f02 in QWidgetBackingStore::sync (this=0xec6400) at /home/kkoehne/dev/qt/qt-4.7/src/gui/painting/qbackingstore.cpp:1325 #19 0x00007f028f6616ca in QWidgetPrivate::syncBackingStore (this=0x6bd940) at /home/kkoehne/dev/qt/qt-4.7/src/gui/kernel/qwidget.cpp:1816 #20 0x00007f028f673710 in QWidget::event (this=0x6c1ee0, event=0x5af66d0) at /home/kkoehne/dev/qt/qt-4.7/src/gui/kernel/qwidget.cpp:8493 #21 0x00007f028fb215b0 in QMainWindow::event (this=0x6c1ee0, event=0x5af66d0) at /home/kkoehne/dev/qt/qt-4.7/src/gui/widgets/qmainwindow.cpp:1478 #22 0x00007f028f60c016 in QApplicationPrivate::notify_helper (this=0x613060, receiver=0x6c1ee0, e=0x5af66d0) at /home/kkoehne/dev/qt/qt-4.7/src/gui/kernel/qapplication.cpp:4445 #23 0x00007f028f60bd16 in QApplication::notify (this=0x7fff7aee9b60, receiver= 0x6c1ee0, e=0x5af66d0) at /home/kkoehne/dev/qt/qt-4.7/src/gui/kernel/qapplication.cpp:4410 #24 0x00007f028ecd810b in QCoreApplication::notifyInternal (this= 0x7fff7aee9b60, receiver=0x6c1ee0, event=0x5af66d0) at /home/kkoehne/dev/qt/qt-4.7/src/corelib/kernel/qcoreapplication.cpp:732 #25 0x00007f028f5fccb7 in QCoreApplication::sendEvent (receiver=0x6c1ee0, event=0x5af66d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #26 0x00007f028ecd9344 in QCoreApplicationPrivate::sendPostedEvents (receiver= 0x0, event_type=0, data=0x613220) at /home/kkoehne/dev/qt/qt-4.7/src/corelib/kernel/qcoreapplication.cpp:1373 #27 0x00007f028ecd8f65 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /home/kkoehne/dev/qt/qt-4.7/src/corelib/kernel/qcoreapplication.cpp:1266 #28 0x00007f028f6d7cc9 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220 #29 0x00007f028ed108e4 in postEventSourceDispatch (s=0x61c000) at /home/kkoehne/dev/qt/qt-4.7/src/corelib/kernel/qeventdispatcher_glib.cpp:277 #30 0x00007f028d575a93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #31 0x00007f028d576270 in ?? () from /usr/lib64/libglib-2.0.so.0 #32 0x00007f028d576510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #33 0x00007f028ed111ad in QEventDispatcherGlib::processEvents (this=0x6185b0, flags=...) at /home/kkoehne/dev/qt/qt-4.7/src/corelib/kernel/qeventdispatcher_glib.cpp: #34 0x00007f028f6e3f0e in QGuiEventDispatcherGlib::processEvents (this= 0x6185b0, flags=...) at /home/kkoehne/dev/qt/qt-4.7/src/gui/kernel/qguieventdispatcher_glib.cpp:204 #35 0x00007f028ecd5c6e in QEventLoop::processEvents (this=0x7fff7aee9a80, flags=...) at /home/kkoehne/dev/qt/qt-4.7/src/corelib/kernel/qeventloop.cpp:149 #36 0x00007f028ecd5dc2 in QEventLoop::exec (this=0x7fff7aee9a80, flags=...) at /home/kkoehne/dev/qt/qt-4.7/src/corelib/kernel/qeventloop.cpp:201 #37 0x00007f028ecd87fe in QCoreApplication::exec () at /home/kkoehne/dev/qt/qt-4.7/src/corelib/kernel/qcoreapplication.cpp:1009 #38 0x00007f028f6091b2 in QApplication::exec () at /home/kkoehne/dev/qt/qt-4.7/src/gui/kernel/qapplication.cpp:3719 #39 0x000000000040a6c7 in main (argc=1, argv=0x7fff7aeea398) at /home/kkoehne/dev/creator/src/app/main.cpp:326
Attachments
Issue Links
- is replaced by
-
QTCREATORBUG-2471 Crash in painting selection overlay
- Closed