Bug 280906 - inserting cells
Summary: inserting cells
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-08-27 23:32 UTC by alejandro grosso
Modified: 2012-08-20 05:23 UTC (History)
2 users (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 alejandro grosso 2011-08-27 23:32:59 UTC
Application: kspread (2.3.3)
KDE Platform Version: 4.7.00 (4.7.0)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
the application crashed when I was inserting the second cell between two written ones

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7f9b7bc48700 (LWP 16194)):
#0  0x00007f9b987a33d0 in __pthread_mutex_lock (mutex=0x2412c38) at pthread_mutex_lock.c:62
#1  0x00007f9b982d516c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9b982d5639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9b9bf8e446 in QEventDispatcherGlib::processEvents (this=0x19b7040, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f9b9bf62882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f9b9bf62abc in QEventLoop::exec (this=0x7f9b7bc47db0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f9b9be79924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f9b9bf44c2f in QInotifyFileSystemWatcherEngine::run (this=0x2412430) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f9b9be7c175 in QThreadPrivate::start (arg=0x2412430) at thread/qthread_unix.cpp:320
#9  0x00007f9b987a0d8c in start_thread (arg=0x7f9b7bc48700) at pthread_create.c:304
#10 0x00007f9b9d83f04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f9b7b447700 (LWP 16248)):
#0  0x00007f9b987a4d9d in __pthread_mutex_unlock_usercnt (mutex=0x26340e8) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x26340e8) at pthread_mutex_unlock.c:290
#2  0x00007f9b982d3fef in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9b982d4f9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9b982d5639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9b9bf8e446 in QEventDispatcherGlib::processEvents (this=0x1d95e50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007f9b9bf62882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f9b9bf62abc in QEventLoop::exec (this=0x7f9b7b446db0, flags=...) at kernel/qeventloop.cpp:201
#8  0x00007f9b9be79924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#9  0x00007f9b9bf44c2f in QInotifyFileSystemWatcherEngine::run (this=0x2125d00) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f9b9be7c175 in QThreadPrivate::start (arg=0x2125d00) at thread/qthread_unix.cpp:320
#11 0x00007f9b987a0d8c in start_thread (arg=0x7f9b7b447700) at pthread_create.c:304
#12 0x00007f9b9d83f04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9b9deb77a0 (LWP 16086)):
[KCrash Handler]
#6  KSpread::Sheet::cellStorage (this=0x0) at ../../kspread/Sheet.cpp:497
#7  0x00007f9b89b13ef4 in KSpread::NamedAreaManager::remove (this=0x1cf2980, name=...) at ../../kspread/NamedAreaManager.cpp:96
#8  0x00007f9b89b14320 in KSpread::NamedAreaManager::qt_metacall (this=0x1cf2980, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3e94db90) at ./NamedAreaManager.moc:86
#9  0x00007f9b9bf785f8 in QMetaObject::activate (sender=0x1f35f60, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff3e94db90) at kernel/qobject.cpp:3287
#10 0x00007f9b89a69995 in KSpread::CellStorage::namedAreaRemoved (this=<value optimized out>, _t1=<value optimized out>) at ./CellStorage.moc:95
#11 0x00007f9b89a70d6b in KSpread::CellStorage::stopUndoRecording (this=0x1f35f60, parent=<value optimized out>) at ../../kspread/CellStorage.cpp:1471
#12 0x00007f9b89eb5945 in KSpread::InsertDeleteRowManipulator::postProcessing (this=0x2d9a5e0) at ../../kspread/commands/RowColumnManipulators.cpp:796
#13 0x00007f9b89e9ea03 in KSpread::AbstractRegionCommand::redo (this=0x2d9a5e0) at ../../kspread/commands/AbstractRegionCommand.cpp:112
#14 0x00007f9b9cf7db23 in QUndoStack::push (this=0x267dbc0, cmd=0x2d9a5f0) at util/qundostack.cpp:541
#15 0x00007f9b89e9f292 in KSpread::AbstractRegionCommand::execute (this=0x2d9a5e0, canvas=0x2431608) at ../../kspread/commands/AbstractRegionCommand.cpp:81
#16 0x00007f9b89e9827d in KSpread::CellToolBase::qt_metacall (this=0x35e6620, _c=QMetaObject::InvokeMetaMethod, _id=64, _a=0x7fff3e94dee0) at moc_CellToolBase.cpp:336
#17 0x00007f9b89f29a10 in KSpread::CellTool::qt_metacall (this=0x35e6620, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3e94dee0) at ./CellTool.moc:70
#18 0x00007f9b9bf785f8 in QMetaObject::activate (sender=0x35dbcd0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff3e94dee0) at kernel/qobject.cpp:3287
#19 0x00007f9b9c917122 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#20 0x00007f9b9c91730f in QAction::activate (this=0x35dbcd0, event=<value optimized out>) at kernel/qaction.cpp:1257
#21 0x00007f9b9cd5b9f3 in QMenuPrivate::activateCausedStack (this=0x261b710, causedStack=..., action=0x35dbcd0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993
#22 0x00007f9b9cd619aa in QMenuPrivate::activateAction (this=0x261b710, action=0x35dbcd0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1085
#23 0x00007f9b993d154d in KMenu::mouseReleaseEvent (this=0x269cd60, e=<value optimized out>) at ../../kdeui/widgets/kmenu.cpp:458
#24 0x00007f9b9c96ecc8 in QWidget::event (this=0x269cd60, event=0x7fff3e94eb10) at kernel/qwidget.cpp:8259
#25 0x00007f9b9cd62b8b in QMenu::event (this=0x269cd60, e=0x7fff3e94eb10) at widgets/qmenu.cpp:2415
#26 0x00007f9b9c91d9f4 in QApplicationPrivate::notify_helper (this=0x13316d0, receiver=0x269cd60, e=0x7fff3e94eb10) at kernel/qapplication.cpp:4462
#27 0x00007f9b9c922dc3 in QApplication::notify (this=<value optimized out>, receiver=0x269cd60, e=0x7fff3e94eb10) at kernel/qapplication.cpp:4023
#28 0x00007f9b99312796 in KApplication::notify (this=0x7fff3e950fa0, receiver=0x269cd60, event=0x7fff3e94eb10) at ../../kdeui/kernel/kapplication.cpp:311
#29 0x00007f9b9bf6349c in QCoreApplication::notifyInternal (this=0x7fff3e950fa0, receiver=0x269cd60, event=0x7fff3e94eb10) at kernel/qcoreapplication.cpp:731
#30 0x00007f9b9c91ea1d in sendEvent (receiver=0x269cd60, event=0x7fff3e94eb10, alienWidget=0x0, nativeWidget=0x269cd60, buttonDown=0x7f9b9d401218, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QApplicationPrivate::sendMouseEvent (receiver=0x269cd60, event=0x7fff3e94eb10, alienWidget=0x0, nativeWidget=0x269cd60, buttonDown=0x7f9b9d401218, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3122
#32 0x00007f9b9c9a03e4 in QETWidget::translateMouseEvent (this=0x269cd60, event=<value optimized out>) at kernel/qapplication_x11.cpp:4492
#33 0x00007f9b9c99eab7 in QApplication::x11ProcessEvent (this=0x7fff3e950fa0, event=0x7fff3e94f460) at kernel/qapplication_x11.cpp:3680
#34 0x00007f9b9c9c7842 in x11EventSourceDispatch (s=0x1327930, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#35 0x00007f9b982d4bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f9b982d53a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f9b982d5639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f9b9bf8e3ef in QEventDispatcherGlib::processEvents (this=0x12cc340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#39 0x00007f9b9c9c74de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007f9b9bf62882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#41 0x00007f9b9bf62abc in QEventLoop::exec (this=0x7fff3e94f760, flags=...) at kernel/qeventloop.cpp:201
#42 0x00007f9b9cd5f101 in QMenu::exec (this=0x269cd60, p=..., action=0x0) at widgets/qmenu.cpp:2059
#43 0x00007f9b89f271ba in KSpread::Canvas::showContextMenu (this=<value optimized out>, globalPos=...) at ../../kspread/part/Canvas.cpp:215
#44 0x00007f9b89f22c21 in KSpread::CanvasBase::mousePressed (this=0x2431608, event=0x168b7b0) at ../../kspread/part/CanvasBase.cpp:341
#45 0x00007f9b89f3183c in KSpread::RowHeader::mousePress (this=0x309b2e8, _ev=0x7fff3e94fa30) at ../../kspread/part/Headers.cpp:182
#46 0x00007f9b89f3693d in KSpread::RowHeaderWidget::mousePressEvent (this=0x309b2c0, _ev=<value optimized out>) at ../../kspread/part/HeaderWidgets.cpp:112
#47 0x00007f9b9c96efb1 in QWidget::event (this=0x309b2c0, event=0x7fff3e950310) at kernel/qwidget.cpp:8255
#48 0x00007f9b9c91d9f4 in QApplicationPrivate::notify_helper (this=0x13316d0, receiver=0x309b2c0, e=0x7fff3e950310) at kernel/qapplication.cpp:4462
#49 0x00007f9b9c922dc3 in QApplication::notify (this=<value optimized out>, receiver=0x309b2c0, e=0x7fff3e950310) at kernel/qapplication.cpp:4023
#50 0x00007f9b99312796 in KApplication::notify (this=0x7fff3e950fa0, receiver=0x309b2c0, event=0x7fff3e950310) at ../../kdeui/kernel/kapplication.cpp:311
#51 0x00007f9b9bf6349c in QCoreApplication::notifyInternal (this=0x7fff3e950fa0, receiver=0x309b2c0, event=0x7fff3e950310) at kernel/qcoreapplication.cpp:731
#52 0x00007f9b9c91ea1d in sendEvent (receiver=0x309b2c0, event=0x7fff3e950310, alienWidget=0x0, nativeWidget=0x309b2c0, buttonDown=0x7f9b9d401218, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#53 QApplicationPrivate::sendMouseEvent (receiver=0x309b2c0, event=0x7fff3e950310, alienWidget=0x0, nativeWidget=0x309b2c0, buttonDown=0x7f9b9d401218, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3122
#54 0x00007f9b9c9a0190 in QETWidget::translateMouseEvent (this=0x309b2c0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4558
#55 0x00007f9b9c99eab7 in QApplication::x11ProcessEvent (this=0x7fff3e950fa0, event=0x7fff3e950c60) at kernel/qapplication_x11.cpp:3680
#56 0x00007f9b9c9c7842 in x11EventSourceDispatch (s=0x1327930, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#57 0x00007f9b982d4bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#58 0x00007f9b982d53a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#59 0x00007f9b982d5639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#60 0x00007f9b9bf8e3ef in QEventDispatcherGlib::processEvents (this=0x12cc340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#61 0x00007f9b9c9c74de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#62 0x00007f9b9bf62882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#63 0x00007f9b9bf62abc in QEventLoop::exec (this=0x7fff3e950f60, flags=...) at kernel/qeventloop.cpp:201
#64 0x00007f9b9bf66ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#65 0x00007f9b9daef645 in kdemain (argc=<value optimized out>, argv=0x7fff3e951168) at ../../kspread/part/Main.cpp:43
#66 0x00007f9b9d777eff in __libc_start_main (main=0x400730 <main(int, char**)>, argc=1, ubp_av=0x7fff3e951168, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff3e951158) at libc-start.c:226
#67 0x0000000000400659 in _start ()

Reported using DrKonqi
Comment 1 Sebastian Sauer 2011-08-30 12:13:00 UTC
Cannot reproduce with Calligra Tables master. We fixed so much since 2.3.3 that I wouldn't wonder if we just fixed that problem meanwhile already.

@alejandro
Can you maybe provide a step-by-step guide what I need to do to reproduce the crash? Lot of thanks in advance!
Comment 2 alejandro grosso 2011-12-10 18:28:15 UTC
sorry for the wait. i'm using calligra tables 2.4 beta 4 on chakra linux at this time and the problem disappeared
Comment 3 Jekyll Wu 2012-08-20 05:23:39 UTC
*** Bug 304486 has been marked as a duplicate of this bug. ***