[okular] [Bug 403643] Okular stops rendering PDF and uses up 100% cpu (possible regression)

Postix bugzilla_noreply at kde.org
Fri Jan 24 16:32:26 GMT 2020


https://bugs.kde.org/show_bug.cgi?id=403643

--- Comment #4 from Postix <postix at posteo.eu> ---
(In reply to Oliver Sander from comment #3)
> Is this the same as https://bugs.kde.org/show_bug.cgi?id=396137 ?

It could be, however I don't need to "scroll fast".

Here's a backtrace when I just happened again. I tried to exit Okular, the
window  closed, but the process kept running in the background for a while.
I will try to reproduce it at another time with debug symbols attached. :)

```
[postix ~]# gdb attach `pidof okular`
GNU gdb (GDB) 8.3.1

(...)

Attaching to process 4039
[New LWP 4041]
[New LWP 4042]
[New LWP 4046]
[New LWP 4047]
[New LWP 4048]
[New LWP 4049]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
0x00007f429aece480 in g_mutex_lock () from /usr/lib/libglib-2.0.so.0
/usr/lib/../share/gcc-9.2.0/python/libstdcxx/v6/xmethods.py:731: SyntaxWarning:
list indices must be integers or slices, not str; perhaps you missed a comma?
  refcounts = ['_M_refcount']['_M_pi']
(gdb) bt
#0  0x00007f429aece480 in g_mutex_lock () at /usr/lib/libglib-2.0.so.0
#1  0x00007f429af1da0c in g_main_context_prepare () at
/usr/lib/libglib-2.0.so.0
#2  0x00007f429af1e046 in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007f429af1e1f1 in g_main_context_iteration () at
/usr/lib/libglib-2.0.so.0
#4  0x00007f429ca78d40 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/libQt5Core.so.5
#5  0x00007f429ca1f41c in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/libQt5Core.so.5
#6  0x00007f42947bab7a in  () at /usr/lib/libOkular5Core.so.9
#7  0x00007f42947bbe43 in Okular::Document::closeDocument() () at
/usr/lib/libOkular5Core.so.9
#8  0x00007f4294959513 in Okular::Part::closeUrl(bool) () at
/usr/lib/qt/plugins/okularpart.so
#9  0x0000562c14bdd7b6 in  ()
#10 0x0000562c14bdd8c9 in  ()
#11 0x00007f429ca4df50 in QObject::event(QEvent*) () at
/usr/lib/libQt5Core.so.5
#12 0x00007f429d59678b in QWidget::event(QEvent*) () at
/usr/lib/libQt5Widgets.so.5
#13 0x00007f429d6b0865 in QMainWindow::event(QEvent*) () at
/usr/lib/libQt5Widgets.so.5
#14 0x00007f429dec045c in KMainWindow::event(QEvent*) () at
/usr/lib/libKF5XmlGui.so.5
#15 0x00007f429df0b988 in KXmlGuiWindow::event(QEvent*) () at
/usr/lib/libKF5XmlGui.so.5
#16 0x00007f429d552472 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib/libQt5Widgets.so.5
#17 0x00007f429d55bc89 in QApplication::notify(QObject*, QEvent*) () at
/usr/lib/libQt5Widgets.so.5
#18 0x00007f429ca208b2 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/libQt5Core.so.5
#19 0x00007f429ca23116 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#20 0x00007f429ca796f4 in  () at /usr/lib/libQt5Core.so.5
#21 0x00007f429af1c39e in g_main_context_dispatch () at
/usr/lib/libglib-2.0.so.0
#22 0x00007f429af1e1b1 in  () at /usr/lib/libglib-2.0.so.0
#23 0x00007f429af1e1f1 in g_main_context_iteration () at
/usr/lib/libglib-2.0.so.0
#24 0x00007f429ca78d40 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/libQt5Core.so.5
#25 0x00007f429ca1f41c in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/libQt5Core.so.5
#26 0x00007f429ca27426 in QCoreApplication::exec() () at
/usr/lib/libQt5Core.so.5
#27 0x0000562c14bd379a in  ()
#28 0x00007f429c3f0153 in __libc_start_main () at /usr/lib/libc.so.6
#29 0x0000562c14bd47ce in  ()
```

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list