Bug 360046 - Okular crashes when opening PDF
Summary: Okular crashes when opening PDF
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: VLO crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-03-04 00:13 UTC by Uzair Shamim
Modified: 2020-12-26 04:34 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 Uzair Shamim 2016-03-04 00:13:43 UTC
Application: okular (0.24.2)
KDE Platform Version: 4.14.17
Qt Version: 4.8.6
Operating System: Linux 4.1.15-8-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

Open Okular > open PDF, Okular crashes

Plasma 5.5.4, openSUSE 42.1 (Leap), Okular Version 0.24.2 (KDE Development Platform 4.14.17)

- Unusual behavior I noticed:

I noticed some weird MIME errors before this issue but rebooting seems to have fixed it

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[KCrash Handler]
#6  0x00007f80291c35b1 in KSycocaEntry::name() const () at /usr/lib64/libkdecore.so.5
#7  0x00007f801a01a3f2 in  () at /usr/lib64/libokularcore.so.7
#8  0x00007f801a01c02e in Okular::Document::exportFormats() const () at /usr/lib64/libokularcore.so.7
#9  0x00007f801a310581 in Okular::Part::openFile() () at /usr/lib64/kde4/okularpart.so
#10 0x00007f802aea8fa7 in  () at /usr/lib64/libkparts.so.4
#11 0x00007f802aeaa58e in KParts::ReadOnlyPart::openUrl(KUrl const&) () at /usr/lib64/libkparts.so.4
#12 0x00007f801a30501b in Okular::Part::openUrl(KUrl const&) () at /usr/lib64/kde4/okularpart.so
#13 0x000000000040fe84 in _start ()

Reported using DrKonqi
Comment 1 Uzair Shamim 2016-03-04 03:43:48 UTC
It seems /usr/share/mime did not have read permission for other so Okular was unable to read it and crashed. I think it should at least pop up an error explaining that it was unable to read the MIME database rather than just crashing.
Comment 2 Justin Zobel 2020-11-26 08:53:58 UTC
Thanks for the report Uzair. I've tested this and am unable to reproduce the issue.

Can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I've set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thanks.
Comment 3 Bug Janitor Service 2020-12-11 04:33:59 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2020-12-26 04:34:25 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!