Bug 254250 - KSpread crashes on opening a file from windows
Summary: KSpread crashes on opening a file from windows
Status: RESOLVED FIXED
Alias: None
Product: calligrasheets
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Calligra Sheets (KSpread) Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-15 12:06 UTC by brunocauet
Modified: 2010-11-12 23:32 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
File that crashes KSpread (17.50 KB, application/vnd.ms-excel)
2010-11-11 09:21 UTC, brunocauet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description brunocauet 2010-10-15 12:06:53 UTC
Application: kspread (2.2.2)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.34.7-56.fc13.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
Every time I open certain files, kde crashes.
Probably an encoding problem with characters with accents (é à etc.) with some files that are from windows, and kspread does nt handle it correctly. I sometimes have the same problem with kword. Ask me if you want the files.

The crash can be reproduced every time.

 -- Backtrace:
Application: KSpread (kspread), signal: Aborted
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#5  0x0000003dfe2329a5 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x0000003dfe234185 in abort () at abort.c:92
#7  0x0000003e03ebeaad in __gnu_cxx::__verbose_terminate_handler () at ../../../../libstdc++-v3/libsupc++/vterminate.cc:93
#8  0x0000003e03ebcc36 in __cxxabiv1::__terminate (handler=<value optimized out>) at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:38
#9  0x0000003e03ebcc63 in std::terminate () at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:48
#10 0x0000003e03ebcd5e in __cxxabiv1::__cxa_throw (obj=0x7f3f7c000940, tinfo=<value optimized out>, dest=<value optimized out>) at ../../../../libstdc++-v3/libsupc++/eh_throw.cc:83
#11 0x0000003e03ebd14d in operator new (sz=4294967295) at ../../../../libstdc++-v3/libsupc++/new_op.cc:58
#12 0x0000003e03ebd209 in operator new[] (sz=<value optimized out>) at ../../../../libstdc++-v3/libsupc++/new_opv.cc:32
#13 0x00007f3f804ecca8 in Swinder::readByteString (p=<value optimized out>, length=<value optimized out>, maxSize=<value optimized out>, error=<value optimized out>, size=<value optimized out>)
    at /usr/src/debug/koffice-2.2.2/filters/kspread/excel/sidewinder/utils.cpp:37
#14 0x00007f3f804d7b41 in Swinder::ExcelReader::load (this=0x23eb580, workbook=0x235f150, filename=<value optimized out>)
    at /usr/src/debug/koffice-2.2.2/filters/kspread/excel/sidewinder/excel.cpp:2799
#15 0x00007f3f804e6dec in Swinder::Workbook::load (this=0x235f150, filename=0x24146f8 "/tmp/kde-bruno/classement affichages pr\303\251ventes 2.xls_[D20682].xls")
    at /usr/src/debug/koffice-2.2.2/filters/kspread/excel/sidewinder/workbook.cpp:77
#16 0x00007f3f804ca61e in ExcelImport::convert (this=0x2522740, from=<value optimized out>, to=<value optimized out>) at /usr/src/debug/koffice-2.2.2/filters/kspread/excel/import/excelimport.cc:210
#17 0x00000035d98c7fcf in KOfficeFilter::ChainLink::invokeFilter (this=0x243cd80, parentChainLink=0x0) at /usr/src/debug/koffice-2.2.2/libs/main/KoFilterChainLink.cpp:73
#18 0x00000035d98c0599 in KoFilterChain::invokeChain (this=0x250d660) at /usr/src/debug/koffice-2.2.2/libs/main/KoFilterChain.cpp:94
#19 0x00000035d98be718 in KoFilterManager::importDocument (this=0x240ebe0, url=..., status=@0x7fff4d8be15c) at /usr/src/debug/koffice-2.2.2/libs/main/KoFilterManager.cpp:163
#20 0x00000035d98796c1 in KoDocument::openFile (this=0x223fab0) at /usr/src/debug/koffice-2.2.2/libs/main/KoDocument.cpp:1253
#21 0x0000003e0fa21c17 in KParts::ReadOnlyPart::openUrl (this=0x223fab0, url=<value optimized out>) at /usr/src/debug/kdelibs-4.4.5/kparts/part.cpp:557
#22 0x00000035d987866c in KoDocument::openUrl (this=0x223fab0, _url=...) at /usr/src/debug/koffice-2.2.2/libs/main/KoDocument.cpp:1181
#23 0x00000035d9897677 in KoMainWindow::openDocumentInternal (this=0x2325920, url=..., newdoc=0x223fab0) at /usr/src/debug/koffice-2.2.2/libs/main/KoMainWindow.cpp:671
#24 0x00000035d989828a in KoMainWindow::openDocument (this=0x2325920, newdoc=0x223fab0, url=...) at /usr/src/debug/koffice-2.2.2/libs/main/KoMainWindow.cpp:654
#25 0x00000035d986aa3c in KoApplication::start (this=<value optimized out>) at /usr/src/debug/koffice-2.2.2/libs/main/KoApplication.cpp:216
#26 0x00000035da002603 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/koffice-2.2.2/kspread/part/Main.cpp:41
#27 0x0000003dfe21ec5d in __libc_start_main (main=0x4008a0 <main(int, char**)>, argc=2, ubp_av=0x7fff4d8bee88, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fff4d8bee78) at libc-start.c:226
#28 0x00000000004007d9 in _start ()

Possible duplicates by query: bug 248051, bug 247579, bug 242840, bug 240373, bug 234737.

Reported using DrKonqi
Comment 1 T Zachmann 2010-11-11 07:20:37 UTC
Is it possible that you attach one or more files that crash kspread for you so we can find out what is wrong here.
Comment 2 brunocauet 2010-11-11 09:21:40 UTC
Created attachment 53314 [details]
File that crashes KSpread
Comment 3 Inge Wallin 2010-11-12 23:32:21 UTC
This file looks fine in KSpread 2.3beta4.  Closing this bug now.