PDF files don't open; "Failed to load backend for 'application/pdf': libpdfdocument.so" and "Invalid ELF header".
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
evince (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
Hello.
On Wed, Jun 19. 2019, Evince has been updated to version '3.18.2-1ubuntu4.5' [1]. This update added, among other things, some hardening from Ubuntu 18.10 Release. However, now, it is impossible to open any '.pdf' files. When I try to open such file, there is an information (on the red background) in the main Evince window. And It looks this way:
,----[ Opening '.pdf' error ]
|
| Cannot open document „file:/
| Failed to load backend for 'application/pdf':
| /usr/lib/
| header
|
`----
There is a reference to »/usr/lib/
,----[ $ evince Docs/foo-bar.pdf ]
|
| (evince:26918): EvinceDocument-
| /usr/lib/
| header
|
| (evince:26918): EvinceDocument-
| /usr/lib/
| header
|
`----
I think, that the whole problem is/could be related with AppArmor and Evince profile changes in the latest update, because - for example - day before, before update, everything was okay. Anyway, described problem/issue started to happen right after Evince update. (To check differences between AppArmor profile versions, please see 2. and 3.). There is one more thing to notice: Evince profile, has never been changed by the User.
If it's about AppArmor: I've tried to change Evince profile mode from 'enforce' to 'complain'. Unfortunately, nothing changed. There wasn't any valuable entries in system log files etc. (I'm sorry, but for now, I can not check other variants/solutions, such as: (a) disable Evince profile via `aa-disable(8)` command or (b) make links between »/etc/apparmor.
✖ NOTE: to make some more tests, I've tried to open '.djvu' file, but without success. It seems, that there is exactly the same informations as with '.pdf' files. Of course, Evince (»/etc/
Sebastien, what do You think?.
Here are some additional informations:
✗ Description: Ubuntu 16.04.6 LTS
✗ Release: 16.04
✗ Architecture: x86_32/i386
✗ Linux: 4.4.0-155-generic
✓ AppArmor: 2.10.95-0ubuntu2.11
✓ Evince: 3.18.2-1ubuntu4.5
Best regards.
______________
[1] https:/
[2] http://
[3] http://
[4] https:/
CVE References
description: | updated |
description: | updated |
description: | updated |
description: | updated |
summary: |
- PDF files do not open. 'Failed to load backend for 'application/pdf': - libpdfdocument.so' and 'Invalid ELF header'. + PDF files don't open; "Failed to load backend for 'application/pdf': + libpdfdocument.so" and "Invalid ELF header". |
Thank you for your bug report, could you add the log from 'journalctl -b 0' after getting the issue?
Also what's the output of
$ debsums libevdocument3-4