Bug 468035

Summary: Crash when try to save a PDF document
Product: [Applications] okular Reporter: lenna1327_
Component: generalAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: crash CC: aacid, br3332295, GivenPurity
Priority: NOR    
Version First Reported In: 22.12.3   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Crash backtrace that macOS reports.
Crash report from macOS 13.3.1/homebrew/impossible to save anything

Description lenna1327_ 2023-04-01 14:08:30 UTC
Created attachment 157767 [details]
Crash backtrace that macOS reports.

When I try to save a PDF document, Okular crashes with SIGBUS signal. The issue is on both 22.12.3 and 23.07.70 nightly build.

STEPS TO REPRODUCE
1. Open Okular, open a PDF document
2. Make modifications and try to save it, or try to save it as a different file without any modifications
3. It always crashes.

OBSERVED RESULT
Crashes when trying to save

EXPECTED RESULT
Document getting saved as expected.

SOFTWARE/OS VERSIONS
macOS: 10.15.7
KDE Frameworks Version: 5.104
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Backtrace that macOS reports is attached.
Comment 1 br3332295 2023-05-20 12:12:21 UTC
Created attachment 159131 [details]
Crash report from macOS 13.3.1/homebrew/impossible to save anything
Comment 2 Albert Astals Cid 2023-05-23 20:52:14 UTC
I don't think any of the devs has a mac machine available so this is not going to be fixed "very fast".