Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Mar 2020 06:46:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 245093] graphics/poppler: update to 0.86.1 broke opening PDFs with links
Message-ID:  <bug-245093-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245093

            Bug ID: 245093
           Summary: graphics/poppler: update to 0.86.1 broke opening PDFs
                    with links
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: desktop@FreeBSD.org
          Reporter: ashish@FreeBSD.org
          Assignee: desktop@FreeBSD.org
             Flags: maintainer-feedback?(desktop@FreeBSD.org)

Created attachment 212744
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D212744&action=
=3Dedit
pkg info | awk '{ print $1; }'

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:

=CE=BB gdb $(which evince)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20
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.htm=
l>
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=3D0x8083c4280 [PopplerDocum=
ent],
action=3D0x806b5a4c0, link=3D0x0) 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=3D0x8083c4280 [PopplerDocument], action=3D0x806b5a4c0, link=
=3D0x0) at
poppler-action.cc:348
        link_dest =3D 0x7fffdf5f8bc0
        named_dest =3D 0x80181ca4b <g_strdup+75>
#1  0x000000080865792a in _poppler_action_new(_PopplerDocument*, LinkAction
const*, char const*)
    (document=3D0x8083c4280 [PopplerDocument], link=3D0x80a149f00,
title=3D0x80a177dc0 "Preface") at poppler-action.cc:630
        action =3D 0x806b5a4c0
#2  0x000000080865fd4a in poppler_index_iter_get_action(PopplerIndexIter*)
(iter=3D0x806b3cda0) at poppler-document.cc:2662
        item =3D 0x80695e780
        link_action =3D 0x80a149f00
        action =3D 0x0
        title =3D 0x80a177dc0 "Preface"
#3  0x0000000808611a9a in build_tree(_PdfDocument*, _GtkTreeModel*,
_GtkTreeIter*, _PopplerIndexIter*)
    (pdf_document=3D0x8071ef6f0 [PdfDocument], model=3D0x8083ff890, parent=
=3D0x0,
iter=3D0x806b3cda0) at ev-poppler.cc:1463
        tree_iter =3D {stamp =3D 138410128, user_data =3D 0x3000000028, use=
r_data2 =3D
0x7fffdf5f8e50, user_data3 =3D 0x7fffdf5f8d40}
        action =3D 0x8083c4280
        link =3D 0x0
        expand =3D 8
        child =3D 0x8083c4280
        title_markup =3D 0x7fffdf5f8e00 ""
#4  0x0000000808611790 in pdf_document_links_get_links_model(_EvDocumentLin=
ks*)
(document_links=3D0x8071ef6f0) at ev-poppler.cc:1516
        pdf_document =3D 0x8071ef6f0 [PdfDocument]
        model =3D 0x8083ff890
        iter =3D 0x806b3cda0
#5  0x00000008002f5a4a in ev_document_links_get_links_model
(document_links=3D0x8071ef6f0) at ev-document-links.c:58
        iface =3D 0x8083e2580
        retval =3D 0x206
#6  0x00000008003475d2 in ev_job_links_run (job=3D0x80707b0f0 [EvJobLinks])=
 at
ev-jobs.c:389
        job_links =3D 0x80707b0f0 [EvJobLinks]
#7  0x0000000800345b03 in ev_job_run (job=3D0x80707b0f0 [EvJobLinks]) at
ev-jobs.c:216
        class =3D 0x8068d3060
#8  0x000000080034abaf in ev_job_thread (job=3D0x80707b0f0 [EvJobLinks]) at
ev-job-scheduler.c:184
        result =3D 0
#9  0x000000080034aad8 in ev_job_thread_proxy (data=3D0x0) at
ev-job-scheduler.c:217
        job =3D 0x80a147080
#10 0x000000080182b6ed in g_thread_proxy (data=3D0x807f52e80) at gthread.c:=
784
        thread =3D 0x807f52e80
#11 0x0000000801435736 in thread_start (curthread=3D0x808246900) at
/usr/src/lib/libthr/thread/thr_create.c:292
        set =3D {__bits =3D {0, 0, 0, 0}}
#12 0x0000000000000000 in  ()


I am running FreeBSD 12.1-RELEASE-p2 (amd64) with following packages instal=
led:

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!

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245093-7788>