← Back to team overview

mudlet-makers team mailing list archive

[Bug 342975] [NEW] Crash when pressing 'Delete' with no trigger selected

 

Public bug reported:

launch mudlet
select 1st trigger
press delete

now, notice how the selection does not auto-switch to the next trigger
like it should

delete all triggers
last one causes crash

backtrace:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f089fbcd6f0 (LWP 30505)]
0x00000000004d7598 in QTreeWidgetItem::parent ()
Current language:  auto; currently asm
(gdb) bt
#0  0x00000000004d7598 in QTreeWidgetItem::parent ()
#1  0x00000000004c9f81 in dlgTriggerEditor::slot_deleteTrigger ()
#2  0x00000000004ca63c in dlgTriggerEditor::slot_delete_item ()
#3  0x000000000056bbe9 in dlgTriggerEditor::qt_metacall ()
#4  0x00007f089d756134 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#5  0x00007f089e410f57 in QAction::triggered () from /usr/lib/libQtGui.so.4
#6  0x00007f089e411720 in QAction::activate () from /usr/lib/libQtGui.so.4
#7  0x00007f089e72345a in ?? () from /usr/lib/libQtGui.so.4
#8  0x00007f089e7236f5 in QAbstractButton::mouseReleaseEvent ()
   from /usr/lib/libQtGui.so.4
#9  0x00007f089e7eaf8a in QToolButton::mouseReleaseEvent ()
   from /usr/lib/libQtGui.so.4
#10 0x00007f089e469329 in QWidget::event () from /usr/lib/libQtGui.so.4
#11 0x00007f089e416c3d in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#12 0x00007f089e41f22a in QApplication::notify () from /usr/lib/libQtGui.so.4
#13 0x00007f089d741d61 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#14 0x00007f089e41e5c8 in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib/libQtGui.so.4
#15 0x00007f089e482be9 in ?? () from /usr/lib/libQtGui.so.4
#16 0x00007f089e481607 in QApplication::x11ProcessEvent ()
   from /usr/lib/libQtGui.so.4
---Type <return> to continue, or q <return> to quit---

** Affects: mudlet
     Importance: Undecided
         Status: New

-- 
Crash when pressing 'Delete' with no trigger selected
https://bugs.launchpad.net/bugs/342975
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:
launch mudlet
select 1st trigger
press delete

now, notice how the selection does not auto-switch to the next trigger like it should

delete all triggers
last one causes crash

backtrace:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f089fbcd6f0 (LWP 30505)]
0x00000000004d7598 in QTreeWidgetItem::parent ()
Current language:  auto; currently asm
(gdb) bt
#0  0x00000000004d7598 in QTreeWidgetItem::parent ()
#1  0x00000000004c9f81 in dlgTriggerEditor::slot_deleteTrigger ()
#2  0x00000000004ca63c in dlgTriggerEditor::slot_delete_item ()
#3  0x000000000056bbe9 in dlgTriggerEditor::qt_metacall ()
#4  0x00007f089d756134 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#5  0x00007f089e410f57 in QAction::triggered () from /usr/lib/libQtGui.so.4
#6  0x00007f089e411720 in QAction::activate () from /usr/lib/libQtGui.so.4
#7  0x00007f089e72345a in ?? () from /usr/lib/libQtGui.so.4
#8  0x00007f089e7236f5 in QAbstractButton::mouseReleaseEvent ()
   from /usr/lib/libQtGui.so.4
#9  0x00007f089e7eaf8a in QToolButton::mouseReleaseEvent ()
   from /usr/lib/libQtGui.so.4
#10 0x00007f089e469329 in QWidget::event () from /usr/lib/libQtGui.so.4
#11 0x00007f089e416c3d in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#12 0x00007f089e41f22a in QApplication::notify () from /usr/lib/libQtGui.so.4
#13 0x00007f089d741d61 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#14 0x00007f089e41e5c8 in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib/libQtGui.so.4
#15 0x00007f089e482be9 in ?? () from /usr/lib/libQtGui.so.4
#16 0x00007f089e481607 in QApplication::x11ProcessEvent ()
   from /usr/lib/libQtGui.so.4
---Type <return> to continue, or q <return> to quit---



Follow ups

References