Bug 284325

Summary: opening HeroForge_V6.1.0.1.xls
Product: [Applications] calligrasheets Reporter: zeratul587
Component: generalAssignee: 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
Application: kspread (2.1.2)
KDE Platform Version: 4.4.5 (KDE 4.4.5) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-34-generic i686
Distribution: Ubuntu 10.04.3 LTS

-- Information about the crash:
ran from terminal on ubuntu 10.04.  Here's the readout.

xxxxx@xxxxx-xxxxx:~$ kspread
kspread(7857)/kdecore (KLibrary) findLibraryInternal: plugins should not have a 'lib' prefix: "libkspreadpart.so"
kspread(7857)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/libkspreadpart.so" does not offer a qt_plugin_instance function.
kspread(7857)/kdeui (KAction) KActionCollection::setComponentData: this does not work on a KActionCollection containing actions! 
kspread(7857)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/defaulttools.so" does not offer a qt_plugin_instance function.
kspread(7857)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/kpresentertoolanimation.so" does not offer a qt_plugin_instance function.
kspread(7857)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/kopabackgroundtool.so" does not offer a qt_plugin_instance function.
kspread(7857)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/paragraphtool.so" does not offer a qt_plugin_instance function.
kspread(7857)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/divineproportionshape.so" does not offer a qt_plugin_instance function.
kspread(7857)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/textshape.so" does not offer a qt_plugin_instance function.
kspread(7857)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/artistictextshape.so" does not offer a qt_plugin_instance function.
kspread(7857)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/chartshape.so" does not offer a qt_plugin_instance function.
kspread(7857)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/kritashape.so" does not offer a qt_plugin_instance function.
kspread(7857)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/pathshapes.so" does not offer a qt_plugin_instance function.
kspread(7857)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/pictureshape.so" does not offer a qt_plugin_instance function.
kspread(7857)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/spreadsheetshape.so" does not offer a qt_plugin_instance function.
kspread(7857)/kdeui (kdelibs): No such XML file "/home/damien/.kde/share/apps/koffice/koffice_shell.rc" 
kspread(7857)/kdeui (kdelibs): No such XML file "/home/damien/.kde/share/apps/koffice/koffice_shell.rc" 
kspread(7857)/kdecore (KLibrary) findLibraryInternal: plugins should not have a 'lib' prefix: "libxsltexport.so"
kspread(7857)/koffice (filter manager) KoFilterManager::filterAvailable: The library  ""  does not offer a check_ ""  function. 

kspread(7857)/kdecore (services) KMimeTypeFactory::parseMagic: Now parsing  "/usr/share/mime/magic"
kspread(7857)/kdecore (services) KMimeTypeFactory::parseMagic: Now parsing  "/home/damien/.local/share/mime/magic"
kspread(7857)/kdecore (KLibrary) findLibraryInternal: plugins should not have a 'lib' prefix: "libkspreadpart.so"
kspread(7857)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/libkspreadpart.so" does not offer a qt_plugin_instance function.
kspread(7857)/kdeui (KAction) KActionCollection::setComponentData: this does not work on a KActionCollection containing actions! 
kspread(7857)/kdecore (KLibrary) findLibraryInternal: plugins should not have a 'lib' prefix: "libexcelimport.so"
kspread(7857)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/libexcelimport.so" does not offer a qt_plugin_instance function.
KCrash: Application 'kspread' crashing...
sock_file=/home/damien/.kde/socket-damien-laptop/kdeinit4__0
[1]   Exit 253                kspread

[2]+  Stopped                 kspread
xxxxx@xxxxx-xxxxx:~$ 

The crash can be reproduced every time.

 -- Backtrace:
Application: KSpread (kspread), signal: Segmentation fault
[KCrash Handler]
#6  0x06a2a75a in Swinder::FormulaToken::setData (this=0xbfe1381c, size=1048583, data=0xb450a03b "") at ../../../../../filters/kspread/excel/sidewinder/excel.cpp:593
#7  0x06a2d7a4 in Swinder::FormulaRecord::setData (this=0xa7062c0, size=108, data=0xb450a008 "\001") at ../../../../../filters/kspread/excel/sidewinder/excel.cpp:2756
#8  0x06a347e2 in Swinder::ExcelReader::load (this=0x8af2b78, workbook=0x8a31200, filename=0x8c6fa28 "/home/damien/Desktop/HeroForge_V6.1.0.1.xls")
    at ../../../../../filters/kspread/excel/sidewinder/excel.cpp:4610
#9  0x06a46486 in Swinder::Workbook::load (this=0x8a31200, filename=0x8c6fa28 "/home/damien/Desktop/HeroForge_V6.1.0.1.xls") at ../../../../../filters/kspread/excel/sidewinder/workbook.cpp:64
#10 0x06a1e8a2 in ExcelImport::convert (this=0x8c98298, from=..., to=...) at ../../../../../filters/kspread/excel/import/excelimport.cc:118
#11 0x0039356e in KOfficeFilter::ChainLink::invokeFilter (this=0x8c66760, parentChainLink=0x0) at ../../../libs/main/KoFilterChainLink.cpp:69
#12 0x00389a5d in KoFilterChain::invokeChain (this=0x8c7c778) at ../../../libs/main/KoFilterChain.cpp:94
#13 0x00387a35 in KoFilterManager::importDocument (this=0x8c66230, url=..., status=@0xbfe13d24) at ../../../libs/main/KoFilterManager.cpp:163
#14 0x00336bba in KoDocument::openFile (this=0x8c665c8) at ../../../libs/main/KoDocument.cpp:1208
#15 0x00221ca9 in KParts::ReadOnlyPart::openUrl (this=0x8c665c8, url=...) at ../../kparts/part.cpp:557
#16 0x003364b1 in KoDocument::openUrl (this=0x8c665c8, _url=...) at ../../../libs/main/KoDocument.cpp:1136
#17 0x00359a5f in KoMainWindow::openDocumentInternal (this=0x87a9518, url=..., newdoc=0x8c665c8) at ../../../libs/main/KoMainWindow.cpp:670
#18 0x0035a1dd in KoMainWindow::openDocument (this=0x87a9518, url=...) at ../../../libs/main/KoMainWindow.cpp:631
#19 0x0036067a in KoMainWindow::slotFileOpen (this=0x87a9518) at ../../../libs/main/KoMainWindow.cpp:1205
#20 0x003612c3 in KoMainWindow::qt_metacall (this=0x87a9518, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbfe14238) at ./KoMainWindow.moc:138
#21 0x00792c9a in QMetaObject::metacall (object=0x87a9518, cl=QMetaObject::InvokeMetaMethod, idx=55, argv=0xbfe14238) at kernel/qmetaobject.cpp:237
#22 0x007a13d5 in QMetaObject::activate (sender=0x88003c8, m=0x18ced58, local_signal_index=1, argv=0xbfe14238) at kernel/qobject.cpp:3293
#23 0x00f9fbd9 in QAction::triggered (this=0x88003c8, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#24 0x00fa1dcc in QAction::activate (this=0x88003c8, event=QAction::Trigger) at kernel/qaction.cpp:1255
#25 0x0144560c in QMenuPrivate::activateCausedStack (this=0x8815168, causedStack=..., action=0x88003c8, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1011
#26 0x0144babb in QMenuPrivate::activateAction (this=0x8815168, action=0x88003c8, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1103
#27 0x0144cac7 in QMenu::mouseReleaseEvent (this=0x87e2750, e=0xbfe14ad0) at widgets/qmenu.cpp:2312
#28 0x051fd745 in KMenu::mouseReleaseEvent (this=0x87e2750, e=0xbfe14ad0) at ../../kdeui/widgets/kmenu.cpp:471
#29 0x010047f8 in QWidget::event (this=0x87e2750, event=0xbfe14ad0) at kernel/qwidget.cpp:7998
#30 0x0144e0cc in QMenu::event (this=0x87e2750, e=0xbfe14ad0) at widgets/qmenu.cpp:2414
#31 0x00fa64dc in QApplicationPrivate::notify_helper (this=0x85e8e58, receiver=0x87e2750, e=0xbfe14ad0) at kernel/qapplication.cpp:4300
#32 0x00fad9f7 in QApplication::notify (this=0xbfe15354, receiver=0x87e2750, e=0xbfe14ad0) at kernel/qapplication.cpp:3865
#33 0x0510740a in KApplication::notify (this=0xbfe15354, receiver=0x87e2750, event=0xbfe14ad0) at ../../kdeui/kernel/kapplication.cpp:302
#34 0x0078da3b in QCoreApplication::notifyInternal (this=0xbfe15354, receiver=0x87e2750, event=0xbfe14ad0) at kernel/qcoreapplication.cpp:704
#35 0x00fac952 in QCoreApplication::sendEvent (receiver=0x87e2750, event=0xbfe14ad0, alienWidget=0x0, nativeWidget=0x87e2750, buttonDown=0x18ea058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#36 QApplicationPrivate::sendMouseEvent (receiver=0x87e2750, event=0xbfe14ad0, alienWidget=0x0, nativeWidget=0x87e2750, buttonDown=0x18ea058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#37 0x010385cf in QETWidget::translateMouseEvent (this=0x87e2750, event=0xbfe14fec) at kernel/qapplication_x11.cpp:4302
#38 0x01037511 in QApplication::x11ProcessEvent (this=0xbfe15354, event=0xbfe14fec) at kernel/qapplication_x11.cpp:3379
#39 0x0106660a in x11EventSourceDispatch (s=0x85ec068, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#40 0x066c25e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#41 0x066c62d8 in ?? () from /lib/libglib-2.0.so.0
#42 0x066c64b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#43 0x007b95d5 in QEventDispatcherGlib::processEvents (this=0x85cc7d0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#44 0x01066135 in QGuiEventDispatcherGlib::processEvents (this=0x85cc7d0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#45 0x0078c059 in QEventLoop::processEvents (this=0xbfe152e4, flags=) at kernel/qeventloop.cpp:149
#46 0x0078c4aa in QEventLoop::exec (this=0xbfe152e4, flags=...) at kernel/qeventloop.cpp:201
#47 0x0079069f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#48 0x00fa6577 in QApplication::exec () at kernel/qapplication.cpp:3579
#49 0x009db5dd in kdemain (argc=1, argv=0xbfe15474) at ../../kspread/part/Main.cpp:43
#50 0x080485fb in main (argc=1, argv=0xbfe15474) at kspread_dummy.cpp:3

Possible duplicates by query: bug 284321.

Reported using DrKonqi
Comment 1 zeratul587 2011-10-18 04:41:39 UTC
*** Bug 284324 has been marked as a duplicate of this bug. ***
Comment 2 zeratul587 2011-10-18 04:42:44 UTC
*** Bug 284323 has been marked as a duplicate of this bug. ***
Comment 3 LukasT 2011-10-21 07:04:06 UTC
Can you attach the document that crash for you?
Comment 4 Sebastian Sauer 2011-11-02 15:11:01 UTC
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 :)
Comment 5 Sebastian Sauer 2011-11-02 15:12:25 UTC
*** Bug 284321 has been marked as a duplicate of this bug. ***
Comment 6 zeratul587 2011-11-02 20:49:30 UTC
Created attachment 65175 [details]
New crash information added by DrKonqi

Confirming that this still happens as asked.
Comment 7 zeratul587 2011-11-02 20:57:55 UTC
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.
Comment 8 Sebastian Sauer 2011-11-03 03:16:30 UTC
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.
Comment 9 zeratul587 2011-11-03 05:36:12 UTC
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.
Comment 10 Sebastian Sauer 2011-11-03 06:34:42 UTC
@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 :)
Comment 11 Sebastian Sauer 2011-11-03 06:36:07 UTC
p.s. or mail the file to me ( sebsauer@kdab.com ) then I will attach it. Lot of thanks :)
Comment 12 zeratul587 2011-11-03 18:18:08 UTC
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.
Comment 13 Sebastian Sauer 2011-11-03 19:06:32 UTC
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.
Comment 14 Sebastian Sauer 2011-11-03 19:44:47 UTC
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;"";"("&#3#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
Comment 15 Sebastian Sauer 2011-11-08 11:24:57 UTC
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.
Comment 16 Sebastian Sauer 2011-11-16 17:13:01 UTC
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!