Bug 449729 - Crash when adding a new area
Summary: Crash when adding a new area
Status: RESOLVED FIXED
Alias: None
Product: calligrasheets
Classification: Applications
Component: general (show other bugs)
Version: 3.2.1
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Calligra Sheets (KSpread) Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-02-07 01:30 UTC by Bheesham Persaud
Modified: 2023-07-17 11:52 UTC (History)
1 user (show)

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


Attachments
Sheet I used to reproduce (4.71 KB, application/vnd.oasis.opendocument.spreadsheet)
2022-02-07 01:45 UTC, Bheesham Persaud
Details
New crash information added by DrKonqi (2.58 KB, text/plain)
2023-07-17 11:52 UTC, Vasco
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bheesham Persaud 2022-02-07 01:30:50 UTC
Application: calligrasheets (3.2.1)

Qt Version: 5.15.2
Frameworks Version: 5.90.0
Operating System: Linux 5.15.18-200.fc35.x86_64 x86_64
Windowing System: X11
Distribution: Fedora Linux 35 (KDE Plasma)
DrKonqi: 5.23.5 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:

* I inserted a new row
* I moved some cells around
* I tried to create a new area

I tried reproducing this issue but was unable to.

The crash does not seem to be reproducible.

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

[KCrash Handler]
#4  0x00007efdb877a0bc in Calligra::Sheets::StyleStorage::invalidateCache() () from /lib64/libcalligrasheetsodf.so.17
#5  0x00007efdb87497b2 in Calligra::Sheets::Map::handleDamages(QList<Calligra::Sheets::Damage*> const&) () from /lib64/libcalligrasheetsodf.so.17
#6  0x00007efdce55c430 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#7  0x00007efdb8689076 in Calligra::Sheets::Map::damagesFlushed(QList<Calligra::Sheets::Damage*> const&) () from /lib64/libcalligrasheetsodf.so.17
#8  0x00007efdb87431fc in Calligra::Sheets::Map::flushDamages() () from /lib64/libcalligrasheetsodf.so.17
#9  0x00007efdce552f49 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#10 0x00007efdce9bd443 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#11 0x00007efdcf2c4ddd in KoApplication::notify(QObject*, QEvent*) () from /lib64/libkomain.so.17
#12 0x00007efdce5287d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#13 0x00007efdce52bd46 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#14 0x00007efdce57a117 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#15 0x00007efdcbbe705f in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#16 0x00007efdcbc3c2a8 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#17 0x00007efdcbbe4853 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#18 0x00007efdce579bb8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#19 0x00007efdce5271e2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#20 0x00007efdce52f724 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#21 0x00007efdcf566d49 in kdemain () from /lib64/libkdeinit5_calligrasheets.so
#22 0x00007efdcf385560 in __libc_start_call_main () from /lib64/libc.so.6
#23 0x00007efdcf38560c in __libc_start_main_impl () from /lib64/libc.so.6
#24 0x00005649b825d0a5 in _start ()
[Inferior 1 (process 9576) detached]

The reporter indicates this bug may be a duplicate of or related to bug 448587.

Possible duplicates by query: bug 448587, bug 444926, bug 432652, bug 430007, bug 429540.

Reported using DrKonqi
Comment 1 Bheesham Persaud 2022-02-07 01:45:56 UTC
Created attachment 146374 [details]
Sheet I used to reproduce

Please excuse the bad accounting!

Steps to reproduce using the attached spreadsheet:

1. Insert a new row before row 7 or above
2. Create a new area
Comment 2 Tomas Mecir 2022-05-21 12:53:49 UTC
Git commit a43a05877689f7cdb7a3f1b36e05626027869d72 by Tomas Mecir.
Committed on 21/05/2022 at 12:52.
Pushed by mecir into branch 'master'.

Disable the style cache, it's causing more problems than it's worth.
Related: bug 368852, bug 391018, bug 448587

M  +41   -41   sheets/core/StyleStorage.cpp

https://invent.kde.org/office/calligra/commit/a43a05877689f7cdb7a3f1b36e05626027869d72
Comment 3 Vasco 2023-07-17 11:52:25 UTC
Created attachment 160328 [details]
New crash information added by DrKonqi

calligrasheets (3.2.1) using Qt 5.15.9

Crash when adding new a new row to thre spreadsheet.

-- Backtrace (Reduced):
#4  0x00007f3955d5edec in Calligra::Sheets::StyleStorage::invalidateCache() () from /lib64/libcalligrasheetsodf.so.17
#5  0x00007f3955d2d165 in Calligra::Sheets::Map::handleDamages(QList<Calligra::Sheets::Damage*> const&) () from /lib64/libcalligrasheetsodf.so.17
#6  0x00007f398b8d114f in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#7  0x00007f3955c6ff56 in Calligra::Sheets::Map::damagesFlushed(QList<Calligra::Sheets::Damage*> const&) () from /lib64/libcalligrasheetsodf.so.17
#8  0x00007f3955d2753c in Calligra::Sheets::Map::flushDamages() () from /lib64/libcalligrasheetsodf.so.17