Summary: | Okular instantly crashes when opening any PDF file | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Mikal Jamokha <msjamokha> |
Component: | general | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | CC: | aacid |
Priority: | NOR | Keywords: | drkonqi |
Version: | 23.04.1 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Debug Trace |
Description
Mikal Jamokha
2023-05-24 22:10:41 UTC
Install the debug symbols thing in archlinux and give us a better backtrace. https://wiki.archlinux.org/title/Debugging/Getting_traces Created attachment 159229 [details]
Debug Trace
(In reply to Albert Astals Cid from comment #1) > Install the debug symbols thing in archlinux and give us a better backtrace. > > https://wiki.archlinux.org/title/Debugging/Getting_traces Thanks for looking at my report. I attached the trace, is this what you are looking for? gdb output this poppler memory access error before doing the full trace: Thread 1 (Thread 0x7ffff197df80 (LWP 7395) "okular"): #0 NameToCharCode::add (this=0x555556964410, name=0x7fffb091cf8d <error: Cannot access memory at address 0x7fffb091cf8d>, c=119) at /usr/src/debug/poppler/poppler-23.05.0/poppler Yeah that is what i wanted but i'm still puzzled how it would crash there. Can you run valgrind okular myfile.pdf from a terminal and paste the output of valgrind here? (install valgrind first if you do not have it installed and be patient, valgrind is slow) I copied all the older 23.03.0-1 poppler dependencies from another machine (archlinux calls them poppler, poppler-glib and poppler-qt5) and downgraded all 3 of them from 23.05.0-1 and the issue with PDFs stopped happening. I then updated the deps again to 23.05.0-1 and I could continue to open PDFs successfully. Perhaps something silently broke my poppler binaries during a routine update, I'm not sure. In any case, the issue is resolved and I can't recreate it anymore. This can be closed now, if it somehow returns I will attach the new traces. |