Summary: | Okular occasionally crashes when opening PDF files | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Bernhard Rosenkränzer <bero> |
Component: | general | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED DOWNSTREAM | ||
Severity: | crash | CC: | 369start, aacid, nate, xpris |
Priority: | NOR | Keywords: | drkonqi |
Version First Reported In: | 1.11.1 | ||
Target Milestone: | --- | ||
Platform: | Mandriva RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | okular crash |
Description
Bernhard Rosenkränzer
2020-09-13 23:36:16 UTC
Any change you can get a backtrace with debug symbols? AFAICS slotRelayoutPages doesn't call stop on any timer, it seems there's like some calls in the middle missing? Crashing for me too. In most of cases when I right click on pdf file and click on open with okular. First run = crash Second run = no crash another run = crash or not (randomly) Same when I open pdf from webbrowser like Falkon. When I open okular and open new documents (FILE/OPEN) then everytings works fine. Okular: 20.08.2 Plasma: 5.20.0 K Frameworks 5.75.0 Qt 5.15.1 OS: OpenMandriva Cooker Compiler: LLVM Clang 11 My crash log with installed debug symbols in attachment below. BTW. I can;t run gdb to catch logs from crash If it crashing on right click (or maybe I can, but dont know how...). Created attachment 132393 [details]
okular crash
> AFAICS slotRelayoutPages doesn't call stop on any timer, it seems there's like some calls in the middle missing?
Looks the same to me. Maybe there are optimized calls from within PageView, like slotRelayoutPages() -> center() -> scrollTo(). I think scrollTo() stopped the animation timer before QScroller. But these crashes are after QScroller...
QScroller::scrollTo() probably calls stop() on its animation timer, but that should be visible in the backtrace, even with optimization, right?
@reporters:
Can you try whether Okular crashes when you enable tabs (Settings -> Configure Okular... -> General -> Features), and then open a second document with File -> Open...? If yes, it should be possible to get more details with gdb.
Probably distro bug - we're reverting the QScroller use to work around bug 421780 Probably I missed something when rebasing the patch Distros making our like harder, that's exactly what we need, please don't do that. |