Application: krecipes (2.0-beta1) KDE Platform Version: 4.5.1 (KDE 4.5.1) Qt Version: 4.7.0 Operating System: Linux 2.6.35-24-generic i686 Distribution: Ubuntu 10.10 -- Information about the crash: - What I was doing when the application crashed: Importing .MMF file to a local mySQL db. Will sometimes generate this application crash. The crash can be reproduced some of the time. -- Backtrace: Application: Krecipes (krecipes), signal: Segmentation fault [Current thread is 1 (Thread 0xb7752710 (LWP 3933))] Thread 2 (Thread 0xb74f4b70 (LWP 3942)): #0 0x00cd4416 in __kernel_vsyscall () #1 0x0834cdf6 in poll () from /lib/libc.so.6 #2 0x06626a1b in g_poll () from /lib/libglib-2.0.so.0 #3 0x0661943c in ?? () from /lib/libglib-2.0.so.0 #4 0x06619ba7 in g_main_loop_run () from /lib/libglib-2.0.so.0 #5 0x02ab16b4 in ?? () from /usr/lib/libgio-2.0.so.0 #6 0x0664048f in ?? () from /lib/libglib-2.0.so.0 #7 0x07686cc9 in start_thread () from /lib/libpthread.so.0 #8 0x0835b69e in clone () from /lib/libc.so.6 Thread 1 (Thread 0xb7752710 (LWP 3933)): [KCrash Handler] #7 0x080d2d49 in node_copy (this=0x2c726e38, t=...) at /usr/include/qt4/QtCore/qlist.h:386 #8 detach_helper_grow (this=0x2c726e38, t=...) at /usr/include/qt4/QtCore/qlist.h:665 #9 QList<IngredientData>::append (this=0x2c726e38, t=...) at /usr/include/qt4/QtCore/qlist.h:496 #10 0x081708f4 in MMFImporter::loadIngredientLine (this=0xeb788c8, string=..., list=..., is_sub=@0xbfd0156f) at /build/buildd/krecipes-2.0~beta1/src/importers/mmfimporter.cpp:250 #11 0x0817209b in MMFImporter::importMMF (this=0xeb788c8, stream=...) at /build/buildd/krecipes-2.0~beta1/src/importers/mmfimporter.cpp:139 #12 0x08172d8b in MMFImporter::parseFile (this=0xeb788c8, file=...) at /build/buildd/krecipes-2.0~beta1/src/importers/mmfimporter.cpp:58 #13 0x081805d3 in BaseImporter::parseFiles (this=0xeb788c8, filenames=...) at /build/buildd/krecipes-2.0~beta1/src/importers/baseimporter.cpp:88 #14 0x08073a0c in Krecipes::import (this=0x9a2d998) at /build/buildd/krecipes-2.0~beta1/src/krecipes.cpp:549 #15 0x080792dd in Krecipes::qt_metacall (this=0x9a2d998, _c=QMetaObject::InvokeMetaMethod, _id=745728584, _a=0xbfd018b8) at /build/buildd/krecipes-2.0~beta1/obj-i686-linux-gnu/src/krecipes.moc:123 #16 0x023048ca in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #17 0x023176ad in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #18 0x011aff99 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4 #19 0x011b18dc in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQtGui.so.4 #20 0x0167d7ef in ?? () from /usr/lib/libQtGui.so.4 #21 0x01683a4b in ?? () from /usr/lib/libQtGui.so.4 #22 0x016845e0 in QMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4 #23 0x00fa7fe5 in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5 #24 0x01215e08 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4 #25 0x0168602f in QMenu::event(QEvent*) () from /usr/lib/libQtGui.so.4 #26 0x011b7fdc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #27 0x011bec2e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #28 0x00ead68a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #29 0x022feb3b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #30 0x011bd094 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4 #31 0x0124c261 in ?? () from /usr/lib/libQtGui.so.4 #32 0x0124b151 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4 #33 0x0127a36a in ?? () from /usr/lib/libQtGui.so.4 #34 0x06615855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #35 0x06619668 in ?? () from /lib/libglib-2.0.so.0 #36 0x06619848 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #37 0x0232d565 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #38 0x01279be5 in ?? () from /usr/lib/libQtGui.so.4 #39 0x022fd609 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #40 0x022fda8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #41 0x0230200f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #42 0x011b6e07 in QApplication::exec() () from /usr/lib/libQtGui.so.4 #43 0x08072878 in main (argc=5, argv=0xbfd02c64) at /build/buildd/krecipes-2.0~beta1/src/main.cpp:91 Reported using DrKonqi
[Comment from a bug triager] From bug 268758 (krecipes 2.0-beta1): I am the same person who reported the "Krecipe crash when importing meal master files" (bug 268758) but i tryed on Ubuntu 10.10 and the same crash...the meal master file are from the meal master site ....i found a little workaround for importing some of the recipes and it goes like this: i copy meal master file in to a text file ...afther that i imported it in "gourmet software", exported from"Gurmet" as meal master...imported in Krecipe ..and it goes like this but is terrible much to do..and besidescit ain't imported well. Pls if y can establish a compatibility betwen the Gourmet and Krecipe in importing meal master files from one to another.Thaks ! In the meanwhile i use y software for making a food blog so say thanks to the persons who writed ...compiled..etc. :) Good work ! From bug 268778: - What I was doing when the application crashed: Attempting to import recipes and it will crash the program as I attempt to click on and then input recipes that I have saved. (mmf files from http://www.ffts.com/recipes.htm)
*** Bug 272589 has been marked as a duplicate of this bug. ***
*** Bug 268758 has been marked as a duplicate of this bug. ***
*** Bug 268778 has been marked as a duplicate of this bug. ***
*** Bug 272588 has been marked as a duplicate of this bug. ***
Created attachment 61063 [details] New crash information added by DrKonqi krecipes (2.0-beta2) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2 - What I was doing when the application crashed: Importingafter dum a group of recipes from MealMaster in text format. The first 1,000 imported without incident, but the second 1,000 generated the crash. This has happened twice. -- Backtrace (Reduced): #7 0x080bb641 in node_copy (this=0x999c388, i=209385239, c=1) at /usr/include/qt4/QtCore/qlist.h:386 #8 QList<IngredientData>::detach_helper_grow (this=0x999c388, i=209385239, c=1) at /usr/include/qt4/QtCore/qlist.h:666 #9 0x080bb7e4 in QList<IngredientData>::append (this=0x999c388, t=...) at /usr/include/qt4/QtCore/qlist.h:497 #10 0x0812f3dc in MMFImporter::loadIngredientLine (this=0x8ea1ff0, string=..., list=..., is_sub=@0xbfc59d9f) at /build/buildd/krecipes-2.0~beta2/src/importers/mmfimporter.cpp:250 #11 0x0813011d in MMFImporter::importMMF (this=0x8ea1ff0, stream=...) at /build/buildd/krecipes-2.0~beta2/src/importers/mmfimporter.cpp:139
*** Bug 281518 has been marked as a duplicate of this bug. ***
*** Bug 319759 has been marked as a duplicate of this bug. ***
Can someone share a link to one of those .mmf files that makes it crash?
Can anyone provide an .mmf file to cause this crash?
just about ANY MMF file from the net, even in DOS/cp437 mode(which gourmet accepts nicely) will bork the application. Exporting the file and reimporting it from gourmet isnt an option as gourmet chokes on the same file Im using(>100MB). Fedora Chapeau 21 user.
If just about any mmf file from the net will do it, easy, just attach one.
Created attachment 93227 [details] afghan.txt some afgan-ese food for you. On 06/18/2015 04:30 PM, Albert Astals Cid wrote: > https://bugs.kde.org/show_bug.cgi?id=260997 > > --- Comment #12 from Albert Astals Cid <aacid@kde.org> --- > If just about any mmf file from the net will do it, easy, just attach one. >
Git commit cda29d69c85663db4a626039f23574cccedcf270 by Albert Astals Cid. Committed on 19/06/2015 at 20:34. Pushed by aacid into branch 'master'. Make sure string is of enough length before asking for character 11 FIXED-IN: 2.2 M +1 -1 src/importers/mmfimporter.cpp http://commits.kde.org/krecipes/cda29d69c85663db4a626039f23574cccedcf270