Bug 257938 - Crash at opening
Summary: Crash at opening
Status: RESOLVED FIXED
Alias: None
Product: calligrasheets
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Calligra Sheets (KSpread) Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-26 05:19 UTC by Augusto Fornitani
Modified: 2010-12-08 09:11 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Augusto Fornitani 2010-11-26 05:19:33 UTC
Application: kspread (2.3 Beta 3)
KDE Platform Version: 4.5.3 (KDE 4.5.3)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-23-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:

Opening .xls file from http://www.top500.org/static/lists/2010/11/TOP500_201011.xls

The crash can be reproduced every time.

-- Backtrace:
Application: KSpread (kspread), signal: Aborted
[KCrash Handler]
#6  0x00007feb78b60ba5 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007feb78b646b0 in abort () at abort.c:92
#8  0x00007feb76f286bd in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6
#9  0x00007feb76f26906 in ?? () from /usr/lib/libstdc++.so.6
#10 0x00007feb76f26933 in std::terminate() () from /usr/lib/libstdc++.so.6
#11 0x00007feb76f26a3e in __cxa_throw () from /usr/lib/libstdc++.so.6
#12 0x00007feb76f26e4d in operator new(unsigned long) () from /usr/lib/libstdc++.so.6
#13 0x00007feb76f26f09 in operator new[](unsigned long) () from /usr/lib/libstdc++.so.6
#14 0x00007feb5311da28 in Swinder::readByteString (p=<value optimized out>, length=<value optimized out>, maxSize=4294967295, error=0x7feb792830b0, size=0x7feb792827a0) at ../../../../../filters/kspread/excel/sidewinder/utils.cpp:38
#15 0x00007feb530f68ac in Swinder::ExcelReader::load (this=0x2499e80, workbook=<value optimized out>, filename=<value optimized out>) at ../../../../../filters/kspread/excel/sidewinder/excel.cpp:2381
#16 0x00007feb53112fdc in Swinder::Workbook::load (this=0x2348ee0, filename=0x2499e08 "/home/fornitani/Desktop/TOP500_201011.xls") at ../../../../../filters/kspread/excel/sidewinder/workbook.cpp:99
#17 0x00007feb530df41b in ExcelImport::convert (this=0x24ec130, from=<value optimized out>, to=<value optimized out>) at ../../../../../filters/kspread/excel/import/ExcelImport.cpp:240
#18 0x00007feb78898292 in KOfficeFilter::ChainLink::invokeFilter (this=0x24f71c0, parentChainLink=0x0) at ../../../libs/main/KoFilterChainLink.cpp:90
#19 0x00007feb7888e73b in KoFilterChain::invokeChain (this=0x24c35d0) at ../../../libs/main/KoFilterChain.cpp:94
#20 0x00007feb7888c718 in KoFilterManager::importDocument (this=0x240d700, url=<value optimized out>, status=<value optimized out>) at ../../../libs/main/KoFilterManager.cpp:164
#21 0x00007feb7883e8d3 in KoDocument::openFile (this=0x21cf4d0) at ../../../libs/main/KoDocument.cpp:1331
#22 0x00007feb76c35987 in KParts::ReadOnlyPart::openUrl (this=0x21cf4d0, url=<value optimized out>) at ../../kparts/part.cpp:557
#23 0x00007feb7883e38c in KoDocument::openUrl (this=0x21cf4d0, _url=...) at ../../../libs/main/KoDocument.cpp:1251
#24 0x00007feb78861087 in KoMainWindow::openDocumentInternal (this=0x234c230, url=..., newdoc=0x21cf4d0) at ../../../libs/main/KoMainWindow.cpp:678
#25 0x00007feb78861d0a in KoMainWindow::openDocument (this=0x234c230, newdoc=0x21cf4d0, url=...) at ../../../libs/main/KoMainWindow.cpp:661
#26 0x00007feb7882d9ed in KoApplication::start (this=<value optimized out>) at ../../../libs/main/KoApplication.cpp:252
#27 0x00007feb78eb24d3 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../kspread/part/Main.cpp:41
#28 0x00007feb78b4bd8e in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff55f42df8) at libc-start.c:226
#29 0x0000000000400659 in _start ()

Possible duplicates by query: bug 254250, bug 236156.

Reported using DrKonqi
Comment 1 Marijn Kruisselbrink 2010-11-26 10:45:24 UTC
SVN commit 1200921 by mkruisselbrink:

don't crash when unexpected data is found in the CompObj stream (and whatever would be read there was ignored anyway).
BUG: 257938

 M  +4 -0      excel.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1200921
Comment 2 swathi 2010-12-08 09:11:28 UTC
HI Augusto,i have opened the same file in Kspread in Koffice essen revision  1204488.
In this no more crash is there.File was opened sucessfully.
Could you please check it once and mark it as Verified or let me know can i  mark it as Verified ?