GNOME Bugzilla – Bug 647354
crash in set_property at ev-properties-view.c line 187
Last modified: 2012-07-06 18:37:56 UTC
Created attachment 185633 [details] gdb with evince Description of problem: If you open properties of a pdf, evince crash. Version-Release number of selected component (if applicable): evince-2.32.0-3 (Mageia cauldron) Steps to Reproduce: 1.open a pdf with evince 2.file 3.properties Thanks.
Paste here the attach backtrace. Program received signal SIGSEGV, Segmentation fault. 0x000000000044a39f in set_property (ties=0x884110, table=0x98e840, property=LINEARIZED_PROPERTY, text=0x1 <Address 0x1 out of bounds>, row=0x7fffffffcdec) at ev-properties-view.c:187 187 if (text == NULL || text[0] == '\000') { (gdb) bt full
+ Trace 226689
Manuel, it is possible can you attach the pdf file? Thank.
Created attachment 185724 [details] gdb of the pdf http://hiebel.eu/pub/I2.pdf
the pdf is here: http://hiebel.eu/pub/I2.pdf And the attach 185724 is for this file. (I'm not sure it was this one)
I can't reproduce in evince 3.0 using poppler/cairo 0.16.4 and test with evince 2.32 poppler/cairo 0.16.4 and can't reproduce too
The problem is in poppler: Starting program: /home/pterjan/co/poppler/BUILD/poppler-0.16.4/glib/.libs/test-poppler-glib file:///home/pterjan/I2.pdf 1 [Thread debugging using libthread_db enabled] Poppler version 0.16.4 Backend is POPPLER_BACKEND_CAIRO --------------------------------------------------------- Document Metadata --------------------------------------------------------- format: PDF-1.5 author: boeglen creator: Acrobat PDFMaker 9.0 pour Word producer: Adobe PDF Library 9.0 Program received signal SIGSEGV, Segmentation fault. 0xf7c45043 in vfprintf () from /lib/i686/libc.so.6 Missing debug package(s), you should install: cairo-debug-1.10.2-3.mga1.i586 fontconfig-debug-2.8.0-5.mga1.i586 freetype2-debug-2.4.4-4.mga1.i586 gcc-debug-4.5.2-4.mga1.i586 gdk-pixbuf2.0-debug-2.22.1-3.mga1.i586 glib2.0-debug-2.28.6-1.mga1.i586 glibc-debug-2.12.1-11.mga1.i586 libjpeg-debug-8b-5.mga1.i586 libpng-debug-1.2.44-3.mga1.i586 libx11-debug-1.4.3-1.mga1.i586 libxau-debug-1.0.6-1.mga1.i586 libxcb-debug-1.7-1.mga1.i586 libxdmcp-debug-1.1.0-1.mga1.i586 libxrender-debug-0.9.6-1.mga1.i586 openjpeg-debug-1.3-7.mga1.i586 pcre-debug-8.12-1.mga1.i586 pixman-debug-0.20.2-1.mga1.i586 zlib-debug-1.2.5-3.mga1.i586 (gdb) bt
+ Trace 227085
It seems "linearized" is used as gchar * in test-poppler-glib.cc and evince, while it is a boolean g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_LINEARIZED, g_param_spec_boolean ("linearized", "Fast Web View Enabled", "Is the document optimized for web viewing?", FALSE, G_PARAM_READABLE));
http://mail.gnome.org/archives/commits-list/2010-September/msg06919.html
Pascal, which version of evince are you viewing? there is an incompatibility between evince 2.32 and poppler-0.16. Basically, poppler 0.16 was released after evince 2.32, and there was an api change in the poppler-glib bindings.
2.32.0 with poppler 0.16.4 which in comment 4 you said you tested :) I will apply the patch to my 2.32, do you think it is worth adding to the 2-32 branch? that branch contains some security fixes so it would be nice to have a 2.32.1 release :)
This doesn't happen on 3.x , and 2.32 is obsolete; closing.