Application: kspread (2.3.3) KDE Platform Version: 4.7.2 (4.7.2) Qt Version: 4.7.4 Operating System: Linux 3.0.0-12-generic x86_64 Distribution: Ubuntu 11.10 -- Information about the crash: - What I was doing when the application crashed: I was opening a *.xlsx file with around 7000 rows and only 2 coloumns, and with a chart. The crash can be reproduced every time. -- Backtrace: Application: KSpread (kspread), signal: Segmentation fault [KCrash Handler] #6 ChartExport::addDataThemeToStyle (this=<optimized out>, styleID=2, style=..., dataNumber=<optimized out>, maxNumData=1, strokes=false) at ../../../../filters/kspread/xlsx/ChartExport.cpp:861 #7 0x00007f441239cd51 in ChartExport::saveContent (this=0x5755740, store=0x26cf810, manifestWriter=0x7fffbbd1b3e0) at ../../../../filters/kspread/xlsx/ChartExport.cpp:645 #8 0x00007f441238c255 in XlsxXmlChartReader::read (this=0x7fffbbd16be0, context=<optimized out>) at ../../../../filters/kspread/xlsx/XlsxXmlChartReader.cpp:488 #9 0x00007f4412054699 in MSOOXML::Utils::loadAndParseDocument (reader=0x7fffbbd16be0, zip=<optimized out>, writers=<optimized out>, errorMessage=..., fileName=..., context=0x5758390) at ../../../filters/libmsooxml/MsooXmlUtils.cpp:213 #10 0x00007f441207ebd3 in MSOOXML::MsooXmlImport::loadAndParseDocument (this=<optimized out>, reader=0x7fffbbd16be0, path=<optimized out>, context=<optimized out>) at ../../../filters/libmsooxml/MsooXmlImport.cpp:302 #11 0x00007f441236601d in XlsxXmlDrawingReader::read_chart (this=0x7fffbbd17690) at ../../../../filters/libmsooxml/MsooXmlCommonReaderDrawingMLImpl.h:1188 #12 0x00007f4412378331 in XlsxXmlDrawingReader::read_graphicData2 (this=0x7fffbbd17690) at ../../../../filters/kspread/xlsx/XlsxXmlDrawingReader.cpp:419 #13 0x00007f441237856d in XlsxXmlDrawingReader::read_graphic2 (this=0x7fffbbd17690) at ../../../../filters/kspread/xlsx/XlsxXmlDrawingReader.cpp:399 #14 0x00007f44123786bd in XlsxXmlDrawingReader::read_graphicFrame (this=0x7fffbbd17690) at ../../../../filters/kspread/xlsx/XlsxXmlDrawingReader.cpp:377 #15 0x00007f4412378ac7 in XlsxXmlDrawingReader::read_anchor (this=0x7fffbbd17690) at ../../../../filters/kspread/xlsx/XlsxXmlDrawingReader.cpp:263 #16 0x00007f4412378fa0 in read (this=<optimized out>, context=<optimized out>) at ../../../../filters/kspread/xlsx/XlsxXmlDrawingReader.cpp:221 #17 XlsxXmlDrawingReader::read (this=0x7fffbbd17690, context=<optimized out>) at ../../../../filters/kspread/xlsx/XlsxXmlDrawingReader.cpp:200 #18 0x00007f4412054699 in MSOOXML::Utils::loadAndParseDocument (reader=0x7fffbbd17690, zip=<optimized out>, writers=<optimized out>, errorMessage=..., fileName=..., context=0x574cbe0) at ../../../filters/libmsooxml/MsooXmlUtils.cpp:213 #19 0x00007f441207ebd3 in MSOOXML::MsooXmlImport::loadAndParseDocument (this=<optimized out>, reader=0x7fffbbd17690, path=<optimized out>, context=<optimized out>) at ../../../filters/libmsooxml/MsooXmlImport.cpp:302 #20 0x00007f441231e320 in XlsxXmlWorksheetReader::read_drawing (this=0x7fffbbd186f0) at ../../../../filters/kspread/xlsx/XlsxXmlWorksheetReader.cpp:1241 #21 0x00007f441233ddb3 in XlsxXmlWorksheetReader::read_worksheet (this=0x7fffbbd186f0) at ../../../../filters/kspread/xlsx/XlsxXmlWorksheetReader.cpp:323 #22 0x00007f441233e47e in XlsxXmlWorksheetReader::readInternal (this=0x7fffbbd186f0) at ../../../../filters/kspread/xlsx/XlsxXmlWorksheetReader.cpp:204 #23 0x00007f441233e7c2 in XlsxXmlWorksheetReader::read (this=0x7fffbbd186f0, context=<optimized out>) at ../../../../filters/kspread/xlsx/XlsxXmlWorksheetReader.cpp:163 #24 0x00007f4412054699 in MSOOXML::Utils::loadAndParseDocument (reader=0x7fffbbd186f0, zip=<optimized out>, writers=<optimized out>, errorMessage=..., fileName=..., context=0x7fffbbd19310) at ../../../filters/libmsooxml/MsooXmlUtils.cpp:213 #25 0x00007f441207ebd3 in MSOOXML::MsooXmlImport::loadAndParseDocument (this=<optimized out>, reader=0x7fffbbd186f0, path=<optimized out>, context=<optimized out>) at ../../../filters/libmsooxml/MsooXmlImport.cpp:302 #26 0x00007f4412310f59 in XlsxXmlDocumentReader::read_sheet (this=0x7fffbbd1aa90) at ../../../../filters/kspread/xlsx/XlsxXmlDocumentReader.cpp:286 #27 0x00007f4412311b1e in XlsxXmlDocumentReader::read_sheets (this=0x7fffbbd1aa90) at ../../../../filters/kspread/xlsx/XlsxXmlDocumentReader.cpp:218 #28 0x00007f4412312168 in XlsxXmlDocumentReader::read_workbook (this=0x7fffbbd1aa90) at ../../../../filters/kspread/xlsx/XlsxXmlDocumentReader.cpp:189 #29 0x00007f4412312a75 in XlsxXmlDocumentReader::readInternal (this=0x7fffbbd1aa90) at ../../../../filters/kspread/xlsx/XlsxXmlDocumentReader.cpp:135 #30 0x00007f4412312fdf in XlsxXmlDocumentReader::read (this=0x7fffbbd1aa90, context=<optimized out>) at ../../../../filters/kspread/xlsx/XlsxXmlDocumentReader.cpp:92 #31 0x00007f4412054699 in MSOOXML::Utils::loadAndParseDocument (reader=0x7fffbbd1aa90, zip=<optimized out>, writers=<optimized out>, errorMessage=..., fileName=..., context=0x7fffbbd1ab40) at ../../../filters/libmsooxml/MsooXmlUtils.cpp:213 #32 0x00007f441207eb2e in loadAndParseDocumentFromFileInternal (pathFound=0x7fffbbd19e4f, context=<optimized out>, errorMessage=<optimized out>, writers=<optimized out>, reader=<optimized out>, fileName=<optimized out>, this=<optimized out>) at ../../../filters/libmsooxml/MsooXmlImport.cpp:244 #33 MSOOXML::MsooXmlImport::loadAndParseDocumentFromFileInternal (this=<optimized out>, fileName=<optimized out>, reader=<optimized out>, writers=<optimized out>, errorMessage=<optimized out>, context=<optimized out>, pathFound=0x7fffbbd19e4f) at ../../../filters/libmsooxml/MsooXmlImport.cpp:235 #34 0x00007f441207fe94 in MSOOXML::MsooXmlImport::loadAndParseDocumentInternal (this=0x26d2170, contentType=..., reader=0x7fffbbd1aa90, writers=0x7fffbbd1b220, errorMessage=..., context=0x7fffbbd1ab40, pathFound=0x7fffbbd19e4f) at ../../../filters/libmsooxml/MsooXmlImport.cpp:229 #35 0x00007f4412080222 in MSOOXML::MsooXmlImport::loadAndParseDocument (this=<optimized out>, contentType=<optimized out>, reader=<optimized out>, writers=<optimized out>, errorMessage=<optimized out>, context=<optimized out>) at ../../../filters/libmsooxml/MsooXmlImport.cpp:255 #36 0x00007f441230d2ec in XlsxImport::parseParts (this=0x26d2170, writers=0x7fffbbd1b220, relationships=0x7fffbbd1af30, errorMessage=...) at ../../../../filters/kspread/xlsx/XlsxImport.cpp:618 #37 0x00007f441207ee80 in MSOOXML::MsooXmlImport::openFile (this=0x26d2170, writers=0x7fffbbd1b220, errorMessage=...) at ../../../filters/libmsooxml/MsooXmlImport.cpp:343 #38 0x00007f441207f27e in MSOOXML::MsooXmlImport::createDocument (this=0x26d2170, outputStore=0x26cf810, writers=0x7fffbbd1b220) at ../../../filters/libmsooxml/MsooXmlImport.cpp:107 #39 0x00007f44120d71b1 in KoOdfExporter::convert (this=0x26d2170, from=<optimized out>, to=...) at ../../../filters/libmsooxml/KoOdfExporter.cpp:121 #40 0x00007f4433581132 in KOfficeFilter::ChainLink::invokeFilter (this=0x26cc480, parentChainLink=0x0) at ../../../libs/main/KoFilterChainLink.cpp:90 #41 0x00007f4433578879 in KoFilterChain::invokeChain (this=0x26d2270) at ../../../libs/main/KoFilterChain.cpp:94 #42 0x00007f4433576d7b in KoFilterManager::importDocument (this=0x254e630, url=..., status=@0x7fffbbd1bfec) at ../../../libs/main/KoFilterManager.cpp:164 #43 0x00007f443352ffc5 in KoDocument::openFile (this=0x239a210) at ../../../libs/main/KoDocument.cpp:1336 #44 0x00007f443193182c in KParts::ReadOnlyPartPrivate::openLocalFile (this=0x239a2e0) at ../../kparts/part.cpp:590 #45 0x00007f4431931e74 in KParts::ReadOnlyPart::openUrl (this=0x239a210, url=...) at ../../kparts/part.cpp:554 #46 0x00007f4433533ded in KoDocument::openUrl (this=0x239a210, _url=...) at ../../../libs/main/KoDocument.cpp:1251 #47 0x00007f443354e097 in KoMainWindow::openDocumentInternal (this=0x24606c0, url=..., newdoc=0x239a210) at ../../../libs/main/KoMainWindow.cpp:679 #48 0x00007f443354c692 in KoMainWindow::openDocument (this=0x24606c0, newdoc=0x239a210, url=...) at ../../../libs/main/KoMainWindow.cpp:662 #49 0x00007f4433520ff6 in KoApplication::start (this=<optimized out>) at ../../../libs/main/KoApplication.cpp:252 #50 0x00007f4433bae624 in kdemain (argc=<optimized out>, argv=0x7fffbbd1ccc8) at ../../kspread/part/Main.cpp:41 #51 0x00007f443382e30d in __libc_start_main (main=0x400630 <main(int, char**)>, argc=2, ubp_av=0x7fffbbd1ccc8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffbbd1ccb8) at libc-start.c:226 #52 0x0000000000400661 in _start () Reported using DrKonqi
Hi "bebopper", can you please either attach the xlsx that crashes to the bugreport or if not possible mail it to me ( sebsauer@kdab.com ) so I can have a look if a) the crash is still reproducable with a more recent Calligra (means upcoming 2.4) - you can also check that yourself by trying on one of 2.4 alpha or beta-releases and b) why exactly it crashes and how to proper fix. Lot of thanks in advance!
Fixed with commit c118394b1f.