Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Mar 2020 09:39:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        desktop@FreeBSD.org
Subject:   [Bug 245093] graphics/poppler: update to 0.86.1 broke opening PDFs with links
Message-ID:  <bug-245093-39348-Ao0DLeSksi@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-245093-39348@https.bugs.freebsd.org/bugzilla/>
References:  <bug-245093-39348@https.bugs.freebsd.org/bugzilla/>

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

Philippe Michel <philippe.michel7@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |philippe.michel7@free.fr

--- Comment #1 from Philippe Michel <philippe.michel7@free.fr> ---
I see a very similar problem (evince-lite on FreeBSD 12.1-STABLE r359193 wi=
th
all relevant ports up to date), although the crash happens at a different p=
lace
in poppler-action.cc :

Thread 5 received signal SIGSEGV, Segmentation fault.
[Switching to LWP 100573 of process 99965]
0x000000080543b185 in std::__1::basic_string<char, std::__1::char_traits<ch=
ar>,
std::__1::allocator<char> >::__is_long (this=3D0x20) at
/usr/include/c++/v1/string:1426
1426            {return bool(__r_.first().__s.__size_ & __short_mask);}
(gdb) where
#0  0x000000080543b185 in std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >::__is_long (this=
=3D0x20)
at /usr/include/c++/v1/string:1426
#1  0x000000080543b12c in std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >::__get_pointer
(this=3D0x20)
    at /usr/include/c++/v1/string:1520
#2  0x000000080543b085 in std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >::data (this=3D0x20=
) at
/usr/include/c++/v1/string:1248
#3  0x000000080543b385 in std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >::c_str (this=3D0x2=
0) at
/usr/include/c++/v1/string:1246
#4  0x000000080543a011 in build_uri (action=3D0x804009480, link=3D0x0) at
poppler-action.cc:408
#5  0x0000000805439a8f in _poppler_action_new (document=3D0x805116a80,
link=3D0x8068b1d40, title=3D0x0) at poppler-action.cc:642
#6  0x000000080544d004 in poppler_page_get_link_mapping (page=3D0x806a16f80=
) at
poppler-page.cc:1237
#7  0x000000080518b544 in ?? () from
/usr/local/lib/evince/4/backends/libpdfdocument.so
#8  0x000000080031cd6d in ?? () from /usr/local/lib/libevview3.so.3
#9  0x000000080031e614 in ?? () from /usr/local/lib/libevview3.so.3
#10 0x000000080149fe4a in ?? () from /usr/local/lib/libglib-2.0.so.0
#11 0x0000000801115735 in ?? () from /lib/libthr.so.3
#12 0x0000000000000000 in ?? ()
Backtrace stopped: Cannot access memory at address 0x7fffdf9fb000

The attached patch works around the problem for me but I don't know enough =
c++
to really understand what happens (why does a dynamic_cast of link between
frames #5 and #4 fail)

--=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-39348-Ao0DLeSksi>