Bug 274835 - Crash when referencing a cell from a different sheet and exiting the editor in the other sheet
Summary: Crash when referencing a cell from a different sheet and exiting the editor i...
Status: RESOLVED WORKSFORME
Alias: None
Product: calligrasheets
Classification: Applications
Component: general (other bugs)
Version First Reported In: Git
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Calligra Sheets (KSpread) Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-03 12:59 UTC by Cyrille Berger
Modified: 2021-01-12 04:34 UTC (History)
3 users (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 Cyrille Berger 2011-06-03 12:59:35 UTC
Step to reproduce:

1) create a new empty document
2) start writting a formula in a cell. for instance, in A1, type "="
3) then click on the tab of an other sheet (like "sheet 2")
4) then click on a cell
5) exit the formula editor (by typing enter)
6) crash

It is worth to note that if I go back to the sheet where I am editing a cell (ie "sheet 1" in this example), it does not crash.

The backtrace looks like an infinite recursion:

#0  QWidget::qt_metacall (this=0xb676b0, _c=QMetaObject::InvokeMetaMethod, _id=64, _a=0x7fffff7ff150)
    at .moc/release-shared/moc_qwidget.cpp:185
#1  0x00007ffff79216e0 in KoView::qt_metacall (this=0xb676b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=0x7fffff7ff150) at /home/cyrille/Projects/kde4/build/calligra/libs/main/KoView.moc:86
#2  0x00007fffe33e3e90 in Calligra::Tables::View::qt_metacall (this=0xb676b0, _c=QMetaObject::InvokeMetaMethod, 
    _id=<value optimized out>, _a=0x7fffff7ff150) at /home/cyrille/Projects/kde4/build/calligra/tables/View.moc:153
#3  0x00007ffff2a075ea in QMetaObject::activate (sender=0x19aac50, m=<value optimized out>, 
    local_signal_index=<value optimized out>, argv=0x7fffff7ff150) at kernel/qobject.cpp:3278
#4  0x00007fffe34334e2 in Calligra::Tables::Selection::visibleSheetRequested (this=<value optimized out>, _t1=0xc54d50)
    at /home/cyrille/Projects/kde4/build/calligra/tables/Selection.moc:140
#5  0x00007fffe34375b7 in Calligra::Tables::Selection::endReferenceSelection (this=0x19aac50, saveChanges=true)
    at /home/cyrille/Projects/kde4/src/calligra/tables/ui/Selection.cpp:852
#6  0x00007fffe33f7b5b in Calligra::Tables::CellEditor::~CellEditor (this=0x1619800, __in_chrg=<value optimized out>)
    at /home/cyrille/Projects/kde4/src/calligra/tables/ui/CellEditor.cpp:281
#7  0x00007fffe33f7ba9 in Calligra::Tables::CellEditor::~CellEditor (this=0x1619800, __in_chrg=<value optimized out>)
    at /home/cyrille/Projects/kde4/src/calligra/tables/ui/CellEditor.cpp:284
#8  0x00007fffe33fd410 in Calligra::Tables::CellToolBase::deleteEditor (this=0x1b10180, saveChanges=true, expandMatrix=false)
    at /home/cyrille/Projects/kde4/src/calligra/tables/ui/CellToolBase.cpp:1433
#9  0x00007fffe3327df6 in Calligra::Tables::CellToolBase::qt_metacall (this=0x1b10180, _c=QMetaObject::InvokeMetaMethod, _id=2, 
    _a=0x7fffff7ff330) at /home/cyrille/Projects/kde4/build/calligra/tables/moc_CellToolBase.cpp:275
#10 0x00007fffe33c0b60 in Calligra::Tables::CellTool::qt_metacall (this=0x1b10180, _c=QMetaObject::InvokeMetaMethod, 
    _id=<value optimized out>, _a=0x7fffff7ff330) at /home/cyrille/Projects/kde4/build/calligra/tables/CellTool.moc:71
#11 0x00007ffff2a075ea in QMetaObject::activate (sender=0x19aac50, m=<value optimized out>, 
    local_signal_index=<value optimized out>, argv=0x7fffff7ff330) at kernel/qobject.cpp:3278
#12 0x00007fffe3433540 in Calligra::Tables::Selection::closeEditor (this=<value optimized out>, _t1=true, _t2=false)
    at /home/cyrille/Projects/kde4/build/calligra/tables/Selection.moc:147
#13 0x00007fffe33e2787 in Calligra::Tables::View::setActiveSheet (this=0xb676b0, sheet=0xc54d50, updateSheet=true)
    at /home/cyrille/Projects/kde4/src/calligra/tables/part/View.cpp:1168
#14 0x00007fffe33e3ecc in Calligra::Tables::View::qt_metacall (this=0xb676b0, _c=QMetaObject::InvokeMetaMethod, 
    _id=<value optimized out>, _a=0x7fffff7ff540) at /home/cyrille/Projects/kde4/build/calligra/tables/View.moc:185
#15 0x00007ffff2a075ea in QMetaObject::activate (sender=0x19aac50, m=<value optimized out>, 
    local_signal_index=<value optimized out>, argv=0x7fffff7ff540) at kernel/qobject.cpp:3278
#16 0x00007fffe34334e2 in Calligra::Tables::Selection::visibleSheetRequested (this=<value optimized out>, _t1=0xc54d50)
    at /home/cyrille/Projects/kde4/build/calligra/tables/Selection.moc:140
#17 0x00007fffe34375b7 in Calligra::Tables::Selection::endReferenceSelection (this=0x19aac50, saveChanges=true)
    at /home/cyrille/Projects/kde4/src/calligra/tables/ui/Selection.cpp:852
#18 0x00007fffe33f7b5b in Calligra::Tables::CellEditor::~CellEditor (this=0x1619800, __in_chrg=<value optimized out>)
    at /home/cyrille/Projects/kde4/src/calligra/tables/ui/CellEditor.cpp:281
#19 0x00007fffe33f7ba9 in Calligra::Tables::CellEditor::~CellEditor (this=0x1619800, __in_chrg=<value optimized out>)
    at /home/cyrille/Projects/kde4/src/calligra/tables/ui/CellEditor.cpp:284
#20 0x00007fffe33fd410 in Calligra::Tables::CellToolBase::deleteEditor (this=0x1b10180, saveChanges=true, expandMatrix=false)
    at /home/cyrille/Projects/kde4/src/calligra/tables/ui/CellToolBase.cpp:1433
#21 0x00007fffe3327df6 in Calligra::Tables::CellToolBase::qt_metacall (this=0x1b10180, _c=QMetaObject::InvokeMetaMethod, _id=2, 
    _a=0x7fffff7ff720) at /home/cyrille/Projects/kde4/build/calligra/tables/moc_CellToolBase.cpp:275
#22 0x00007fffe33c0b60 in Calligra::Tables::CellTool::qt_metacall (this=0x1b10180, _c=QMetaObject::InvokeMetaMethod, 
    _id=<value optimized out>, _a=0x7fffff7ff720) at /home/cyrille/Projects/kde4/build/calligra/tables/CellTool.moc:71
#23 0x00007ffff2a075ea in QMetaObject::activate (sender=0x19aac50, m=<value optimized out>, 
    local_signal_index=<value optimized out>, argv=0x7fffff7ff720) at kernel/qobject.cpp:3278
#24 0x00007fffe3433540 in Calligra::Tables::Selection::closeEditor (this=<value optimized out>, _t1=true, _t2=false)
    at /home/cyrille/Projects/kde4/build/calligra/tables/Selection.moc:147
#25 0x00007fffe33e2787 in Calligra::Tables::View::setActiveSheet (this=0xb676b0, sheet=0xc54d50, updateSheet=true)
    at /home/cyrille/Projects/kde4/src/calligra/tables/part/View.cpp:1168
#26 0x00007fffe33e3ecc in Calligra::Tables::View::qt_metacall (this=0xb676b0, _c=QMetaObject::InvokeMetaMethod, 
    _id=<value optimized out>, _a=0x7fffff7ff930) at /home/cyrille/Projects/kde4/build/calligra/tables/View.moc:185
#27 0x00007ffff2a075ea in QMetaObject::activate (sender=0x19aac50, m=<value optimized out>, 
    local_signal_index=<value optimized out>, argv=0x7fffff7ff930) at kernel/qobject.cpp:3278
#28 0x00007fffe34334e2 in Calligra::Tables::Selection::visibleSheetRequested (this=<value optimized out>, _t1=0xc54d50)
    at /home/cyrille/Projects/kde4/build/calligra/tables/Selection.moc:140
#29 0x00007fffe34375b7 in Calligra::Tables::Selection::endReferenceSelection (this=0x19aac50, saveChanges=true)
    at /home/cyrille/Projects/kde4/src/calligra/tables/ui/Selection.cpp:852
#30 0x00007fffe33f7b5b in Calligra::Tables::CellEditor::~CellEditor (this=0x1619800, __in_chrg=<value optimized out>)
    at /home/cyrille/Projects/kde4/src/calligra/tables/ui/CellEditor.cpp:281
#31 0x00007fffe33f7ba9 in Calligra::Tables::CellEditor::~CellEditor (this=0x1619800, __in_chrg=<value optimized out>)
    at /home/cyrille/Projects/kde4/src/calligra/tables/ui/CellEditor.cpp:284
#32 0x00007fffe33fd410 in Calligra::Tables::CellToolBase::deleteEditor (this=0x1b10180, saveChanges=true, expandMatrix=false)
    at /home/cyrille/Projects/kde4/src/calligra/tables/ui/CellToolBase.cpp:1433
#33 0x00007fffe3327df6 in Calligra::Tables::CellToolBase::qt_metacall (this=0x1b10180, _c=QMetaObject::InvokeMetaMethod, _id=2, 

    _a=0x7fffff7ffb10) at /home/cyrille/Projects/kde4/build/calligra/tables/moc_CellToolBase.cpp:275
#34 0x00007fffe33c0b60 in Calligra::Tables::CellTool::qt_metacall (this=0x1b10180, _c=QMetaObject::InvokeMetaMethod, 
    _id=<value optimized out>, _a=0x7fffff7ffb10) at /home/cyrille/Projects/kde4/build/calligra/tables/CellTool.moc:71
#35 0x00007ffff2a075ea in QMetaObject::activate (sender=0x19aac50, m=<value optimized out>, 
    local_signal_index=<value optimized out>, argv=0x7fffff7ffb10) at kernel/qobject.cpp:3278
#36 0x00007fffe3433540 in Calligra::Tables::Selection::closeEditor (this=<value optimized out>, _t1=true, _t2=false)
    at /home/cyrille/Projects/kde4/build/calligra/tables/Selection.moc:147
#37 0x00007fffe33e2787 in Calligra::Tables::View::setActiveSheet (this=0xb676b0, sheet=0xc54d50, updateSheet=true)
    at /home/cyrille/Projects/kde4/src/calligra/tables/part/View.cpp:1168
#38 0x00007fffe33e3ecc in Calligra::Tables::View::qt_metacall (this=0xb676b0, _c=QMetaObject::InvokeMetaMethod, 
    _id=<value optimized out>, _a=0x7fffff7ffd20) at /home/cyrille/Projects/kde4/build/calligra/tables/View.moc:185
#39 0x00007ffff2a075ea in QMetaObject::activate (sender=0x19aac50, m=<value optimized out>, 
    local_signal_index=<value optimized out>, argv=0x7fffff7ffd20) at kernel/qobject.cpp:3278
#40 0x00007fffe34334e2 in Calligra::Tables::Selection::visibleSheetRequested (this=<value optimized out>, _t1=0xc54d50)
    at /home/cyrille/Projects/kde4/build/calligra/tables/Selection.moc:140
#41 0x00007fffe34375b7 in Calligra::Tables::Selection::endReferenceSelection (this=0x19aac50, saveChanges=true)
    at /home/cyrille/Projects/kde4/src/calligra/tables/ui/Selection.cpp:852
#42 0x00007fffe33f7b5b in Calligra::Tables::CellEditor::~CellEditor (this=0x1619800, __in_chrg=<value optimized out>)
    at /home/cyrille/Projects/kde4/src/calligra/tables/ui/CellEditor.cpp:281
#43 0x00007fffe33f7ba9 in Calligra::Tables::CellEditor::~CellEditor (this=0x1619800, __in_chrg=<value optimized out>)
    at /home/cyrille/Projects/kde4/src/calligra/tables/ui/CellEditor.cpp:284
#44 0x00007fffe33fd410 in Calligra::Tables::CellToolBase::deleteEditor (this=0x1b10180, saveChanges=true, expandMatrix=false)
    at /home/cyrille/Projects/kde4/src/calligra/tables/ui/CellToolBase.cpp:1433
#45 0x00007fffe3327df6 in Calligra::Tables::CellToolBase::qt_metacall (this=0x1b10180, _c=QMetaObject::InvokeMetaMethod, _id=2, 
    _a=0x7fffff7fff00) at /home/cyrille/Projects/kde4/build/calligra/tables/moc_CellToolBase.cpp:275
#46 0x00007fffe33c0b60 in Calligra::Tables::CellTool::qt_metacall (this=0x1b10180, _c=QMetaObject::InvokeMetaMethod, 
    _id=<value optimized out>, _a=0x7fffff7fff00) at /home/cyrille/Projects/kde4/build/calligra/tables/CellTool.moc:71
#47 0x00007ffff2a075ea in QMetaObject::activate (sender=0x19aac50, m=<value optimized out>, 
    local_signal_index=<value optimized out>, argv=0x7fffff7fff00) at kernel/qobject.cpp:3278
#48 0x00007fffe3433540 in Calligra::Tables::Selection::closeEditor (this=<value optimized out>, _t1=true, _t2=false)
    at /home/cyrille/Projects/kde4/build/calligra/tables/Selection.moc:147
#49 0x00007fffe33e2787 in Calligra::Tables::View::setActiveSheet (this=0xb676b0, sheet=0xc54d50, updateSheet=true)
    at /home/cyrille/Projects/kde4/src/calligra/tables/part/View.cpp:1168
#50 0x00007fffe33e3ecc in Calligra::Tables::View::qt_metacall (this=0xb676b0, _c=QMetaObject::InvokeMetaMethod, 
    _id=<value optimized out>, _a=0x7fffff800110) at /home/cyrille/Projects/kde4/build/calligra/tables/View.moc:185
#51 0x00007ffff2a075ea in QMetaObject::activate (sender=0x19aac50, m=<value optimized out>, 
    local_signal_index=<value optimized out>, argv=0x7fffff800110) at kernel/qobject.cpp:3278
#52 0x00007fffe34334e2 in Calligra::Tables::Selection::visibleSheetRequested (this=<value optimized out>, _t1=0xc54d50)
    at /home/cyrille/Projects/kde4/build/calligra/tables/Selection.moc:140
#53 0x00007fffe34375b7 in Calligra::Tables::Selection::endReferenceSelection (this=0x19aac50, saveChanges=true)
    at /home/cyrille/Projects/kde4/src/calligra/tables/ui/Selection.cpp:852
#54 0x00007fffe33f7b5b in Calligra::Tables::CellEditor::~CellEditor (this=0x1619800, __in_chrg=<value optimized out>)
    at /home/cyrille/Projects/kde4/src/calligra/tables/ui/CellEditor.cpp:281
#55 0x00007fffe33f7ba9 in Calligra::Tables::CellEditor::~CellEditor (this=0x1619800, __in_chrg=<value optimized out>)
    at /home/cyrille/Projects/kde4/src/calligra/tables/ui/CellEditor.cpp:284
#56 0x00007fffe33fd410 in Calligra::Tables::CellToolBase::deleteEditor (this=0x1b10180, saveChanges=true, expandMatrix=false)
    at /home/cyrille/Projects/kde4/src/calligra/tables/ui/CellToolBase.cpp:1433
#57 0x00007fffe3327df6 in Calligra::Tables::CellToolBase::qt_metacall (this=0x1b10180, _c=QMetaObject::InvokeMetaMethod, _id=2, 
    _a=0x7fffff8002f0) at /home/cyrille/Projects/kde4/build/calligra/tables/moc_CellToolBase.cpp:275
#58 0x00007fffe33c0b60 in Calligra::Tables::CellTool::qt_metacall (this=0x1b10180, _c=QMetaObject::InvokeMetaMethod, 
    _id=<value optimized out>, _a=0x7fffff8002f0) at /home/cyrille/Projects/kde4/build/calligra/tables/CellTool.moc:71
#59 0x00007ffff2a075ea in QMetaObject::activate (sender=0x19aac50, m=<value optimized out>, 
    local_signal_index=<value optimized out>, argv=0x7fffff8002f0) at kernel/qobject.cpp:3278
#60 0x00007fffe3433540 in Calligra::Tables::Selection::closeEditor (this=<value optimized out>, _t1=true, _t2=false)
    at /home/cyrille/Projects/kde4/build/calligra/tables/Selection.moc:147
#61 0x00007fffe33e2787 in Calligra::Tables::View::setActiveSheet (this=0xb676b0, sheet=0xc54d50, updateSheet=true)
    at /home/cyrille/Projects/kde4/src/calligra/tables/part/View.cpp:1168
#62 0x00007fffe33e3ecc in Calligra::Tables::View::qt_metacall (this=0xb676b0, _c=QMetaObject::InvokeMetaMethod, 
    _id=<value optimized out>, _a=0x7fffff800500) at /home/cyrille/Projects/kde4/build/calligra/tables/View.moc:185
#63 0x00007ffff2a075ea in QMetaObject::activate (sender=0x19aac50, m=<value optimized out>, 
    local_signal_index=<value optimized out>, argv=0x7fffff800500) at kernel/qobject.cpp:3278
#64 0x00007fffe34334e2 in Calligra::Tables::Selection::visibleSheetRequested (this=<value optimized out>, _t1=0xc54d50)
    at /home/cyrille/Projects/kde4/build/calligra/tables/Selection.moc:140
#65 0x00007fffe34375b7 in Calligra::Tables::Selection::endReferenceSelection (this=0x19aac50, saveChanges=true)
    at /home/cyrille/Projects/kde4/src/calligra/tables/ui/Selection.cpp:852
#66 0x00007fffe33f7b5b in Calligra::Tables::CellEditor::~CellEditor (this=0x1619800, __in_chrg=<value optimized out>)
    at /home/cyrille/Projects/kde4/src/calligra/tables/ui/CellEditor.cpp:281


etc...
Comment 1 Sebastian Sauer 2012-01-12 06:34:32 UTC
Can still reproduce in master.
Comment 2 Boris Ribalkin 2012-11-01 02:13:48 UTC
Still have this issue on:
Kubuntu 12.10/x64.
Calligra Sheets
Version 2.5.3
Using KDE Development Platform 4.9.2
Comment 3 Justin Zobel 2020-12-13 02:22:34 UTC
Thank you for the crash reports.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 4 Bug Janitor Service 2020-12-28 04:34:34 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2021-01-12 04:34:10 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!