https://bugs.kde.org/show_bug.cgi?id=477413

            Bug ID: 477413
           Summary: Ghostwriter core dump if qt5-qtpbfimageformat is
                    installed
    Classification: Applications
           Product: ghostwriter
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: grave
          Priority: NOR
         Component: general
          Assignee: megan.con...@kdemail.net
          Reporter: t...@posteo.de
  Target Milestone: ---

Created attachment 163391
  --> https://bugs.kde.org/attachment.cgi?id=163391&action=edit
gdb /usr/bin/ghostwriter 2>&1 | tee ~/ghostwriter.log

SUMMARY
Ghostwriter won't start / immediately crashes if qt5-qtpbfimageformat is
installed since it needs to construct a QGuiApplication before accessing
QFontDatabase

For discussion of the cause see:
https://github.com/tumic0/QtPBFImagePlugin/issues/7

Reference to the bug report in Fedora which blames ghostwriter:
https://bugzilla.redhat.com/show_bug.cgi?id=2225531

Version-Release number of selected component (if applicable):
ghostwriter 23.08.01
qt5-qtpbfimageformat-2.3-9

How reproducible:
Reliably

STEPS TO REPRODUCE
1. Install qt5-qtpbfimageformat-2.3-9
2. Install ghostwriter 23.08.01
3. Start ghostwriter
(using Fedora 38 - fc38.x86_64  )

OBSERVED RESULT
Terminal output:
"""
QFontDatabase: Must construct a QGuiApplication before accessing QFontDatabase
Aborted (core dumped)
"""

EXPECTED RESULT
Ghostwriter starts as intended.

Additional info:
Uninstalling qt5-qtpbfimageformat fixes the issue
This issue has been discussed before upstream:
https://github.com/tumic0/QtPBFImagePlugin/issues/7
Attached is the output of gdb /usr/bin/ghostwriter 2>&1 | tee ~/ghostwriter.log



1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to