Bug 502211

Summary: Ghostwriter produces a segfault when opening an arbitrary dialog twice in the same session
Product: [Applications] ghostwriter Reporter: seoisdead
Component: generalAssignee: megan.conkle
Status: RESOLVED DUPLICATE    
Severity: crash CC: john.kizer
Priority: NOR    
Version First Reported In: 24.12.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Ghostwriter GDB backtrace

Description seoisdead 2025-03-30 18:19:49 UTC
Created attachment 179874 [details]
Ghostwriter GDB backtrace

SUMMARY
Ghostwriter produces a segmentation fault after opening a context menu repeatedly.


STEPS TO REPRODUCE
1.  Run Ghostwriter, doesn't matter how
2.  Open the Settings > Preview Options... dialog once, close it and then reopen it
3. Watch in terror as Ghostwriter crashes and you lose >20 minutes of your work

OBSERVED RESULT
Ghostwriter has a segmentation fault after following the steps mentioned previously.


EXPECTED RESULT
Ghostwriter not crashing when trying to open the preview settings dialog more than one time per session.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Void
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2

ADDITIONAL INFORMATION
I researched whether this has been previously reported on the bugzilla, but did not find anything. If there is already a solution for this problem, please let me know. Thanks in advance :)
Comment 1 John Kizer 2025-04-10 17:26:01 UTC
Hi - merging this in with the existing bug report for this crash. Thanks!

*** This bug has been marked as a duplicate of bug 497744 ***