Bug#1034451: evince: Dies with an assertion error when trying to print
Uwe Kleine-König
uwe at kleine-koenig.org
Sat Apr 15 21:00:52 BST 2023
Package: evince
Version: 43.1-2+b1
Severity: normal
X-Debbugs-Cc: uwe at kleine-koenig.org
Hello,
when trying to print a certain document (note to myself:
plusquemaproprevie.pdf), evince dies with:
evince: ../../../../src/cairo-array.c:182: _cairo_array_index: Assertion `index < array->num_elements' failed.
backtrace looks as follows:
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo at entry=6, no_tid=no_tid at entry=0) at ./nptl/pthread_kill.c:44
#1 0x00007f8b4a2aed2f in __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#2 0x00007f8b4a25fef2 in __GI_raise (sig=sig at entry=6) at ../sysdeps/posix/raise.c:26
#3 0x00007f8b4a24a472 in __GI_abort () at ./stdlib/abort.c:79
#4 0x00007f8b4a24a395 in __assert_fail_base (fmt=0x7f8b46b8e8f2 "%s%s%s:%u: %s%sZusicherung »%s« nicht erfüllt.\n%n",
assertion=assertion at entry=0x7f8b4a8b338e "index < array->num_elements", file=file at entry=0x7f8b4a8b3370 "../../../../src/cairo-array.c",
line=line at entry=182, function=function at entry=0x7f8b4a8b3430 <__PRETTY_FUNCTION__.2> "_cairo_array_index") at ./assert/assert.c:92
#5 0x00007f8b4a258df2 in __GI___assert_fail (assertion=assertion at entry=0x7f8b4a8b338e "index < array->num_elements",
file=file at entry=0x7f8b4a8b3370 "../../../../src/cairo-array.c", line=line at entry=182,
function=function at entry=0x7f8b4a8b3430 <__PRETTY_FUNCTION__.2> "_cairo_array_index") at ./assert/assert.c:101
#6 0x00007f8b4a7e74a3 in _cairo_array_index (index=557, array=<optimized out>) at ../../../../src/cairo-array.c:182
#7 0x00007f8b4a7e7609 in _cairo_array_index (array=<optimized out>, index=index at entry=557) at ../../../../src/cairo-array.c:167
#8 0x00007f8b4a8581d4 in cairo_cff_parse_charstring (font=font at entry=0x55b5c22bec20, charstring=<optimized out>, length=<optimized out>,
glyph_id=glyph_id at entry=0, need_width=1) at ../../../../src/cairo-cff-subset.c:1580
#9 0x00007f8b4a85b063 in cairo_cff_find_width_and_subroutines_used (subset_id=0, glyph_id=0, length=<optimized out>, charstring=<optimized out>,
font=0x55b5c22bec20) at ../../../../src/cairo-cff-subset.c:1661
#10 cairo_cff_font_subset_charstrings_and_subroutines (font=0x55b5c22bec20) at ../../../../src/cairo-cff-subset.c:1778
#11 cairo_cff_font_subset_font (font=0x55b5c22bec20) at ../../../../src/cairo-cff-subset.c:1959
#12 cairo_cff_font_generate (length=<optimized out>, data=<optimized out>, font=<optimized out>) at ../../../../src/cairo-cff-subset.c:2572
#13 _cairo_cff_subset_init (cff_subset=cff_subset at entry=0x7ffe2c68b3f0, subset_name=subset_name at entry=0x7ffe2c68b460 "CairoFont-2-0",
font_subset=font_subset at entry=0x7ffe2c68b560) at ../../../../src/cairo-cff-subset.c:2949
#14 0x00007f8b4a8a96e1 in _cairo_pdf_surface_emit_cff_font_subset (font_subset=0x7ffe2c68b560, surface=0x55b5c2508000)
at ../../../../src/cairo-pdf-surface.c:5643
#15 _cairo_pdf_surface_emit_unscaled_font_subset (font_subset=0x7ffe2c68b560, closure=0x55b5c2508000) at ../../../../src/cairo-pdf-surface.c:6358
#16 0x00007f8b4a85ca98 in _cairo_sub_font_collect (closure=0x7ffe2c68b510, entry=0x55b5c2326770) at ../../../../src/cairo-scaled-font-subsets.c:746
#17 _cairo_scaled_font_subsets_foreach_internal (font_subsets=<optimized out>,
font_subset_callback=font_subset_callback at entry=0x7f8b4a8a9670 <_cairo_pdf_surface_emit_unscaled_font_subset>,
closure=closure at entry=0x55b5c2508000, type=type at entry=CAIRO_SUBSETS_FOREACH_UNSCALED) at ../../../../src/cairo-scaled-font-subsets.c:1067
#18 0x00007f8b4a85d807 in _cairo_scaled_font_subsets_foreach_unscaled (font_subsets=<optimized out>,
font_subset_callback=font_subset_callback at entry=0x7f8b4a8a9670 <_cairo_pdf_surface_emit_unscaled_font_subset>, closure=closure at entry=0x55b5c2508000)
at ../../../../src/cairo-scaled-font-subsets.c:1095
#19 0x00007f8b4a8a7638 in _cairo_pdf_surface_emit_font_subsets (surface=0x55b5c2508000) at ../../../../src/cairo-pdf-surface.c:6408
#20 _cairo_pdf_surface_finish (abstract_surface=0x55b5c2508000) at ../../../../src/cairo-pdf-surface.c:2220
#21 0x00007f8b4a845c52 in _cairo_surface_finish (surface=surface at entry=0x55b5c2508000) at ../../../../src/cairo-surface.c:1030
--Type <RET> for more, q to quit, c to continue without paging--
#22 0x00007f8b4a8469bb in INT_cairo_surface_finish (surface=0x55b5c2508000) at ../../../../src/cairo-surface.c:1079
#23 INT_cairo_surface_finish (surface=0x55b5c2508000) at ../../../../src/cairo-surface.c:1063
#24 0x00007f8b4a814075 in _cairo_paginated_surface_finish (abstract_surface=0x55b5c1920800) at ../../../../src/cairo-paginated-surface.c:214
#25 0x00007f8b4a845c52 in _cairo_surface_finish (surface=surface at entry=0x55b5c1920800) at ../../../../src/cairo-surface.c:1030
#26 0x00007f8b4a8469bb in INT_cairo_surface_finish (surface=0x55b5c1920800) at ../../../../src/cairo-surface.c:1079
#27 INT_cairo_surface_finish (surface=0x55b5c1920800) at ../../../../src/cairo-surface.c:1063
#28 0x00007f8b4ada0e37 in unix_end_run (op=0x55b5c18a12a0, wait=0, cancelled=0) at ../../../gtk/gtkprintoperation-unix.c:374
#29 0x00007f8b4ac60739 in print_pages_idle (user_data=0x55b5c24da240) at ../../../gtk/gtkprintoperation.c:2935
#30 0x00007f8b4a9277e7 in gdk_threads_dispatch (data=0x55b5c1acc240) at ../../../gdk/gdk.c:769
#31 0x00007f8b4b38867f in g_main_dispatch (context=0x55b5c189c1b0) at ../../../glib/gmain.c:3454
#32 g_main_context_dispatch (context=context at entry=0x55b5c189c1b0) at ../../../glib/gmain.c:4172
#33 0x00007f8b4b388a38 in g_main_context_iterate (context=context at entry=0x55b5c189c1b0, block=block at entry=1, dispatch=dispatch at entry=1,
self=<optimized out>) at ../../../glib/gmain.c:4248
#34 0x00007f8b4b388acc in g_main_context_iteration (context=context at entry=0x55b5c189c1b0, may_block=may_block at entry=1) at ../../../glib/gmain.c:4313
#35 0x00007f8b4a6d165d in g_application_run (application=0x55b5c1b75150, argc=<optimized out>, argv=<optimized out>) at ../../../gio/gapplication.c:2573
#36 0x000055b5c172c57e in main ()
Printing the document directly using lp worked fine.
Best regards
Uwe
-- System Information:
Debian Release: 12.0
APT prefers testing-security
APT policy: (500, 'testing-security'), (500, 'testing-debug'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-7-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages evince depends on:
ii dconf-gsettings-backend [gsettings-backend] 0.40.0-4
ii evince-common 43.1-2
ii gsettings-desktop-schemas 43.0-1
ii libatk1.0-0 2.46.0-5
ii libc6 2.36-8
ii libcairo-gobject2 1.16.0-7
ii libcairo2 1.16.0-7
ii libevdocument3-4 43.1-2+b1
ii libevview3-3 43.1-2+b1
ii libgdk-pixbuf-2.0-0 2.42.10+dfsg-1+b1
ii libglib2.0-0 2.74.6-1
ii libgnome-desktop-3-20 43.2-2
ii libgtk-3-0 3.24.37-2
ii libhandy-1-0 1.8.1-1
ii libpango-1.0-0 1.50.12+ds-1
ii libpangocairo-1.0-0 1.50.12+ds-1
ii libsecret-1-0 0.20.5-3
ii shared-mime-info 2.2-1
Versions of packages evince recommends:
ii dbus-user-session [default-dbus-session-bus] 1.14.6-1
ii dbus-x11 [dbus-session-bus] 1.14.6-1
Versions of packages evince suggests:
ii gvfs 1.50.3-1
ii nautilus-sendto 3.8.6-3.1
ii poppler-data 0.4.12-1
pn unrar <none>
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list