Bug 481758 - app-office/calligra-3.2.1-r8: segfault at 56177c5d0116 ip 00007f326d174fbc sp 00007fff91dd3ae0 error 4 in libcalligrasheetsodf.so.17.0.0[7f326d061000+1a8000]
Summary: app-office/calligra-3.2.1-r8: segfault at 56177c5d0116 ip 00007f326d174fbc sp...
Status: REPORTED
Alias: None
Product: calligrasheets
Classification: Applications
Component: opendocument (other bugs)
Version First Reported In: 3.2.1
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Calligra Sheets (KSpread) Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-24 11:16 UTC by Alexey Dobriyan
Modified: 2024-02-24 11:24 UTC (History)
0 users

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


Attachments
segfaulting ODS spreadsheet (14.54 KB, application/octet-stream)
2024-02-24 11:16 UTC, Alexey Dobriyan
Details
bt full (segfault #1) (15.24 KB, text/plain)
2024-02-24 11:20 UTC, Alexey Dobriyan
Details
bt full (segfault #2) (22.81 KB, text/plain)
2024-02-24 11:23 UTC, Alexey Dobriyan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Dobriyan 2024-02-24 11:16:12 UTC
Created attachment 166055 [details]
segfaulting ODS spreadsheet

SUMMARY
random segfault (not 100% reproducible) while typing in cells and marking text dark green.

STEPS TO REPRODUCE
1. load attached ODS file
2. select A-F columns, on any line
3. make text green (Format/Font/Color, ...)
4. type something in E column, move to F column and type something else

OBSERVED RESULT
at least 2 different segfaults

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: gentoo (-march=native -O2, nothing crazy)
KDE Plasma Version: 5.27.10

ADDITIONAL INFORMATION
Comment 1 Alexey Dobriyan 2024-02-24 11:20:11 UTC
coredump 1

This is <Calligra::Sheets::StyleStorage::invalidateCache()+108>

calligrasheets[5175]: segfault at 56177c5d0116 ip 00007f326d174fbc sp 00007fff91dd3ae0 error 4 in libcalligrasheetsodf.so.17.0.0[7f326d061000+1a8000] likely on CPU 13 (core 13, socket 0)
Code: 41 5c 41 5d c3 66 0f 1f 84 00 00 00 00 00 48 8b 43 58 48 89 fd 48 85 c0 74 24 0f 1f 40 00 48 8b 78 08 48 85 ff 74 0a 48 8b 07 <ff> 50 08 48 8b 43 58 48 8b 40 20 48 89 43 58 48 85 c0 75 e0 4c 8b

see bt-full-001.log
Comment 2 Alexey Dobriyan 2024-02-24 11:20:39 UTC
Created attachment 166056 [details]
bt full (segfault #1)
Comment 3 Alexey Dobriyan 2024-02-24 11:23:48 UTC
Created attachment 166057 [details]
bt full (segfault #2)
Comment 4 Alexey Dobriyan 2024-02-24 11:24:20 UTC
coredump #2

this is <QCache<QPoint, Calligra::Sheets::Style>::unlink(QCache<QPoint, Calligra::Sheets::Style>::Node&)+108>

calligrasheets[11781]: segfault at 55f493375191 ip 00007f6bc4f81acc sp 00007fffb2edd9b0 error 4 in libcalligrasheetsodf.so.17.0.0[7f6bc4e61000+1a8000] likely on CPU 14 (core 14, socket 0)
Code: 4d 8b 5e 10 8b 46 10 4c 8b 6e 08 41 29 46 1c 48 8b 1e 41 8b 53 14 85 d2 75 24 4d 85 ed 0f 84 2b 01 00 00 49 8b 45 00 4c 89 ef <48> 8b 40 08 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e 41 5f ff e0 41 8b
Comment 5 Alexey Dobriyan 2024-02-24 11:24:53 UTC
Each core is ~300 MiB.