https://bugs.kde.org/show_bug.cgi?id=498932
Bug ID: 498932 Summary: Okular crashes on attempting to type into a pdf form's field Classification: Applications Product: okular Version: 22.12.3 Platform: Other OS: Linux Status: REPORTED Keywords: drkonqi Severity: crash Priority: NOR Component: general Assignee: okular-devel@kde.org Reporter: bloomu.p...@gmail.com Target Milestone: --- Application: okular (22.12.3) Qt Version: 5.15.8 Frameworks Version: 5.103.0 Operating System: Linux 6.1.0-30-amd64 x86_64 Windowing System: X11 Distribution: Devuan GNU/Linux 5 (daedalus) DrKonqi: 5.27.5 [KCrashBackend] -- Information about the crash: PDF form received as an attachment via email, partially filled in by the sender (probably on a Windows system). Saved to the "/tmp" directory. My system is Devuan 5.0.1 on a ThinkPad p16v, recently reinstalled (for unrelated reasons). Okular installed by "sudo apt install okular". Okular is started from command line. Okular window offers a "show form" button. When I click on the button the fillable fields appear. I can select a field and place the cursor in it. Okular crashes imediately when I attempt to begin typing into the field. Command-line output, collected after the crash: #---- %>< --------------------- [507] okular 2024-08/01.Private/BloomU/Commonwealth\ Prior\ Approval\ Form.pdf KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = okular path = /usr/bin pid = 27577 KCrash: Arguments: /usr/bin/okular 2024-08/01.Private/BloomU/Commonwealth Prior Approval Form.pdf KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi [1]+ Stopped okular 2024-08/01.Private/BloomU/Commonwealth\ Prior\ Approval\ Form.pdf 2025-01-20, 14:00 bobmon@whiteknight:~ [508] file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ContextDrawer.qml:132:9: QML ListView: Binding loop detected for property "topMargin" Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes. kf.sonnet.clients.hspell: HSpellDict::HSpellDict: Init failed file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/PromptDialog.qml:115:22: QML SelectableLabel: Binding loop detected for property "implicitWidth" qml: 1 qml: 2 qml: state qml: 1 qml: usefulness qml: 1 qml: 4 QSocketNotifier: Invalid socket 8 and type 'Read', disabling... QSocketNotifier: Invalid socket 14 and type 'Read', disabling... QSocketNotifier: Invalid socket 15 and type 'Read', disabling... 29 ../sysdeps/unix/sysv/linux/poll.c: No such file or directory. /tmp/drkonqi.zlfeXV:2: Error in sourced command file: /usr/share/drkonqi/gdb/preamble.py:4: Error in sourced command file: Undefined command: "from". Try "help". qml: 2 qml: 2 qml: state qml: 2 qml: usefulness qml: 2 qml: 4 qml: trace changed file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/templates/InlineMessage.qml:257:13: QML SelectableLabel: Binding loop detected for property "implicitWidth" Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations. Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations. qrc:/ui/LoginPage.qml:104: TypeError: Property 'length' of object is not a function qrc:/ui/LoginPage.qml:52:13: Unable to assign PageRow_QMLTYPE_22 to QWindow file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ScrollablePage.qml:200:9: QML MouseArea: Binding loop detected for property "implicitHeight" file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ScrollablePage.qml:200:9: QML MouseArea: Binding loop detected for property "implicitHeight" qrc:/ui/LoginPage.qml:104: TypeError: Property 'length' of object b is not a function qrc:/ui/LoginPage.qml:104: TypeError: Property 'length' of object bl is not a function qrc:/ui/LoginPage.qml:104: TypeError: Type error qrc:/ui/LoginPage.qml:104: TypeError: Type error qrc:/ui/LoginPage.qml:104: TypeError: Type error qrc:/ui/LoginPage.qml:104: TypeError: Type error qrc:/ui/LoginPage.qml:104: TypeError: Type error qrc:/ui/LoginPage.qml:104: TypeError: Type error qrc:/ui/LoginPage.qml:104: TypeError: Type error qrc:/ui/LoginPage.qml:104: TypeError: Type error qrc:/ui/LoginPage.qml:104: TypeError: Type error qrc:/ui/LoginPage.qml:104: TypeError: Type error qrc:/ui/LoginPage.qml:104: TypeError: Type error qrc:/ui/LoginPage.qml:104: TypeError: Type error qrc:/ui/LoginPage.qml:104: TypeError: Type error qrc:/ui/LoginPage.qml:104: TypeError: Type error qrc:/ui/LoginPage.qml:104: TypeError: Type error qrc:/ui/LoginPage.qml:104: TypeError: Type error qrc:/ui/LoginPage.qml:104: TypeError: Type error qrc:/ui/LoginPage.qml:104: TypeError: Type error qrc:/ui/LoginPage.qml:104: TypeError: Type error qml: logged in true qml: logged in changed qrc:/ui/DuplicatesLoadingPage.qml:32:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } search finished 7 ANALYZE 0 0 file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/PromptDialog.qml:115:22: QML SelectableLabel: Binding loop detected for property "implicitWidth" qrc:/ui/DuplicatesPage.qml:72:21: QML Action: Accessible must be attached to an Item qrc:/ui/DuplicatesPage.qml:92:21: QML Action: Accessible must be attached to an Item qrc:/ui/DuplicatesPage.qml:107:21: QML Action: Accessible must be attached to an Item qrc:/ui/DuplicatesPage.qml:72:21: QML Action: Accessible must be attached to an Item qrc:/ui/DuplicatesPage.qml:92:21: QML Action: Accessible must be attached to an Item qrc:/ui/DuplicatesPage.qml:107:21: QML Action: Accessible must be attached to an Item qrc:/ui/DuplicatesPage.qml:72:21: QML Action: Accessible must be attached to an Item qrc:/ui/DuplicatesPage.qml:92:21: QML Action: Accessible must be attached to an Item qrc:/ui/DuplicatesPage.qml:107:21: QML Action: Accessible must be attached to an Item qrc:/ui/DuplicatesPage.qml:72:21: QML Action: Accessible must be attached to an Item qrc:/ui/DuplicatesPage.qml:92:21: QML Action: Accessible must be attached to an Item qrc:/ui/DuplicatesPage.qml:107:21: QML Action: Accessible must be attached to an Item qrc:/ui/DuplicatesPage.qml:72:21: QML Action: Accessible must be attached to an Item qrc:/ui/DuplicatesPage.qml:92:21: QML Action: Accessible must be attached to an Item qrc:/ui/DuplicatesPage.qml:107:21: QML Action: Accessible must be attached to an Item qrc:/ui/DuplicatesPage.qml:72:21: QML Action: Accessible must be attached to an Item qrc:/ui/DuplicatesPage.qml:92:21: QML Action: Accessible must be attached to an Item qrc:/ui/DuplicatesPage.qml:107:21: QML Action: Accessible must be attached to an Item qrc:/ui/DuplicatesPage.qml:72:21: QML Action: Accessible must be attached to an Item qrc:/ui/DuplicatesPage.qml:92:21: QML Action: Accessible must be attached to an Item qrc:/ui/DuplicatesPage.qml:107:21: QML Action: Accessible must be attached to an Item qrc:/ui/DuplicatesPage.qml:43:13: QML PromptDialog: Binding loop detected for property "implicitHeight" qml: Rejected #---- %>< --------------------- The crash can be reproduced every time. -- Backtrace: Application: Okular (okular), signal: Segmentation fault [KCrash Handler] #4 0x00007f0825d6109c in GfxResources::doLookupFont(char const*) const () from /usr/lib/x86_64-linux-gnu/libpoppler.so.126 #5 0x00007f0825d611ad in GfxResources::lookupFont(char const*) () from /usr/lib/x86_64-linux-gnu/libpoppler.so.126 #6 0x00007f0825d46f28 in Form::ensureFontsForAllCharacters(GooString const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, GfxResources*) () from /usr/lib/x86_64-linux-gnu/libpoppler.so.126 #7 0x00007f0825d47576 in ?? () from /usr/lib/x86_64-linux-gnu/libpoppler.so.126 #8 0x00007f08301d7de7 in Poppler::FormFieldText::setText(QString const&) () from /usr/lib/x86_64-linux-gnu/libpoppler-qt5.so.1 #9 0x00007f0887776664 in ?? () from /usr/lib/x86_64-linux-gnu/libOkular5Core.so.10 #10 0x00007f0894302645 in QUndoStack::push(QUndoCommand*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #11 0x00007f0884323d8a in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/okularpart.so #12 0x00007f08932e8f8f in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #13 0x00007f0884295496 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/okularpart.so #14 0x00007f088431b4ea in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/okularpart.so #15 0x00007f08932e8f8f in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #16 0x00007f08940a8cb5 in QLineEdit::textEdited(QString const&) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #17 0x00007f08940a63c4 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #18 0x00007f08932e8fbc in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #19 0x00007f08940b0345 in QWidgetLineControl::textEdited(QString const&) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #20 0x00007f08940b3a2b in QWidgetLineControl::finishChange(int, bool, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #21 0x00007f08940b6654 in QWidgetLineControl::processKeyEvent(QKeyEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #22 0x00007f08940a8e3f in QLineEdit::keyPressEvent(QKeyEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #23 0x00007f0893fa5bba in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #24 0x00007f0893f62fae in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #25 0x00007f0893f6aed7 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #26 0x00007f08932b1738 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #27 0x00007f0893fc0fa2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #28 0x00007f0893f62fae in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #29 0x00007f08932b1738 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #30 0x00007f0893739169 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #31 0x00007f088d2e9063 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so #32 0x00007f08932e8f8f in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #33 0x00007f089452003f in QDBusPendingCallWatcher::finished(QDBusPendingCallWatcher*) () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 #34 0x00007f08932dd730 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #35 0x00007f0893f62fae in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #36 0x00007f08932b1738 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #37 0x00007f08932b46c1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #38 0x00007f089330a193 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #39 0x00007f089191e7a9 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #40 0x00007f089191ea38 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #41 0x00007f089191eacc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #42 0x00007f0893309876 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #43 0x00007f08932b01bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #44 0x00007f08932b8316 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #45 0x000055c23a3ac215 in ?? () #46 0x00007f0892e4624a in __libc_start_call_main (main=main@entry=0x55c23a3aba50, argc=argc@entry=2, argv=argv@entry=0x7ffce26373c8) at ../sysdeps/nptl/libc_start_call_main.h:58 #47 0x00007f0892e46305 in __libc_start_main_impl (main=0x55c23a3aba50, argc=2, argv=0x7ffce26373c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffce26373b8) at ../csu/libc-start.c:360 #48 0x000055c23a3ad1f1 in ?? () [Inferior 1 (process 27577) detached] Reported using DrKonqi -- You are receiving this mail because: You are the assignee for the bug.