Testing app-text/acroread-7.0.5 I found that it crashes when trying to print. I believe this is amd64 specific, but I am not able to test that theory at the moment. To reproduce open any PDF document and press the print button, hit Ctrl+P or click on File->Print. It crashes with no errors printed when run from the command line. On of our ATs (darktama) kindly reproduced and confirmed the bug for me. I tried running it under strace but that segfaulted before opening. Anyone know of a better way to get any useful debug info from it? I think that it should be masked if we cannot fix it and others confirm the bug - opinions? Reverting to 7.0.1.1 allows documents to be printed as normal.
Replicated here. delta ~ # emerge info Portage 2.1_pre3-r1 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.13-gentoo-r4 x86_64) ================================================================= System uname: 2.6.13-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.0_pre13 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe -msse3 -g" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe -msse3 -g" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks multilib-strict sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X alsa audiofile avi berkdb bitmap-fonts browserplugin bzip2 cdr crypt cups curl dbus divx4linux dvd dvdread eds emboss encode esd exif expat fam ffmpeg firefox flac foomaticdb fortran gdbm gif gimpprint glut gnome gpm gstreamer gtk gtk2 hal icq idn imagemagick imap imlib ipv6 jabber java jpeg lcms live lua lzw lzw-tiff mad mjpeg mng motif mozilla mp3 mpeg msn mysql native ncurses network nls no-old-linux noantlr nobcel nobeanutils nobsh nptl nptlonly offensive ogg oggvorbis openal opengl pam pcre pdflib perl png python qt quicktime radeon readline real rtc sdk sdl spell sqlite ssl svg tcltk tcpd theora tiff transcode truetype truetype-fonts type1-fonts udev usb userlocales v4l v4l2 vorbis wmf xine xml xml2 xpm xv xvid xvmc yahoo zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
I can replicate it here too. app-emulation/emul-linux-x86-baselibs-2.4.1 app-emulation/emul-linux-x86-compat-1.0-r1 app-emulation/emul-linux-x86-gtklibs-2.3 app-emulation/emul-linux-x86-medialibs-1.2 app-emulation/emul-linux-x86-xlibs-2.2.1-r1 Portage 2.1_pre3-r1 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.5-r3, 2.6.14-gentoo-r3 x86_64) ================================================================= System uname: 2.6.14-gentoo-r3 x86_64 Intel(R) Pentium(R) 4 CPU 3.40GHz Gentoo Base System version 1.12.0_pre12 dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -fomit-frame-pointer -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla-firefox/plugins /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=nocona -O2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks multilib-strict sandbox sfperms strict" GENTOO_MIRRORS="ftp://gentoo.risq.qc.ca http://gentoo.oregonstate.edu http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/gentopia /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X a52 aac acpi alsa audiofile avi bash-completion berkdb bitmap-fonts bmp bzip2 c++ cairo canvas caps cdparanoia cdr crypt cscope css cups curl dbus dts dv dvd dvdr dvdread dvi edl eds emboss encode esd evo exif expat fam fat ffmpeg fftw flac foomaticdb gb gdbm gif gimp gimpprint glitz glut gmail gmp gnome gnutls gpm gstreamer gtk gtk2 gzip hal hfs howl i8x0 idea idn imagemagick imap imlib imlib2 jabber java jfs jpeg lcms libcaca libgda libwww linuxkeys live lzo lzw lzw-tiff mad matroska mime mmap mng mod mono mozdevelop mozilla mozsvg mp3 mpeg mplayer msn mythtv native nautilus ncurses network nfs nis no-old-linux no_wxgtk1 noantlr nob nobcel nobeanutils nobsh nocommonslogging nocommonsnet nojsch nolog4j nomotif nonfsv4 noplugin norhino noxalan noxerces nptl nptlonly offensive ogg oggvorbis openal opengl pam pcre pda pdflib perl plugin png ppds python quicktime readline real reiserfs rtc ruby samba sdl sndfile speex spell sqlite ssl stream subversion svg tcltk tcpd tetex tga theora tiff transcode truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l v4l2 vcd vorbis wmf wxwindows xanim xml xml2 xpm xprint xscreensaver xv xvid xvmc zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS
more info here...end of strace run I'm working on something else right now so I can't look into it quite yet, but cokehabit just queried the bug in the amd64-dev. Looks to be because of a missing libcups... open("/opt/Acrobat7/Reader/intellinux/lib/libcups.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/libcups.so.2", O_RDONLY) = 28 read(28, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20s\0\0"..., 512) = 512close(28) = 0 open("/lib/libcups.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 28 fstat64(0x1c, 0xffffa560) = 0 mmap2(NULL, 116181, PROT_READ, MAP_PRIVATE, 28, 0) = 0x5a4c8000 close(28) = 0 open("/lib/libcups.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/libcups.so.2", O_RDONLY) = 28 read(28, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20s\0\0"..., 512) = 512close(28) = 0 munmap(0x5a4c8000, 116181) = 0 open("/opt/Acrobat7/Reader/intellinux/lib/libcups.so", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/libcups.so", O_RDONLY) = 28 read(28, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20s\0\0"..., 512) = 512close(28) = 0 open("/lib/libcups.so", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 28 fstat64(0x1c, 0xffffa560) = 0 mmap2(NULL, 116181, PROT_READ, MAP_PRIVATE, 28, 0) = 0x5a4c8000 close(28) = 0 open("/lib/libcups.so", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/libcups.so", O_RDONLY) = 28 read(28, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20s\0\0"..., 512) = 512close(28) = 0 munmap(0x5a4c8000, 116181) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- msgctl(98305, IPC_64|IPC_RMID, 0) = 0 msgctl(65536, IPC_64|IPC_RMID, 0) = 0 exit_group(1) = ?
sorry...likely not missing libcups...I shouldn't comment when I don't have time to actually look.
Problem solved...but someone needs to do it (cause I really am busy!) We're attempting to use lib64 libcups with a 32 bit pre-compiled program. Using a libcups from a regular x86 machine fixes it.
Thanks Scott, I've added libcups to baselibs-2.4.2 and adjusted acroread to depend on this. printing: You may want to add a dep on net-print/cups for x86 users as it seems libcups is required for printing support.
Also fixed the deps for x86 users at genstefs request.