Bug 495674

Summary: inserting text /inline-text annotation make okular crash on macOS/arm64
Product: [Applications] okular Reporter: pinetree2100
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: crash CC: pinetree2100
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: crash report generated from macOS

Description pinetree2100 2024-11-01 07:09:55 UTC
SUMMARY

I found that inserting annotations using text or inline-text make crash in macOS arm64 on the latest version of okular:
okular-master-5440-macos-clang-arm64.dmg (downloaded from https://cdn.kde.org/ci-builds/graphics/okular/master/macos-arm64/).

STEPS TO REPRODUCE
1. download okular-master-5440-macos-clang-arm64.dmg (build time: 2024-11-01 00:05) from https://cdn.kde.org/ci-builds/graphics/okular/master/macos-arm64/
2. open any pdf document
3. try to insert text or inline-text note using default annotation tool
4. crash occurs

OBSERVED RESULT

immediate crash

EXPECTED RESULT

new inserted text annotation

SOFTWARE/OS VERSIONS
Windows: N/A
macOS: sonoma, 14.5
Linux/KDE Plasma: N/A
KDE Plasma Version: N/A
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0

ADDITIONAL INFORMATION
Thank you for maintanence and continous efforts.
Comment 1 pinetree2100 2024-11-01 07:11:34 UTC
Created attachment 175434 [details]
crash report generated from macOS
Comment 2 Bug Janitor Service 2024-11-03 22:35:23 UTC
A possibly relevant merge request was started @ https://invent.kde.org/packaging/craft-blueprints-kde/-/merge_requests/1028
Comment 3 Albert Astals Cid 2024-11-05 21:34:03 UTC
Git commit 788ad63c51302453be390bf1a9f55aa09f6d27ad by Albert Astals Cid.
Committed on 05/11/2024 at 21:33.
Pushed by aacid into branch 'master'.

Update fontconfig to latest release

M  +3    -4    libs/_unix/fontconfig/fontconfig.py

https://invent.kde.org/packaging/craft-blueprints-kde/-/commit/788ad63c51302453be390bf1a9f55aa09f6d27ad