I saw this same crash yesterday repeatedly as well and had to open a
separate text editor just to actually get work done.  Usually creator is
rock solid.

--James

On Tue, Aug 18, 2009 at 6:34 PM, Dale Marchand <[email protected]>wrote:

> Hi,
>
> I'm using the current git master version
> (5b6ab144c6cabd8d01a5974fe66a0a5be72050a7) and am getting a crash
> whenever I try to add the first double quotes of an #include directive
>
> i.e.
> #include "
>
> As soon as I type the first double-quote, qt-creator crashes with the
> following backtrace:
>
> 0    _dl_sysinfo_int80    /lib/ld-linux.so.2    0    0x00a697a2
> 1    raise    /lib/tls/libc.so.6    0    0x00aaa825
> 2    abort    /lib/tls/libc.so.6    0    0x00aac289
> 3    qt_message_output    qglobal.cpp    2042    0x007207e9
> 4    qFatal    qbytearray.h    375    0x0072087b
> 5    qt_assert    qglobal.cpp    1811    0x0072095e
> 6    QList<TextEditor::CompletionItem>::last    qlist.h    254
> 0x01991c38
> 7    TextEditor::Internal::CompletionSupport::getCompletions
> completionsupport.cpp    217    0x019910ef
> 8    TextEditor::Internal::CompletionSupport::autoComplete_helper
> completionsupport.cpp    130    0x019909a3
> 9    TextEditor::Internal::CompletionSupport::autoComplete
> completionsupport.cpp    94    0x0199079f
> 10    TextEditor::Internal::CompletionSupport::qt_metacall
> moc_completionsupport.cpp    73    0x019be2ba
> 11    QMetaObject::activate    qobject.cpp    3104    0x0082c0f2
> 12    QMetaObject::activate    qobject.cpp    3178    0x0082c82f
> 13    TextEditor::BaseTextEditor::requestAutoCompletion
> moc_basetexteditor.cpp    355    0x019bf2f5
> 14    TextEditor::BaseTextEditor::keyPressEvent    basetexteditor.cpp
> 1061    0x0196986d
> 15    CppEditor::Internal::CPPEditor::keyPressEvent    cppeditor.cpp
> 1410    0x072dc594
> 16    QWidget::event    qwidget.cpp    7584    0x0108e033
> 17    QFrame::event    qframe.cpp    559    0x0143b9b9
> 18    QAbstractScrollArea::event    qabstractscrollarea.cpp    918
> 0x014d96d4
> 19    QPlainTextEdit::event    qplaintextedit.cpp    1431    0x014fb999
> 20    TextEditor::BaseTextEditor::event    basetexteditor.cpp    1157
> 0x01969db5
> 21    CppEditor::Internal::CPPEditor::event    cppeditor.cpp    1316
> 0x072dbdcf
> 22    QApplicationPrivate::notify_helper    qapplication.cpp    4056
> 0x01039a06
> 23    QApplication::notify    qapplication.cpp    3662    0x0103b41f
> 24    QCoreApplication::notifyInternal    qcoreapplication.cpp    610
> 0x00819fcf
> 25    qt_sendSpontaneousEvent    qcoreapplication.h    216    0x01038f5f
> 26    QKeyMapper::sendKeyEvent    qkeymapper_x11.cpp    1675
> 0x010ce5fb
> 27    QKeyMapperPrivate::translateKeyEvent    qglobal.h    1990
> 0x010cebbf
> 28    QApplication::x11ProcessEvent    qapplication_x11.cpp    3443
> 0x010ab47f
> 29    x11EventSourceDispatch    qcoreapplication.h    102    0x010d0279
> 30    g_main_context_dispatch    /usr/lib/libglib-2.0.so.0    0
> 0x0023974b
> 31    g_main_context_acquire    /usr/lib/libglib-2.0.so.0    0
> 0x0023b1d2
> 32    g_main_context_iteration    /usr/lib/libglib-2.0.so.0    0
> 0x0023b6b8
> 33    QEventDispatcherGlib::processEvents
> qeventdispatcher_glib.cpp    329    0x00844689
> 34    QGuiEventDispatcherGlib::processEvents    qglobal.h    1990
> 0x010cfcaf
> 35    QEventLoop::processEvents    qglobal.h    1990    0x008195c8
> 36    QEventLoop::exec    qglobal.h    2006    0x00819781
> 37    QCoreApplication::exec    qglobal.h    1991    0x0081dca9
> 38    QApplication::exec    qapplication.cpp    3525    0x01038c9c
> 39    main    main.cpp    313    0x08052d7e
>
> It looks like the last() method in QList is getting called on an empty
> list.
>
> If this isn't the proper forum to post this info, please advise.
>
> Dale Marchand
>
>
>
> NOTICE: This e-mail message and any attachments to it contain confidential
> information and are intended solely for the use of the individual(s) or
> entities to which it is addressed. If you are not the intended recipient, or
> an employee or agent responsible for delivering this message to the intended
> recipient, you are hereby notified that you are prohibited from reviewing,
> retransmitting, converting to hard copy, copying, disseminating, or
> otherwise using in any manner this e-mail or any attachments to it. If you
> have received this message in error, please notify the sender by replying to
> this message and delete it from your computer.
>
>
> _______________________________________________
> Qt-creator mailing list
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to