Bug 456193 - okular crushes when inserting a note of text to a pdf file
Summary: okular crushes when inserting a note of text to a pdf file
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 22.04.2
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-07-01 06:14 UTC by wangxinglong527
Modified: 2022-07-05 16:37 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wangxinglong527 2022-07-01 06:14:18 UTC
Application: okular (22.04.2)

Qt Version: 5.15.5
Frameworks Version: 5.95.0
Operating System: Linux 5.18.7-arch1-1 x86_64
Windowing System: X11
Distribution: "Arch Linux"
DrKonqi: 5.25.2 [KCrashBackend]

-- Information about the crash:
okular crushes when inserting a note of text to a pdf file, withing used memory increasing gradually to a very high level.

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Aborted

[KCrash Handler]
#4  0x00007f24e7a8e36c in  () at /usr/lib/libc.so.6
#5  0x00007f24e7a3e838 in raise () at /usr/lib/libc.so.6
#6  0x00007f24e7a28535 in abort () at /usr/lib/libc.so.6
#7  0x00007f24e7e99833 in __gnu_cxx::__verbose_terminate_handler() () at /usr/src/debug/gcc/libstdc++-v3/libsupc++/vterminate.cc:95
#8  0x00007f24e7ea5bfc in __cxxabiv1::__terminate(void (*)()) (handler=<optimized out>) at /usr/src/debug/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:48
#9  0x00007f24e7ea5c69 in std::terminate() () at /usr/src/debug/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:58
#10 0x00007f24e829fbca in  () at /usr/lib/libQt5Core.so.5
#11 0x00007f24e82a18d5 in  () at /usr/lib/libQt5Core.so.5
#12 0x00007f24e7a8c54d in  () at /usr/lib/libc.so.6
#13 0x00007f24e7b11874 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f24e1bff640 (LWP 2096) "QDBusConnection"):
#1  0x00007f24e6d188dc in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#2  0x00007f24e6d6edc6 in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007f24e6d16392 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007f24e84d766f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f24e84856ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f24e82e729f in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007f24e974075a in  () at /usr/lib/libQt5DBus.so.5
#8  0x00007f24e82e438a in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f24e7a8c54d in  () at /usr/lib/libc.so.6
#10 0x00007f24e7b11874 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f24e32cd640 (LWP 2095) "QXcbEventQueue"):
#1  0x00007f24e7c5a20b in  () at /usr/lib/libxcb.so.1
#2  0x00007f24e7c5bccd in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f24e332f902 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f24e82e438a in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f24e7a8c54d in  () at /usr/lib/libc.so.6
#6  0x00007f24e7b11874 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f24e420fa80 (LWP 2094) "okular"):
#1  0x00007f24e82dfc16 in QBasicMutex::lockInternal() () at /usr/lib/libQt5Core.so.5
#2  0x00007f24db95bb0c in  () at /usr/lib/qt/plugins/okular/generators/okularGenerator_poppler.so
#3  0x00007f24e12e7ab1 in Okular::Document::metaData(QString const&, QVariant const&) const () at /usr/lib/libOkular5Core.so.10
#4  0x00007f24e06e9499 in Okular::Part::setWindowTitleFromDocument() () at /usr/lib/qt/plugins/okularpart.so
#5  0x00007f24e06f5fa7 in Okular::Part::slotNewConfig() () at /usr/lib/qt/plugins/okularpart.so
#6  0x00007f24e84bd621 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f24e98803f9 in KCoreConfigSkeleton::save() () at /usr/lib/libKF5ConfigCore.so.5
#8  0x00007f24e0762196 in  () at /usr/lib/qt/plugins/okularpart.so
#9  0x00007f24e84bd621 in  () at /usr/lib/libQt5Core.so.5
#10 0x00007f24e916be47 in QAction::triggered(bool) () at /usr/lib/libQt5Widgets.so.5
#11 0x00007f24e9171857 in QAction::activate(QAction::ActionEvent) () at /usr/lib/libQt5Widgets.so.5
#12 0x00007f24e92605ee in  () at /usr/lib/libQt5Widgets.so.5
#13 0x00007f24e92607f0 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib/libQt5Widgets.so.5
#14 0x00007f24e9352bdf in QToolButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib/libQt5Widgets.so.5
#15 0x00007f24e91af6e7 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#16 0x00007f24e9178abc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#17 0x00007f24e917e2c9 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#18 0x00007f24e848cf38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#19 0x00007f24e917c2c7 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /usr/lib/libQt5Widgets.so.5
#20 0x00007f24e91cd3b5 in  () at /usr/lib/libQt5Widgets.so.5
#21 0x00007f24e91cf15e in  () at /usr/lib/libQt5Widgets.so.5
#22 0x00007f24e9178abc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#23 0x00007f24e848cf38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#24 0x00007f24e893ef7c in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/libQt5Gui.so.5
#25 0x00007f24e89289c5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#26 0x00007f24e3331ce0 in  () at /usr/lib/libQt5XcbQpa.so.5
#27 0x00007f24e6d18c6b in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#28 0x00007f24e6d6f001 in  () at /usr/lib/libglib-2.0.so.0
#29 0x00007f24e6d16392 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#30 0x00007f24e84d764c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#31 0x00007f24e84856ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#32 0x00007f24e84901e9 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#33 0x000055ff4434684a in  ()
#34 0x00007f24e7a29290 in  () at /usr/lib/libc.so.6
#35 0x00007f24e7a2934a in __libc_start_main () at /usr/lib/libc.so.6
#36 0x000055ff443473f5 in  ()
[Inferior 1 (process 2094) detached]

The reporter indicates this bug may be a duplicate of or related to bug 388228.

Reported using DrKonqi
Comment 1 Albert Astals Cid 2022-07-02 07:23:22 UTC
can you reproduce it with any file or with one file in particular?

If you run Okular from a terminal/command line, do you get any particular output?