Bug 277506

Summary: Kspread crashes when loading a XLS document [QString::operator=, Swinder::Cell::setNote, Swinder::WorksheetSubStreamHandler::handleNote]
Product: [Applications] calligrasheets Reporter: balintgarbai
Component: filter/xlsAssignee: Calligra Sheets (KSpread) Bugs <calligra-sheets-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: sebsauer
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description balintgarbai 2011-07-10 21:53:50 UTC
Application: kspread (2.3.3)
KDE Platform Version: 4.6.2 (4.6.2) (Compiled from sources)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic i686
Distribution: Ubuntu 11.04

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

I was trying to open an Exel document (.xls). I've tried it 5 times, it crashed everytime.

The crash can be reproduced every time.

-- Backtrace:
Application: KSpread (kspread), signal: Segmentation fault
[KCrash Handler]
#7  ref (this=0x9111ccc, other=...) at ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:120
#8  QString::operator= (this=0x9111ccc, other=...) at tools/qstring.cpp:1357
#9  0x050b076a in Swinder::Cell::setNote (this=0x8fde558, n=...) at ../../../../../filters/kspread/excel/sidewinder/cell.cpp:230
#10 0x050f51ae in Swinder::WorksheetSubStreamHandler::handleNote (this=0x90f70b0, record=0x9202750) at ../../../../../filters/kspread/excel/sidewinder/worksheetsubstreamhandler.cpp:758
#11 0x050b7061 in Swinder::ExcelReader::load (this=0x8fd31b0, workbook=0x8fce1e8, filename=0x90ad768 "/home/balint/Documents/Nikki dvd lista.xls") at ../../../../../filters/kspread/excel/sidewinder/excel.cpp:2528
#12 0x050d8fd6 in Swinder::Workbook::load (this=0x8fce1e8, filename=0x90ad768 "/home/balint/Documents/Nikki dvd lista.xls") at ../../../../../filters/kspread/excel/sidewinder/workbook.cpp:99
#13 0x050a7631 in ExcelImport::convert (this=0x90d14a8, from=..., to=...) at ../../../../../filters/kspread/excel/import/ExcelImport.cpp:240
#14 0x00220038 in KOfficeFilter::ChainLink::invokeFilter (this=0x90aa098, parentChainLink=0x0) at ../../../libs/main/KoFilterChainLink.cpp:90
#15 0x0021749d in KoFilterChain::invokeChain (this=0x90ad190) at ../../../libs/main/KoFilterChain.cpp:94
#16 0x00215c3a in KoFilterManager::importDocument (this=0x90a9260, url=..., status=@0xbf8860e4) at ../../../libs/main/KoFilterManager.cpp:164
#17 0x001cb7a5 in KoDocument::openFile (this=0x8ea5a08) at ../../../libs/main/KoDocument.cpp:1336
#18 0x0012d7f4 in KParts::ReadOnlyPartPrivate::openLocalFile (this=0x8ea6888) at ../../kparts/part.cpp:592
#19 0x0012dec2 in KParts::ReadOnlyPart::openUrl (this=0x8ea5a08, url=...) at ../../kparts/part.cpp:556
#20 0x001ce2a3 in KoDocument::openUrl (this=0x8ea5a08, _url=...) at ../../../libs/main/KoDocument.cpp:1251
#21 0x001e9eaf in KoMainWindow::openDocumentInternal (this=0x8f03548, url=..., newdoc=<value optimized out>) at ../../../libs/main/KoMainWindow.cpp:679
#22 0x001e824e in KoMainWindow::openDocument (this=0x8f03548, newdoc=0x8ea5a08, url=...) at ../../../libs/main/KoMainWindow.cpp:662
#23 0x001b9d08 in KoApplication::start (this=0xbf8866c4) at ../../../libs/main/KoApplication.cpp:252
#24 0x003dd508 in kdemain (argc=2, argv=0xbf8867e4) at ../../kspread/part/Main.cpp:41
#25 0x080485bb in main (argc=2, argv=0xbf8867e4) at kspread_dummy.cpp:3

Reported using DrKonqi
Comment 1 Sebastian Sauer 2011-07-19 12:31:50 UTC
Hi balintgarbai,

can you please attach the document that leads to the crash to this bugreport? Or if not possible cause of the content mail it to me ( sebaauer@kdab.com )? That would help us to locate the problem and find a proper fix. Also I could imagine that the case was already fixed meanwhile cause lot changed since KSpread 2.3.3. Thanks in advance :)
Comment 2 Sebastian Sauer 2011-07-19 13:02:26 UTC

*** This bug has been marked as a duplicate of bug 277177 ***