Bug 1082432 - Okular crashes when opening pdf files: Poppler symbol lookup error
Okular crashes when opening pdf files: Poppler symbol lookup error
Status: RESOLVED WORKSFORME
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: KDE Applications
Current
x86-64 Other
: P5 - None : Normal (vote)
: ---
Assigned To: E-Mail List
E-mail List
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-02-22 23:45 UTC by Thomas Murach
Modified: 2018-02-26 08:25 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Murach 2018-02-22 23:45:47 UTC
When opening any pdf file with okular, the application crashes immediately with this error:
okular: symbol lookup error: /usr/lib64/qt5/plugins/okular/generators/okularGenerator_poppler.so: undefined symbol: _ZNK7Poppler4Page13renderToImageEddiiiiNS0_8RotationEPFvRK6QImageRK8QVariantEPFbS7_ES7_

Launching okular without specifying a file works - I guess this is not surprising, but I wanted to mention it anyway.

I'm reporting this to openSUSE because this might be a packaging issue. Otherwise I can report this upstream as well.

System: most recent Tumbleweed. Relevant repos:
http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed
http://download.opensuse.org/tumbleweed/repo/oss/
http://download.opensuse.org/update/tumbleweed/
Comment 1 Wolfgang Bauer 2018-02-23 10:02:42 UTC
Hm. poppler has last been updated a month ago.
OTOH, a new okular version has been submitted two weeks ago, so it definitely has been built against the latest poppler...

Are you sure your system is fully up-to-date?
What exact versions of okular and poppler do you have installed?

zypper se -s okular
zypper se -s poppler

Try to run "zypper dup" and see if there are any updates.

And no, please do not report this upstream. Such a crash can only happen if the application is built against a different library version than is installed in the system.
Nothing that an upstream (who only release source code anyway) can fix.
Comment 2 Thomas Murach 2018-02-25 22:51:41 UTC
Thank you for your quick response.

Indeed, performing an upgrade via "zypper dup" installed a poppler version that resolves the issue I found. Hence I've marked this issue as resolved.

Final words: I'm a bit surprised that it requires a dist-upgrade to upgrade tools like okular/poppler, especially when (apparently) the okular version installed via the regular non-dist-upgrade mechanism depends on this latest poppler version.

Anyway, keep up the good work around OpenSUSE!
Comment 3 Wolfgang Bauer 2018-02-26 08:25:58 UTC
(In reply to Thomas Murach from comment #2)
> Final words: I'm a bit surprised that it requires a dist-upgrade to upgrade
> tools like okular/poppler, especially when (apparently) the okular version
> installed via the regular non-dist-upgrade mechanism depends on this latest
> poppler version.

"zypper dup" is the only supported way to upgrade a Tumbleweed system, as every snapshot basically is a new distribution.

No idea why poppler was not updated before, probably some conflict with something else that is/was installed.
"zypper dup" tries harder to resolve conflicts automatically, while "up" may just skip some updates in that case.