You are not logged in.

#1 2012-05-27 02:10:10

hftsin
Member
Registered: 2012-05-27
Posts: 5

evince segment fault

Hi all,

When I upgrade the package poppler, poppler-glib, poppler-qt from 0.18.4-2 to 0.20.0-1, then evince crashed. According to the cmdline outputs, it prompts the fowlling hints:


(evince:4576): EvinceDocument-WARNING **: /usr/lib/libpoppler-glib.so.8: undefined symbol: cairo_mesh_pattern_begin_patch

(evince:4576): EvinceDocument-WARNING **: Cannot load backend 'pdfdocument' since file '/usr/lib/evince/4/backends/libpdfdocument.so' cannot be read.
Segmentation fault

However, when I downgrade poppler, poppler-glib and poppler-qt to 0.18.4-2, evince works perfect.

Can anybody notice this bug?

Best,
Hanfeng

Offline

#2 2012-05-27 02:19:23

headkase
Member
Registered: 2011-12-06
Posts: 1,981

Re: evince segment fault

extra/poppler 0.20.0-1 [installed]
extra/poppler-glib 0.20.0-1 [installed]
extra/evince 3.4.0-1 (gnome-extra) [installed]

Do not have poppler-qt installed.

Evince works fine for myself.  I'm running Xfce 4.10 as my desktop, all packages on my system up-to-date.

Offline

#3 2012-05-27 02:22:58

hftsin
Member
Registered: 2012-05-27
Posts: 5

Re: evince segment fault

I installed texworks on my laptops. and it depends on poppler-qt.

Offline

#4 2012-05-27 06:23:31

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: evince segment fault

When you see an "undefined symbol" at run time, this means a dependency that your program was compiled with and intended to be used with is not present. Even if you have all the dependencies that the PKGBUILD says you should have, the versions might be too old.

Upgrade cairo.


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#5 2012-05-27 11:12:54

danielpie
Member
Registered: 2012-04-08
Posts: 5

Re: evince segment fault

I get the same error. What should I do?

Offline

#6 2012-05-27 12:02:40

wolf.ram
Member
Registered: 2012-04-15
Posts: 6

Re: evince segment fault

danielpie
there is advice in the previous message, update cairo. Probably you have cairo-ubuntu package.

Offline

#7 2012-05-27 16:33:09

vificunero
Member
Registered: 2004-07-12
Posts: 23

Re: evince segment fault

I have the same problem. cairo-ubuntu is up to date but I found out is out of date too. Is cairo-ubuntu-xcb the new right package? Thank's.

Offline

#8 2012-05-27 16:41:15

ilusi0n
Member
Registered: 2010-06-09
Posts: 187

Re: evince segment fault

Just compile again the cairo-ubuntu package and that must do the trick

Offline

#9 2012-05-27 17:07:23

jesusangelm
Member
Registered: 2012-04-30
Posts: 29
Website

Re: evince segment fault

I have the same problem:

(evince:8485): EvinceDocument-WARNING **: /usr/lib/libpoppler-glib.so.8: undefined symbol: cairo_mesh_pattern_begin_patch

(evince:8485): EvinceDocument-WARNING **: Cannot load backend 'pdfdocument' since file '/usr/lib/evince/4/backends/libpdfdocument.so' cannot be read.
[1]    8485 segmentation fault  evince

i already upgrade cairo-ubuntu-xcb from AUR, but  the problem remains

Offline

#10 2012-05-27 23:52:30

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: evince segment fault

Newsflash. The newest version of cairo is 1.12. All the cairo-ubuntu-* packages in the AUR are 1.10.

If you want the ubuntu patches and don't want to adapt them so that they apply cleanly to 1.12, the other way is downgrading poppler-glib. It's either (new poppler, new cairo) or (old poppler, old cairo).


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#11 2012-05-30 07:03:30

kmiernik
Member
From: Poland
Registered: 2009-10-20
Posts: 48

Re: evince segment fault

I had the same issue as described by hftsin. In my case it was a problem of mismatch of versions of poppler, poppler-qt and poppler-glib

# pacman -Qs poppler
local/poppler 0.20.0-1
    PDF rendering library based on xpdf 3.0
local/poppler-data 0.4.5-1
    Encoding data for the poppler PDF rendering library
local/poppler-glib 0.18.4-2
    Poppler glib bindings
local/poppler-qt 0.20.0-1
    Poppler Qt bindings

After upgrade of poppler-glib to 0.20.0-1 I have no more problems.

Last edited by kmiernik (2012-05-30 07:04:33)

Offline

#12 2012-05-30 09:20:07

sipik
Member
Registered: 2011-05-16
Posts: 23

Re: evince segment fault

I experienced the same problem. Upgrading ubuntu-cairo from AUR (to version 1.12.2) solved it.
Thanks for the tip!

Offline

#13 2012-05-30 13:07:50

bruzzel
Member
Registered: 2012-03-04
Posts: 5

Re: evince segment fault

Hi all
I have the same problem with Evince and tried rebuilding cairo-ubuntu, but it gets stuck:

configure.ac:15: error: possibly undefined macro: AM_MAINTAINER_MODE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
make: *** [configure] Fout 1
==> ERROR: A failure occurred in build().
    Aborting...
The build failed.

Any idea anybody?

Thanks

Offline

#14 2012-05-30 14:42:49

Layus
Member
Registered: 2012-04-30
Posts: 12

Re: evince segment fault

got same error on compile, but you forgot the previous line :

aclocal.m4:17: warning: this file was generated for autoconf 2.68.
You have another version of autoconf.  It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically `autoreconf'.

Offline

#15 2012-05-30 15:17:39

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,254

Re: evince segment fault

To recompile cairo-ubuntu just add a line in the PKGBUILD

autoreconf

above make in Build(). (Documented at AUR)

Last edited by Roken (2012-05-30 15:17:57)


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus Prime B450 Plus, 32Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (1 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

/ is the root of all problems.

Offline

#16 2012-06-01 22:53:51

gbc921
Member
From: Brazil
Registered: 2011-08-05
Posts: 64
Website

Re: evince segment fault

Actually for me (Arch x64) inserting autoreconf before ./configure in build make it work.

(Couple first comments here: https://aur.archlinux.org/packages.php?ID=17327)

Cheers,


- "Nothing is impossible, impossible just takes longer"
- My Arch Linux Mirror located in São Paulo, Brazil: http://archmirror.duckdns.org:9000/

Offline

#17 2012-07-10 16:48:48

archie0
Member
Registered: 2012-02-26
Posts: 144

Re: evince segment fault

Fixed by installing/upgrading cairo-ubuntu.

Offline

Board footer

Powered by FluxBB