Bug 379019

Summary: Krecipes crashes after importing recipes
Product: [Applications] krecipes Reporter: Annemette <kubunta>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash CC: johnboisclair
Priority: NOR Keywords: drkonqi
Version: 2.1.0   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Annemette 2017-04-20 23:10:17 UTC
Application: krecipes (2.1.0)
KDE Platform Version: 4.14.16
Qt Version: 4.8.7
Operating System: Linux 4.4.0-21-generic x86_64
Distribution: Linux Mint 18 Sarah

-- Information about the crash:
- What I was doing when the application crashed: importing recipes, either one at a time or whole database with 26 recipes. Some times one recipe or the whole list appears in the list of recipes, but when clicking on the name of the recipe to show itindetail, Krecipes crashes. Invariably. I installed it on LinuxMint 18 XCFE, and told Synaptic to treat recommended packages as dependencies. Using MySql database. have a working instance of Korganizer on same computer, that functions well enough.

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 0x7f093b2c9940 (LWP 2679))]

Thread 2 (Thread 0x7f0915ebc700 (LWP 2681)):
#0  0x00007f0933dc6b5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f093044938c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f093044949c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f09355cf2ce in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f093559d18f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f093559d4f5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f093548c549 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f093557d223 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f093548ee3c in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f092f75b6ba in start_thread (arg=0x7f0915ebc700) at pthread_create.c:333
#10 0x00007f0933dd282d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f093b2c9940 (LWP 2679)):
[KCrash Handler]
#6  QBasicAtomicInt::ref (this=0x31f83) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#7  QString::QString (other=..., this=0x3308ae0) at /usr/include/qt4/QtCore/qstring.h:726
#8  Yield::Private::Private (this=0x3308ad0) at /build/krecipes-xS3_TO/krecipes-2.1.0/src/datablocks/yield.cpp:14
#9  Yield::operator= (this=this@entry=0x7ffdf56ab118, other=...) at /build/krecipes-xS3_TO/krecipes-2.1.0/src/datablocks/yield.cpp:48
#10 0x00000000004ee279 in Recipe::operator= (this=0x7ffdf56ab110) at /build/krecipes-xS3_TO/krecipes-2.1.0/src/datablocks/recipe.h:26
#11 RecipeDB::loadRecipe (this=<optimized out>, recipe=recipe@entry=0x7ffdf56ab110, items=items@entry=1536, id=id@entry=0) at /build/krecipes-xS3_TO/krecipes-2.1.0/src/backends/recipedb.cpp:598
#12 0x0000000000444465 in KrecipesView::actionRecipe (this=0x25baab0, recipeID=0, action=<optimized out>) at /build/krecipes-xS3_TO/krecipes-2.1.0/src/krecipesview.cpp:810
#13 0x00000000004450b9 in KrecipesView::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /build/krecipes-xS3_TO/krecipes-2.1.0/obj-x86_64-linux-gnu/src/krecipesview.moc:129
#14 0x00007f09355b3010 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#15 0x00000000004a9f82 in SelectRecipeDialog::recipeSelected (_t2=4, _t1=0, this=<optimized out>) at /build/krecipes-xS3_TO/krecipes-2.1.0/obj-x86_64-linux-gnu/src/selectrecipedialog.moc:185
#16 SelectRecipeDialog::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /build/krecipes-xS3_TO/krecipes-2.1.0/obj-x86_64-linux-gnu/src/selectrecipedialog.moc:127
#17 0x00007f09355b3010 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#18 0x00000000004dde05 in RecipeActionsHandler::recipeSelected (_t2=4, _t1=0, this=0x2c1d120) at /build/krecipes-xS3_TO/krecipes-2.1.0/obj-x86_64-linux-gnu/src/recipeactionshandler.moc:161
#19 RecipeActionsHandler::selectionChangedSlot (this=0x2c1d120) at /build/krecipes-xS3_TO/krecipes-2.1.0/src/actionshandlers/recipeactionshandler.cpp:584
#20 0x00000000004e1595 in RecipeActionsHandler::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /build/krecipes-xS3_TO/krecipes-2.1.0/obj-x86_64-linux-gnu/src/recipeactionshandler.moc:103
#21 0x00007f09355b3010 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#22 0x00007f093716607e in Q3ListView::contentsMousePressEventEx(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt3Support.so.4
#23 0x00007f093a523184 in K3ListView::contentsMousePressEvent(QMouseEvent*) () from /usr/lib/libkde3support.so.4
#24 0x00007f09371b567c in Q3ScrollView::viewportMousePressEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt3Support.so.4
#25 0x00007f09371b37fa in Q3ScrollView::eventFilter(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt3Support.so.4
#26 0x00007f093716a0ce in Q3ListView::eventFilter(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt3Support.so.4
#27 0x00007f093559ea76 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#28 0x00007f09348e4fbc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#29 0x00007f09348ec0d6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#30 0x00007f09364e964a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#31 0x00007f093559e90d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#32 0x00007f09348eb6dd in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#33 0x00007f09349693f2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#34 0x00007f0934968c83 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#35 0x00007f0934992542 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#36 0x00007f0930449197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f09304493f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f093044949c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f09355cf2ae in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#40 0x00007f0934992616 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#41 0x00007f093559d18f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#42 0x00007f093559d4f5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#43 0x00007f09355a34b9 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#44 0x0000000000437897 in main (argc=<optimized out>, argv=0x7ffdf56ac678) at /build/krecipes-xS3_TO/krecipes-2.1.0/src/main.cpp:94

Reported using DrKonqi
Comment 1 Christoph Feck 2020-04-06 12:37:47 UTC
*** Bug 418583 has been marked as a duplicate of this bug. ***
Comment 2 Justin Zobel 2022-10-06 06:37:24 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 3 Annemette 2022-10-07 11:19:57 UTC
 I was asked to confirm this bug. But krecipes has been discontinued, and it can no longer be installed on Kubuntu - as far as I know. I just tried - again - because you asked. Krecipes was the best application for recipes, cooking, diet-calculations.
Comment 4 Bug Janitor Service 2022-10-22 05:01:01 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2022-11-06 05:07:52 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!