Summary: | opening HeroForge_V6.1.0.1.xls | ||
---|---|---|---|
Product: | [Applications] calligrasheets | Reporter: | zeratul587 |
Component: | general | Assignee: | Calligra Sheets (KSpread) Bugs <calligra-sheets-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | lukast.dev, sebsauer, zeratul587 |
Priority: | HI | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | New crash information added by DrKonqi |
Description
zeratul587
2011-10-18 04:32:42 UTC
*** Bug 284324 has been marked as a duplicate of this bug. *** *** Bug 284323 has been marked as a duplicate of this bug. *** Can you attach the document that crash for you? 2.1.2 is really old and we fixed so much since then. So, please either confirm that the crash can still be reproduced or, even better, attach the document that crashes for you. Thanks :) *** Bug 284321 has been marked as a duplicate of this bug. *** Created attachment 65175 [details]
New crash information added by DrKonqi
Confirming that this still happens as asked.
Here's the file I was trying to open.
> Date: Wed, 2 Nov 2011 15:11:02 +0000
> From: sebsauer@kdab.com
> To: zeratul587@hotmail.com
> Subject: [Bug 284325] opening HeroForge_V6.1.0.1.xls
>
> https://bugs.kde.org/show_bug.cgi?id=284325
>
>
> Sebastian Sauer <sebsauer@kdab.com> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> Status|UNCONFIRMED |NEEDSINFO
> CC| |sebsauer@kdab.com
> Resolution| |WAITINGFORINFO
>
>
>
>
> --- Comment #4 from Sebastian Sauer <sebsauer kdab com> 2011-11-02 15:11:01 ---
> 2.1.2 is really old and we fixed so much since then. So, please either confirm
> that the crash can still be reproduced or, even better, attach the document
> that crashes for you. Thanks :)
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
Hi zeratul587, lot of thanks for the feedback! Seems you forgot to attach the file that was leading to the crash. Would help us a lot to figure out what wents wrong. Please attache the file or, if not possible cause it contains things you don't like to have published here, mail it to me ( sebsauer@kdab.com ). Lot of thanks in advance! Setting bugreport from NEEDSINFORMATION back to NEW. Not sure what happened. Trying again. In case you got duplicate messages, I got an error saying the sending failed.
> Date: Thu, 3 Nov 2011 03:16:30 +0000
> From: sebsauer@kdab.com
> To: zeratul587@hotmail.com
> Subject: [Bug 284325] opening HeroForge_V6.1.0.1.xls
>
> https://bugs.kde.org/show_bug.cgi?id=284325
>
>
> Sebastian Sauer <sebsauer@kdab.com> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> Status|NEEDSINFO |NEW
> Resolution|WAITINGFORINFO |
> Ever Confirmed|0 |1
>
>
>
>
> --- Comment #8 from Sebastian Sauer <sebsauer kdab com> 2011-11-03 03:16:30 ---
> Hi zeratul587,
>
> lot of thanks for the feedback! Seems you forgot to attach the file that was
> leading to the crash. Would help us a lot to figure out what wents wrong.
> Please attache the file or, if not possible cause it contains things you don't
> like to have published here, mail it to me ( sebsauer@kdab.com ). Lot of thanks
> in advance!
>
> Setting bugreport from NEEDSINFORMATION back to NEW.
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug.
> You reported the bug.
@zeratul587 ah, please do not attach the file to the mail but go to https://bugs.kde.org/show_bug.cgi?id=284325 , (maye login needed) and choose there the "Add an attachment" link at the bottom of the page. Seems attaching mails to bugzilla via mail doesn't properly work so it's needed to use the web-interface. maybe because login is needed? Not sure why. Lot of thanks in advance once more :) p.s. or mail the file to me ( sebsauer@kdab.com ) then I will attach it. Lot of thanks :) Ok, the file is too large to attach here. If it helps, I got the file here http://nzcomputers.net/heroforge/default35.asp and It's Heroforge version 6.1.0.1 the second in the list of files. Lot of thanks zeratul587! If I load that xls into Callugra Tables from master then it hangs at ~13%. That hang in fixed now with commit 77560ed0d97bd19255954b0226c8be488079f731 but now there is the problem that the file takes ages to load (but not hangs any longer) cause we recalc the sheet/cells way to often during loading. It prints ables(20291)/kotext TextShapeFactory::newDocumentResourceManager: No KUndo2Stack found in the document resource manager, creating a new one tables(20291)/kspread (Formula) Calligra::Tables::RecalcManager::recalc: Recalculating 28523 cell(s).. tables(20291)/kspread Calligra::Tables::ElapsedTime::~ElapsedTime: *** (Recalculating cells) Elapsed time: 0 min 3 sec 142 msec tables(20291)/kspread Calligra::Tables::ElapsedTime::~ElapsedTime: *** (Overall map recalculation) Elapsed time: 0 min 3 sec 168 msec FRM: 4 1 tables(20291)/kotext TextShapeFactory::newDocumentResourceManager: No KUndo2Stack found in the document resource manager, creating a new one tables(20291)/kspread (Formula) Calligra::Tables::RecalcManager::recalc: Recalculating 28645 cell(s).. tables(20291)/kspread Calligra::Tables::ElapsedTime::~ElapsedTime: *** (Recalculating cells) Elapsed time: 0 min 3 sec 118 msec tables(20291)/kspread Calligra::Tables::ElapsedTime::~ElapsedTime: *** (Overall map recalculation) Elapsed time: 0 min 3 sec 145 msec FRM: 4 1 tables(20291)/kotext TextShapeFactory::newDocumentResourceManager: No KUndo2Stack found in the document resource manager, creating a new one tables(20291)/kspread (Formula) Calligra::Tables::RecalcManager::recalc: Recalculating 28741 cell(s).. tables(20291)/kspread Calligra::Tables::ElapsedTime::~ElapsedTime: *** (Recalculating cells) Elapsed time: 0 min 3 sec 123 msec tables(20291)/kspread Calligra::Tables::ElapsedTime::~ElapsedTime: *** (Overall map recalculation) Elapsed time: 0 min 3 sec 150 msec FRM: 7 3 FRM: 6 2 tables(20291)/kotext TextShapeFactory::newDocumentResourceManager: No KUndo2Stack found in the document resource manager, creating a new one tables(20291)/kspread (Formula) Calligra::Tables::RecalcManager::recalc: Recalculating 28743 cell(s).. tables(20291)/kspread Calligra::Tables::ElapsedTime::~ElapsedTime: *** (Recalculating cells) Elapsed time: 0 min 3 sec 395 msec tables(20291)/kspread Calligra::Tables::ElapsedTime::~ElapsedTime: *** (Overall map recalculation) Elapsed time: 0 min 3 sec 422 msec ... to the console while doing so. and if I let it keep running after a while I get; tables(22143) Calligra::Tables::Cell::encodeFormula: "=OR(#1#0#;#2#0#<2)" tables(22143) Calligra::Tables::Cell::encodeFormula: "=HRMH" tables(22143) Calligra::Tables::Cell::encodeFormula: "=IF(NOT(HRLivingGreyhawkFt);IF(#-1#0#;0;2);IF(#1#0#=="O";0;IF(LGNonCoreAvailableFt;IF(#1#0#=="C";2;IF(#1#0#=="L";1;2));2)))" tables(22143) Calligra::Tables::Cell::encodeFormula: "=OR(IF(ISNA(#-17#0#);FALSE;#-17#0#);IF(ISNA(#-16#0#);FALSE;#-16#0#);#-22#0#)" tables(22143) Calligra::Tables::Cell::encodeFormula: "=IF(LENB(#3#0#)==0;"";"("#0#&IF(LENB(#-1#0#)==0;"";" "&#-1#0#)&")")" tables(22143) Calligra::Tables::Cell::encodeFormula: "=IF(#-25#0#;#-31#0#&#-1#0#&"²";IF(#-3#0#;#-31#0#&#-1#0#;""))" tables(22143) Calligra::Tables::Cell::encodeFormula: "=IF(#-1#0#<>"";"× "&#-1#0#&#-30#0#;"")" Qt has caught an exception thrown from an event handler. Throwing exceptions from an event handler is not supported in Qt. You must reimplement QApplication::notify() and catch all exceptions there. terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Program received signal SIGABRT, Aborted. 0x00007ffff1553ab5 in raise () from /lib64/libc.so.6 (gdb) bt #0 0x00007ffff1553ab5 in raise () from /lib64/libc.so.6 #1 0x00007ffff1554fb6 in abort () from /lib64/libc.so.6 #2 0x00007ffff1db9a9d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib64/libstdc++.so.6 #3 0x00007ffff1db7cb6 in ?? () from /usr/lib64/libstdc++.so.6 #4 0x00007ffff1db7ce3 in std::terminate() () from /usr/lib64/libstdc++.so.6 #5 0x00007ffff1db7e36 in __cxa_rethrow () from /usr/lib64/libstdc++.so.6 #6 0x00007ffff25faf03 in QEventLoop::exec (this=0x7fffffffd870, flags=...) at kernel/qeventloop.cpp:214 #7 0x00007ffff25ff27b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064 #8 0x00007ffff7bdc823 in kdemain (argc=2, argv=0x7fffffffdac8) at /home/snoopy/src/calligra/tables/part/Main.cpp:43 #9 0x0000000000400976 in main (argc=2, argv=0x7fffffffdac8) at /home/snoopy/src/build/calligra/tables/calligratables_dummy.cpp:3 Patch that fixes the long loading-time and the bad_alloc segfault; diff --git a/tables/RecalcManager.cpp b/tables/RecalcManager.cpp index d0e530c..2fe6bb8 100644 --- a/tables/RecalcManager.cpp +++ b/tables/RecalcManager.cpp @@ -211,7 +211,7 @@ void RecalcManager::addSheet(Sheet *sheet) { // Manages also the revival of a deleted sheet. Q_UNUSED(sheet); - recalcMap(); // FIXME Stefan: Implement a more elegant solution. + //recalcMap(); // FIXME Stefan: Implement a more elegant solution. } Waiting for feedback from the maintainer cause that patch is rather offensive. An extended version of the fix did land in Calligra master with commit 04010304047. Also I fixed the problem with named areas visible in that document with commit f061a7e305f0b. The HeroForge_V6.1.0.1.xls document is loaded and displayed fine in Calligra Tables now. Lot of thanks for the feedback! |