mudlet-makers team mailing list archive
-
mudlet-makers team
-
Mailing list archive
-
Message #01422
Re: [Bug 645129] Re: mudlet crashes with wormud.org
This issue is long fixed and can be closed. The patch cannot be applied
because it would lead to buffer corruption.
On 10/09/2010 06:02 PM, Vadim Peretokin wrote:
> I spoke too soon. It crashes when isPrompt() function is used now:
>
>
> ^TFatal: ASSERT failure in QList<T>::at: "index out of range", file ../../../qtsdk-2010.05-64bit/qt/include/QtCore/qlist.h, line 455
>
> Program received signal SIGABRT, Aborted.
> 0x00007ffff4c64ba5 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
> 64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
> in ../nptl/sysdeps/unix/sysv/linux/raise.c
> (gdb)
> (gdb)
> (gdb) bt
> #0 0x00007ffff4c64ba5 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
> #1 0x00007ffff4c686b0 in abort () at abort.c:92
> #2 0x000000000045366d in debugOutput (type=QtFatalMsg,
> msg=0x1f4b938 "ASSERT failure in QList<T>::at: \"index out of range\", file ../../../qtsdk-2010.05-64bit/qt/include/QtCore/qlist.h, line 455") at main.cpp:64
> #3 0x00007ffff5f6a35e in qt_message_output (msgType=QtFatalMsg, buf=0x1446<Address 0x1446 out of bounds>)
> ---Type<return> to continue, or q<return> to quit---
> at /var/tmp/qt-src/src/corelib/global/qglobal.cpp:2205
> #4 0x00007ffff5f6a59a in qt_message (msgType=QtFatalMsg, msg=0x7ffff60e5ad8 "ASSERT failure in %s: \"%s\", file %s, line %d",
> ap=0x7ffffffe4280) at /var/tmp/qt-src/src/corelib/global/qglobal.cpp:2305
> #5 0x00007ffff5f6a755 in qFatal (msg=0x1446<Address 0x1446 out of bounds>) at /var/tmp/qt-src/src/corelib/global/qglobal.cpp:2488
> #6 0x00000000004f437b in QList<bool>::at (this=0x14104e8, i=80) at ../../../qtsdk-2010.05-64bit/qt/include/QtCore/qlist.h:455
> #7 0x00000000004d74e7 in TLuaInterpreter::isPrompt (L=0xf4df50) at TLuaInterpreter.cpp:819
>
>
--
mudlet crashes with wormud.org
https://bugs.launchpad.net/bugs/645129
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.
Status in Mudlet the MUD client: New
Bug description:
Mudlet crashes shortly after connecting to wotmud.org, with a QList index out of range error. I have traced it to line 2255 of TBuffer.cpp - it seems that promptList is not necessarily the same size as tempList. The error can be removed by replacing that line with:
if( promptList.size() >= 1 )
{
promptBuffer.push_back( promptList[i] );
}
else
{
promptBuffer.push_back( false );
}
but this might have ramifications of which I am not aware, so I do not want to propose it as a solution.
References