https://bugs.kde.org/show_bug.cgi?id=524687
Bug ID: 524687
Summary: Crash (SIGSEGV) in Okular::Part::updateViewActions()
when embedded as KPart (e.g. in Kile)
Classification: Applications
Product: okular
Version First 26.08.0
Reported In:
Platform: CachyOS
OS: Linux
Status: REPORTED
Severity: crash
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
When embedding Okular Part in viewer mode (such as launching Kile with the
embedded document viewer enabled), the host process crashes immediately on
startup with a SIGSEGV.
STEPS TO REPRODUCE
1. Launch Kile with the embedded Okular viewer enabled.
2. Observe immediate crash on startup.
OBSERVED RESULT
Kile crashes with SIGSEGV (Address boundary error) during the initialization of
Okular::Part.
The stack trace shows that QAction::setEnabled(bool) is called inside
Okular::Part::updateViewActions() during construction.
EXPECTED RESULT
Okular Part should initialize cleanly without dereferencing null action
pointers in embedded ViewerWidgetMode.
SOFTWARE/OS VERSIONS
Linux: CachyOS / Arch Linux
Okular: 26.08.0
Qt: 6.x
BACKTRACE
Application: Kile (kile), signal: Segmentation fault
Stack trace:
#0 0x00007ff91c8c8aa8 _ZN7QAction10setEnabledEb (libQt6Gui.so.6 + 0x6c8aa8)
#1 0x00007ff9104d1ea6 _ZN6Okular4Part17updateViewActionsEv (okularpart.so +
0xd1ea6)
#2 0x00007ff9104cf869 _ZN6Okular4PartC1EP7QObjectRK5QListI8QVariantE
(okularpart.so + 0xcf869)
#3 0x00007ff9104ee317 n/a (okularpart.so + 0xee317)
#4 0x000056436150cee8 n/a (kile + 0x2adee8)
#5 0x00005643614693e7 n/a (kile + 0x20a3e7)
#6 0x00005643613239b3 n/a (kile + 0xc49b3)
#7 0x00007ff91b227d0e n/a (libc.so.6 + 0x27d0e)
#8 0x00007ff91b227e4b __libc_start_main (libc.so.6 + 0x27e4b)
#9 0x0000564361325b15 n/a (kile + 0xc6b15)
--
You are receiving this mail because:
You are watching all bug changes.