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

Tobias Deiminger bugzilla_noreply at kde.org
Wed Jan 29 00:01:23 GMT 2020


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

--- Comment #22 from Tobias Deiminger <haxtibal at posteo.de> ---
I can now reproduce the issue (CPU 30%, pages no more rendered, but okular
symbol shown) in Ubuntu 19.10. But: For me it happens only if strace is
attached to okular while scrolling through a PDF (the one from bug 39613). The
issue then remains after detaching strace, it will never recover, and can be
observed by attaching gdb.

I see that QEventLoop is no more going to sleep, because the underlying poll()
system call is always called with a timeout of 0, and that generatePixmap is
called at high frequency while TextPageGenerationThread::isFinished == 1. Can't
go on for today, but seems like a good position to continue debugging upcoming
days.

Albert, could you try if the "strace trick" helps to reproduce the issue at
your side?

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


More information about the Okular-devel mailing list