Bug 402119

Summary: Segmentation fault when opening formula editor
Product: [Applications] calligrawords Reporter: Jan Przybylak <jplx256>
Component: generalAssignee: Calligra Words Bugs <calligra-words-bugs-null>
Status: CONFIRMED ---    
Severity: crash CC: schwancarl
Priority: NOR    
Version: 3.1.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Video of Calligra Words crashing. Please ignore the graphic glitches, they are caused by the recording
Traceback

Description Jan Przybylak 2018-12-14 11:39:28 UTC
Created attachment 116916 [details]
Video of Calligra Words crashing. Please ignore the graphic glitches, they are caused by the recording

SUMMARY
Calligra Words reproducibly crashes due to a segmentaition fault when clicking the formular editor button. 

Output when running Calligra from the terminal:
`$ calligrawords
calligra.lib.pigment: Legacy integer arithmetics implementation
connect failed: Datei oder Verzeichnis nicht gefunden
kf5.kxmlgui: this does not work on a KActionCollection containing actions!
KoFontFamilyAction::setFont( "Sans Serif" )
        calling setCurrentAction()
KoFontFamilyAction::setFont( "Sans Serif" )
        calling setCurrentAction()
KoFontFamilyAction::createWidget()
        set= "Sans Serif"
        spit back= "Bitstream Vera Sans"
KoFontFamilyAction::setFont( "Sans Serif" )
        w= QFontComboBox(0x558b0042c940) cb= QFontComboBox(0x558b0042c940)
KoFontComboBox - slotFontChanged( "Bitstream Vera Sans" ) settingFont= 1
                w spit back= "Bitstream Vera Sans"
        calling setCurrentAction()
Speicherzugriffsfehler (Speicherabzug geschrieben)`
[Then it crashes]

Output of `dmesg`:
`[  293.775499] calligrawords[3642]: segfault at 20 ip 00007f07081ab950 sp 00007ffcc479b298 error 4 in calligra_shape_formula.so[7f07081aa000+1f000]`


STEPS TO REPRODUCE
1. Open Calligra Words
2. Click "formula editor"
3. See it crash

OBSERVED RESULT
Crash

EXPECTED RESULT
No crash

SOFTWARE/OS VERSIONS
OS: Manjaro Linux 
Kernel: 4.19.6-1-MANJARO
KDE Plasma Version: 5.14.4
KDE Frameworks Version: 5.52
Qt Version: 5.11.2
Comment 1 carl 2019-02-14 21:06:05 UTC
I can confirm this bug, is still happening with master.
Comment 2 Jan Przybylak 2019-07-25 16:02:55 UTC
Created attachment 121727 [details]
Traceback
Comment 3 Jan Przybylak 2019-07-25 16:03:51 UTC
In the meantime, I switches from Manjaro to Arch Linux, where this problem is also present.
Comment 4 Justin Zobel 2022-09-23 02:22:45 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 5 Jan Przybylak 2022-09-23 18:43:35 UTC
I just tried it again and it still happens.