Bug 313270 - Sheets crashed when saving an xls file to Open DOcument format
Summary: Sheets crashed when saving an xls file to Open DOcument format
Status: RESOLVED DUPLICATE of bug 314676
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:
: 314675 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-01-14 22:51 UTC by James Cain
Modified: 2013-03-09 10:46 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
The file that I attempted to save in OD format. (71.50 KB, application/vnd.ms-excel)
2013-01-14 22:56 UTC, James Cain
Details

Note You need to log in before you can comment on or make changes to this bug.
Description James Cain 2013-01-14 22:51:02 UTC
Application: calligrasheets (2.6 RC2)
KDE Platform Version: 4.9.97
Qt Version: 4.8.4
Operating System: Linux 3.8.0-0-generic x86_64
Distribution: Ubuntu Raring Ringtail (development branch)

-- Information about the crash:
- What I was doing when the application crashed: Opened the xls document (opened fine in Sheets). Attempt to save in Open Doc format crashes sheets every time.

The crash can be reproduced every time.

-- Backtrace:
Application: Calligra Sheets (calligrasheets), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f63f9e277c0 (LWP 13346))]

Thread 3 (Thread 0x7f63d4b74700 (LWP 13351)):
#0  0x00007f63f7e5ea9a in do_gettime (frac=0x7f63d4b73ae8, sec=0x7f63d4b73ae0) at tools/qelapsedtimer_unix.cpp:123
#1  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#2  0x00007f63f7f349bd in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f63c4073460) at kernel/qeventdispatcher_unix.cpp:354
#3  0x00007f63f7f34d03 in QTimerInfoList::timerWait (this=0x7f63c4073460, tm=...) at kernel/qeventdispatcher_unix.cpp:461
#4  0x00007f63f7f3376c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f63d4b73bd4) at kernel/qeventdispatcher_glib.cpp:136
#5  0x00007f63f7f33815 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#6  0x00007f63f3a635f8 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f63f3a63c8b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f63f3a63e84 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f63f7f340b6 in QEventDispatcherGlib::processEvents (this=0x7f63c4044e10, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#10 0x00007f63f7f043ff in QEventLoop::processEvents (this=this@entry=0x7f63d4b73d90, flags=...) at kernel/qeventloop.cpp:149
#11 0x00007f63f7f04688 in QEventLoop::exec (this=0x7f63d4b73d90, flags=...) at kernel/qeventloop.cpp:204
#12 0x00007f63f7e05c00 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#13 0x00007f63f7ee4b2f in QInotifyFileSystemWatcherEngine::run (this=0x37392b0) at io/qfilesystemwatcher_inotify.cpp:256
#14 0x00007f63f7e08bdc in QThreadPrivate::start (arg=0x37392b0) at thread/qthread_unix.cpp:338
#15 0x00007f63f3f32f9f in start_thread (arg=0x7f63d4b74700) at pthread_create.c:311
#16 0x00007f63f989b0cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 2 (Thread 0x7f63d5375700 (LWP 13357)):
#0  0x00007f63f988f44d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f63f3a63d64 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f63f3a63e84 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f63f7f340b6 in QEventDispatcherGlib::processEvents (this=0x7f63c8158a70, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f63f7f043ff in QEventLoop::processEvents (this=this@entry=0x7f63d5374d90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f63f7f04688 in QEventLoop::exec (this=0x7f63d5374d90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f63f7e05c00 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#7  0x00007f63f7ee4b2f in QInotifyFileSystemWatcherEngine::run (this=0x15725f0) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f63f7e08bdc in QThreadPrivate::start (arg=0x15725f0) at thread/qthread_unix.cpp:338
#9  0x00007f63f3f32f9f in start_thread (arg=0x7f63d5375700) at pthread_create.c:311
#10 0x00007f63f989b0cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 1 (Thread 0x7f63f9e277c0 (LWP 13346)):
[KCrash Handler]
#6  QHash (other=..., this=0x7fff73647db0) at /usr/include/qt4/QtCore/qhash.h:282
#7  QSet (other=..., this=0x7fff73647db0) at /usr/include/qt4/QtCore/qset.h:60
#8  QForeachContainer (t=..., this=0x7fff73647db0) at /usr/include/qt4/QtCore/qglobal.h:2367
#9  KoTextRangeManager::textRangesChangingWithin (this=0x0, first=0, last=0, matchFirst=0, matchLast=-1) at /build/buildd/calligra-2.5.93/libs/kotext/KoTextRangeManager.cpp:113
#10 0x00007f63f6178653 in KoTextWriter::Private::saveParagraph (this=this@entry=0x24f4060, block=..., from=from@entry=0, to=to@entry=-1) at /build/buildd/calligra-2.5.93/libs/kotext/opendocument/KoTextWriter_p.cpp:757
#11 0x00007f63f617c613 in KoTextWriter::Private::writeBlocks (this=0x24f4060, document=0x1b7fbe0, from=0, to=-1, listStyles=..., currentTable=0x0, currentList=0x0) at /build/buildd/calligra-2.5.93/libs/kotext/opendocument/KoTextWriter_p.cpp:136
#12 0x00007f63f6181717 in KoTextWriter::write (this=0x7fff736485b0, document=0x1b7fbe0, from=0, to=-1) at /build/buildd/calligra-2.5.93/libs/kotext/opendocument/KoTextWriter.cpp:206
#13 0x00007f63e43d34a3 in Calligra::Sheets::Cell::saveOdf (this=0x7fff73648910, xmlwriter=..., mainStyles=..., row=5, column=1, repeated=<optimized out>, tableContext=...) at /build/buildd/calligra-2.5.93/sheets/Cell.cpp:1242
#14 0x00007f63e449b28b in Calligra::Sheets::Sheet::saveOdfCells (this=this@entry=0x1adbb50, xmlWriter=..., mainStyles=..., row=5, maxCols=257, tableContext=...) at /build/buildd/calligra-2.5.93/sheets/Sheet.cpp:2929
#15 0x00007f63e44a6a52 in Calligra::Sheets::Sheet::saveOdfColRowCell (this=this@entry=0x1adbb50, xmlWriter=..., mainStyles=..., maxCols=257, maxRows=maxRows@entry=57, tableContext=...) at /build/buildd/calligra-2.5.93/sheets/Sheet.cpp:2883
#16 0x00007f63e44a83e6 in Calligra::Sheets::Sheet::saveOdf (this=0x1adbb50, tableContext=...) at /build/buildd/calligra-2.5.93/sheets/Sheet.cpp:2618
#17 0x00007f63e4479988 in Calligra::Sheets::Map::saveOdf (this=0x175a530, xmlWriter=..., savingContext=...) at /build/buildd/calligra-2.5.93/sheets/Map.cpp:444
#18 0x00007f63e4464b08 in Calligra::Sheets::DocBase::saveOdfHelper (this=0x1759ae0, documentContext=..., saveFlag=<optimized out>) at /build/buildd/calligra-2.5.93/sheets/DocBase.cpp:162
#19 0x00007f63f9457f5a in KoDocument::saveNativeFormatODF (this=this@entry=0x1759ae0, store=store@entry=0x4277d80, mimeType=...) at /build/buildd/calligra-2.5.93/libs/main/KoDocument.cpp:618
#20 0x00007f63f9458dc3 in KoDocument::saveNativeFormat (this=this@entry=0x1759ae0, file=...) at /build/buildd/calligra-2.5.93/libs/main/KoDocument.cpp:602
#21 0x00007f63f945226f in KoDocument::saveFile (this=0x1759ae0) at /build/buildd/calligra-2.5.93/libs/main/KoDocument.cpp:344
#22 0x00007f63f94e8d34 in KoPart::saveFile (this=0x17528f0) at /build/buildd/calligra-2.5.93/libs/main/KoPart.cpp:205
#23 0x00007f63f785cc4c in KParts::ReadWritePart::save (this=0x17528f0) at ../../kparts/part.cpp:879
#24 0x00007f63f785d0e1 in KParts::ReadWritePart::saveAs (this=0x17528f0, kurl=...) at ../../kparts/part.cpp:900
#25 0x00007f63f948058f in KoMainWindow::saveDocument (this=this@entry=0x1833980, saveas=<optimized out>, saveas@entry=true, silent=silent@entry=false) at /build/buildd/calligra-2.5.93/libs/main/KoMainWindow.cpp:1045
#26 0x00007f63f94823d0 in KoMainWindow::slotFileSaveAs (this=0x1833980) at /build/buildd/calligra-2.5.93/libs/main/KoMainWindow.cpp:1326
#27 0x00007f63f94866fa in KoMainWindow::qt_static_metacall (_o=0x1833980, _c=<optimized out>, _id=<optimized out>, _a=0x7fff7364a3a0) at /build/buildd/calligra-2.5.93/obj-x86_64-linux-gnu/libs/main/KoMainWindow.moc:116
#28 0x00007f63f7f1b0af in QMetaObject::activate (sender=0x17f83d0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff7364a3a0) at kernel/qobject.cpp:3539
#29 0x00007f63f88e7b52 in QAction::triggered (this=this@entry=0x17f83d0, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#30 0x00007f63f88e7d40 in QAction::activate (this=0x17f83d0, event=<optimized out>) at kernel/qaction.cpp:1257
#31 0x00007f63f8d26da3 in QMenuPrivate::activateCausedStack (this=this@entry=0x18ae2f0, causedStack=..., action=action@entry=0x17f83d0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1038
#32 0x00007f63f8d2d169 in QMenuPrivate::activateAction (this=0x18ae2f0, action=0x17f83d0, action_e=QAction::Trigger, self=<optimized out>) at widgets/qmenu.cpp:1130
#33 0x00007f63f4df5730 in KMenu::mouseReleaseEvent (this=0x1886fd0, e=0x7fff7364af50) at ../../kdeui/widgets/kmenu.cpp:464
#34 0x00007f63f893dab9 in QWidget::event (this=0x1886fd0, event=0x7fff7364af50) at kernel/qwidget.cpp:8375
#35 0x00007f63f8d2e41b in QMenu::event (this=0x1886fd0, e=0x7fff7364af50) at widgets/qmenu.cpp:2481
#36 0x00007f63f88edfbc in QApplicationPrivate::notify_helper (this=this@entry=0x1501720, receiver=receiver@entry=0x1886fd0, e=e@entry=0x7fff7364af50) at kernel/qapplication.cpp:4567
#37 0x00007f63f88f2c8b in QApplication::notify (this=<optimized out>, receiver=0x1886fd0, e=0x7fff7364af50) at kernel/qapplication.cpp:4110
#38 0x00007f63f9441b08 in KoApplication::notify (this=<optimized out>, receiver=0x1886fd0, event=0x7fff7364af50) at /build/buildd/calligra-2.5.93/libs/main/KoApplication.cpp:504
#39 0x00007f63f7f056ae in QCoreApplication::notifyInternal (this=0x7fff7364bb20, receiver=0x1886fd0, event=0x7fff7364af50) at kernel/qcoreapplication.cpp:946
#40 0x00007f63f88eedf3 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#41 QApplicationPrivate::sendMouseEvent (receiver=0x1886fd0, event=0x7fff7364af50, alienWidget=0x0, nativeWidget=0x1886fd0, buttonDown=0x7f63f93cb308 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3178
#42 0x00007f63f896c5fc in QETWidget::translateMouseEvent (this=this@entry=0x1886fd0, event=event@entry=0x7fff7364b6d0) at kernel/qapplication_x11.cpp:4565
#43 0x00007f63f896b62f in QApplication::x11ProcessEvent (this=0x7fff7364bb20, event=0x7fff7364b6d0) at kernel/qapplication_x11.cpp:3746
#44 0x00007f63f8993192 in x11EventSourceDispatch (s=0x1508200, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#45 0x00007f63f3a63a95 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007f63f3a63dc8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007f63f3a63e84 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007f63f7f34096 in QEventDispatcherGlib::processEvents (this=0x1482e60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#49 0x00007f63f8992e0e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#50 0x00007f63f7f043ff in QEventLoop::processEvents (this=this@entry=0x7fff7364baa0, flags=...) at kernel/qeventloop.cpp:149
#51 0x00007f63f7f04688 in QEventLoop::exec (this=0x7fff7364baa0, flags=...) at kernel/qeventloop.cpp:204
#52 0x00007f63f7f09848 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#53 0x00007f63f9b6837d in kdemain (argc=<optimized out>, argv=0x7fff7364bc38) at /build/buildd/calligra-2.5.93/sheets/part/Main.cpp:43
#54 0x00007f63f97c5c15 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=2, ubp_av=0x7fff7364bc38, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff7364bc28) at libc-start.c:227
#55 0x0000000000400701 in _start ()

Reported using DrKonqi
Comment 1 James Cain 2013-01-14 22:56:05 UTC
Created attachment 76474 [details]
The file that I attempted to save in OD format.
Comment 2 Jekyll Wu 2013-03-04 04:04:39 UTC
*** Bug 314675 has been marked as a duplicate of this bug. ***
Comment 3 Marijn Kruisselbrink 2013-03-09 10:46:39 UTC

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