← Back to team overview

mudlet-makers team mailing list archive

[Bug 342626] [NEW] Crash when pressing the down key with nothing in the history

 

Public bug reported:

As reported by "r" on the forums - start mudlet, press "down" key, and
it crashes

Backtrace:

Fatal: ASSERT failure in QList<T>::operator[]: "index out of range",
file /usr/include/qt4/QtCore/qlist.h, line 395

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7ff9791cd6f0 (LWP 29628)]
0x00007ff974efa015 in raise () from /lib/libc.so.6
(gdb) bt
#0  0x00007ff974efa015 in raise () from /lib/libc.so.6
#1  0x00007ff974efbb83 in abort () from /lib/libc.so.6
#2  0x0000000000489741 in debugOutput ()
#3  0x00007ff976c50653 in qt_message_output () from /usr/lib/libQtCore.so.4
#4  0x00007ff976c507fd in qFatal () from /usr/lib/libQtCore.so.4
#5  0x0000000000470f92 in QList<QString>::operator[] ()
#6  0x00000000004ff8b0 in TCommandLine::historyDown ()
#7  0x00000000005010c6 in TCommandLine::event ()
#8  0x00007ff977a15c3d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#9  0x00007ff977a1e864 in QApplication::notify () from /usr/lib/libQtGui.so.4
#10 0x00007ff976d40d61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#11 0x00007ff977aa45c4 in ?? () from /usr/lib/libQtGui.so.4
#12 0x00007ff977aa68a7 in ?? () from /usr/lib/libQtGui.so.4
#13 0x00007ff977a80390 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#14 0x00007ff977aa82c4 in ?? () from /usr/lib/libQtGui.so.4
#15 0x00007ff974161d3b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#16 0x00007ff97416550d in ?? () from /usr/lib/libglib-2.0.so.0
#17 0x00007ff9741656cb in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#18 0x00007ff976d6915f in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#19 0x00007ff977aa7a6f in ?? () from /usr/lib/libQtGui.so.4
#20 0x00007ff976d3f682 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#21 0x00007ff976d3f80d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#22 0x00007ff976d41cbd in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#23 0x0000000000489138 in main ()
(gdb)

** Affects: mudlet
     Importance: Undecided
         Status: New

** Description changed:

- As reported by "r" on the forums - start mudlet, press "down".
+ As reported by "r" on the forums - start mudlet, press "down" key, and
+ it crashes
  
  Backtrace:
  
  Fatal: ASSERT failure in QList<T>::operator[]: "index out of range",
  file /usr/include/qt4/QtCore/qlist.h, line 395
  
  Program received signal SIGABRT, Aborted.
  [Switching to Thread 0x7ff9791cd6f0 (LWP 29628)]
  0x00007ff974efa015 in raise () from /lib/libc.so.6
  (gdb) bt
  #0  0x00007ff974efa015 in raise () from /lib/libc.so.6
  #1  0x00007ff974efbb83 in abort () from /lib/libc.so.6
  #2  0x0000000000489741 in debugOutput ()
  #3  0x00007ff976c50653 in qt_message_output () from /usr/lib/libQtCore.so.4
  #4  0x00007ff976c507fd in qFatal () from /usr/lib/libQtCore.so.4
  #5  0x0000000000470f92 in QList<QString>::operator[] ()
  #6  0x00000000004ff8b0 in TCommandLine::historyDown ()
  #7  0x00000000005010c6 in TCommandLine::event ()
  #8  0x00007ff977a15c3d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
  #9  0x00007ff977a1e864 in QApplication::notify () from /usr/lib/libQtGui.so.4
  #10 0x00007ff976d40d61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
  #11 0x00007ff977aa45c4 in ?? () from /usr/lib/libQtGui.so.4
  #12 0x00007ff977aa68a7 in ?? () from /usr/lib/libQtGui.so.4
  #13 0x00007ff977a80390 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
  #14 0x00007ff977aa82c4 in ?? () from /usr/lib/libQtGui.so.4
  #15 0x00007ff974161d3b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
  #16 0x00007ff97416550d in ?? () from /usr/lib/libglib-2.0.so.0
  #17 0x00007ff9741656cb in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
  #18 0x00007ff976d6915f in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
  #19 0x00007ff977aa7a6f in ?? () from /usr/lib/libQtGui.so.4
  #20 0x00007ff976d3f682 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
  #21 0x00007ff976d3f80d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
  #22 0x00007ff976d41cbd in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
  #23 0x0000000000489138 in main ()
  (gdb)

-- 
Crash when pressing the down key with nothing in the history
https://bugs.launchpad.net/bugs/342626
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:
As reported by "r" on the forums - start mudlet, press "down" key, and it crashes

Backtrace:

Fatal: ASSERT failure in QList<T>::operator[]: "index out of range", file /usr/include/qt4/QtCore/qlist.h, line 395

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7ff9791cd6f0 (LWP 29628)]
0x00007ff974efa015 in raise () from /lib/libc.so.6
(gdb) bt
#0  0x00007ff974efa015 in raise () from /lib/libc.so.6
#1  0x00007ff974efbb83 in abort () from /lib/libc.so.6
#2  0x0000000000489741 in debugOutput ()
#3  0x00007ff976c50653 in qt_message_output () from /usr/lib/libQtCore.so.4
#4  0x00007ff976c507fd in qFatal () from /usr/lib/libQtCore.so.4
#5  0x0000000000470f92 in QList<QString>::operator[] ()
#6  0x00000000004ff8b0 in TCommandLine::historyDown ()
#7  0x00000000005010c6 in TCommandLine::event ()
#8  0x00007ff977a15c3d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#9  0x00007ff977a1e864 in QApplication::notify () from /usr/lib/libQtGui.so.4
#10 0x00007ff976d40d61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#11 0x00007ff977aa45c4 in ?? () from /usr/lib/libQtGui.so.4
#12 0x00007ff977aa68a7 in ?? () from /usr/lib/libQtGui.so.4
#13 0x00007ff977a80390 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#14 0x00007ff977aa82c4 in ?? () from /usr/lib/libQtGui.so.4
#15 0x00007ff974161d3b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#16 0x00007ff97416550d in ?? () from /usr/lib/libglib-2.0.so.0
#17 0x00007ff9741656cb in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#18 0x00007ff976d6915f in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#19 0x00007ff977aa7a6f in ?? () from /usr/lib/libQtGui.so.4
#20 0x00007ff976d3f682 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#21 0x00007ff976d3f80d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#22 0x00007ff976d41cbd in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#23 0x0000000000489138 in main ()
(gdb)



Follow ups

References