maintainer-feedback requested: [Bug 245093] graphics/poppler: update to 0.86.1 broke opening PDFs with links

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Mar 27 06:55:44 UTC 2020


Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-desktop mailing
list <desktop at FreeBSD.org> for maintainer-feedback:
Bug 245093: graphics/poppler: update to 0.86.1 broke opening PDFs with links
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245093



--- Description ---
I am testing with Evince 3.28.5_12, and unable to open following PDF:

   https://hott.github.io/book/nightly/hott-a4-1246-g494c5db.pdf

Evince crashes with:

λ gdb $(which evince)				   
GNU gdb (GDB) 9.1 [GDB v9.1 for FreeBSD]
Copyright (C) 2020 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-portbld-freebsd12.1".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/bin/evince...
(gdb) run /tmp/hott-a4-1246-g494c5db.pdf
Starting program: /usr/local/bin/evince /tmp/hott-a4-1246-g494c5db.pdf
[New LWP 100443 of process 68421]
[New LWP 100446 of process 68421]
[New LWP 101790 of process 68421]

(evince:68421): GVFS-RemoteVolumeMonitor-WARNING **: 11:44:50.132: remote
volume monitor with dbus name org.gtk.vfs.HalVolumeMonitor is not supported
[New LWP 102433 of process 68421]
[New LWP 102434 of process 68421]
[New LWP 102435 of process 68421]
[LWP 102433 of process 68421 exited]

Thread 7 received signal SIGSEGV, Segmentation fault.
[Switching to LWP 102435 of process 68421]
0x0000000808657e18 in build_goto_dest (document=0x8083c4280 [PopplerDocument],
action=0x806b5a4c0, link=0x0) at poppler-action.cc:348
348	poppler-action.cc: No such file or directory.
(gdb) bt full
#0  0x0000000808657e18 in build_goto_dest(_PopplerDocument*, _PopplerAction*,
LinkGoTo const*)
    (document=0x8083c4280 [PopplerDocument], action=0x806b5a4c0, link=0x0) at
poppler-action.cc:348
	link_dest = 0x7fffdf5f8bc0
	named_dest = 0x80181ca4b <g_strdup+75>
#1  0x000000080865792a in _poppler_action_new(_PopplerDocument*, LinkAction
const*, char const*)
    (document=0x8083c4280 [PopplerDocument], link=0x80a149f00,
title=0x80a177dc0 "Preface") at poppler-action.cc:630
	action = 0x806b5a4c0
#2  0x000000080865fd4a in poppler_index_iter_get_action(PopplerIndexIter*)
(iter=0x806b3cda0) at poppler-document.cc:2662
	item = 0x80695e780
	link_action = 0x80a149f00
	action = 0x0
	title = 0x80a177dc0 "Preface"
#3  0x0000000808611a9a in build_tree(_PdfDocument*, _GtkTreeModel*,
_GtkTreeIter*, _PopplerIndexIter*)
    (pdf_document=0x8071ef6f0 [PdfDocument], model=0x8083ff890, parent=0x0,
iter=0x806b3cda0) at ev-poppler.cc:1463
	tree_iter = {stamp = 138410128, user_data = 0x3000000028, user_data2 =
0x7fffdf5f8e50, user_data3 = 0x7fffdf5f8d40}
	action = 0x8083c4280
	link = 0x0
	expand = 8
	child = 0x8083c4280
	title_markup = 0x7fffdf5f8e00 ""
#4  0x0000000808611790 in pdf_document_links_get_links_model(_EvDocumentLinks*)
(document_links=0x8071ef6f0) at ev-poppler.cc:1516
	pdf_document = 0x8071ef6f0 [PdfDocument]
	model = 0x8083ff890
	iter = 0x806b3cda0
#5  0x00000008002f5a4a in ev_document_links_get_links_model
(document_links=0x8071ef6f0) at ev-document-links.c:58
	iface = 0x8083e2580
	retval = 0x206
#6  0x00000008003475d2 in ev_job_links_run (job=0x80707b0f0 [EvJobLinks]) at
ev-jobs.c:389
	job_links = 0x80707b0f0 [EvJobLinks]
#7  0x0000000800345b03 in ev_job_run (job=0x80707b0f0 [EvJobLinks]) at
ev-jobs.c:216
	class = 0x8068d3060
#8  0x000000080034abaf in ev_job_thread (job=0x80707b0f0 [EvJobLinks]) at
ev-job-scheduler.c:184
	result = 0
#9  0x000000080034aad8 in ev_job_thread_proxy (data=0x0) at
ev-job-scheduler.c:217
	job = 0x80a147080
#10 0x000000080182b6ed in g_thread_proxy (data=0x807f52e80) at gthread.c:784
	thread = 0x807f52e80
#11 0x0000000801435736 in thread_start (curthread=0x808246900) at
/usr/src/lib/libthr/thread/thr_create.c:292
	set = {__bits = {0, 0, 0, 0}}
#12 0x0000000000000000 in  ()


I am running FreeBSD 12.1-RELEASE-p2 (amd64) with following packages installed:

evince-3.28.5_12
poppler-0.86.1
poppler-data-0.4.9_2
poppler-glib-0.86.1_1

Complete output attached in pkg.txt file.

After reverting to poppler{,-glib}-0.85.0, it works fine now.

Thanks!


More information about the freebsd-desktop mailing list