Bug 284327 - tables crashed when removing a row
Summary: tables crashed when removing a row
Status: RESOLVED FIXED
Alias: None
Product: calligrasheets
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Calligra Sheets (KSpread) Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-18 06:13 UTC by Halla Rempt
Modified: 2011-12-15 16:06 UTC (History)
1 user (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 Halla Rempt 2011-10-18 06:13:45 UTC
Application: calligratables (2.4 Beta 2)
KDE Platform Version: 4.6.5 (4.6.5) "release 4"
Qt Version: 4.7.4
Operating System: Linux 2.6.37.6-0.7-desktop x86_64
Distribution: "openSUSE 11.4 (x86_64)"

-- Information about the crash:
I had pasted several rows of data into tables, then sorted it manually a bit. I had several empty rows left, so I started deleting rows. And then tables crashes, just when everything went so well.

-- Backtrace:
Application: Tables (calligratables), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f08f8950760 (LWP 8504))]

Thread 2 (Thread 0x7f08d3265700 (LWP 8505)):
#0  0x00007f08f212f4f3 in poll () from /lib64/libc.so.6
#1  0x00007f08ecd78114 in ?? () from /lib64/libglib-2.0.so.0
#2  0x00007f08ecd78650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f08f316a636 in QEventDispatcherGlib::processEvents (this=0xe2b640, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f08f313ec22 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f08f313ee35 in QEventLoop::exec (this=0x7f08d3264de0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f08f3053be4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:498
#7  0x00007f08f3120358 in QInotifyFileSystemWatcherEngine::run (this=0xd6e510) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f08f30564d5 in QThreadPrivate::start (arg=0xd6e510) at thread/qthread_unix.cpp:331
#9  0x00007f08f2dc5a3f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f08f213866d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f08f8950760 (LWP 8504)):
[KCrash Handler]
#6  Calligra::Tables::Sheet::cellStorage (this=0x0) at /home/boud/kde/src/calligra/tables/Sheet.cpp:493
#7  0x00007f08e2db7276 in Calligra::Tables::NamedAreaManager::remove (this=0x852720, name=...) at /home/boud/kde/src/calligra/tables/NamedAreaManager.cpp:96
#8  0x00007f08e2db7720 in Calligra::Tables::NamedAreaManager::qt_metacall (this=0x852720, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff982fbae0) at /home/boud/kde/build/calligra/tables/NamedAreaManager.moc:86
#9  0x00007f08f3153e8f in QMetaObject::activate (sender=0xf2ba50, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff982fbae0) at kernel/qobject.cpp:3287
#10 0x00007f08e2ce9995 in Calligra::Tables::CellStorage::namedAreaRemoved (this=<value optimized out>, _t1=<value optimized out>) at /home/boud/kde/build/calligra/tables/CellStorage.moc:95
#11 0x00007f08e2cef6a9 in Calligra::Tables::CellStorage::stopUndoRecording (this=0xf2ba50, parent=<value optimized out>) at /home/boud/kde/src/calligra/tables/CellStorage.cpp:1704
#12 0x00007f08e318e245 in Calligra::Tables::InsertDeleteRowManipulator::postProcessing (this=0x112d0d0) at /home/boud/kde/src/calligra/tables/commands/RowColumnManipulators.cpp:799
#13 0x00007f08e31754e4 in Calligra::Tables::AbstractRegionCommand::redo (this=0x112d0d0) at /home/boud/kde/src/calligra/tables/commands/AbstractRegionCommand.cpp:112
#14 0x00007f08f738d79d in KUndo2QStack::push (this=0x830f10, cmd=0x112d0e0) at /home/boud/kde/src/calligra/libs/kundo2/kundo2stack.cpp:562
#15 0x00007f08e3175dc2 in Calligra::Tables::AbstractRegionCommand::execute (this=0x112d0d0, canvas=0x153a708) at /home/boud/kde/src/calligra/tables/commands/AbstractRegionCommand.cpp:81
#16 0x00007f08e316e61d in Calligra::Tables::CellToolBase::qt_metacall (this=0x1ac3090, _c=QMetaObject::InvokeMetaMethod, _id=65, _a=0x7fff982fbe30) at /home/boud/kde/build/calligra/tables/moc_CellToolBase.cpp:338
#17 0x00007f08e3206960 in Calligra::Tables::CellTool::qt_metacall (this=0x1ac3090, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff982fbe30) at /home/boud/kde/build/calligra/tables/CellTool.moc:71
#18 0x00007f08f3153e8f in QMetaObject::activate (sender=0x19741e0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff982fbe30) at kernel/qobject.cpp:3287
#19 0x00007f08f3d34ed2 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#20 0x00007f08f3d350ca in QAction::activate (this=0x19741e0, event=<value optimized out>) at kernel/qaction.cpp:1257
#21 0x00007f08f416f373 in QMenuPrivate::activateCausedStack (this=0xba1f70, causedStack=..., action=0x19741e0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1005
#22 0x00007f08f417538a in QMenuPrivate::activateAction (this=0xba1f70, action=0x19741e0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1097
#23 0x00007f08f497144d in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libkdeui.so.5
#24 0x00007f08f3d8ce1c in QWidget::event (this=0xf09740, event=0x7fff982fcab0) at kernel/qwidget.cpp:8295
#25 0x00007f08f417657b in QMenu::event (this=0xf09740, e=0x7fff982fcab0) at widgets/qmenu.cpp:2405
#26 0x00007f08f3d3b264 in QApplicationPrivate::notify_helper (this=0x679c90, receiver=0xf09740, e=0x7fff982fcab0) at kernel/qapplication.cpp:4481
#27 0x00007f08f3d4409c in QApplication::notify (this=<value optimized out>, receiver=0xf09740, e=0x7fff982fcab0) at kernel/qapplication.cpp:4042
#28 0x00007f08f49a3346 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#29 0x00007f08f313f7cc in QCoreApplication::notifyInternal (this=0x7fff982ff010, receiver=0xf09740, event=0x7fff982fcab0) at kernel/qcoreapplication.cpp:787
#30 0x00007f08f3d3c275 in sendEvent (receiver=0xf09740, event=0x7fff982fcab0, alienWidget=0x0, nativeWidget=0xf09740, buttonDown=0x7f08f4812198, lastMouseReceiver=..., spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:215
#31 QApplicationPrivate::sendMouseEvent (receiver=0xf09740, event=0x7fff982fcab0, alienWidget=0x0, nativeWidget=0xf09740, buttonDown=0x7f08f4812198, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3141
#32 0x00007f08f3dbaf74 in QETWidget::translateMouseEvent (this=0xf09740, event=<value optimized out>) at kernel/qapplication_x11.cpp:4395
#33 0x00007f08f3db93e9 in QApplication::x11ProcessEvent (this=0x7fff982ff010, event=0x7fff982fd410) at kernel/qapplication_x11.cpp:3587
#34 0x00007f08f3de1512 in x11EventSourceDispatch (s=0x67f390, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#35 0x00007f08ecd77bd3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#36 0x00007f08ecd783b0 in ?? () from /lib64/libglib-2.0.so.0
#37 0x00007f08ecd78650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#38 0x00007f08f316a5df in QEventDispatcherGlib::processEvents (this=0x60f010, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#39 0x00007f08f3de11ae in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007f08f313ec22 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#41 0x00007f08f313ee35 in QEventLoop::exec (this=0x7fff982fd730, flags=...) at kernel/qeventloop.cpp:201
#42 0x00007f08f4172af5 in QMenu::exec (this=<value optimized out>, p=..., action=0x0) at widgets/qmenu.cpp:2049
#43 0x00007f08e320348b in Calligra::Tables::Canvas::showContextMenu (this=<value optimized out>, globalPos=...) at /home/boud/kde/src/calligra/tables/part/Canvas.cpp:215
#44 0x00007f08e31fee91 in Calligra::Tables::CanvasBase::mousePressed (this=0x153a708, event=0x915c10) at /home/boud/kde/src/calligra/tables/part/CanvasBase.cpp:342
#45 0x00007f08e320f76c in Calligra::Tables::RowHeader::mousePress (this=0xff11c8, _ev=0x7fff982fda10) at /home/boud/kde/src/calligra/tables/part/Headers.cpp:183
#46 0x00007f08e3213e76 in Calligra::Tables::RowHeaderWidget::mousePressEvent (this=0xff11a0, _ev=<value optimized out>) at /home/boud/kde/src/calligra/tables/part/HeaderWidgets.cpp:112
#47 0x00007f08f3d8d109 in QWidget::event (this=0xff11a0, event=0x7fff982fe340) at kernel/qwidget.cpp:8291
#48 0x00007f08f3d3b264 in QApplicationPrivate::notify_helper (this=0x679c90, receiver=0xff11a0, e=0x7fff982fe340) at kernel/qapplication.cpp:4481
#49 0x00007f08f3d4409c in QApplication::notify (this=<value optimized out>, receiver=0xff11a0, e=0x7fff982fe340) at kernel/qapplication.cpp:4042
#50 0x00007f08f49a3346 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#51 0x00007f08f313f7cc in QCoreApplication::notifyInternal (this=0x7fff982ff010, receiver=0xff11a0, event=0x7fff982fe340) at kernel/qcoreapplication.cpp:787
#52 0x00007f08f3d3c275 in sendEvent (receiver=0xff11a0, event=0x7fff982fe340, alienWidget=0x0, nativeWidget=0xff11a0, buttonDown=0x7f08f4812198, lastMouseReceiver=..., spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:215
#53 QApplicationPrivate::sendMouseEvent (receiver=0xff11a0, event=0x7fff982fe340, alienWidget=0x0, nativeWidget=0xff11a0, buttonDown=0x7f08f4812198, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3141
#54 0x00007f08f3dbad28 in QETWidget::translateMouseEvent (this=0xff11a0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4461
#55 0x00007f08f3db93e9 in QApplication::x11ProcessEvent (this=0x7fff982ff010, event=0x7fff982feca0) at kernel/qapplication_x11.cpp:3587
#56 0x00007f08f3de1512 in x11EventSourceDispatch (s=0x67f390, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#57 0x00007f08ecd77bd3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#58 0x00007f08ecd783b0 in ?? () from /lib64/libglib-2.0.so.0
#59 0x00007f08ecd78650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#60 0x00007f08f316a5df in QEventDispatcherGlib::processEvents (this=0x60f010, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#61 0x00007f08f3de11ae in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#62 0x00007f08f313ec22 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#63 0x00007f08f313ee35 in QEventLoop::exec (this=0x7fff982fefc0, flags=...) at kernel/qeventloop.cpp:201
#64 0x00007f08f314327b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#65 0x00007f08f858a805 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /home/boud/kde/src/calligra/tables/part/Main.cpp:43
#66 0x00007f08f2083bfd in __libc_start_main () from /lib64/libc.so.6
#67 0x0000000000400879 in _start () at ../sysdeps/x86_64/elf/start.S:113

Reported using DrKonqi
Comment 1 Sebastian Sauer 2011-12-15 16:06:34 UTC
Fixed with commit d8965a3a9cac. Lot of thanks for the feedback!