Subject: pkg/33678: acroread7-7.0.5 terminates when printing
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Hauke Fath <hf@spg.tu-darmstadt.de>
List: pkgsrc-bugs
Date: 06/09/2006 16:00:00
>Number: 33678
>Category: pkg
>Synopsis: acroread7-7.0.5 terminates when printing
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jun 09 16:00:00 +0000 2006
>Originator: Hauke Fath <hf@spg.tu-darmstadt.de>
>Release: NetBSD 3.0_STABLE
>Organization:
--
/~\ The ASCII Ribbon Campaign Hauke Fath
\ / No HTML/RTF in email Institut für Nachrichtentechnik
X No Word docs in email TU Darmstadt
/ \ Respect for open standards Ruf +49-6151-16-3281
>Environment:
System: NetBSD Gallin.nt.e-technik.tu-darmstadt.de 3.0_STABLE NetBSD 3.0_STABLE (SPG_PIII) #0: Wed May 31 13:18:31 CEST 2006 hf@Gstoder.nt.e-technik.tu-darmstadt.de:/var/obj/netbsd-builds/3_0/i386/sys/arch/i386/compile/SPG_PIII i386
Architecture: i386
Machine: i386
>Description:
Acrobat Reader 7.0.5 as installed from pkgsrc-2006Q1 (same
version on pkgsrc HEAD) with suse v10 packages terminates
immediately when I select "File:Print..." for any document.
Downgrading to v7.0.1 "fixes" the problem.
>How-To-Repeat:
Start Acrobat Reader 7.0.5, open any document, select "File:Print...",
watch Acrobat Reader vanish without even a puff of smoke.
A "ktrace -di /usr/pkg/bin/acroread7" ends with Acrobat Reader
looking for cups libraries in various places. The machine is
cupsless, it prints via the the NetBSD lpd.
[...]
5827 acroread RET read 32/0x20
5827 acroread CALL open(0xbfbfc750,0,0xbfbfc948)
5827 acroread NAMI "/emul/linux/usr/pkg/Acrobat7/Reader/intellinux/lib/libcups.so.2"
5827 acroread NAMI "/usr/pkg/Acrobat7/Reader/intellinux/lib/libcups.so.2"
5827 acroread RET open -1 errno -2 No such file or directory
5827 acroread CALL open(0xbfbfc750,0,0xbfbfc948)
5827 acroread NAMI "/emul/linux/lib/tls/libcups.so.2"
5827 acroread NAMI "/lib/tls/libcups.so.2"
5827 acroread RET open -1 errno -2 No such file or directory
5827 acroread CALL open(0xbfbfc750,0,0xbfbfc948)
5827 acroread NAMI "/emul/linux/lib/libcups.so.2"
5827 acroread NAMI "/lib/libcups.so.2"
5827 acroread RET open -1 errno -2 No such file or directory
5827 acroread CALL open(0xbfbfc750,0,0xbfbfc948)
5827 acroread NAMI "/emul/linux/usr/lib/libcups.so.2"
5827 acroread NAMI "/usr/lib/libcups.so.2"
5827 acroread RET open -1 errno -2 No such file or directory
5827 acroread CALL open(0xbdbfc82e,0,0xbdbed9dd)
5827 acroread NAMI "/emul/linux/etc/ld.so.cache"
5827 acroread NAMI "/emul/linux"
5827 acroread NAMI "/emul/linux/etc/ld.so.cache"
5827 acroread RET open 28/0x1c
5827 acroread CALL fstat64(0x1c,0xbfbfc73c)
5827 acroread RET fstat64 0
5827 acroread CALL old_mmap(0xbfbfc71c)
5827 acroread RET old_mmap -1181126656/0xb9997000
5827 acroread CALL close(0x1c)
5827 acroread RET close 0
5827 acroread CALL open(0xbfbfc750,0,0xbfbfc948)
5827 acroread NAMI "/emul/linux/lib/tls/libcups.so.2"
5827 acroread NAMI "/lib/tls/libcups.so.2"
5827 acroread RET open -1 errno -2 No such file or directory
5827 acroread CALL open(0xbfbfc750,0,0xbfbfc948)
5827 acroread NAMI "/emul/linux/lib/libcups.so.2"
5827 acroread NAMI "/lib/libcups.so.2"
5827 acroread RET open -1 errno -2 No such file or directory
5827 acroread CALL open(0xbfbfc750,0,0xbfbfc948)
5827 acroread NAMI "/emul/linux/usr/lib/libcups.so.2"
5827 acroread NAMI "/usr/lib/libcups.so.2"
5827 acroread RET open -1 errno -2 No such file or directory
5827 acroread CALL munmap(0xb9997000,0x4495)
5827 acroread RET munmap 0
5827 acroread CALL open(0xbfbfc750,0,0xbcd890be)
5827 acroread NAMI "/emul/linux/usr/pkg/Acrobat7/Reader/intellinux/lib/libcups.so"
5827 acroread NAMI "/usr/pkg/Acrobat7/Reader/intellinux/lib/libcups.so"
5827 acroread RET open -1 errno -2 No such file or directory
5827 acroread CALL open(0xbfbfc750,0,0xbcd890be)
5827 acroread NAMI "/emul/linux/lib/tls/libcups.so"
5827 acroread NAMI "/lib/tls/libcups.so"
5827 acroread RET open -1 errno -2 No such file or directory
5827 acroread CALL open(0xbfbfc750,0,0xbcd890be)
5827 acroread NAMI "/emul/linux/lib/libcups.so"
5827 acroread NAMI "/lib/libcups.so"
5827 acroread RET open -1 errno -2 No such file or directory
5827 acroread CALL open(0xbfbfc750,0,0xbcd890be)
5827 acroread NAMI "/emul/linux/usr/lib/libcups.so"
5827 acroread NAMI "/usr/lib/libcups.so"
5827 acroread RET open -1 errno -2 No such file or directory
5827 acroread CALL open(0xbdbfc82e,0,0xbcb71dee)
5827 acroread NAMI "/emul/linux/etc/ld.so.cache"
5827 acroread NAMI "/emul/linux"
5827 acroread NAMI "/emul/linux/etc/ld.so.cache"
5827 acroread RET open 28/0x1c
5827 acroread CALL fstat64(0x1c,0xbfbfc73c)
5827 acroread RET fstat64 0
5827 acroread CALL old_mmap(0xbfbfc71c)
5827 acroread RET old_mmap -1181126656/0xb9997000
5827 acroread CALL close(0x1c)
5827 acroread RET close 0
5827 acroread CALL open(0xbfbfc750,0,0xbcd890be)
5827 acroread NAMI "/emul/linux/lib/tls/libcups.so"
5827 acroread NAMI "/lib/tls/libcups.so"
5827 acroread RET open -1 errno -2 No such file or directory
5827 acroread CALL open(0xbfbfc750,0,0xbcd890be)
5827 acroread NAMI "/emul/linux/lib/libcups.so"
5827 acroread NAMI "/lib/libcups.so"
5827 acroread RET open -1 errno -2 No such file or directory
5827 acroread CALL open(0xbfbfc750,0,0xbcd890be)
5827 acroread NAMI "/emul/linux/usr/lib/libcups.so"
5827 acroread NAMI "/usr/lib/libcups.so"
5827 acroread RET open -1 errno -2 No such file or directory
5827 acroread CALL munmap(0xb9997000,0x4495)
5827 acroread RET munmap 0
5827 acroread PSIG SIGSEGV caught handler=0xbcb74020 mask=(33): code=SEGV_MAPERR, addr=0x18, trap=14)
5827 acroread CALL getpid
5827 acroread RET getpid 5827/0x16c3
5827 acroread CALL ipc(0xe,0x40001,0,0,0)
5827 acroread RET ipc 0
5827 acroread CALL ipc(0xe,0x40000,0,0,0)
5827 acroread RET ipc 0
5827 acroread CALL exit_group(1)
I can make the full ktrace (~35 MB) available if it's any help.
>Fix:
Acrobat Reader 7.0.1 from pkgsrc-2005Q3 works fine on the machine.
But that has security issues, afaik.
>Unformatted: