Bug 475620 - Sheets crash when Undoing a change to a formula that resulted in an error
Summary: Sheets crash when Undoing a change to a formula that resulted in an error
Status: REPORTED
Alias: None
Product: calligrasheets
Classification: Applications
Component: general (show other bugs)
Version: 3.2.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Calligra Sheets (KSpread) Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-10-14 18:38 UTC by John Kizer
Modified: 2023-10-14 18:38 UTC (History)
0 users

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 John Kizer 2023-10-14 18:38:22 UTC
Application: calligrasheets (3.2.1)

Qt Version: 5.15.11
Frameworks Version: 5.110.0
Operating System: Linux 6.5.6-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.27.8 [KCrashBackend]

-- Information about the crash:
When trying to figure out differences between how Sheets and LibreOffice Calc needed formulas to be written, I used Ctrl-Z Undo to try to revert back from a formula that errored to the previous value that had worked. Within about five times of doing that, I was able to reproduce a crash each time.

The crash can be reproduced every time.

-- Backtrace:
Application: Calligra Sheets (calligrasheets), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f103ab6a0db in Calligra::Sheets::Value::type() const () from /lib64/libcalligrasheetsodf.so.17
#5  0x00007f103ab7a523 in Calligra::Sheets::ValueConverter::asString(Calligra::Sheets::Value const&) const () from /lib64/libcalligrasheetsodf.so.17
#6  0x00007f103ad5e298 in ?? () from /usr/lib64/qt5/plugins/calligrasheets/functions/kspreadtextmodule.so
#7  0x00007f103abac982 in Calligra::Sheets::Function::exec(QVector<Calligra::Sheets::Value>, Calligra::Sheets::ValueCalc*, Calligra::Sheets::FuncExtra*) () from /lib64/libcalligrasheetsodf.so.17
#8  0x00007f103ab1492b in Calligra::Sheets::Formula::evalRecursive(QHash<Calligra::Sheets::Cell, Calligra::Sheets::Cell>, QHash<Calligra::Sheets::Cell, Calligra::Sheets::Value>&) const () from /lib64/libcalligrasheetsodf.so.17
#9  0x00007f103ab150aa in Calligra::Sheets::Formula::eval(QHash<Calligra::Sheets::Cell, Calligra::Sheets::Cell>) const () from /lib64/libcalligrasheetsodf.so.17
#10 0x00007f103ab23e98 in Calligra::Sheets::RecalcManager::recalc(KoUpdater*) () from /lib64/libcalligrasheetsodf.so.17
#11 0x00007f103ab2436d in Calligra::Sheets::RecalcManager::regionChanged(Calligra::Sheets::Region const&) () from /lib64/libcalligrasheetsodf.so.17
#12 0x00007f103ab1e59d in Calligra::Sheets::Map::handleDamages(QList<Calligra::Sheets::Damage*> const&) () from /lib64/libcalligrasheetsodf.so.17
#13 0x00007f106df25373 in ?? () from /lib64/libQt5Core.so.5
#14 0x00007f103aa63152 in Calligra::Sheets::Map::damagesFlushed(QList<Calligra::Sheets::Damage*> const&) () from /lib64/libcalligrasheetsodf.so.17
#15 0x00007f103ab18248 in Calligra::Sheets::Map::flushDamages() () from /lib64/libcalligrasheetsodf.so.17
#16 0x00007f106df18ee0 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#17 0x00007f106e3a519e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#18 0x00007f106f073dd7 in KoApplication::notify(QObject*, QEvent*) () from /lib64/libkomain.so.17
#19 0x00007f106deed128 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#20 0x00007f106def0721 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#21 0x00007f106df46853 in ?? () from /lib64/libQt5Core.so.5
#22 0x00007f106b713ef0 in ?? () from /lib64/libglib-2.0.so.0
#23 0x00007f106b715b18 in ?? () from /lib64/libglib-2.0.so.0
#24 0x00007f106b7161cc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#25 0x00007f106df46066 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#26 0x00007f106deebbbb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#27 0x00007f106def4050 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#28 0x00007f106f105b9f in kdemain () from /lib64/libkdeinit5_calligrasheets.so
#29 0x00007f106ee281b0 in __libc_start_call_main () from /lib64/libc.so.6
#30 0x00007f106ee28279 in __libc_start_main_impl () from /lib64/libc.so.6
#31 0x000055ecde80d095 in ?? ()
[Inferior 1 (process 12248) detached]

Reported using DrKonqi