Bug 2228593

Summary: [abrt] okular: GfxResources::doLookupFont(): okular killed by SIGSEGV
Product: [Fedora] Fedora Reporter: xspielinbox+redhat
Component: okularAssignee: Than Ngo <than>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: jreznik, kde-sig, rdieter, than, xspielinbox+redhat
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/a8057b76d734ff2aff11d6ff8cd9fc95e0eba1c
Whiteboard: abrt_hash:7d18ee1eac9df59077c5abb212ef4dedfacc15fd;VARIANT_ID=workstation;
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-28 13:39:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: proc_pid_status
none
File: limits
none
File: mountinfo
none
File: os_info
none
File: cpuinfo
none
File: core_backtrace
none
File: exploitable
none
File: dso_list
none
File: var_log_messages
none
File: backtrace
none
File: open_fds
none
File: maps
none
File: environ none

Description xspielinbox+redhat 2023-08-02 19:20:15 UTC
Description of problem:
I tried to fill out an PDF-form and whenever I leave a field, okular crashes.
It interstingly is only reproducable with this one PDF, but with this one everytime.
Regardless, whether one switches the field with TAB, clicks somewhere else, the field has a default value or not.

I downloaded it from here:
https://wiki.tum.de/download/attachments/239108496/Arbeitszeitdokumentation_MiLoG_080415.pdf?version=2&modificationDate=1613639440963&api=v2

Evince has the same issue, see: https://bugzilla.redhat.com/show_bug.cgi?id=2228384

So this must be some error in a common logic or dependency.

Version-Release number of selected component:
okular-23.04.3-2.fc38

Additional info:
reporter:       libreport-2.17.11
type:           CCpp
reason:         okular killed by SIGSEGV
journald_cursor: s=9a7a550263b44ce2aae567ae74362384;i=238ef9;b=227ff983b5e443ea9b73d8e89787bd4f;m=83d885e12;t=601f47183b8fe;x=78fb1d7f46532953
executable:     /usr/bin/okular
cmdline:        /usr/bin/okular
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-org.gnome.Software-4590.scope
rootdir:        /
uid:            1000
kernel:         6.4.6-200.fc38.x86_64
package:        okular-23.04.3-2.fc38
runlevel:       N 5
backtrace_rating: 4
crash_function: GfxResources::doLookupFont

Truncated backtrace:
Thread no. 1 (56 frames)
 #0 GfxResources::doLookupFont at /usr/src/debug/poppler-23.02.0-1.fc38.x86_64/poppler/Gfx.cc:301
 #1 GfxResources::lookupFont at /usr/src/debug/poppler-23.02.0-1.fc38.x86_64/poppler/Gfx.cc:313
 #2 Form::ensureFontsForAllCharacters at /usr/src/debug/poppler-23.02.0-1.fc38.x86_64/poppler/Form.cc:2966
 #3 FormFieldText::setContentCopy at /usr/src/debug/poppler-23.02.0-1.fc38.x86_64/poppler/Form.cc:1684
 #4 Poppler::FormFieldText::setText at /usr/src/debug/poppler-23.02.0-1.fc38.x86_64/qt5/src/poppler-form.cc:424
 #5 Okular::EditFormTextCommand::redo at /usr/src/debug/okular-23.04.3-2.fc38.x86_64/core/documentcommands.cpp:459
 #6 QUndoStack::push at util/qundostack.cpp:639
 #7 QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1, 2, 3, 4, 5>, QtPrivate::List<int, Okular::FormFieldText*, QString const&, int, int, int>, void, void (Okular::Document::*)(int, Okular::FormFieldText*, QString const&, int, int, int)>::call at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152
 #8 QtPrivate::FunctionPointer<void (Okular::Document::*)(int, Okular::FormFieldText*, QString const&, int, int, int)>::call<QtPrivate::List<int, Okular::FormFieldText*, QString const&, int, int, int>, void> at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185
 #9 QtPrivate::QSlotObject<void (Okular::Document::*)(int, Okular::FormFieldText*, QString const&, int, int, int), QtPrivate::List<int, Okular::FormFieldText*, QString const&, int, int, int>, void>::impl at /usr/include/qt5/QtCore/qobjectdefs_impl.h:418
 #10 QtPrivate::QSlotObjectBase::call at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
 #11 doActivate<false> at kernel/qobject.cpp:3925
 #12 QMetaObject::activate at kernel/qobject.cpp:3985
 #13 FormWidgetsController::formTextChangedByWidget at /usr/src/debug/okular-23.04.3-2.fc38.x86_64/redhat-linux-build/okularpart_autogen/EAH7DXM7NH/moc_formwidgets.cpp:397
 #14 FormLineEdit::slotChanged at /usr/src/debug/okular-23.04.3-2.fc38.x86_64/part/formwidgets.cpp:571
 #15 QtPrivate::QSlotObjectBase::call at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
 #16 doActivate<false> at kernel/qobject.cpp:3925
 #17 QMetaObject::activate at kernel/qobject.cpp:3985
 #18 QLineEdit::textEdited at .moc/moc_qlineedit.cpp:454
 #19 QLineEditPrivate::_q_textEdited at widgets/qlineedit_p.cpp:132
 #20 doActivate<false> at kernel/qobject.cpp:3937
 #21 QMetaObject::activate at kernel/qobject.cpp:3985
 #22 QWidgetLineControl::textEdited at .moc/moc_qwidgetlinecontrol_p.cpp:280
 #23 QWidgetLineControl::finishChange at widgets/qwidgetlinecontrol.cpp:735
 #24 QWidgetLineControl::backspace at widgets/qwidgetlinecontrol.cpp:232
 #25 QWidgetLineControl::processKeyEvent at widgets/qwidgetlinecontrol.cpp:1904
 #26 QLineEdit::keyPressEvent at widgets/qlineedit.cpp:1793
 #27 QWidget::event at kernel/qwidget.cpp:8704
 #28 QApplicationPrivate::notify_helper at kernel/qapplication.cpp:3640
 #29 QApplication::notify at kernel/qapplication.cpp:3002
 #30 QCoreApplication::notifyInternal2 at kernel/qcoreapplication.cpp:1064
 #31 QCoreApplication::forwardEvent at kernel/qcoreapplication.cpp:1079
 #32 QWidgetWindow::event at kernel/qwidgetwindow.cpp:293
 #33 QApplicationPrivate::notify_helper at kernel/qapplication.cpp:3640
 #34 QCoreApplication::notifyInternal2 at kernel/qcoreapplication.cpp:1064
 #35 QCoreApplication::sendSpontaneousEvent at kernel/qcoreapplication.cpp:1474
 #36 QGuiApplicationPrivate::processKeyEvent at kernel/qguiapplication.cpp:2410
 #37 QIBusPlatformInputContext::filterEventFinished at qibusplatforminputcontext.cpp:538
 #38 QtPrivate::QSlotObjectBase::call at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
 #39 doActivate<false> at kernel/qobject.cpp:3925
 #40 QMetaObject::activate at kernel/qobject.cpp:3985
 #41 QDBusPendingCallWatcher::finished at .moc/moc_qdbuspendingcall.cpp:158
 #42 QObject::event at kernel/qobject.cpp:1347
 #43 QApplicationPrivate::notify_helper at kernel/qapplication.cpp:3640
 #44 QCoreApplication::notifyInternal2 at kernel/qcoreapplication.cpp:1064
 #45 QCoreApplication::sendEvent at kernel/qcoreapplication.cpp:1462
 #46 QCoreApplicationPrivate::sendPostedEvents at kernel/qcoreapplication.cpp:1821
 #47 QCoreApplication::sendPostedEvents at kernel/qcoreapplication.cpp:1680
 #48 postEventSourceDispatch at kernel/qeventdispatcher_glib.cpp:277
 #51 g_main_context_iterate.isra.0 at ../glib/gmain.c:4276
 #52 g_main_context_iteration at ../glib/gmain.c:4343
 #53 QEventDispatcherGlib::processEvents at kernel/qeventdispatcher_glib.cpp:423
 #54 QEventLoop::exec at ../../include/QtCore/../../src/corelib/global/qflags.h:69
 #55 QCoreApplication::exec at ../../include/QtCore/../../src/corelib/global/qflags.h:121
 #56 QGuiApplication::exec at kernel/qguiapplication.cpp:1863
 #57 QApplication::exec at kernel/qapplication.cpp:2832

Comment 1 xspielinbox+redhat 2023-08-02 19:20:18 UTC
Created attachment 1981344 [details]
File: proc_pid_status

Comment 2 xspielinbox+redhat 2023-08-02 19:20:20 UTC
Created attachment 1981345 [details]
File: limits

Comment 3 xspielinbox+redhat 2023-08-02 19:20:21 UTC
Created attachment 1981346 [details]
File: mountinfo

Comment 4 xspielinbox+redhat 2023-08-02 19:20:23 UTC
Created attachment 1981347 [details]
File: os_info

Comment 5 xspielinbox+redhat 2023-08-02 19:20:24 UTC
Created attachment 1981348 [details]
File: cpuinfo

Comment 6 xspielinbox+redhat 2023-08-02 19:20:26 UTC
Created attachment 1981349 [details]
File: core_backtrace

Comment 7 xspielinbox+redhat 2023-08-02 19:20:27 UTC
Created attachment 1981350 [details]
File: exploitable

Comment 8 xspielinbox+redhat 2023-08-02 19:20:29 UTC
Created attachment 1981351 [details]
File: dso_list

Comment 9 xspielinbox+redhat 2023-08-02 19:20:30 UTC
Created attachment 1981352 [details]
File: var_log_messages

Comment 10 xspielinbox+redhat 2023-08-02 19:20:31 UTC
Created attachment 1981353 [details]
File: backtrace

Comment 11 xspielinbox+redhat 2023-08-02 19:20:33 UTC
Created attachment 1981354 [details]
File: open_fds

Comment 12 xspielinbox+redhat 2023-08-02 19:20:34 UTC
Created attachment 1981355 [details]
File: maps

Comment 13 xspielinbox+redhat 2023-08-02 19:20:35 UTC
Created attachment 1981356 [details]
File: environ

Comment 14 Aoife Moloney 2024-05-28 13:39:43 UTC
Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21.

Fedora Linux 38 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.