Application: kspread (2.3.1) KDE Platform Version: 4.6.00 (4.6.0) "release 6" Qt Version: 4.7.1 Operating System: Linux 2.6.37.6-0.5-desktop x86_64 Distribution: "openSUSE 11.4 (x86_64)" -- Information about the crash: - What I was doing when the application crashed: I opened a spreadsheet that had been created by Libreoffice. It had some formatting in the file. I resized some of the columns and rows. I then wanted to delete some rows. Selecting two or three rows to delete, right-clicking on one of the row numbers, I selected delete rows. It then messed up the formatting directly above the deleted rows. It would span the deleted rows into the row above it. I tried to delete some more rows, farthur down the list, and it did something funny. I then clicked ctl-z to undo a couple of times and the application crashed. The crash can be reproduced some of the time. -- Backtrace: Application: KSpread (kspread), signal: Segmentation fault [Current thread is 1 (Thread 0x7f795a7777a0 (LWP 27298))] Thread 3 (Thread 0x7f7949b24700 (LWP 27300)): #0 0x00007f795a0fa503 in poll () from /lib64/libc.so.6 #1 0x00007f795502d114 in ?? () from /lib64/libglib-2.0.so.0 #2 0x00007f795502da35 in g_main_loop_run () from /lib64/libglib-2.0.so.0 #3 0x00007f794a48b244 in ?? () from /lib64/libgio-2.0.so.0 #4 0x00007f7955054466 in ?? () from /lib64/libglib-2.0.so.0 #5 0x00007f794d4f9bc3 in ?? () from /usr/lib64/libGL.so.1 #6 0x00007f79552dfa3f in start_thread () from /lib64/libpthread.so.0 #7 0x00007f795a10367d in clone () from /lib64/libc.so.6 #8 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f793004c700 (LWP 27432)): #0 0x00007f795a0fa503 in poll () from /lib64/libc.so.6 #1 0x00007f795502d114 in ?? () from /lib64/libglib-2.0.so.0 #2 0x00007f795502d650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #3 0x00007f7958896976 in QEventDispatcherGlib::processEvents (this=0x2248030, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424 #4 0x00007f795886b052 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007f795886b265 in QEventLoop::exec (this=0x7f793004bce0, flags=...) at kernel/qeventloop.cpp:201 #6 0x00007f79587801e4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490 #7 0x00007f795884c968 in QInotifyFileSystemWatcherEngine::run (this=0x22675b0) at io/qfilesystemwatcher_inotify.cpp:248 #8 0x00007f7958782a5e in QThreadPrivate::start (arg=0x22675b0) at thread/qthread_unix.cpp:285 #9 0x00007f794d4f9bc3 in ?? () from /usr/lib64/libGL.so.1 #10 0x00007f79552dfa3f in start_thread () from /lib64/libpthread.so.0 #11 0x00007f795a10367d in clone () from /lib64/libc.so.6 #12 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f795a7777a0 (LWP 27298)): [KCrash Handler] #6 KSpread::Sheet::cellStorage (this=0x0) at /usr/src/debug/koffice-2.3.1/kspread/Sheet.cpp:497 #7 0x00007f793e9a0e33 in KSpread::NamedAreaManager::remove (this=0x88ff80, name=...) at /usr/src/debug/koffice-2.3.1/kspread/NamedAreaManager.cpp:96 #8 0x00007f793e9a12a0 in KSpread::NamedAreaManager::qt_metacall (this=0x88ff80, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff68f26fd0) at /usr/src/debug/koffice-2.3.1/build/kspread/NamedAreaManager.moc:86 #9 0x00007f7958880def in QMetaObject::activate (sender=0xaec1b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff68f26fd0) at kernel/qobject.cpp:3272 #10 0x00007f793e8efd25 in KSpread::CellStorage::namedAreaRemoved (this=<value optimized out>, _t1=<value optimized out>) at /usr/src/debug/koffice-2.3.1/build/kspread/CellStorage.moc:95 #11 0x00007f793e8f79c8 in KSpread::CellStorage::stopUndoRecording (this=0xaec1b0, parent=<value optimized out>) at /usr/src/debug/koffice-2.3.1/kspread/CellStorage.cpp:1471 #12 0x00007f793ed42275 in KSpread::InsertDeleteRowManipulator::postProcessing (this=0xb6b400) at /usr/src/debug/koffice-2.3.1/kspread/commands/RowColumnManipulators.cpp:796 #13 0x00007f793ed2aaf4 in KSpread::AbstractRegionCommand::redo (this=0xb6b400) at /usr/src/debug/koffice-2.3.1/kspread/commands/AbstractRegionCommand.cpp:112 #14 0x00007f795985bdd3 in QUndoStack::push (this=<value optimized out>, cmd=0xb6b410) at util/qundostack.cpp:541 #15 0x00007f793ed2b392 in KSpread::AbstractRegionCommand::execute (this=0xb6b400, canvas=0xe248b8) at /usr/src/debug/koffice-2.3.1/kspread/commands/AbstractRegionCommand.cpp:81 #16 0x00007f793ed2430d in KSpread::CellToolBase::qt_metacall (this=0x1334510, _c=QMetaObject::InvokeMetaMethod, _id=65, _a=0x7fff68f27330) at /usr/src/debug/koffice-2.3.1/build/kspread/moc_CellToolBase.cpp:337 #17 0x00007f793edb5890 in KSpread::CellTool::qt_metacall (this=0x1334510, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff68f27330) at /usr/src/debug/koffice-2.3.1/build/kspread/CellTool.moc:70 #18 0x00007f7958880def in QMetaObject::activate (sender=0x13ed5f0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff68f27330) at kernel/qobject.cpp:3272 #19 0x00007f7959202982 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263 #20 0x00007f7959202b7a in QAction::activate (this=0x13ed5f0, event=<value optimized out>) at kernel/qaction.cpp:1257 #21 0x00007f7959638e63 in QMenuPrivate::activateCausedStack (this=0x1399630, causedStack=..., action=0x13ed5f0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993 #22 0x00007f795963ee7a in QMenuPrivate::activateAction (this=0x1399630, action=0x13ed5f0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1085 #23 0x00007f7955b20b1d in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libkdeui.so.5 #24 0x00007f795925a538 in QWidget::event (this=0x1402bf0, event=0x7fff68f27fb0) at kernel/qwidget.cpp:8200 #25 0x00007f795964006b in QMenu::event (this=0x1402bf0, e=0x7fff68f27fb0) at widgets/qmenu.cpp:2410 #26 0x00007f7959208d14 in QApplicationPrivate::notify_helper (this=0x6ad7e0, receiver=0x1402bf0, e=0x7fff68f27fb0) at kernel/qapplication.cpp:4445 #27 0x00007f7959211aac in QApplication::notify (this=<value optimized out>, receiver=0x1402bf0, e=0x7fff68f27fb0) at kernel/qapplication.cpp:4006 #28 0x00007f7955b529e6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5 #29 0x00007f795886bbfc in QCoreApplication::notifyInternal (this=0x7fff68f2a510, receiver=0x1402bf0, event=0x7fff68f27fb0) at kernel/qcoreapplication.cpp:732 #30 0x00007f7959209d25 in sendEvent (receiver=0x1402bf0, event=0x7fff68f27fb0, alienWidget=0x0, nativeWidget=0x1402bf0, buttonDown=0x7f7959cd8178, lastMouseReceiver=..., spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:215 #31 QApplicationPrivate::sendMouseEvent (receiver=0x1402bf0, event=0x7fff68f27fb0, alienWidget=0x0, nativeWidget=0x1402bf0, buttonDown=0x7f7959cd8178, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3105 #32 0x00007f7959288054 in QETWidget::translateMouseEvent (this=0x1402bf0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4372 #33 0x00007f79592864c9 in QApplication::x11ProcessEvent (this=0x7fff68f2a510, event=0x7fff68f28910) at kernel/qapplication_x11.cpp:3564 #34 0x00007f79592ae0f2 in x11EventSourceDispatch (s=0x6b15f0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #35 0x00007f795502cbd3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0 #36 0x00007f795502d3b0 in ?? () from /lib64/libglib-2.0.so.0 #37 0x00007f795502d650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #38 0x00007f795889691f in QEventDispatcherGlib::processEvents (this=0x644c90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422 #39 0x00007f79592add8e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #40 0x00007f795886b052 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149 #41 0x00007f795886b265 in QEventLoop::exec (this=0x7fff68f28c30, flags=...) at kernel/qeventloop.cpp:201 #42 0x00007f795963c5e5 in QMenu::exec (this=<value optimized out>, p=..., action=0x0) at widgets/qmenu.cpp:2054 #43 0x00007f793edb2f5b in KSpread::Canvas::showContextMenu (this=<value optimized out>, globalPos=...) at /usr/src/debug/koffice-2.3.1/kspread/part/Canvas.cpp:215 #44 0x00007f793edaea21 in KSpread::CanvasBase::mousePressed (this=0xe248b8, event=0x139dea0) at /usr/src/debug/koffice-2.3.1/kspread/part/CanvasBase.cpp:341 #45 0x00007f793edbd52c in KSpread::RowHeader::mousePress (this=0x1549998, _ev=0x7fff68f28f10) at /usr/src/debug/koffice-2.3.1/kspread/part/Headers.cpp:182 #46 0x00007f793edc2696 in KSpread::RowHeaderWidget::mousePressEvent (this=0x1549970, _ev=<value optimized out>) at /usr/src/debug/koffice-2.3.1/kspread/part/HeaderWidgets.cpp:112 #47 0x00007f795925a829 in QWidget::event (this=0x1549970, event=0x7fff68f29840) at kernel/qwidget.cpp:8196 #48 0x00007f7959208d14 in QApplicationPrivate::notify_helper (this=0x6ad7e0, receiver=0x1549970, e=0x7fff68f29840) at kernel/qapplication.cpp:4445 #49 0x00007f7959211aac in QApplication::notify (this=<value optimized out>, receiver=0x1549970, e=0x7fff68f29840) at kernel/qapplication.cpp:4006 #50 0x00007f7955b529e6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5 #51 0x00007f795886bbfc in QCoreApplication::notifyInternal (this=0x7fff68f2a510, receiver=0x1549970, event=0x7fff68f29840) at kernel/qcoreapplication.cpp:732 #52 0x00007f7959209d25 in sendEvent (receiver=0x1549970, event=0x7fff68f29840, alienWidget=0x1549970, nativeWidget=0x94ebc0, buttonDown=0x7f7959cd8178, lastMouseReceiver=..., spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:215 #53 QApplicationPrivate::sendMouseEvent (receiver=0x1549970, event=0x7fff68f29840, alienWidget=0x1549970, nativeWidget=0x94ebc0, buttonDown=0x7f7959cd8178, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3105 #54 0x00007f7959287e08 in QETWidget::translateMouseEvent (this=0x94ebc0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4438 #55 0x00007f79592864c9 in QApplication::x11ProcessEvent (this=0x7fff68f2a510, event=0x7fff68f2a1a0) at kernel/qapplication_x11.cpp:3564 #56 0x00007f79592ae0f2 in x11EventSourceDispatch (s=0x6b15f0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #57 0x00007f795502cbd3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0 #58 0x00007f795502d3b0 in ?? () from /lib64/libglib-2.0.so.0 #59 0x00007f795502d650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #60 0x00007f795889691f in QEventDispatcherGlib::processEvents (this=0x644c90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422 #61 0x00007f79592add8e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #62 0x00007f795886b052 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149 #63 0x00007f795886b265 in QEventLoop::exec (this=0x7fff68f2a4c0, flags=...) at kernel/qeventloop.cpp:201 #64 0x00007f795886f6ab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009 #65 0x00007f795a39f565 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/koffice-2.3.1/kspread/part/Main.cpp:43 #66 0x00007f795a04ebfd in __libc_start_main () from /lib64/libc.so.6 #67 0x0000000000400699 in _start () at ../sysdeps/x86_64/elf/start.S:113 Reported using DrKonqi
Fixed with commit d8965a3a9cac. Lot of thanks for the feedback!