Summary: | Importing .MMF file [QList<IngredientData>::append, MMFImporter::loadIngredientLine, MMFImporter::importMMF] | ||
---|---|---|---|
Product: | [Applications] krecipes | Reporter: | Cotillion <cotillion.shadowthrone> |
Component: | general | Assignee: | Unassigned bugs mailing-list <unassigned-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | aacid, andresbajotierra, frazzledjazz, jonfhall, jpwhiting, mangione.new, mateolan, rares.baicu, repease, teddyweiche |
Priority: | NOR | Flags: | jpwhiting:
gardening-
|
Version: | 2.0-beta1 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/krecipes/cda29d69c85663db4a626039f23574cccedcf270 | Version Fixed In: | 2.2 |
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
afghan.txt |
Description
Cotillion
2010-12-22 20:19:35 UTC
[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 |