Bug#696312: evince: print PDF ends in segfault and no printing
# Match tags with merge target reassign 696312 libcairo2 found 696312 1.12.2-2 severity 696312 important tags 696312 = fixed-upstream patch merge 672336 696312 # Additional info found 696312 1.12.2-2.1 affects 696312 + evince #fixed 696312 1.12.2-2+deb7u2 (UNRELEASED) thanks Hi Michael, I'm quite sure bug #696312 is a duplicate of #672336, #680277, #682673 and #687783 (and is perhaps related to embedded fonts). This is definitely separate from #690799 (polygon intersection). I first hit this problem using 1.12.2-2 printing a completely new PDF from evince (my tax return!). A gdb backtrace is attached, and it matches this one. First I tried Neil's libcairo2, libcairo-gobject2 1.12.2-2.1 packages from sid, but with no change. Then I tried the libcairo2, libcairo-gobject2 1.12.2-2+deb7u2 packages, and it successfully printed. Vytautas, you may like to try these too: http://people.debian.org/~biebl/cairo/amd64/ Thank you! Regards, -- Steven Chamberlain ste...@pyro.eu.org Program terminated with signal 11, Segmentation fault. #0 decode_integer (p=0x0, integer=integer@entry=0x7fff81597b20) at /home/neil/code/debian/src/cairo/cairo-1.12.2/src/cairo-cff-subset.c:241 241 /home/neil/code/debian/src/cairo/cairo-1.12.2/src/cairo-cff-subset.c: No such file or directory. (gdb) bt full #0 decode_integer (p=0x0, integer=integer@entry=0x7fff81597b20) at /home/neil/code/debian/src/cairo/cairo-1.12.2/src/cairo-cff-subset.c:241 No locals. #1 0x7fbe2900ebda in cairo_cff_font_read_top_dict (font=0x7fbe2d9ba3c0) at /home/neil/code/debian/src/cairo/cairo-1.12.2/src/cairo-cff-subset.c:1185 index = {size = 1, num_elements = 1, element_size = 24, elements = 0x7fbe2d833fc0 } element = optimized out buf = `m'\276\177\000\000\025\000\000\000\000\000\000\000\220\036j- operand = optimized out status = CAIRO_INT_STATUS_SUCCESS p = 0x7fbe2d6a1f2c \203\223\370\263\223\367T\223\006\373\206\221\aY\240(\276\177 size = optimized out offset = 160 #2 0x7fbe290102d2 in cairo_cff_font_read_font (font=0x7fbe2d9ba3c0) at /home/neil/code/debian/src/cairo/cairo-1.12.2/src/cairo-cff-subset.c:1321 i = optimized out status = optimized out #3 cairo_cff_font_generate (length=synthetic pointer, data=synthetic pointer, font=0x7fbe2d9ba3c0) at /home/neil/code/debian/src/cairo/cairo-1.12.2/src/cairo-cff-subset.c:2545 status = optimized out #4 _cairo_cff_subset_init (cff_subset=cff_subset@entry=0x7fff81597dd0, subset_name=subset_name@entry=0x7fff81597e40 CairoFont-2-1, font_subset=font_subset@entry=0x7fff81597f40) at /home/neil/code/debian/src/cairo/cairo-1.12.2/src/cairo-cff-subset.c:2928 font = optimized out status = optimized out data = 0x0 length = 0 i = optimized out #5 0x7fbe2904bb72 in _cairo_pdf_surface_emit_cff_font_subset (font_subset=0x7fff81597f40, surface=0x7fbe2d93a6e0) at /home/neil/code/debian/src/cairo/cairo-1.12.2/src/cairo-pdf-surface.c:4884 status = optimized out subset = {family_name_utf8 = 0x0, ps_name = 0x7fbe2d73df20 \020Ï-\276\177, widths = 0x7fbe2d96cf20, x_min = -0.115, y_min = -0.23599, x_max = 0.94595, y_max = 0.96697, ascent = 0.96697, descent = -0.23599, data = 0x7fbe2d5e8700 \360Ë-\276\177, data_length = 238} name = CairoFont-2-1\000\000\000\060\b\000\000\000\000\000\000Å\377)\201\000\000\000\340\263\371(\276\177\000\000\320\362i-\276\177\000\000`m'\276\177\000\000\000\b\000\000\000\000\000 #6 _cairo_pdf_surface_emit_unscaled_font_subset (font_subset=0x7fff81597f40, closure=0x7fbe2d93a6e0) at /home/neil/code/debian/src/cairo/cairo-1.12.2/src/cairo-pdf-surface.c:5596 surface = 0x7fbe2d93a6e0 status = CAIRO_INT_STATUS_SUCCESS #7 0x7fbe290119be in _cairo_sub_font_collect (closure=0x7fff81597ef0, entry=0x7fbe2d506fa0) at /home/neil/code/debian/src/cairo/cairo-1.12.2/src/cairo-scaled-font-subsets.c:751 sub_font = 0x7fbe2d506fa0 collection = 0x7fff81597ef0 subset = {scaled_font = 0x7fbe2d519200, font_id = 2, subset_id = 1, glyphs = 0x7fbe2d78a0e0, utf8 = 0x7fbe2d78a590, glyph_names = 0x0, to_latin_char = 0x0, latin_to_subset_glyph_index = 0x0, num_glyphs = 2, is_composite = 1, is_scaled = 0, is_latin = 0} i = optimized out j = optimized out #8 _cairo_scaled_font_subsets_foreach_internal (font_subsets=optimized out, font_subset_callback=font_subset_callback@entry=0x7fbe2904baf0 _cairo_pdf_surface_emit_unscaled_font_subset, closure=closure@entry=0x7fbe2d93a6e0, type=type@entry=CAIRO_SUBSETS_FOREACH_UNSCALED) at /home/neil/code/debian/src/cairo/cairo-1.12.2/src/cairo-scaled-font-subsets.c:1072 collection = {glyphs = 0x7fbe2d78a0e0, utf8 = 0x7fbe2d78a590, glyphs_size = 71, to_latin_char = 0x7fbe2d69f2d0, latin_to_subset_glyph_index =
Bug#696312: evince: print PDF ends in segfault and no printing
Hi, this might be another duplicate of the libcairo bug. Can you try the libcairo packages from [1] and report back. Cheers, Michael [1] deb http://people.debian.org/~biebl/cairo/i386 ./ deb http://people.debian.org/~biebl/cairo/amd64 ./ -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth? signature.asc Description: OpenPGP digital signature
Bug#696312: evince: print PDF ends in segfault and no printing
Dear Maintainer, I can confirm this bug on a system with the following packages (see below). I've attached a backtrace for your convenience. An interesting detail is that this crash did not occur when I tried to print the PS version of a given PDF, i.e.: evince foo.pdf print from within evince sigsegv but pdf2ps foo.pdf evince foo.ps print from within evince success Best wishes, Ryan -- System Information: Debian Release: 7.0 APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_CA.UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages evince depends on: ii evince-common3.4.0-3.1 ii gnome-icon-theme 3.4.0-2 ii libatk1.0-0 2.4.0-2 ii libc62.13-38 ii libcairo-gobject21.12.2-2 ii libcairo21.12.2-2 ii libevdocument3-4 3.4.0-3.1 ii libevview3-3 3.4.0-3.1 ii libgail-3-0 3.4.2-5 ii libgdk-pixbuf2.0-0 2.26.1-1 ii libglib2.0-0 2.33.12+really2.32.4-5 ii libgnome-keyring03.4.1-1 ii libgtk-3-0 3.4.2-5 ii libice6 2:1.0.8-2 ii libnautilus-extension1a 3.4.2-1+build1 ii libpango1.0-01.30.0-1 ii libsm6 2:1.2.1-2 ii libx11-6 2:1.5.0-1 ii libxml2 2.8.0+dfsg1-7 ii shared-mime-info 1.0-1+b1 ii zlib1g 1:1.2.7.dfsg-13 Versions of packages evince recommends: ii dbus-x11 1.6.8-1 ii gvfs 1.12.3-3 Versions of packages evince suggests: pn nautilus none ii poppler-data 0.4.6-2 pn unrar none -- no debconf information -- |_)|_/ Ryan Kavanagh | GnuPG key | \| \ http://ryanak.ca/ | 4A11C97A GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type show copying and show warranty for details. This GDB was configured as x86_64-linux-gnu. For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/... Reading symbols from /usr/bin/evince...Reading symbols from /usr/lib/debug/usr/bin/evince...done. done. (gdb) handle SIG33 pass nostop noprint SignalStop Print Pass to program Description SIG33 NoNo Yes Real-time event 33 (gdb) set pagination 0 (gdb) run /tmp/w.pdf Starting program: /usr/bin/evince /tmp/w.pdf [Thread debugging using libthread_db enabled] Using host libthread_db library /lib/x86_64-linux-gnu/libthread_db.so.1. [New Thread 0x7fffee83d700 (LWP 26646)] [New Thread 0x7fffee03c700 (LWP 26647)] [New Thread 0x7fffec9f9700 (LWP 26648)] [New Thread 0x7fffe44f7700 (LWP 26649)] Program received signal SIGSEGV, Segmentation fault. decode_integer (p=0x0, integer=integer@entry=0x7fffd760) at /tmp/buildd/cairo-1.12.2/src/cairo-cff-subset.c:241 241 /tmp/buildd/cairo-1.12.2/src/cairo-cff-subset.c: No such file or directory. (gdb) backtrace full #0 decode_integer (p=0x0, integer=integer@entry=0x7fffd760) at /tmp/buildd/cairo-1.12.2/src/cairo-cff-subset.c:241 No locals. #1 0x757a2bfa in cairo_cff_font_read_top_dict (font=0x55dfb1b0) at /tmp/buildd/cairo-1.12.2/src/cairo-cff-subset.c:1185 index = {size = 1, num_elements = 1, element_size = 24, elements = 0x55cf66e0 } element = optimized out buf = `\216\346\363\377\177\000\000\017\000\000\000\000\000\000\000\t`\350U operand = optimized out status = CAIRO_INT_STATUS_SUCCESS p = 0x55e8a3eb {\233\371F\233\373\200\225\367\177\213\006\367\246\223\367\022\223\375\036\213\a\251\n\343\v\370\210\024\367\371\025\363\377\177 size = optimized out offset = 211 #2 0x757a42f2 in cairo_cff_font_read_font (font=0x55dfb1b0) at /tmp/buildd/cairo-1.12.2/src/cairo-cff-subset.c:1321 i = optimized out status = optimized out #3 cairo_cff_font_generate (length=synthetic pointer, data=synthetic pointer, font=0x55dfb1b0) at /tmp/buildd/cairo-1.12.2/src/cairo-cff-subset.c:2545 status = optimized out #4 _cairo_cff_subset_init (cff_subset=cff_subset@entry=0x7fffda10, subset_name=subset_name@entry=0x7fffda80 CairoFont-0-0, font_subset=font_subset@entry=0x7fffdb80) at /tmp/buildd/cairo-1.12.2/src/cairo-cff-subset.c:2928 font = optimized out status = optimized out data = 0x0 length = 0 i = optimized out #5 0x757dfba2 in _cairo_pdf_surface_emit_cff_font_subset (font_subset=0x7fffdb80, surface=0x55f23800) at /tmp/buildd/cairo-1.12.2/src/cairo-pdf-surface.c:4884
Bug#696312: evince: print PDF ends in segfault and no printing
Package: evince Version: 3.4.0-3.1 Severity: important Dear Maintainer, *** Please consider answering these questions, where appropriate *** * What led up to the situation? file-open...*.pdf file-printok * What exactly did you do (or not do) that was effective (or ineffective)? * What was the outcome of this action? segmentation fault * What outcome did you expect instead? print *** End of the template - remove these lines *** -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages evince depends on: ii evince-common3.4.0-3.1 ii gnome-icon-theme 3.4.0-2 ii libatk1.0-0 2.4.0-2 ii libc62.13-37 ii libcairo-gobject21.12.2-2 ii libcairo21.12.2-2 ii libevdocument3-4 3.4.0-3.1 ii libevview3-3 3.4.0-3.1 ii libgail-3-0 3.4.2-4 ii libgdk-pixbuf2.0-0 2.26.1-1 ii libglib2.0-0 2.33.12+really2.32.4-3 ii libgnome-keyring03.4.1-1 ii libgtk-3-0 3.4.2-4 ii libice6 2:1.0.8-2 ii libnautilus-extension1a 3.4.2-1+build1 ii libpango1.0-01.30.0-1 ii libsm6 2:1.2.1-2 ii libx11-6 2:1.5.0-1 ii libxml2 2.8.0+dfsg1-7 ii shared-mime-info 1.0-1+b1 ii zlib1g 1:1.2.7.dfsg-13 Versions of packages evince recommends: ii dbus-x11 1.6.8-1 ii gvfs 1.12.3-1+b1 Versions of packages evince suggests: ii nautilus 3.4.2-1+build1 ii poppler-data 0.4.5-10 pn unrar none -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org