← Back to team overview

mudlet-makers team mailing list archive

[Bug 527124] Re: Freeze when clicking 'Scripts' with script editor already open and '$' in the search box

 

** Changed in: mudlet
       Status: Fix Committed => Fix Released

-- 
Freeze when clicking 'Scripts' with script editor already open and '$' in the search box
https://bugs.launchpad.net/bugs/527124
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.

Status in Mudlet the MUD client: Fix Released

Bug description:
Searched for $, and then didn't use the script editor for a while. Pressed the Scripts button to bring it up, Mudlet froze.

Couldn't reproduce it again right after, but this did happen, and a looping QRegExpEngine::badCharMatch sounds like the other script editor bug where you can't search for things that are similar to regex patterns.

Backtrace of it while it was frozen:

#0  memset() at ../sysdeps/x86_64/memset.S:51
#1  QRegExpEngine::badCharMatch(this = <value optimized out>, receiver = 0x2859710, e = 0x7fffed5d6e40) at /var/tmp/qt-x11-src-4.6.0/src/corelib/tools/qregexp.cpp:1894
#2  QRegExpMatchState::match(this = 0x7fffed5d7d20, receiver = 0x2859710, event = 0x7fffed5d6e40) at /var/tmp/qt-x11-src-4.6.0/src/corelib/tools/qregexp.cpp:1450
#3  QRegExp::indexIn(event = 0x40) at /var/tmp/qt-x11-src-4.6.0/src/corelib/tools/qregexp.cpp:4113
#4  THighlighter::highlightBlock(QString const&)(receiver = 0x2859710, event = 0x7fffed5d6e40, alienWidget = 0x2859710, nativeWidget = 0x284da20, buttonDown = <value optimized out>, lastMouseReceiver = , spontaneous = true) at :0
#5  QSyntaxHighlighterPrivate::reformatBlock(this = 0x284da20, event = <value optimized out>) at /var/tmp/qt-x11-src-4.6.0/src/gui/text/qsyntaxhighlighter.cpp:204
#6  QSyntaxHighlighterPrivate::_q_reformatBlocks(this = 0x7fffed5d7d20, event = 0x7fffed5d7750) at /var/tmp/qt-x11-src-4.6.0/src/gui/text/qsyntaxhighlighter.cpp:184
#7  QSyntaxHighlighter::qt_metacall(s = 0x2647330, callback = 0, user_data = 0x0) at .moc/release-shared/moc_qsyntaxhighlighter.cpp:81
#8  QMetaObject::activate() at /var/tmp/qt-x11-src-4.6.0/src/corelib/kernel/qobject.cpp:3286
#9  QTextDocument::contentsChange() at /var/tmp/qt-x11-src-4.6.0/src/gui/.moc/release-shared/moc_qtextdocument.cpp:188
#10  QTextDocumentPrivate::finishEdit() at /var/tmp/qt-x11-src-4.6.0/src/gui/text/qtextdocument_p.cpp:1141
#11  QTextControlPrivate::setContent(this = 0x26436f0, flags = ) at /var/tmp/qt-x11-src-4.6.0/src/gui/text/qtextcontrol.cpp:475
#12  dlgTriggerEditor::slot_scripts_clicked(QTreeWidgetItem*, int)(this = 0x5049bc8, flags = <value optimized out>) at :0
#13  dlgTriggerEditor::slot_show_scripts()(this = <value optimized out>, flags = ) at :0
#14  mudlet::show_script_dialog()(this = 0x7fffed5d7b60, flags = ) at :0
#15  mudlet::qt_metacall(QMetaObject::Call, int, void**)() at :0
#16  QMetaObject::activate() at /var/tmp/qt-x11-src-4.6.0/src/corelib/kernel/qobject.cpp:3286
#17  QAction::triggered() at .moc/release-shared/moc_qaction.cpp:263
#18  QAction::activate() at /var/tmp/qt-x11-src-4.6.0/src/gui/kernel/qaction.cpp:1245
#19  QAbstractButtonPrivate::click() at /var/tmp/qt-x11-src-4.6.0/src/gui/widgets/qabstractbutton.cpp:528
#20  QAbstractButton::mouseReleaseEvent() at /var/tmp/qt-x11-src-4.6.0/src/gui/widgets/qabstractbutton.cpp:1118
#21  QToolButton::mouseReleaseEvent() at /var/tmp/qt-x11-src-4.6.0/src/gui/widgets/qtoolbutton.cpp:721
#22  QWidget::event() at /var/tmp/qt-x11-src-4.6.0/src/gui/kernel/qwidget.cpp:7974
#23  QAbstractButton::event() at /var/tmp/qt-x11-src-4.6.0/src/gui/widgets/qabstractbutton.cpp:1080
#24  QToolButton::event() at /var/tmp/qt-x11-src-4.6.0/src/gui/widgets/qtoolbutton.cpp:1163
#25  QApplicationPrivate::notify_helper() at /var/tmp/qt-x11-src-4.6.0/src/gui/kernel/qapplication.cpp:4242
#26  QApplication::notify() at /var/tmp/qt-x11-src-4.6.0/src/gui/kernel/qapplication.cpp:3822
#27  QCoreApplication::notifyInternal() at /var/tmp/qt-x11-src-4.6.0/src/corelib/kernel/qcoreapplication.cpp:704
#28  QCoreApplication::sendEvent() at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#29  QApplicationPrivate::sendMouseEvent() at /var/tmp/qt-x11-src-4.6.0/src/gui/kernel/qapplication.cpp:2956
#30  QETWidget::translateMouseEvent() at /var/tmp/qt-x11-src-4.6.0/src/gui/kernel/qapplication_x11.cpp:4368
#31  QApplication::x11ProcessEvent() at /var/tmp/qt-x11-src-4.6.0/src/gui/kernel/qapplication_x11.cpp:3501
#32  x11EventSourceDispatch() at /var/tmp/qt-x11-src-4.6.0/src/gui/kernel/qguieventdispatcher_glib.cpp:146
#33  g_main_context_dispatch() at :0
#34  ??() at :0
#35  g_main_context_iteration() at :0
#36  QEventDispatcherGlib::processEvents() at /var/tmp/qt-x11-src-4.6.0/src/corelib/kernel/qeventdispatcher_glib.cpp:407
#37  QGuiEventDispatcherGlib::processEvents() at /var/tmp/qt-x11-src-4.6.0/src/gui/kernel/qguieventdispatcher_glib.cpp:202
#38  QEventLoop::processEvents() at /var/tmp/qt-x11-src-4.6.0/src/corelib/kernel/qeventloop.cpp:149
#39  QEventLoop::exec() at /var/tmp/qt-x11-src-4.6.0/src/corelib/kernel/qeventloop.cpp:201
#40  QCoreApplication::exec() at /var/tmp/qt-x11-src-4.6.0/src/corelib/kernel/qcoreapplication.cpp:981
#41  main() at :0





References