Bug 445883 - Okular crashes when trying to save a documents on a CIFS-backed mount
Summary: Okular crashes when trying to save a documents on a CIFS-backed mount
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 21.11.80
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-21 23:19 UTC by Lars Veldscholte
Modified: 2021-12-22 04:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Veldscholte 2021-11-21 23:19:29 UTC
SUMMARY
When I edit and try to save a document on a SMB share mounted locally in /mnt/ using the CIFS driver, Okular crashes.

The document does end up being saved, but with `.part` added to its filename. The document appears intact when removing the `.part` suffix from its filename and opening it again.

STEPS TO REPRODUCE
1. Open a document from a CIFS-backed mount.
2. Edit it.
3. Try to save it.

OBSERVED RESULT
Okular crashes and the file is saved with `.part` appended to its filename.

EXPECTED RESULT
The file is saved as normal.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Kernel Version: 5.15.2-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 15,5 GiB of RAM
Graphics Processor: AMD Radeon RX 480 Graphics

ADDITIONAL INFORMATION
Backtrace:

#0  0x00007f20c5497d22 in raise () from /usr/lib/libc.so.6
#1  0x00007f20c70563e0 in KCrash::defaultCrashHandler(int) () from /usr/lib/libKF5Crash.so.5
#2  <signal handler called>
#3  0x00007f208cda5a7a in FormWidgetText::getContent() const () from /usr/lib/libpoppler.so.115
#4  0x00007f20bc17cb65 in Poppler::FormFieldText::text() const () from /usr/lib/libpoppler-qt5.so.1
#5  0x00007f20bd940603 in ?? () from /usr/lib/qt/plugins/okular/generators/okularGenerator_poppler.so
#6  0x00007f20be4b7322 in ?? () from /usr/lib/qt/plugins/okularpart.so
#7  0x00007f20c5b2d7ab in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007f20c5b2d7e0 in ?? () from /usr/lib/libQt5Core.so.5
#9  0x00007f20c686481b in QWidgetTextControl::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQt5Widgets.so.5
#10 0x00007f20c5b2d4f7 in ?? () from /usr/lib/libQt5Core.so.5
#11 0x00007f20c6094c9e in QTextDocumentPrivate::finishEdit() () from /usr/lib/libQt5Gui.so.5
#12 0x00007f20c6861d06 in ?? () from /usr/lib/libQt5Widgets.so.5
#13 0x00007f20c6857d1c in QWidgetTextControl::processEvent(QEvent*, QPointF const&, QWidget*) () from /usr/lib/libQt5Widgets.so.5
#14 0x00007f20c683718d in QTextEdit::inputMethodEvent(QInputMethodEvent*) () from /usr/lib/libQt5Widgets.so.5
#15 0x00007f20c66a00be in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#16 0x00007f20c674f94f in QFrame::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#17 0x00007f20c665cd62 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#18 0x00007f20c5af63fa in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#19 0x00007f20c3947f34 in ?? () from /usr/lib/libQt5WaylandClient.so.5
#20 0x00007f20c66bcf8f in ?? () from /usr/lib/libQt5Widgets.so.5
#21 0x00007f20c665cd62 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#22 0x00007f20c5af63fa in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#23 0x00007f20c5f5c4fe in QGuiApplicationPrivate::processActivatedEvent(QWindowSystemInterfacePrivate::ActivatedWindowEvent*) () from /usr/lib/libQt5Gui.so.5
#24 0x00007f20c5f357d5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#25 0x00007f20c39691e1 in ?? () from /usr/lib/libQt5WaylandClient.so.5
#26 0x00007f20c40734dc in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#27 0x00007f20c40c7799 in ?? () from /usr/lib/libglib-2.0.so.0
#28 0x00007f20c4070bc1 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#29 0x00007f20c5b4f026 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#30 0x00007f20c5af4d6c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#31 0x00007f20c68713de in QDialog::exec() () from /usr/lib/libQt5Widgets.so.5
#32 0x00007f20c6dbb040 in KMessageBox::createKMessageBox(QDialog*, QDialogButtonBox*, QIcon const&, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&, QMessageBox::Icon) () from /usr/lib/libKF5WidgetsAddons.so.5
#33 0x00007f20c6dbb631 in KMessageBox::createKMessageBox(QDialog*, QDialogButtonBox*, QMessageBox::Icon, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&) () from /usr/lib/libKF5WidgetsAddons.so.5
#34 0x00007f20c6dbf8c8 in ?? () from /usr/lib/libKF5WidgetsAddons.so.5
#35 0x00007f20c6dc0050 in KMessageBox::error(QWidget*, QString const&, QString const&, QFlags<KMessageBox::Option>) () from /usr/lib/libKF5WidgetsAddons.so.5
#36 0x00007f20be469613 in Okular::Part::openUrl(QUrl const&, bool) () from /usr/lib/qt/plugins/okularpart.so
#37 0x00007f20be47cf52 in Okular::Part::saveAs(QUrl const&, QFlags<Okular::Part::SaveAsFlag>) () from /usr/lib/qt/plugins/okularpart.so
#38 0x00007f20be47e046 in Okular::Part::saveFile() () from /usr/lib/qt/plugins/okularpart.so
#39 0x00007f20c5b2d7ab in ?? () from /usr/lib/libQt5Core.so.5
#40 0x00007f20c6656203 in QAction::triggered(bool) () from /usr/lib/libQt5Widgets.so.5
#41 0x00007f20c6658f18 in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQt5Widgets.so.5
#42 0x00007f20c67e6103 in ?? () from /usr/lib/libQt5Widgets.so.5
#43 0x00007f20c67ede39 in ?? () from /usr/lib/libQt5Widgets.so.5
#44 0x00007f20c66a00be in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#45 0x00007f20c665cd62 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#46 0x00007f20c6664ac9 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#47 0x00007f20c5af63fa in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#48 0x00007f20c666357b in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /usr/lib/libQt5Widgets.so.5
#49 0x00007f20c66ba593 in ?? () from /usr/lib/libQt5Widgets.so.5
#50 0x00007f20c66bcdb5 in ?? () from /usr/lib/libQt5Widgets.so.5
#51 0x00007f20c665cd62 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#52 0x00007f20c5af63fa in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#53 0x00007f20c5f601f0 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/libQt5Gui.so.5
#54 0x00007f20c5f357d5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#55 0x00007f20c39691e1 in ?? () from /usr/lib/libQt5WaylandClient.so.5
#56 0x00007f20c40734dc in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#57 0x00007f20c40c7799 in ?? () from /usr/lib/libglib-2.0.so.0
#58 0x00007f20c4070bc1 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
Comment 1 Albert Astals Cid 2021-11-22 10:25:36 UTC
The crash backtrace is a bit weird.

Some questions:
 * Can you confirm this crash does not happen when saving somewhere else?
 * Does this happen with any file or one in specific?
 * Do you get an error dialog?
 * Does running from the terminal give any warning or error message written to it?
 * Can you run "valgrind okular myfile.pdf" and make what you do to make it crash and attach the output?
Comment 2 Lars Veldscholte 2021-11-22 12:53:04 UTC
(In reply to Albert Astals Cid from comment #1)
> The crash backtrace is a bit weird.
That's probably because I'm running Arch and therefore don't have any debug symbols, sorry about that.
> Some questions:
>  * Can you confirm this crash does not happen when saving somewhere else?
Yes, I've only observed this for files saved on that CIFS mount. It does not happen on my local EXT4 file system, as far as I can tell.
>  * Does this happen with any file or one in specific?
Happens with any file.
>  * Do you get an error dialog?
After looking carefully, I think a dialog appears but the application crashes immediately after so I don't have time to read it.
>  * Does running from the terminal give any warning or error message written
> to it?
Yes, it does:
```
kf.kio.slaves.file: copy() QUrl("file:///tmp/okular.Lckzee") to QUrl("file:///mnt/Data3/test.pdf") mode= -1
kf.kio.slaves.file: the file doesn't have any xattr
kf.kio.slaves.file: Couldn't rename "/mnt/Data3/test.pdf.part" to "/mnt/Data3/test.pdf" ( Permission denied )
20 -- exe=/usr/bin/okular
17 -- platform=wayland
15 -- appname=okular
17 -- apppath=/usr/bin
10 -- signal=11
11 -- pid=160135
20 -- appversion=21.11.80
19 -- programname=Okular
31 -- bugaddress=submit@bugs.kde.org
12 -- startupid=0
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = okular path = /usr/bin pid = 160135
KCrash: Arguments: /usr/bin/okular test.pdf 
KCrash: Attempting to start /usr/lib/drkonqi
fish: Job 1, 'okular test.pdf' has stopped
```
>  * Can you run "valgrind okular myfile.pdf" and make what you do to make it
> crash and attach the output?
Interesting. With Valgrind, Okular doesn't crash, but the same thing happens: the file gets renamed with `.part` appended. A error dialog appears with the message "Could not open file:///mnt/Data3/test.pdf".

The output from Valgrind is:

```
==161848== Memcheck, a memory error detector
==161848== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==161848== Using Valgrind-3.17.0 and LibVEX; rerun with -h for copyright info
==161848== Command: okular test.pdf
==161848== 
kf.sonnet.core: Sonnet: Unable to load plugin "/usr/lib/qt/plugins/kf5/sonnet/sonnet_hspell.so" Error: "Cannot load library /usr/lib/qt/plugins/kf5/sonnet/sonnet_hspell.so: (libhspell.so.0: cannot open shared object file: No such file or directory)"
==161848== Conditional jump or move depends on uninitialised value(s)
==161848==    at 0xF9FFB5D: ???
==161848==    by 0x110BD0E7: ???
==161848== 
==161848== Conditional jump or move depends on uninitialised value(s)
==161848==    at 0xF9FFB5D: ???
==161848==    by 0xF22C6B7: ???
==161848== 
==161848== Conditional jump or move depends on uninitialised value(s)
==161848==    at 0xF9FFB5D: ???
==161848==    by 0x109E86A7: ???
==161848== 
==161848== Conditional jump or move depends on uninitialised value(s)
==161848==    at 0xF9FFB5D: ???
==161848==    by 0xF22CD67: ???
==161848== 
==161848== Conditional jump or move depends on uninitialised value(s)
==161848==    at 0xF9FFB5D: ???
==161848==    by 0x102B6DB7: ???
==161848== 
==161848== Conditional jump or move depends on uninitialised value(s)
==161848==    at 0xF9FFB5D: ???
==161848==    by 0x102B73B7: ???
==161848== 
==161848== Conditional jump or move depends on uninitialised value(s)
==161848==    at 0xF9FFB5D: ???
==161848==    by 0x102B79B7: ???
==161848== 
==161848== Conditional jump or move depends on uninitialised value(s)
==161848==    at 0xF9FFB5D: ???
==161848==    by 0x102B7D27: ???
==161848== 
==161848== Conditional jump or move depends on uninitialised value(s)
==161848==    at 0xF9FFB5D: ???
==161848==    by 0x10A05F77: ???
==161848== 
==161848== Conditional jump or move depends on uninitialised value(s)
==161848==    at 0xF9FFB5D: ???
==161848==    by 0x10A06577: ???
==161848== 
==161848== Conditional jump or move depends on uninitialised value(s)
==161848==    at 0xF9FFB5D: ???
==161848==    by 0x10A23C07: ???
==161848== 
==161848== Conditional jump or move depends on uninitialised value(s)
==161848==    at 0xF9FFB5D: ???
==161848==    by 0x10A24207: ???
==161848== 
==161848== Conditional jump or move depends on uninitialised value(s)
==161848==    at 0xF9FFB5D: ???
==161848==    by 0x10A24807: ???
==161848== 
==161848== Conditional jump or move depends on uninitialised value(s)
==161848==    at 0xF9FFB5D: ???
==161848==    by 0x10E0E3E7: ???
==161848== 
==161848== Conditional jump or move depends on uninitialised value(s)
==161848==    at 0xF9FFB5D: ???
==161848==    by 0x10E0E977: ???
==161848== 
==161848== Conditional jump or move depends on uninitialised value(s)
==161848==    at 0xF9FFB5D: ???
==161848==    by 0x10E0EF77: ???
==161848== 
==161848== Conditional jump or move depends on uninitialised value(s)
==161848==    at 0xF9FFB5D: ???
==161848==    by 0x10E0F577: ???
==161848== 
==161848== Conditional jump or move depends on uninitialised value(s)
==161848==    at 0xF9FFB5D: ???
==161848==    by 0x10E0FB77: ???
==161848== 
==161848== Conditional jump or move depends on uninitialised value(s)
==161848==    at 0xF9FFB5D: ???
==161848==    by 0x10A12467: ???
==161848== 
==161848== Conditional jump or move depends on uninitialised value(s)
==161848==    at 0xF9FFB5D: ???
==161848==    by 0x10A12A67: ???
==161848== 
==161848== Conditional jump or move depends on uninitialised value(s)
==161848==    at 0xF9FFB5D: ???
==161848==    by 0x10A13067: ???
==161848== 
==161848== Conditional jump or move depends on uninitialised value(s)
==161848==    at 0xF9FFB5D: ???
==161848==    by 0x10A13667: ???
==161848== 
kf.sonnet.core: Sonnet: Unable to load plugin "/usr/lib/qt/plugins/kf5/sonnet/sonnet_voikko.so" Error: "Cannot load library /usr/lib/qt/plugins/kf5/sonnet/sonnet_voikko.so: (libvoikko.so.1: cannot open shared object file: No such file or directory)"
kf.sonnet.core: Sonnet: Unable to load plugin "/usr/lib/qt/plugins/kf5/sonnet/sonnet_hspell.so" Error: "Cannot load library /usr/lib/qt/plugins/kf5/sonnet/sonnet_hspell.so: (libhspell.so.0: cannot open shared object file: No such file or directory)"
kf.sonnet.core: Sonnet: Unable to load plugin "/usr/lib/qt/plugins/kf5/sonnet/sonnet_voikko.so" Error: "Cannot load library /usr/lib/qt/plugins/kf5/sonnet/sonnet_voikko.so: (libvoikko.so.1: cannot open shared object file: No such file or directory)"
==161911== 
==161911== HEAP SUMMARY:
==161911==     in use at exit: 45,596,660 bytes in 179,504 blocks
==161911==   total heap usage: 1,008,584 allocs, 829,080 frees, 538,262,912 bytes allocated
==161911== 
==161911== LEAK SUMMARY:
==161911==    definitely lost: 2,176 bytes in 4 blocks
==161911==    indirectly lost: 24 bytes in 1 blocks
==161911==      possibly lost: 80,032 bytes in 784 blocks
==161911==    still reachable: 45,514,428 bytes in 178,715 blocks
==161911==                       of which reachable via heuristic:
==161911==                         newarray           : 4,096 bytes in 12 blocks
==161911==                         multipleinheritance: 319,528 bytes in 385 blocks
==161911==         suppressed: 0 bytes in 0 blocks
==161911== Rerun with --leak-check=full to see details of leaked memory
==161911== 
==161911== Use --track-origins=yes to see where uninitialised values come from
==161911== For lists of detected and suppressed errors, rerun with: -s
==161911== ERROR SUMMARY: 22 errors from 22 contexts (suppressed: 0 from 0)
kf.kio.slaves.file: copy() QUrl("file:///tmp/okular.vlSPAJ") to QUrl("file:///mnt/Data3/test.pdf") mode= -1
kf.kio.slaves.file: the file doesn't have any xattr
kf.kio.slaves.file: Couldn't rename "/mnt/Data3/test.pdf.part" to "/mnt/Data3/test.pdf" ( Permission denied )
==161848== Invalid read of size 8
==161848==    at 0x21CE0358: Poppler::FormField::isVisible() const (in /usr/lib/libpoppler-qt5.so.1.30.0)
==161848==    by 0xEA4DDDC: ??? (in /usr/lib/qt/plugins/okularpart.so)
==161848==    by 0xEA4DE2D: ??? (in /usr/lib/qt/plugins/okularpart.so)
==161848==    by 0xEA3FA95: ??? (in /usr/lib/qt/plugins/okularpart.so)
==161848==    by 0xEA4066C: ??? (in /usr/lib/qt/plugins/okularpart.so)
==161848==    by 0x60677AA: ??? (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x606B77A: QTimer::timeout(QTimer::QPrivateSignal) (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x605D46E: QObject::event(QEvent*) (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x50B0D61: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQt5Widgets.so.5.15.2)
==161848==    by 0x60303F9: QCoreApplication::notifyInternal2(QObject*, QEvent*) (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x608839C: QTimerInfoList::activateTimers() (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x6088C61: ??? (in /usr/lib/libQt5Core.so.5.15.2)
==161848==  Address 0xc373778 is 8 bytes inside a block of size 80 free'd
==161848==    at 0x48419AB: operator delete(void*, unsigned long) (vg_replace_malloc.c:814)
==161848==    by 0x21E47A4E: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E47D08: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E47BA6: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E47BC8: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E47BA6: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E47BC8: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4D006: Form::~Form() (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E3367C: Catalog::~Catalog() (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21ED2007: PDFDoc::~PDFDoc() (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21CF3CAA: ??? (in /usr/lib/libpoppler-qt5.so.1.30.0)
==161848==    by 0x21CD90F1: Poppler::Document::~Document() (in /usr/lib/libpoppler-qt5.so.1.30.0)
==161848==  Block was alloc'd at
==161848==    at 0x483EF3F: operator new(unsigned long) (vg_replace_malloc.c:417)
==161848==    by 0x21E49C66: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4E2CA: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4E934: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4DB3C: Form::createFieldFromDict(Object&&, PDFDoc*, Ref, FormField*, std::set<int, std::less<int>, std::allocator<int> >*) (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4DF97: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4DA36: Form::createFieldFromDict(Object&&, PDFDoc*, Ref, FormField*, std::set<int, std::less<int>, std::allocator<int> >*) (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4DF97: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4DA36: Form::createFieldFromDict(Object&&, PDFDoc*, Ref, FormField*, std::set<int, std::less<int>, std::allocator<int> >*) (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E51392: Form::Form(PDFDoc*, Object*) (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E34900: Catalog::getForm() (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E2493E: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848== 
==161848== Invalid read of size 4
==161848==    at 0x21CE035C: Poppler::FormField::isVisible() const (in /usr/lib/libpoppler-qt5.so.1.30.0)
==161848==    by 0xEA4DDDC: ??? (in /usr/lib/qt/plugins/okularpart.so)
==161848==    by 0xEA4DE2D: ??? (in /usr/lib/qt/plugins/okularpart.so)
==161848==    by 0xEA3FA95: ??? (in /usr/lib/qt/plugins/okularpart.so)
==161848==    by 0xEA4066C: ??? (in /usr/lib/qt/plugins/okularpart.so)
==161848==    by 0x60677AA: ??? (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x606B77A: QTimer::timeout(QTimer::QPrivateSignal) (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x605D46E: QObject::event(QEvent*) (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x50B0D61: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQt5Widgets.so.5.15.2)
==161848==    by 0x60303F9: QCoreApplication::notifyInternal2(QObject*, QEvent*) (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x608839C: QTimerInfoList::activateTimers() (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x6088C61: ??? (in /usr/lib/libQt5Core.so.5.15.2)
==161848==  Address 0x10092384 is 68 bytes inside a block of size 288 free'd
==161848==    at 0x48419AB: operator delete(void*, unsigned long) (vg_replace_malloc.c:814)
==161848==    by 0x21E24A5C: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21ECA371: Page::~Page() (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E33801: Catalog::~Catalog() (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21ED2007: PDFDoc::~PDFDoc() (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21CF3CAA: ??? (in /usr/lib/libpoppler-qt5.so.1.30.0)
==161848==    by 0x21CD90F1: Poppler::Document::~Document() (in /usr/lib/libpoppler-qt5.so.1.30.0)
==161848==    by 0xF9C8AAE: ??? (in /usr/lib/qt/plugins/okular/generators/okularGenerator_poppler.so)
==161848==    by 0xE6A339F: ???
==161848==    by 0x1FFEFFF58F: ???
==161848==    by 0x10F0DFBF: ???
==161848==    by 0xF9CFF27: ??? (in /usr/lib/qt/plugins/okular/generators/okularGenerator_poppler.so)
==161848==  Block was alloc'd at
==161848==    at 0x483EF3F: operator new(unsigned long) (vg_replace_malloc.c:417)
==161848==    by 0x21E48640: FormWidget::createWidgetAnnotation() (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E49BD1: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E49BA8: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E49BA8: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4F386: Form::postWidgetsLoad() (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E3490D: Catalog::getForm() (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E2493E: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E2BD82: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21ECBDCF: Page::getAnnots(XRef*) (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21CC84C6: ??? (in /usr/lib/libpoppler-qt5.so.1.30.0)
==161848==    by 0x21CEEE5F: Poppler::Page::annotations(QSet<Poppler::Annotation::SubType> const&) const (in /usr/lib/libpoppler-qt5.so.1.30.0)
==161848== 
==161848== Invalid read of size 8
==161848==    at 0x21E486C0: FormWidget::isReadOnly() const (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0xE9FB3E9: ??? (in /usr/lib/qt/plugins/okularpart.so)
==161848==    by 0xEA4DDF3: ??? (in /usr/lib/qt/plugins/okularpart.so)
==161848==    by 0xEA4DE2D: ??? (in /usr/lib/qt/plugins/okularpart.so)
==161848==    by 0xEA3FA95: ??? (in /usr/lib/qt/plugins/okularpart.so)
==161848==    by 0xEA4066C: ??? (in /usr/lib/qt/plugins/okularpart.so)
==161848==    by 0x60677AA: ??? (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x606B77A: QTimer::timeout(QTimer::QPrivateSignal) (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x605D46E: QObject::event(QEvent*) (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x50B0D61: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQt5Widgets.so.5.15.2)
==161848==    by 0x60303F9: QCoreApplication::notifyInternal2(QObject*, QEvent*) (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x608839C: QTimerInfoList::activateTimers() (in /usr/lib/libQt5Core.so.5.15.2)
==161848==  Address 0xc373780 is 16 bytes inside a block of size 80 free'd
==161848==    at 0x48419AB: operator delete(void*, unsigned long) (vg_replace_malloc.c:814)
==161848==    by 0x21E47A4E: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E47D08: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E47BA6: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E47BC8: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E47BA6: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E47BC8: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4D006: Form::~Form() (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E3367C: Catalog::~Catalog() (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21ED2007: PDFDoc::~PDFDoc() (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21CF3CAA: ??? (in /usr/lib/libpoppler-qt5.so.1.30.0)
==161848==    by 0x21CD90F1: Poppler::Document::~Document() (in /usr/lib/libpoppler-qt5.so.1.30.0)
==161848==  Block was alloc'd at
==161848==    at 0x483EF3F: operator new(unsigned long) (vg_replace_malloc.c:417)
==161848==    by 0x21E49C66: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4E2CA: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4E934: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4DB3C: Form::createFieldFromDict(Object&&, PDFDoc*, Ref, FormField*, std::set<int, std::less<int>, std::allocator<int> >*) (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4DF97: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4DA36: Form::createFieldFromDict(Object&&, PDFDoc*, Ref, FormField*, std::set<int, std::less<int>, std::allocator<int> >*) (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4DF97: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4DA36: Form::createFieldFromDict(Object&&, PDFDoc*, Ref, FormField*, std::set<int, std::less<int>, std::allocator<int> >*) (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E51392: Form::Form(PDFDoc*, Object*) (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E34900: Catalog::getForm() (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E2493E: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848== 
==161848== Invalid read of size 1
==161848==    at 0x21E486C4: FormWidget::isReadOnly() const (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0xE9FB3E9: ??? (in /usr/lib/qt/plugins/okularpart.so)
==161848==    by 0xEA4DDF3: ??? (in /usr/lib/qt/plugins/okularpart.so)
==161848==    by 0xEA4DE2D: ??? (in /usr/lib/qt/plugins/okularpart.so)
==161848==    by 0xEA3FA95: ??? (in /usr/lib/qt/plugins/okularpart.so)
==161848==    by 0xEA4066C: ??? (in /usr/lib/qt/plugins/okularpart.so)
==161848==    by 0x60677AA: ??? (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x606B77A: QTimer::timeout(QTimer::QPrivateSignal) (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x605D46E: QObject::event(QEvent*) (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x50B0D61: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQt5Widgets.so.5.15.2)
==161848==    by 0x60303F9: QCoreApplication::notifyInternal2(QObject*, QEvent*) (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x608839C: QTimerInfoList::activateTimers() (in /usr/lib/libQt5Core.so.5.15.2)
==161848==  Address 0xc3736c8 is 88 bytes inside a block of size 192 free'd
==161848==    at 0x48419AB: operator delete(void*, unsigned long) (vg_replace_malloc.c:814)
==161848==    by 0x21E47BA6: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E47BC8: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E47BA6: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E47BC8: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4D006: Form::~Form() (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E3367C: Catalog::~Catalog() (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21ED2007: PDFDoc::~PDFDoc() (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21CF3CAA: ??? (in /usr/lib/libpoppler-qt5.so.1.30.0)
==161848==    by 0x21CD90F1: Poppler::Document::~Document() (in /usr/lib/libpoppler-qt5.so.1.30.0)
==161848==    by 0xF9C8AAE: ??? (in /usr/lib/qt/plugins/okular/generators/okularGenerator_poppler.so)
==161848==    by 0xE6A339F: ???
==161848==  Block was alloc'd at
==161848==    at 0x483EF3F: operator new(unsigned long) (vg_replace_malloc.c:417)
==161848==    by 0x21E4DB20: Form::createFieldFromDict(Object&&, PDFDoc*, Ref, FormField*, std::set<int, std::less<int>, std::allocator<int> >*) (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4DF97: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4DA36: Form::createFieldFromDict(Object&&, PDFDoc*, Ref, FormField*, std::set<int, std::less<int>, std::allocator<int> >*) (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4DF97: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4DA36: Form::createFieldFromDict(Object&&, PDFDoc*, Ref, FormField*, std::set<int, std::less<int>, std::allocator<int> >*) (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E51392: Form::Form(PDFDoc*, Object*) (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E34900: Catalog::getForm() (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E2493E: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E2BD82: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21ECBDCF: Page::getAnnots(XRef*) (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21CC84C6: ??? (in /usr/lib/libpoppler-qt5.so.1.30.0)
==161848== 
==161848== Invalid read of size 8
==161848==    at 0x21CE0358: Poppler::FormField::isVisible() const (in /usr/lib/libpoppler-qt5.so.1.30.0)
==161848==    by 0xEA4DDDC: ??? (in /usr/lib/qt/plugins/okularpart.so)
==161848==    by 0xEA3F9AE: ??? (in /usr/lib/qt/plugins/okularpart.so)
==161848==    by 0xEA4066C: ??? (in /usr/lib/qt/plugins/okularpart.so)
==161848==    by 0x60677AA: ??? (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x606B77A: QTimer::timeout(QTimer::QPrivateSignal) (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x605D46E: QObject::event(QEvent*) (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x50B0D61: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQt5Widgets.so.5.15.2)
==161848==    by 0x60303F9: QCoreApplication::notifyInternal2(QObject*, QEvent*) (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x608839C: QTimerInfoList::activateTimers() (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x6088C61: ??? (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x7A0C4DB: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.7000.1)
==161848==  Address 0xc373778 is 8 bytes inside a block of size 80 free'd
==161848==    at 0x48419AB: operator delete(void*, unsigned long) (vg_replace_malloc.c:814)
==161848==    by 0x21E47A4E: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E47D08: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E47BA6: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E47BC8: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E47BA6: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E47BC8: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4D006: Form::~Form() (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E3367C: Catalog::~Catalog() (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21ED2007: PDFDoc::~PDFDoc() (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21CF3CAA: ??? (in /usr/lib/libpoppler-qt5.so.1.30.0)
==161848==    by 0x21CD90F1: Poppler::Document::~Document() (in /usr/lib/libpoppler-qt5.so.1.30.0)
==161848==  Block was alloc'd at
==161848==    at 0x483EF3F: operator new(unsigned long) (vg_replace_malloc.c:417)
==161848==    by 0x21E49C66: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4E2CA: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4E934: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4DB3C: Form::createFieldFromDict(Object&&, PDFDoc*, Ref, FormField*, std::set<int, std::less<int>, std::allocator<int> >*) (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4DF97: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4DA36: Form::createFieldFromDict(Object&&, PDFDoc*, Ref, FormField*, std::set<int, std::less<int>, std::allocator<int> >*) (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4DF97: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4DA36: Form::createFieldFromDict(Object&&, PDFDoc*, Ref, FormField*, std::set<int, std::less<int>, std::allocator<int> >*) (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E51392: Form::Form(PDFDoc*, Object*) (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E34900: Catalog::getForm() (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E2493E: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848== 
==161848== Invalid read of size 4
==161848==    at 0x21CE035C: Poppler::FormField::isVisible() const (in /usr/lib/libpoppler-qt5.so.1.30.0)
==161848==    by 0xEA4DDDC: ??? (in /usr/lib/qt/plugins/okularpart.so)
==161848==    by 0xEA3F9AE: ??? (in /usr/lib/qt/plugins/okularpart.so)
==161848==    by 0xEA4066C: ??? (in /usr/lib/qt/plugins/okularpart.so)
==161848==    by 0x60677AA: ??? (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x606B77A: QTimer::timeout(QTimer::QPrivateSignal) (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x605D46E: QObject::event(QEvent*) (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x50B0D61: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQt5Widgets.so.5.15.2)
==161848==    by 0x60303F9: QCoreApplication::notifyInternal2(QObject*, QEvent*) (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x608839C: QTimerInfoList::activateTimers() (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x6088C61: ??? (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x7A0C4DB: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.7000.1)
==161848==  Address 0x10092384 is 68 bytes inside a block of size 288 free'd
==161848==    at 0x48419AB: operator delete(void*, unsigned long) (vg_replace_malloc.c:814)
==161848==    by 0x21E24A5C: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21ECA371: Page::~Page() (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E33801: Catalog::~Catalog() (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21ED2007: PDFDoc::~PDFDoc() (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21CF3CAA: ??? (in /usr/lib/libpoppler-qt5.so.1.30.0)
==161848==    by 0x21CD90F1: Poppler::Document::~Document() (in /usr/lib/libpoppler-qt5.so.1.30.0)
==161848==    by 0xF9C8AAE: ??? (in /usr/lib/qt/plugins/okular/generators/okularGenerator_poppler.so)
==161848==    by 0xE6A339F: ???
==161848==    by 0x1FFEFFF58F: ???
==161848==    by 0x10F0DFBF: ???
==161848==    by 0xF9CFF27: ??? (in /usr/lib/qt/plugins/okular/generators/okularGenerator_poppler.so)
==161848==  Block was alloc'd at
==161848==    at 0x483EF3F: operator new(unsigned long) (vg_replace_malloc.c:417)
==161848==    by 0x21E48640: FormWidget::createWidgetAnnotation() (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E49BD1: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E49BA8: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E49BA8: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4F386: Form::postWidgetsLoad() (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E3490D: Catalog::getForm() (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E2493E: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E2BD82: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21ECBDCF: Page::getAnnots(XRef*) (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21CC84C6: ??? (in /usr/lib/libpoppler-qt5.so.1.30.0)
==161848==    by 0x21CEEE5F: Poppler::Page::annotations(QSet<Poppler::Annotation::SubType> const&) const (in /usr/lib/libpoppler-qt5.so.1.30.0)
==161848== 
==161848== Invalid read of size 8
==161848==    at 0x21E486C0: FormWidget::isReadOnly() const (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0xE9FB3E9: ??? (in /usr/lib/qt/plugins/okularpart.so)
==161848==    by 0xEA4DDF3: ??? (in /usr/lib/qt/plugins/okularpart.so)
==161848==    by 0xEA3F9AE: ??? (in /usr/lib/qt/plugins/okularpart.so)
==161848==    by 0xEA4066C: ??? (in /usr/lib/qt/plugins/okularpart.so)
==161848==    by 0x60677AA: ??? (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x606B77A: QTimer::timeout(QTimer::QPrivateSignal) (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x605D46E: QObject::event(QEvent*) (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x50B0D61: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQt5Widgets.so.5.15.2)
==161848==    by 0x60303F9: QCoreApplication::notifyInternal2(QObject*, QEvent*) (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x608839C: QTimerInfoList::activateTimers() (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x6088C61: ??? (in /usr/lib/libQt5Core.so.5.15.2)
==161848==  Address 0xc373780 is 16 bytes inside a block of size 80 free'd
==161848==    at 0x48419AB: operator delete(void*, unsigned long) (vg_replace_malloc.c:814)
==161848==    by 0x21E47A4E: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E47D08: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E47BA6: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E47BC8: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E47BA6: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E47BC8: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4D006: Form::~Form() (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E3367C: Catalog::~Catalog() (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21ED2007: PDFDoc::~PDFDoc() (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21CF3CAA: ??? (in /usr/lib/libpoppler-qt5.so.1.30.0)
==161848==    by 0x21CD90F1: Poppler::Document::~Document() (in /usr/lib/libpoppler-qt5.so.1.30.0)
==161848==  Block was alloc'd at
==161848==    at 0x483EF3F: operator new(unsigned long) (vg_replace_malloc.c:417)
==161848==    by 0x21E49C66: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4E2CA: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4E934: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4DB3C: Form::createFieldFromDict(Object&&, PDFDoc*, Ref, FormField*, std::set<int, std::less<int>, std::allocator<int> >*) (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4DF97: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4DA36: Form::createFieldFromDict(Object&&, PDFDoc*, Ref, FormField*, std::set<int, std::less<int>, std::allocator<int> >*) (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4DF97: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4DA36: Form::createFieldFromDict(Object&&, PDFDoc*, Ref, FormField*, std::set<int, std::less<int>, std::allocator<int> >*) (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E51392: Form::Form(PDFDoc*, Object*) (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E34900: Catalog::getForm() (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E2493E: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848== 
==161848== Invalid read of size 1
==161848==    at 0x21E486C4: FormWidget::isReadOnly() const (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0xE9FB3E9: ??? (in /usr/lib/qt/plugins/okularpart.so)
==161848==    by 0xEA4DDF3: ??? (in /usr/lib/qt/plugins/okularpart.so)
==161848==    by 0xEA3F9AE: ??? (in /usr/lib/qt/plugins/okularpart.so)
==161848==    by 0xEA4066C: ??? (in /usr/lib/qt/plugins/okularpart.so)
==161848==    by 0x60677AA: ??? (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x606B77A: QTimer::timeout(QTimer::QPrivateSignal) (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x605D46E: QObject::event(QEvent*) (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x50B0D61: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQt5Widgets.so.5.15.2)
==161848==    by 0x60303F9: QCoreApplication::notifyInternal2(QObject*, QEvent*) (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x608839C: QTimerInfoList::activateTimers() (in /usr/lib/libQt5Core.so.5.15.2)
==161848==    by 0x6088C61: ??? (in /usr/lib/libQt5Core.so.5.15.2)
==161848==  Address 0xc3736c8 is 88 bytes inside a block of size 192 free'd
==161848==    at 0x48419AB: operator delete(void*, unsigned long) (vg_replace_malloc.c:814)
==161848==    by 0x21E47BA6: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E47BC8: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E47BA6: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E47BC8: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4D006: Form::~Form() (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E3367C: Catalog::~Catalog() (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21ED2007: PDFDoc::~PDFDoc() (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21CF3CAA: ??? (in /usr/lib/libpoppler-qt5.so.1.30.0)
==161848==    by 0x21CD90F1: Poppler::Document::~Document() (in /usr/lib/libpoppler-qt5.so.1.30.0)
==161848==    by 0xF9C8AAE: ??? (in /usr/lib/qt/plugins/okular/generators/okularGenerator_poppler.so)
==161848==    by 0xE6A339F: ???
==161848==  Block was alloc'd at
==161848==    at 0x483EF3F: operator new(unsigned long) (vg_replace_malloc.c:417)
==161848==    by 0x21E4DB20: Form::createFieldFromDict(Object&&, PDFDoc*, Ref, FormField*, std::set<int, std::less<int>, std::allocator<int> >*) (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4DF97: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4DA36: Form::createFieldFromDict(Object&&, PDFDoc*, Ref, FormField*, std::set<int, std::less<int>, std::allocator<int> >*) (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4DF97: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E4DA36: Form::createFieldFromDict(Object&&, PDFDoc*, Ref, FormField*, std::set<int, std::less<int>, std::allocator<int> >*) (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E51392: Form::Form(PDFDoc*, Object*) (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E34900: Catalog::getForm() (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E2493E: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21E2BD82: ??? (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21ECBDCF: Page::getAnnots(XRef*) (in /usr/lib/libpoppler.so.115.0.0)
==161848==    by 0x21CC84C6: ??? (in /usr/lib/libpoppler-qt5.so.1.30.0)
==161848== 
The document hasn't been reloaded/swapped correctly
==161848== 
==161848== HEAP SUMMARY:
==161848==     in use at exit: 906,883 bytes in 14,271 blocks
==161848==   total heap usage: 1,071,454 allocs, 1,057,183 frees, 573,842,760 bytes allocated
==161848== 
==161848== LEAK SUMMARY:
==161848==    definitely lost: 1,160 bytes in 15 blocks
==161848==    indirectly lost: 154,602 bytes in 732 blocks
==161848==      possibly lost: 608 bytes in 2 blocks
==161848==    still reachable: 750,513 bytes in 13,522 blocks
==161848==         suppressed: 0 bytes in 0 blocks
==161848== Rerun with --leak-check=full to see details of leaked memory
==161848== 
==161848== Use --track-origins=yes to see where uninitialised values come from
==161848== For lists of detected and suppressed errors, rerun with: -s
==161848== ERROR SUMMARY: 438 errors from 30 contexts (suppressed: 0 from 0)
```
Comment 3 Albert Astals Cid 2021-11-22 22:07:13 UTC
> kf.kio.slaves.file: Couldn't rename "/mnt/Data3/test.pdf.part" to "/mnt/Data3/test.pdf" ( Permission denied )

This is not good, just to make sure, the user you're running can rename files in /mnt/Data3/, right?

Also, probably 99.995% not related, but can you reproduce the problem under X11 too?
Comment 4 Bug Janitor Service 2021-12-07 04:36:03 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2021-12-22 04:35:29 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!