Bug 236156 - Crashed opening an xls file. memcpy crashed in sidewinder utils.
Summary: Crashed opening an xls file. memcpy crashed in sidewinder utils.
Status: RESOLVED FIXED
Alias: None
Product: calligrasheets
Classification: Applications
Component: filters (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Calligra Sheets (KSpread) Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-03 13:03 UTC by Raúl
Modified: 2010-08-03 20:36 UTC (History)
2 users (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 Raúl 2010-05-03 13:03:15 UTC
Application that crashed: kspread
Version of the application: 2.2 RC 1
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-3-amd64 x86_64
Distribution: Debian GNU/Linux testing (squeeze)

What I was doing when the application crashed:
Just open http://www.rockbox.org/mail/archive/rockbox-dev-archive-2010-04/att-0106/linux4nano_bounty_rev01.xls on koffice 2.2rc and you'll get the attached bactrace.

KDE 4.3.4, but also reproduced on 4.4.2.
Qt 4.6.2, libc6 2.10.2 on a Debian testing (also reproduced on sid).

 -- Backtrace:
Application: KSpread (kdeinit4), signal: Segmentation fault
The current source language is "auto; currently c".
[KCrash Handler]
#5  memcpy () at ../sysdeps/x86_64/memcpy.S:420
#6  0x00007fbe5d13bd61 in Swinder::readByteString (p=<value optimized out>, length=<value optimized out>, maxSize=<value optimized out>, error=<value optimized out>, size=<value optimized out>)
    at ../../../../../filters/kspread/excel/sidewinder/utils.cpp:38
#7  0x00007fbe5d1228f5 in Swinder::ExcelReader::load (this=<value optimized out>, workbook=<value optimized out>, filename=<value optimized out>)
    at ../../../../../filters/kspread/excel/sidewinder/excel.cpp:2799
#8  0x00007fbe5d135b2c in Swinder::Workbook::load (this=0xa0b9d0, filename=0xbd7858 "/tmp/kde-rasasi/kspready17806.xls") at ../../../../../filters/kspread/excel/sidewinder/workbook.cpp:77
#9  0x00007fbe5d115cf6 in ExcelImport::convert (this=0x920e50, from=<value optimized out>, to=<value optimized out>) at ../../../../../filters/kspread/excel/import/excelimport.cc:210
#10 0x00007fbe74a076af in KOfficeFilter::ChainLink::invokeFilter (this=0x91e1a0, parentChainLink=0x0) at ../../../libs/main/KoFilterChainLink.cpp:73
#11 0x00007fbe749fe4db in KoFilterChain::invokeChain (this=0x91d800) at ../../../libs/main/KoFilterChain.cpp:94
#12 0x00007fbe749fbac8 in KoFilterManager::importDocument (this=0xaa8320, url=<value optimized out>, status=<value optimized out>) at ../../../libs/main/KoFilterManager.cpp:163
#13 0x00007fbe749b1813 in KoDocument::openFile (this=0x952510) at ../../../libs/main/KoDocument.cpp:1253
#14 0x00007fbe7ce17c5e in KParts::ReadOnlyPartPrivate::_k_slotJobFinished (this=0x952960, job=0x9df9a0) at ../../kparts/part.cpp:635
#15 0x00007fbe7ce19771 in KParts::ReadOnlyPart::qt_metacall (this=0x952510, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe907c400) at ./part.moc:165
#16 0x00007fbe7ce19825 in KParts::ReadWritePart::qt_metacall (this=0x7fbd5cee7950, _c=12832768, _id=-16386, _a=0x31da) at ./part.moc:273
#17 0x00007fbe749a92b5 in KoDocument::qt_metacall (this=0x7fbd5cee7950, _c=12832768, _id=-16386, _a=0x31da) at ./KoDocument.moc:106
#18 0x00007fbe69f47965 in KSpread::Doc::qt_metacall (this=0x7fbd5cee7950, _c=12832768, _id=-16386, _a=0x31da) at ./Doc.moc:79
#19 0x00007fbe7d65cc4f in QMetaObject::activate (sender=0x9df9a0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x31da) at kernel/qobject.cpp:3293
#20 0x00007fbe7d135d32 in KJob::result (this=0x7fbd5cee7950, _t1=0x9df9a0) at ./kjob.moc:188
#21 0x00007fbe7d1360af in KJob::emitResult (this=0x9df9a0) at ../../kdecore/jobs/kjob.cpp:304
#22 0x00007fbe7c6ecd5b in KIO::FileCopyJob::slotResult (this=0x9df9a0, job=0xa83490) at ../../kio/kio/job.cpp:2202
#23 0x00007fbe7c6ed490 in KIO::FileCopyJob::qt_metacall (this=0x9df9a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe907c5a0) at ./jobclasses.moc:673
#24 0x00007fbe7d65cc4f in QMetaObject::activate (sender=0xa83490, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x31da) at kernel/qobject.cpp:3293
#25 0x00007fbe7d135d32 in KJob::result (this=0x7fbd5cee7950, _t1=0xa83490) at ./kjob.moc:188
#26 0x00007fbe7d1360af in KJob::emitResult (this=0xa83490) at ../../kdecore/jobs/kjob.cpp:304
#27 0x00007fbe7c6e4c23 in KIO::SimpleJob::slotFinished (this=0xa83490) at ../../kio/kio/job.cpp:477
#28 0x00007fbe7c6e50e3 in KIO::TransferJob::slotFinished (this=0xa83490) at ../../kio/kio/job.cpp:948
#29 0x00007fbe7c6e39f1 in KIO::TransferJob::qt_metacall (this=0xa83490, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe907c9c0) at ./jobclasses.moc:343
#30 0x00007fbe7d65cc4f in QMetaObject::activate (sender=0xa722d0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x31da) at kernel/qobject.cpp:3293
#31 0x00007fbe7c7a6d81 in KIO::SlaveInterface::dispatch (this=0xa722d0, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:175
#32 0x00007fbe7c7a3633 in KIO::SlaveInterface::dispatch (this=0xa722d0) at ../../kio/kio/slaveinterface.cpp:91
#33 0x00007fbe7c79656d in KIO::Slave::gotInput (this=0xa722d0) at ../../kio/kio/slave.cpp:322
#34 0x00007fbe7c79868c in KIO::Slave::qt_metacall (this=0xa722d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe907cd80) at ./slave.moc:76
#35 0x00007fbe7d65cc4f in QMetaObject::activate (sender=0xa50c90, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x31da) at kernel/qobject.cpp:3293
#36 0x00007fbe7c6b1f97 in KIO::ConnectionPrivate::dequeue (this=0xaa7be0) at ../../kio/kio/connection.cpp:82
#37 0x00007fbe7c6b20bd in KIO::Connection::qt_metacall (this=0xa50c90, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xa88500) at ./connection.moc:73
#38 0x00007fbe7d659b59 in QObject::event (this=0xa50c90, e=0xaa6ef0) at kernel/qobject.cpp:1248
#39 0x00007fbe7b4ed8fc in QApplicationPrivate::notify_helper (this=0x73d330, receiver=0xa50c90, e=0xaa6ef0) at kernel/qapplication.cpp:4300
#40 0x00007fbe7b4f3ddb in QApplication::notify (this=0x7fffe907d820, receiver=0xa50c90, e=0xaa6ef0) at kernel/qapplication.cpp:4183
#41 0x00007fbe7c1f3de6 in KApplication::notify (this=0x7fffe907d820, receiver=0xa50c90, event=0xaa6ef0) at ../../kdeui/kernel/kapplication.cpp:302
#42 0x00007fbe7d649f1c in QCoreApplication::notifyInternal (this=0x7fffe907d820, receiver=0xa50c90, event=0xaa6ef0) at kernel/qcoreapplication.cpp:704
#43 0x00007fbe7d64c697 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x698360) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#44 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x698360) at kernel/qcoreapplication.cpp:1345
#45 0x00007fbe7d673833 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#46 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#47 0x00007fbe79fb16c2 in g_main_dispatch (context=0x73fd20) at /tmp/buildd/glib2.0-2.24.0/glib/gmain.c:1960
#48 IA__g_main_context_dispatch (context=0x73fd20) at /tmp/buildd/glib2.0-2.24.0/glib/gmain.c:2513
#49 0x00007fbe79fb5538 in g_main_context_iterate (context=0x73fd20, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /tmp/buildd/glib2.0-2.24.0/glib/gmain.c:2591
#50 0x00007fbe79fb56ec in IA__g_main_context_iteration (context=0x73fd20, may_block=1) at /tmp/buildd/glib2.0-2.24.0/glib/gmain.c:2654
#51 0x00007fbe7d673373 in QEventDispatcherGlib::processEvents (this=0x6997a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#52 0x00007fbe7b59d3de in QGuiEventDispatcherGlib::processEvents (this=0x7fbd5cee7950, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#53 0x00007fbe7d648842 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#54 0x00007fbe7d648c1c in QEventLoop::exec (this=0x7fffe907d7d0, flags=) at kernel/qeventloop.cpp:201
#55 0x00007fbe7d64c95b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#56 0x00007fbe74ca3555 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../kspread/part/Main.cpp:43
#57 0x0000000000406e9e in launch (argc=2, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=16, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x6e233b "IG1247;1272884301;685853;15165_TIME121042715") at ../../kinit/kinit.cpp:677
#58 0x0000000000407aad in handle_launcher_request (sock=7, who=<value optimized out>) at ../../kinit/kinit.cpp:1169
#59 0x0000000000407f91 in handle_requests (waitForPid=0) at ../../kinit/kinit.cpp:1362
#60 0x00000000004086c6 in main (argc=2, argv=<value optimized out>, envp=<value optimized out>) at ../../kinit/kinit.cpp:1793

Reported using DrKonqi
Comment 1 Srihari 2010-05-05 11:25:07 UTC
It did not crash..in the new release 2.3 alpha
Comment 2 Inge Wallin 2010-08-03 20:36:01 UTC
Just like you write yourself, the current trunk does not crash on that file.  I think we can close this bug report.