Bug: mudlet crashing

Post Reply
Caled
Posts: 403
Joined: Thu Apr 09, 2009 4:45 am

Bug: mudlet crashing

Post by Caled »

u are busy - but I want to see how long it takes for sileris to fall", "moirean have you played with the gecko changes yet?", "proficiencies", "greet", "moire hey! ", "moire hello?", "exit haven", "gt hello", "owho", "ct greetings", "m", "rn", "rm", )
copied to clipboard: "Anya swings an ornate steel rapier at your head with all her might."

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb61a56c0 (LWP 13781)]
0xb69db2a4 in QString::operator== () from /usr/lib/libQtCore.so.4
(gdb) bt
#0 0xb69db2a4 in QString::operator== () from /usr/lib/libQtCore.so.4
#1 0x0814638d in TTrigger::disableTrigger ()
#2 0x081463f2 in TTrigger::disableTrigger ()
#3 0x081463f2 in TTrigger::disableTrigger ()
#4 0x081463f2 in TTrigger::disableTrigger ()
#5 0x081566bd in TriggerUnit::disableTrigger ()
#6 0x080eb3c0 in Host::disableTrigger ()
#7 0x08164288 in TLuaInterpreter::disableTrigger ()
#8 0xb6774217 in ?? () from /usr/lib/liblua5.1.so.0
#9 0xb677f778 in ?? () from /usr/lib/liblua5.1.so.0
#10 0xb67747d8 in ?? () from /usr/lib/liblua5.1.so.0
#11 0xb676f6d1 in ?? () from /usr/lib/liblua5.1.so.0
#12 0xb6773da3 in ?? () from /usr/lib/liblua5.1.so.0
#13 0xb6773e08 in ?? () from /usr/lib/liblua5.1.so.0
#14 0xb676f4e8 in lua_pcall () from /usr/lib/liblua5.1.so.0
#15 0x0815c149 in TLuaInterpreter::call ()
#16 0x08146aea in TTrigger::execute ()
#17 0x08148bd2 in TTrigger::match_perl ()
#18 0x08149068 in TTrigger::match ()
#19 0x08149a06 in TTrigger::match ()
#20 0x08149a06 in TTrigger::match ()
#21 0x08156ba2 in TriggerUnit::processDataStream ()
#22 0x080eb6c5 in Host::incomingStreamProcessor ()
---Type <return> to continue, or q <return> to quit---
#23 0x080cf6a2 in TConsole::runTriggers ()
#24 0x081ec716 in TBuffer::translateToPlainText ()
#25 0x080cf84e in TConsole::printOnDisplay ()
#26 0x080e3a1c in cTelnet::postData ()
#27 0x080e3b79 in cTelnet::gotPrompt ()
#28 0x080e58b6 in cTelnet::handle_socket_signal_readyRead ()
#29 0x081fe02a in cTelnet::qt_metacall ()
#30 0xb6a9ea60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#31 0xb6a9f7e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#32 0xb6ad7847 in QIODevice::readyRead () from /usr/lib/libQtCore.so.4
#33 0xb6bf8a72 in ?? () from /usr/lib/libQtNetwork.so.4
#34 0xb6be7ceb in ?? () from /usr/lib/libQtNetwork.so.4
#35 0xb6be9056 in ?? () from /usr/lib/libQtNetwork.so.4
#36 0xb6eab8ec in QApplicationPrivate::notify_helper ()
from /usr/lib/libQtGui.so.4
#37 0xb6eb372e in QApplication::notify () from /usr/lib/libQtGui.so.4
#38 0xb6a89e61 in QCoreApplication::notifyInternal ()
from /usr/lib/libQtCore.so.4
#39 0xb6ab470a in ?? () from /usr/lib/libQtCore.so.4
#40 0xb634d718 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#41 0xb6350dc3 in ?? () from /usr/lib/libglib-2.0.so.0
#42 0xb6350f81 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#43 0xb6ab4478 in QEventDispatcherGlib::processEvents ()
---Type <return> to continue, or q <return> to quit---
from /usr/lib/libQtCore.so.4
#44 0xb6f45ea5 in ?? () from /usr/lib/libQtGui.so.4
#45 0xb6a8852a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#46 0xb6a886ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#47 0xb6a8ada5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#48 0xb6eab767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#49 0x080eabfc in main ()
(gdb)
The command history was very long - I've been logged in for quite a long time. I have a feeling that this crash has happened in the past, but only after being logged in for ages. It is certainly rare, and this is the first time I have caught it with gdb going.

I have the rest of the terminal, but it is all command history for mudlet, which seems to have gotten so large that the terminal buffer length was filled.

I was about to upgrade to Jaunty this afternoon - but I will hold off on that in case this bug is linked to Intrepid only, and you need more information.

User avatar
Heiko
Site Admin
Posts: 1548
Joined: Wed Mar 11, 2009 6:26 pm

Re: Bug: mudlet crashing

Post by Heiko »

Thx. disableTrigger() seemed to have caused the crash. I'll take care of this when I'll implement a fast version of enableTrigger/disableTrigger functions.

Post Reply