Bug 313271 - Crash on set ingredient amount for Ingredient Matcher.
Summary: Crash on set ingredient amount for Ingredient Matcher.
Status: RESOLVED FIXED
Alias: None
Product: krecipes
Classification: Applications
Component: general (show other bugs)
Version: 2.0-beta2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-14 22:55 UTC by Elijah C Menifee
Modified: 2015-02-21 13:01 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elijah C Menifee 2013-01-14 22:55:23 UTC
Application: krecipes (2.0-beta2)
KDE Platform Version: 4.9.2
Qt Version: 4.8.3
Operating System: Linux 3.5.0-21-generic x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
Selected 'Ingredient Matcher' in left set of tabs. I selected 'Italian salad dressing' from the ingredients list.  I clicked the right arrow button.  I double clicked on the 'Amount Available' column.  The 'Enter amount - Krecipes' dialog popped up.  I used drop down list to select 'fluid once'.  I entered '12' in the amount. I clicked 'OK' button.

The crash can be reproduced every time.

-- Backtrace:
Application: Krecipes (krecipes), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f70dff43780 (LWP 18438))]

Thread 2 (Thread 0x7f70bffff700 (LWP 18440)):
#0  0x00007f70d9148303 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f70d4f2bd84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f70d4f2c1e2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f70cba7e3b6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f70d4f4f645 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f70d4ccee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007f70d9153cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f70dff43780 (LWP 18438)):
[KCrash Handler]
#5  deref (this=0x7f70da161d30) at /usr/include/qt4/QtCore/qatomic_x86_64.h:133
#6  ~QString (this=0x1eb8620, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qstring.h:883
#7  ~Private (this=0x1eb8600, __in_chrg=<optimized out>) at /build/buildd/krecipes-2.0~beta2/src/datablocks/unit.cpp:13
#8  Unit::operator= (this=0x2316c40, rhs=...) at /build/buildd/krecipes-2.0~beta2/src/datablocks/unit.cpp:64
#9  0x00000000004af378 in IngredientMatcherDialog::itemRenamed (this=<optimized out>, item=0x231bfd0, col=<optimized out>) at /build/buildd/krecipes-2.0~beta2/src/dialogs/ingredientmatcherdialog.cpp:201
#10 0x00000000004b11a0 in IngredientMatcherDialog::qt_metacall (this=0x209ef50, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff0ae6ada0) at /build/buildd/krecipes-2.0~beta2/obj-x86_64-linux-gnu/src/ingredientmatcherdialog.moc:92
#11 0x00007f70d9e27123 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#12 0x00007f70dbe38e65 in Q3ListView::doubleClicked(Q3ListViewItem*, QPoint const&, int) () from /usr/lib/x86_64-linux-gnu/libQt3Support.so.4
#13 0x00007f70deb5a4f8 in K3ListView::contentsMouseDoubleClickEvent(QMouseEvent*) () from /usr/lib/libkde3support.so.4
#14 0x00007f70dbd64bb7 in Q3ScrollView::viewportMouseDoubleClickEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt3Support.so.4
#15 0x00007f70dbd6538a in Q3ScrollView::eventFilter(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt3Support.so.4
#16 0x00007f70dbd1319e in Q3ListView::eventFilter(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt3Support.so.4
#17 0x00007f70d9e116d6 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#18 0x00007f70da7f2e6c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#19 0x00007f70da7f7b6b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#20 0x00007f70defe81d6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#21 0x00007f70d9e1156e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#22 0x00007f70da7f3cd3 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#23 0x00007f70da871554 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#24 0x00007f70da87044f in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#25 0x00007f70da897fa2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#26 0x00007f70d4f2bab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f70d4f2bde8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f70d4f2bea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f70d9e3fbf6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#30 0x00007f70da897c1e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#31 0x00007f70d9e102bf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#32 0x00007f70d9e10548 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#33 0x00007f70d9e15708 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#34 0x0000000000435a67 in main (argc=5, argv=0x7fff0ae6c798) at /build/buildd/krecipes-2.0~beta2/src/main.cpp:91

Reported using DrKonqi
Comment 1 Jeremy Whiting 2015-02-21 13:01:36 UTC
This crash doesn't seem to happen anymore, I just tested with the exact steps you laid out above (thanks for that by the way).

Closing now, reopen if you can recreate the crash with a newer version (2.0 or later)