Bug 263414 - Crash when pasting in KSpread::RTree<KSpread::Conditions>::intersectingPairs
Summary: Crash when pasting in KSpread::RTree<KSpread::Conditions>::intersectingPairs
Status: RESOLVED DUPLICATE of bug 281670
Alias: None
Product: calligrasheets
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: Calligra Sheets (KSpread) Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-17 13:19 UTC by Raúl
Modified: 2011-12-05 02:53 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (10.32 KB, text/plain)
2011-03-01 12:33 UTC, Arek Guzinski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raúl 2011-01-17 13:19:01 UTC
Application: kspread (2.3.0)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-5-amd64 x86_64
Distribution: Debian GNU/Linux 6.0 (n/a)

-- Information about the crash:
I was editing a spreadsheet and I had this crash when I pressed ctrl-V to paste something.

 -- Backtrace:
Application: KSpread (kspread), signal: Segmentation fault
The current source language is "auto; currently asm".
[KCrash Handler]
#5  0x00007f20391891f7 in KSpread::RTree<KSpread::Conditions>::intersectingPairs (this=0x1d73c80, rect=...) at ../../kspread/RTree.h:493
#6  0x00007f2039189699 in KSpread::RectStorage<KSpread::Conditions>::undoData (this=<value optimized out>, region=...) at ../../kspread/RectStorage.h:234
#7  0x00007f2038d48cd1 in KSpread::CellStorage::setConditions (this=0x20c7740, region=..., conditions=) at ../../kspread/CellStorage.cpp:335
#8  0x00007f2038d15b5d in KSpread::Cell::setConditions (this=0x7ffffd766770, conditions=<value optimized out>) at ../../kspread/Cell.cpp:327
#9  0x00007f2038d247b6 in KSpread::Cell::load (this=0x7ffffd766770, cell=..., _xshift=<value optimized out>, _yshift=<value optimized out>, mode=<value optimized out>, op=<value optimized out>, 
    paste=true) at ../../kspread/Cell.cpp:1885
#10 0x00007f2039195098 in PasteCellCommand::process (this=0x2ce39b0, element=<value optimized out>) at ../../kspread/commands/PasteCommand.cpp:72
#11 0x00007f203917c2f4 in KSpread::AbstractRegionCommand::mainProcessing (this=0x2ce39b0) at ../../kspread/commands/AbstractRegionCommand.cpp:168
#12 0x00007f203917c4a9 in KSpread::AbstractRegionCommand::redo (this=0x2ce39b0) at ../../kspread/commands/AbstractRegionCommand.cpp:105
#13 0x00007f204c9d1649 in QUndoCommand::redo (this=0x37d9120) at util/qundostack.cpp:208
#14 0x00007f2039194731 in KSpread::PasteCommand::mainProcessing (this=0x37d9110) at ../../kspread/commands/PasteCommand.cpp:257
#15 0x00007f203917c4a9 in KSpread::AbstractRegionCommand::redo (this=0x37d9110) at ../../kspread/commands/AbstractRegionCommand.cpp:105
#16 0x00007f204c9d2ef3 in QUndoStack::push (this=0x1907ff0, cmd=0x0) at util/qundostack.cpp:541
#17 0x00007f203917c215 in KSpread::AbstractRegionCommand::execute (this=0x37d9110, canvas=0x283d178) at ../../kspread/commands/AbstractRegionCommand.cpp:81
#18 0x00007f203926ccd9 in KSpread::CellToolBase::paste (this=0x2c0b8d0) at ../../kspread/ui/CellToolBase.cpp:2985
#19 0x00007f2039174a66 in KSpread::CellToolBase::qt_metacall (this=0x2c0b8d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffffd766f10) at moc_CellToolBase.cpp:384
#20 0x00007f2039227be0 in KSpread::CellTool::qt_metacall (this=0x0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x0) at ./CellTool.moc:70
#21 0x00007f204b9b42e6 in QMetaObject::activate (sender=0x3175a50, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3295
#22 0x00007f204c34a132 in QAction::triggered (this=0x0, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#23 0x00007f204c34c1ab in QAction::activate (this=0x3175a50, event=<value optimized out>) at kernel/qaction.cpp:1255
#24 0x00007f204c34dab7 in QAction::event (this=0x0, e=<value optimized out>) at kernel/qaction.cpp:1181
#25 0x00007f2048be29cd in KAction::event (this=0x0, event=0x7ffffd767580) at ../../kdeui/actions/kaction.cpp:129
#26 0x00007f204c35032c in QApplicationPrivate::notify_helper (this=0x16f7280, receiver=0x3175a50, e=0x7ffffd767580) at kernel/qapplication.cpp:4302
#27 0x00007f204c35680b in QApplication::notify (this=0x7ffffd768aa0, receiver=0x3175a50, e=0x7ffffd767580) at kernel/qapplication.cpp:4185
#28 0x00007f2048cb77a6 in KApplication::notify (this=0x7ffffd768aa0, receiver=0x3175a50, event=0x7ffffd767580) at ../../kdeui/kernel/kapplication.cpp:302
#29 0x00007f204b9a109c in QCoreApplication::notifyInternal (this=0x7ffffd768aa0, receiver=0x3175a50, event=0x7ffffd767580) at kernel/qcoreapplication.cpp:726
#30 0x00007f204c38bf56 in QCoreApplication::sendEvent (this=<value optimized out>, e=0x7ffffd767b80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QShortcutMap::dispatchEvent (this=<value optimized out>, e=0x7ffffd767b80) at kernel/qshortcutmap.cpp:879
#32 0x00007f204c38dd57 in QShortcutMap::tryShortcutEvent (this=0x16f73a8, o=<value optimized out>, e=0x7ffffd767b80) at kernel/qshortcutmap.cpp:364
#33 0x00007f204c358368 in QApplication::notify (this=0x7ffffd768aa0, receiver=0x283d150, e=0x7ffffd767b80) at kernel/qapplication.cpp:3748
#34 0x00007f2048cb77a6 in KApplication::notify (this=0x7ffffd768aa0, receiver=0x283d150, event=0x7ffffd767b80) at ../../kdeui/kernel/kapplication.cpp:302
#35 0x00007f204b9a109c in QCoreApplication::notifyInternal (this=0x7ffffd768aa0, receiver=0x283d150, event=0x7ffffd767b80) at kernel/qcoreapplication.cpp:726
#36 0x00007f204c3fad6a in QKeyMapper::sendKeyEvent (keyWidget=0x283d150, grab=<value optimized out>, type=QEvent::KeyPress, code=86, modifiers=<value optimized out>, text=..., autorepeat=false, 
    count=1, nativeScanCode=55, nativeVirtualKey=118, nativeModifiers=20) at kernel/qkeymapper_x11.cpp:1875
#37 0x00007f204c3fd2e1 in QKeyMapperPrivate::translateKeyEvent (this=0x173c450, keyWidget=0x283d150, event=<value optimized out>, grab=false) at kernel/qkeymapper_x11.cpp:1845
#38 0x00007f204c3d4a34 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7ffffd768730) at kernel/qapplication_x11.cpp:3406
#39 0x00007f204c4005a2 in x11EventSourceDispatch (s=0x16faf70, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#40 0x00007f2047c836f2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#41 0x00007f2047c87568 in ?? () from /lib/libglib-2.0.so.0
#42 0x00007f2047c8771c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#43 0x00007f204b9ca6b3 in QEventDispatcherGlib::processEvents (this=0x16cf1c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#44 0x00007f204c40019e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#45 0x00007f204b99f9c2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#46 0x00007f204b99fd9c in QEventLoop::exec (this=0x7ffffd768a50, flags=) at kernel/qeventloop.cpp:201
#47 0x00007f204b9a4a2b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#48 0x00007f204d502595 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../kspread/part/Main.cpp:43
#49 0x00007f204d1bdc4d in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7ffffd768c68) at libc-start.c:228
#50 0x0000000000400679 in _start ()

Reported using DrKonqi
Comment 1 Arek Guzinski 2011-03-01 12:33:56 UTC
Created attachment 57586 [details]
New crash information added by DrKonqi

kspread (2.3.3) on KDE Platform 4.6.00 (4.6.0) using Qt 4.7.1

- What I was doing when the application crashed:
Steps:
1. Copy Cell in KSpread
2. Paste Cell
3. Crash

Pasting pure Text does not crash Kspread

-- Backtrace (Reduced):
#6  0x00007f76f5b72e37 in KSpread::RTree<KSpread::Conditions>::intersectingPairs (this=0x239b740, rect=...) at /var/tmp/paludis/app-office-kspread-2.3.3/work/kspread-2.3.3/kspread/RTree.h:493
#7  0x00007f76f5b732aa in KSpread::RectStorage<KSpread::Conditions>::undoData (this=<value optimized out>, region=<value optimized out>) at /var/tmp/paludis/app-office-kspread-2.3.3/work/kspread-2.3.3/kspread/RectStorage.h:234
#8  0x00007f76f571e269 in KSpread::CellStorage::setConditions (this=0x1a48fe0, region=..., conditions=) at /var/tmp/paludis/app-office-kspread-2.3.3/work/kspread-2.3.3/kspread/CellStorage.cpp:335
#9  0x00007f76f56fbfed in KSpread::Cell::setConditions (this=0x7fff27c663c0, conditions=<value optimized out>) at /var/tmp/paludis/app-office-kspread-2.3.3/work/kspread-2.3.3/kspread/Cell.cpp:327
#10 0x00007f76f570b1c8 in KSpread::Cell::load (this=0x7fff27c663c0, cell=..., _xshift=<value optimized out>, _yshift=<value optimized out>, mode=KSpread::Paste::Normal, op=<value optimized out>, paste=true) at /var/tmp/paludis/app-office-kspread-2.3.3/work/kspread-2.3.3/kspread/Cell.cpp:1885
Comment 2 Sebastian Sauer 2011-09-23 16:44:29 UTC
related bug-reports are bug 264602 and bug 281670
Comment 3 Sebastian Sauer 2011-12-05 02:53:34 UTC

*** This bug has been marked as a duplicate of bug 281670 ***