Bug 285295 - KSpread crashed upon deleting row
Summary: KSpread crashed upon deleting 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-30 03:55 UTC by David Dempster
Modified: 2011-12-19 03:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Dempster 2011-10-30 03:55:55 UTC
Application: kspread (2.3.3)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
I was deleting some rows from a CVS file downloaded from my bank.  On perhaps the fifth one, KSpread suddenly closed.

-- Backtrace:
Application: KSpread (kspread), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fe6765e67c0 (LWP 4101))]

Thread 2 (Thread 0x7fe65db67700 (LWP 4104)):
#0  0x00007fe675f4b773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fe67095af68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe67095b792 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe66551a516 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fe6709802b6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fe66968556c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x00007fe670e2cefc in start_thread (arg=0x7fe65db67700) at pthread_create.c:304
#7  0x00007fe675f5789d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe6765e67c0 (LWP 4101)):
[KCrash Handler]
#6  KSpread::Sheet::cellStorage (this=0x0) at ../../kspread/Sheet.cpp:497
#7  0x00007fe6535891ed in remove (name=..., this=0x1f35480) at ../../kspread/NamedAreaManager.cpp:96
#8  KSpread::NamedAreaManager::remove (this=0x1f35480, name=...) at ../../kspread/NamedAreaManager.cpp:91
#9  0x00007fe653589650 in KSpread::NamedAreaManager::qt_metacall (this=0x1f35480, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7ffff0f43ad0) at ./NamedAreaManager.moc:86
#10 0x00007fe67464deba in QMetaObject::activate (sender=0x20e3950, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffff0f43ad0) at kernel/qobject.cpp:3278
#11 0x00007fe6534e6995 in KSpread::CellStorage::namedAreaRemoved (this=<optimized out>, _t1=<optimized out>) at ./CellStorage.moc:95
#12 0x00007fe6534ec631 in KSpread::CellStorage::stopUndoRecording (this=0x20e3950, parent=<optimized out>) at ../../kspread/CellStorage.cpp:1471
#13 0x00007fe65393bd05 in postProcessing (this=0x1edd7c0) at ../../kspread/commands/RowColumnManipulators.cpp:796
#14 KSpread::InsertDeleteRowManipulator::postProcessing (this=0x1edd7c0) at ../../kspread/commands/RowColumnManipulators.cpp:790
#15 0x00007fe65392501a in KSpread::AbstractRegionCommand::redo (this=0x1edd7c0) at ../../kspread/commands/AbstractRegionCommand.cpp:112
#16 0x00007fe6756929f3 in QUndoStack::push (this=<optimized out>, cmd=0x1edd7d0) at util/qundostack.cpp:541
#17 0x00007fe653925872 in execute (canvas=0x27d6928, this=0x1edd7c0) at ../../kspread/commands/AbstractRegionCommand.cpp:81
#18 KSpread::AbstractRegionCommand::execute (this=0x1edd7c0, canvas=0x27d6928) at ../../kspread/commands/AbstractRegionCommand.cpp:73
#19 0x00007fe65391e5dd in KSpread::CellToolBase::qt_metacall (this=0x2cd8f10, _c=QMetaObject::InvokeMetaMethod, _id=65, _a=0x7ffff0f43e20) at moc_CellToolBase.cpp:337
#20 0x00007fe6539b1920 in KSpread::CellTool::qt_metacall (this=0x2cd8f10, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7ffff0f43e20) at ./CellTool.moc:70
#21 0x00007fe67464deba in QMetaObject::activate (sender=0x2ccbb30, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffff0f43e20) at kernel/qobject.cpp:3278
#22 0x00007fe675034b62 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#23 0x00007fe675034d4f in QAction::activate (this=0x2ccbb30, event=<optimized out>) at kernel/qaction.cpp:1257
#24 0x00007fe67546f609 in QMenuPrivate::activateCausedStack (this=0x2eaa7c0, causedStack=..., action=0x2ccbb30, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1005
#25 0x00007fe675475252 in QMenuPrivate::activateAction (this=0x2eaa7c0, action=0x2ccbb30, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1097
#26 0x00007fe671a67cb0 in KMenu::mouseReleaseEvent (this=0x2e5d010, e=0x7ffff0f44830) at ../../kdeui/widgets/kmenu.cpp:464
#27 0x00007fe67508bc9a in QWidget::event (this=0x2e5d010, event=0x7ffff0f44830) at kernel/qwidget.cpp:8295
#28 0x00007fe6754767fb in QMenu::event (this=0x2e5d010, e=0x7ffff0f44830) at widgets/qmenu.cpp:2405
#29 0x00007fe67503b424 in notify_helper (e=0x7ffff0f44830, receiver=0x2e5d010, this=0x1b16790) at kernel/qapplication.cpp:4486
#30 QApplicationPrivate::notify_helper (this=0x1b16790, receiver=0x2e5d010, e=0x7ffff0f44830) at kernel/qapplication.cpp:4458
#31 0x00007fe675040c6b in QApplication::notify (this=<optimized out>, receiver=0x2e5d010, e=0x7ffff0f44830) at kernel/qapplication.cpp:4047
#32 0x00007fe6719a6126 in KApplication::notify (this=0x7ffff0f469d0, receiver=0x2e5d010, event=0x7ffff0f44830) at ../../kdeui/kernel/kapplication.cpp:311
#33 0x00007fe67463aafc in QCoreApplication::notifyInternal (this=0x7ffff0f469d0, receiver=0x2e5d010, event=0x7ffff0f44830) at kernel/qcoreapplication.cpp:787
#34 0x00007fe67503c3f2 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#35 QApplicationPrivate::sendMouseEvent (receiver=0x2e5d010, event=0x7ffff0f44830, alienWidget=0x0, nativeWidget=0x2e5d010, buttonDown=0x0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3146
#36 0x00007fe6750bc001 in QETWidget::translateMouseEvent (this=0x2e5d010, event=<optimized out>) at kernel/qapplication_x11.cpp:4502
#37 0x00007fe6750ba8be in QApplication::x11ProcessEvent (this=0x7ffff0f469d0, event=0x7ffff0f45050) at kernel/qapplication_x11.cpp:3690
#38 0x00007fe6750e3412 in x11EventSourceDispatch (s=0x1b1ccb0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#39 0x00007fe67095aa5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007fe67095b258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007fe67095b429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007fe674665ed6 in QEventDispatcherGlib::processEvents (this=0x1aa4470, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#43 0x00007fe6750e307e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x00007fe674639cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#45 0x00007fe674639ef7 in QEventLoop::exec (this=0x7ffff0f45420, flags=...) at kernel/qeventloop.cpp:201
#46 0x00007fe675472711 in QMenu::exec (this=<optimized out>, p=..., action=0x0) at widgets/qmenu.cpp:2049
#47 0x00007fe6539af09a in KSpread::Canvas::showContextMenu (this=<optimized out>, globalPos=...) at ../../kspread/part/Canvas.cpp:215
#48 0x00007fe6539aaac9 in KSpread::CanvasBase::mousePressed (this=0x27d6928, event=0x20346f0) at ../../kspread/part/CanvasBase.cpp:341
#49 0x00007fe6539b962f in KSpread::RowHeader::mousePress (this=0x24984b8, _ev=0x7ffff0f456f0) at ../../kspread/part/Headers.cpp:182
#50 0x00007fe6539be8ed in KSpread::RowHeaderWidget::mousePressEvent (this=0x2498490, _ev=<optimized out>) at ../../kspread/part/HeaderWidgets.cpp:112
#51 0x00007fe67508bf79 in QWidget::event (this=0x2498490, event=0x7ffff0f45da0) at kernel/qwidget.cpp:8291
#52 0x00007fe67503b424 in notify_helper (e=0x7ffff0f45da0, receiver=0x2498490, this=0x1b16790) at kernel/qapplication.cpp:4486
#53 QApplicationPrivate::notify_helper (this=0x1b16790, receiver=0x2498490, e=0x7ffff0f45da0) at kernel/qapplication.cpp:4458
#54 0x00007fe675040c6b in QApplication::notify (this=<optimized out>, receiver=0x2498490, e=0x7ffff0f45da0) at kernel/qapplication.cpp:4047
#55 0x00007fe6719a6126 in KApplication::notify (this=0x7ffff0f469d0, receiver=0x2498490, event=0x7ffff0f45da0) at ../../kdeui/kernel/kapplication.cpp:311
#56 0x00007fe67463aafc in QCoreApplication::notifyInternal (this=0x7ffff0f469d0, receiver=0x2498490, event=0x7ffff0f45da0) at kernel/qcoreapplication.cpp:787
#57 0x00007fe67503c3f2 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#58 QApplicationPrivate::sendMouseEvent (receiver=0x2498490, event=0x7ffff0f45da0, alienWidget=0x2498490, nativeWidget=0x1fd11a0, buttonDown=0x2498490, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3146
#59 0x00007fe6750bb945 in QETWidget::translateMouseEvent (this=0x1fd11a0, event=<optimized out>) at kernel/qapplication_x11.cpp:4568
#60 0x00007fe6750ba8be in QApplication::x11ProcessEvent (this=0x7ffff0f469d0, event=0x7ffff0f465c0) at kernel/qapplication_x11.cpp:3690
#61 0x00007fe6750e3412 in x11EventSourceDispatch (s=0x1b1ccb0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#62 0x00007fe67095aa5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#63 0x00007fe67095b258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#64 0x00007fe67095b429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#65 0x00007fe674665ed6 in QEventDispatcherGlib::processEvents (this=0x1aa4470, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#66 0x00007fe6750e307e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#67 0x00007fe674639cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#68 0x00007fe674639ef7 in QEventLoop::exec (this=0x7ffff0f46990, flags=...) at kernel/qeventloop.cpp:201
#69 0x00007fe67463e789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#70 0x00007fe676217655 in kdemain (argc=<optimized out>, argv=0x7ffff0f46b98) at ../../kspread/part/Main.cpp:43
#71 0x00007fe675e9730d in __libc_start_main (main=0x400630 <main(int, char**)>, argc=2, ubp_av=0x7ffff0f46b98, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffff0f46b88) at libc-start.c:226
#72 0x0000000000400661 in _start ()

Reported using DrKonqi
Comment 1 Sebastian Sauer 2011-12-19 03:17:42 UTC
Fixed with commit d8965a3a9ca.