Subject: pkg/25228: xpdf crashes with new t1lib
To: None <>
From: None <>
List: pkgsrc-bugs
Date: 04/18/2004 19:24:27
>Number:         25228
>Category:       pkg
>Synopsis:       xpdf crashes with new t1lib
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 18 17:25:00 UTC 2004
>Originator:     Michael van Elst
>Release:        NetBSD 1.6.2_STABLE
                                Michael van Elst
                                "A potential Snark may lurk in every tree."
System: NetBSD pepew 1.6.2_STABLE NetBSD 1.6.2_STABLE (PEPEW) #4: Mon Apr 12 16:34:59 MEST 2004 src@pepew:/amd/fud/d/0/src/sys/arch/i386/compile/PEPEW i386
Architecture: i386
Machine: i386
After updating to t1lib-5.0.2 xpdf crashes when it tries to render
a document containing t1 fonts.

| Program received signal SIGSEGV, Segmentation fault.
| 0x4811ed71 in T1_LoadFont () from /usr/pkg/lib/
| (gdb) where
| #0  0x4811ed71 in T1_LoadFont () from /usr/pkg/lib/
| #1  0x80be57c in dladdr ()
| #2  0x80be459 in dladdr ()

xpdf is xpdf-3.00 which didn't show problems before.

Running xpdf with '-t1lib no' also avoids the crash.

Upgrade to t1lib-5.0.2 and show a PDF file that requires t1 fonts.