Application: krecipes (2.0-beta2) KDE Platform Version: 4.8.00 (4.8.0 Qt Version: 4.7.4 Operating System: Linux 3.0.0-16-generic i686 Distribution: Ubuntu 11.10 -- Information about the crash: - What I was doing when the application crashed: I was creating a shopping list, and when I entered the unit amount it crashed. The crash can be reproduced every time. -- Backtrace: Application: Krecipes (krecipes), signal: Segmentation fault [Current thread is 1 (Thread 0xb78c6710 (LWP 6235))] Thread 2 (Thread 0xb6c73b70 (LWP 6237)): #0 0x00a67416 in __kernel_vsyscall () #1 0x04ced40e in poll () from /lib/i386-linux-gnu/libc.so.6 #2 0x01e9134b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0 #3 0x01e82896 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #4 0x01e82f9b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0 #5 0x038d5cea in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0 #6 0x01ea95f4 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #7 0x01f3ed31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0 #8 0x04cfc0ce in clone () from /lib/i386-linux-gnu/libc.so.6 Backtrace stopped: Not enough registers or memory available to unwind further Thread 1 (Thread 0xb78c6710 (LWP 6235)): [KCrash Handler] #7 0x03b885dc in QString::operator=(QString const&) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #8 0x080fbb8d in RefineShoppingListDialog::itemRenamed (this=0x8ca24f8, item=0x92ccc50, new_text=..., col=2) at /build/buildd/krecipes-2.0~beta2/src/dialogs/refineshoppinglistdialog.cpp:218 #9 0x080fd5c5 in RefineShoppingListDialog::qt_metacall (this=0x8ca24f8, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfc45320) at /build/buildd/krecipes-2.0~beta2/obj-i686-linux-gnu/src/refineshoppinglistdialog.moc:82 #10 0x03c3eb7d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #11 0x03c4da6a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #12 0x0018a2f5 in K3ListView::itemRenamed(Q3ListViewItem*, QString const&, int) () from /usr/lib/libkde3support.so.4 #13 0x0018a3ad in K3ListView::doneEditing(Q3ListViewItem*, int) () from /usr/lib/libkde3support.so.4 #14 0x0018bf1a in K3ListView::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkde3support.so.4 #15 0x03c3eb7d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #16 0x03c4da6a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #17 0x0018acbd in ?? () from /usr/lib/libkde3support.so.4 #18 0x0018adc8 in ?? () from /usr/lib/libkde3support.so.4 #19 0x023f3532 in QWidget::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #20 0x0280840b in QLineEdit::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #21 0x00d245ae in KLineEdit::event(QEvent*) () from /usr/lib/libkdeui.so.5 #22 0x0018b105 in ?? () from /usr/lib/libkde3support.so.4 #23 0x02398d84 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #24 0x0239e1d8 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #25 0x00c50011 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #26 0x03c3819e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #27 0x023972c2 in QApplicationPrivate::setFocusWidget(QWidget*, Qt::FocusReason) () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #28 0x023e5b41 in QWidget::setFocus(Qt::FocusReason) () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #29 0x02396d60 in QApplicationPrivate::giveFocusAccordingToFocusPolicy(QWidget*, Qt::FocusPolicy, Qt::FocusReason) () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #30 0x0239ff5c in QApplication::notify(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #31 0x00c50011 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #32 0x03c3819e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #33 0x02399d45 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #34 0x02426304 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #35 0x02424e8d in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #36 0x0245128c in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #37 0x01e8225f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0 #38 0x01e82990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #39 0x01e82c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0 #40 0x03c66ada in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #41 0x02450e7a in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #42 0x03c371dd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #43 0x03c37421 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #44 0x028d0819 in QDialog::exec() () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #45 0x080ed19d in ShoppingListDialog::showShoppingList (this=0x910a2f0) at /build/buildd/krecipes-2.0~beta2/src/dialogs/shoppinglistdialog.cpp:228 #46 0x080ed2a4 in ShoppingListDialog::qt_metacall (this=0x910a2f0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfc466f8) at /build/buildd/krecipes-2.0~beta2/obj-i686-linux-gnu/src/shoppinglistdialog.moc:86 #47 0x03c3eb7d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #48 0x03c4da6a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #49 0x02aade6d in QAbstractButton::clicked(bool) () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #50 0x027ac5dd in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #51 0x027adc4b in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #52 0x027adf06 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #53 0x023f2fc8 in QWidget::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #54 0x027ad1a9 in QAbstractButton::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #55 0x0284f7e8 in QPushButton::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #56 0x02398d84 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #57 0x0239edeb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #58 0x00c50011 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #59 0x03c3819e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #60 0x02399d45 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #61 0x02426304 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #62 0x02424e8d in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #63 0x0245128c in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #64 0x01e8225f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0 #65 0x01e82990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #66 0x01e82c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0 #67 0x03c66ada in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #68 0x02450e7a in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #69 0x03c371dd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #70 0x03c37421 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #71 0x03c3c19d in QCoreApplication::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #72 0x02396924 in QApplication::exec() () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #73 0x0807186e in main (argc=153840456, argv=0x92b6b48) at /build/buildd/krecipes-2.0~beta2/src/main.cpp:91 Reported using DrKonqi
*** Bug 310373 has been marked as a duplicate of this bug. ***
Git commit b89cc4e8ce517c9e148733657d8931bc0676ab51 by Albert Astals Cid. Committed on 21/02/2015 at 12:26. Pushed by aacid into branch 'master'. Fix crash when editing custom added items to the shopping list You can't do end()-- to access the last iterator Reviewed by [ade] FIXED-IN: 2.1 M +1 -1 src/dialogs/refineshoppinglistdialog.cpp http://commits.kde.org/krecipes/b89cc4e8ce517c9e148733657d8931bc0676ab51