Bug 277027 - Crash on deleting multiple rows
Summary: Crash on deleting multiple rows
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-07-03 21:03 UTC by Torbjörn K.
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 Torbjörn K. 2011-07-03 21:03:36 UTC
Application: calligratables (2.4 Alpha 1)
KDE Platform Version: 4.6.90 (4.7 RC1) "release 2"
Qt Version: 4.7.3
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:

When I selected multiple rows (e.g. row 3 to 5 and 6 and 9) in a yet unsaved file, Calligra Tables crashes.

KDE and Calligra installed through openSUSE repo from trunk (git master).

-- Backtrace:
Application: Calligra Tables (kdeinit4), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f8998960760 (LWP 3876))]

Thread 2 (Thread 0x7f897176f700 (LWP 3881)):
#0  g_main_context_prepare (context=0x21ed8b0, priority=0x7f897176ebfc) at gmain.c:2803
#1  0x00007f8992e32fa9 in g_main_context_iterate (context=0x21ed8b0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3071
#2  0x00007f8992e33650 in g_main_context_iteration (context=0x21ed8b0, may_block=1) at gmain.c:3154
#3  0x00007f8997600286 in QEventDispatcherGlib::processEvents (this=0x21baec0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f89975d48d2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f89975d4ae5 in QEventLoop::exec (this=0x7f897176ed20, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f89974e97a4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f89975b6008 in QInotifyFileSystemWatcherEngine::run (this=0x21ebd10) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f89974ec095 in QThreadPrivate::start (arg=0x21ebd10) at thread/qthread_unix.cpp:320
#9  0x00007f8989c3e853 in ?? () from /usr/X11R6/lib64/libGL.so.1
#10 0x00007f899725ba3f in start_thread (arg=0x7f897176f700) at pthread_create.c:297
#11 0x00007f899601367d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f8998960760 (LWP 3876)):
[KCrash Handler]
#6  Calligra::Tables::Sheet::cellStorage (this=0x0) at /usr/src/debug/calligra-2.3.71/tables/Sheet.cpp:493
#7  0x00007f897dcdcd53 in Calligra::Tables::NamedAreaManager::remove (this=0x2169990, name=...) at /usr/src/debug/calligra-2.3.71/tables/NamedAreaManager.cpp:96
#8  0x00007f897dcdd1c0 in Calligra::Tables::NamedAreaManager::qt_metacall (this=0x2169990, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9c1a9c70) at /usr/src/debug/calligra-2.3.71/build/tables/NamedAreaManager.moc:86
#9  0x00007f89975e9a5f in QMetaObject::activate (sender=0x23d12b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff9c1a9c70) at kernel/qobject.cpp:3278
#10 0x00007f897dc1d445 in Calligra::Tables::CellStorage::namedAreaRemoved (this=<value optimized out>, _t1=<value optimized out>) at /usr/src/debug/calligra-2.3.71/build/tables/CellStorage.moc:95
#11 0x00007f897dc250e8 in Calligra::Tables::CellStorage::stopUndoRecording (this=0x23d12b0, parent=<value optimized out>) at /usr/src/debug/calligra-2.3.71/tables/CellStorage.cpp:1686
#12 0x00007f897e09bcc5 in Calligra::Tables::InsertDeleteRowManipulator::postProcessing (this=0x2220500) at /usr/src/debug/calligra-2.3.71/tables/commands/RowColumnManipulators.cpp:790
#13 0x00007f897e084594 in Calligra::Tables::AbstractRegionCommand::redo (this=0x2220500) at /usr/src/debug/calligra-2.3.71/tables/commands/AbstractRegionCommand.cpp:112
#14 0x00007f8996dd4379 in QUndoCommand::redo (this=0x2ecbad0) at util/qundostack.cpp:208
#15 0x00007f897e09be0d in Calligra::Tables::InsertDeleteRowManipulator::mainProcessing (this=0x2ecbac0) at /usr/src/debug/calligra-2.3.71/tables/commands/RowColumnManipulators.cpp:777
#16 0x00007f897e084584 in Calligra::Tables::AbstractRegionCommand::redo (this=0x2ecbac0) at /usr/src/debug/calligra-2.3.71/tables/commands/AbstractRegionCommand.cpp:105
#17 0x00007f8996dd5943 in QUndoStack::push (this=<value optimized out>, cmd=0x2ecbad0) at util/qundostack.cpp:541
#18 0x00007f897e084e32 in Calligra::Tables::AbstractRegionCommand::execute (this=0x2ecbac0, canvas=0x24dff08) at /usr/src/debug/calligra-2.3.71/tables/commands/AbstractRegionCommand.cpp:81
#19 0x00007f897e07d2dd in Calligra::Tables::CellToolBase::qt_metacall (this=0x2866560, _c=QMetaObject::InvokeMetaMethod, _id=65, _a=0x7fff9c1aa0e0) at /usr/src/debug/calligra-2.3.71/build/tables/moc_CellToolBase.cpp:338
#20 0x00007f897e10f800 in Calligra::Tables::CellTool::qt_metacall (this=0x2866560, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9c1aa0e0) at /usr/src/debug/calligra-2.3.71/build/tables/CellTool.moc:71
#21 0x00007f89975e9a5f in QMetaObject::activate (sender=0x28670f0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff9c1aa0e0) at kernel/qobject.cpp:3278
#22 0x00007f8996779db2 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#23 0x00007f8996779faa in QAction::activate (this=0x28670f0, event=<value optimized out>) at kernel/qaction.cpp:1257
#24 0x00007f8996bb1023 in QMenuPrivate::activateCausedStack (this=0x2a65cf0, causedStack=..., action=0x28670f0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993
#25 0x00007f8996bb703a in QMenuPrivate::activateAction (this=0x2a65cf0, action=0x28670f0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1085
#26 0x00007f899841faed in KMenu::mouseReleaseEvent (this=0x2a650a0, e=<value optimized out>) at /usr/src/debug/kdelibs-4.6.90/kdeui/widgets/kmenu.cpp:458
#27 0x00007f89967d1c5c in QWidget::event (this=0x2a650a0, event=0x7fff9c1aad60) at kernel/qwidget.cpp:8259
#28 0x00007f8996bb822b in QMenu::event (this=0x2a650a0, e=0x7fff9c1aad60) at widgets/qmenu.cpp:2415
#29 0x00007f8996780144 in QApplicationPrivate::notify_helper (this=0x757100, receiver=0x2a650a0, e=0x7fff9c1aad60) at kernel/qapplication.cpp:4462
#30 0x00007f8996788f7c in QApplication::notify (this=<value optimized out>, receiver=0x2a650a0, e=0x7fff9c1aad60) at kernel/qapplication.cpp:4023
#31 0x00007f899835e656 in KApplication::notify (this=0x7fff9c1ad2c0, receiver=0x2a650a0, event=0x7fff9c1aad60) at /usr/src/debug/kdelibs-4.6.90/kdeui/kernel/kapplication.cpp:311
#32 0x00007f89975d547c in QCoreApplication::notifyInternal (this=0x7fff9c1ad2c0, receiver=0x2a650a0, event=0x7fff9c1aad60) at kernel/qcoreapplication.cpp:731
#33 0x00007f8996781155 in sendEvent (receiver=0x2a650a0, event=0x7fff9c1aad60, alienWidget=0x0, nativeWidget=0x2a650a0, buttonDown=0x7f8997252198, lastMouseReceiver=..., spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:215
#34 QApplicationPrivate::sendMouseEvent (receiver=0x2a650a0, event=0x7fff9c1aad60, alienWidget=0x0, nativeWidget=0x2a650a0, buttonDown=0x7f8997252198, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3122
#35 0x00007f89967ffd94 in QETWidget::translateMouseEvent (this=0x2a650a0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4395
#36 0x00007f89967fe209 in QApplication::x11ProcessEvent (this=0x7fff9c1ad2c0, event=0x7fff9c1ab6c0) at kernel/qapplication_x11.cpp:3587
#37 0x00007f8996825f12 in x11EventSourceDispatch (s=0x75afd0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#38 0x00007f8992e32bd3 in g_main_dispatch (context=0x759ce0) at gmain.c:2440
#39 g_main_context_dispatch (context=0x759ce0) at gmain.c:3013
#40 0x00007f8992e333b0 in g_main_context_iterate (context=0x759ce0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3091
#41 0x00007f8992e33650 in g_main_context_iteration (context=0x759ce0, may_block=1) at gmain.c:3154
#42 0x00007f899760022f in QEventDispatcherGlib::processEvents (this=0x618440, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#43 0x00007f8996825bae in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x00007f89975d48d2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#45 0x00007f89975d4ae5 in QEventLoop::exec (this=0x7fff9c1ab9e0, flags=...) at kernel/qeventloop.cpp:201
#46 0x00007f8996bb47a5 in QMenu::exec (this=<value optimized out>, p=..., action=0x0) at widgets/qmenu.cpp:2059
#47 0x00007f897e10c81b in Calligra::Tables::Canvas::showContextMenu (this=<value optimized out>, globalPos=...) at /usr/src/debug/calligra-2.3.71/tables/part/Canvas.cpp:215
#48 0x00007f897e108261 in Calligra::Tables::CanvasBase::mousePressed (this=0x24dff08, event=0x2d262d0) at /usr/src/debug/calligra-2.3.71/tables/part/CanvasBase.cpp:342
#49 0x00007f897e11745c in Calligra::Tables::RowHeader::mousePress (this=0x29eb178, _ev=0x7fff9c1abcc0) at /usr/src/debug/calligra-2.3.71/tables/part/Headers.cpp:183
#50 0x00007f897e11c5f6 in Calligra::Tables::RowHeaderWidget::mousePressEvent (this=0x29eb150, _ev=<value optimized out>) at /usr/src/debug/calligra-2.3.71/tables/part/HeaderWidgets.cpp:112
#51 0x00007f89967d1f49 in QWidget::event (this=0x29eb150, event=0x7fff9c1ac5f0) at kernel/qwidget.cpp:8255
#52 0x00007f8996780144 in QApplicationPrivate::notify_helper (this=0x757100, receiver=0x29eb150, e=0x7fff9c1ac5f0) at kernel/qapplication.cpp:4462
#53 0x00007f8996788f7c in QApplication::notify (this=<value optimized out>, receiver=0x29eb150, e=0x7fff9c1ac5f0) at kernel/qapplication.cpp:4023
#54 0x00007f899835e656 in KApplication::notify (this=0x7fff9c1ad2c0, receiver=0x29eb150, event=0x7fff9c1ac5f0) at /usr/src/debug/kdelibs-4.6.90/kdeui/kernel/kapplication.cpp:311
#55 0x00007f89975d547c in QCoreApplication::notifyInternal (this=0x7fff9c1ad2c0, receiver=0x29eb150, event=0x7fff9c1ac5f0) at kernel/qcoreapplication.cpp:731
#56 0x00007f8996781155 in sendEvent (receiver=0x29eb150, event=0x7fff9c1ac5f0, alienWidget=0x0, nativeWidget=0x29eb150, buttonDown=0x7f8997252198, lastMouseReceiver=..., spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:215
#57 QApplicationPrivate::sendMouseEvent (receiver=0x29eb150, event=0x7fff9c1ac5f0, alienWidget=0x0, nativeWidget=0x29eb150, buttonDown=0x7f8997252198, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3122
#58 0x00007f89967ffb48 in QETWidget::translateMouseEvent (this=0x29eb150, event=<value optimized out>) at kernel/qapplication_x11.cpp:4461
#59 0x00007f89967fe209 in QApplication::x11ProcessEvent (this=0x7fff9c1ad2c0, event=0x7fff9c1acf50) at kernel/qapplication_x11.cpp:3587
#60 0x00007f8996825f12 in x11EventSourceDispatch (s=0x75afd0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#61 0x00007f8992e32bd3 in g_main_dispatch (context=0x759ce0) at gmain.c:2440
#62 g_main_context_dispatch (context=0x759ce0) at gmain.c:3013
#63 0x00007f8992e333b0 in g_main_context_iterate (context=0x759ce0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3091
#64 0x00007f8992e33650 in g_main_context_iteration (context=0x759ce0, may_block=1) at gmain.c:3154
#65 0x00007f899760022f in QEventDispatcherGlib::processEvents (this=0x618440, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#66 0x00007f8996825bae in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#67 0x00007f89975d48d2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#68 0x00007f89975d4ae5 in QEventLoop::exec (this=0x7fff9c1ad270, flags=...) at kernel/qeventloop.cpp:201
#69 0x00007f89975d8f2b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#70 0x00007f89862cf565 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/calligra-2.3.71/tables/part/Main.cpp:43
#71 0x0000000000407279 in launch (argc=2, _name=0x6e3ca8 "/usr/bin/calligratables", args=<value optimized out>, cwd=0x0, envc=<value optimized out>, envs=<value optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x6e3d1a "suseTower;1309726354;219777;2899_TIME13102471") at /usr/src/debug/kdelibs-4.6.90/kinit/kinit.cpp:734
#72 0x0000000000407dfd in handle_launcher_request (sock=8, who=<value optimized out>) at /usr/src/debug/kdelibs-4.6.90/kinit/kinit.cpp:1226
#73 0x000000000040859a in handle_requests (waitForPid=<value optimized out>) at /usr/src/debug/kdelibs-4.6.90/kinit/kinit.cpp:1419
#74 0x00000000004091f0 in main (argc=4, argv=0x7fff9c1ae528, envp=0x7fff9c1ae550) at /usr/src/debug/kdelibs-4.6.90/kinit/kinit.cpp:1907

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