Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256954 - =app-office/abiword-2.6.5 crashes when printing
Summary: =app-office/abiword-2.6.5 crashes when printing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: GNOME Office (OBSOLETE)
URL:
Whiteboard:
Keywords:
: 272410 285571 319335 329507 (view as bug list)
Depends on:
Blocks: 283031
  Show dependency tree
 
Reported: 2009-01-30 16:07 UTC by Thomas Tuttle
Modified: 2010-09-05 23:54 UTC (History)
9 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
DEBUG output of abiword print preview crash (debug.out.txt,174.29 KB, text/plain)
2009-08-18 14:12 UTC, Frank Altpeter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Tuttle 2009-01-30 16:07:36 UTC
Hi.

I'm running ~amd64, and I just recompiled my system with USE="doc".  Suddenly, whenever I try to print in abiword, it crashes.  Here's a backtrace:

(gdb) bt
#0  0x00000031f4074f73 in free () from /lib/libc.so.6
#1  0x00000031f4801365 in ?? () from /lib/libdl.so.2
#2  0x00000031f4800ee1 in dlopen () from /lib/libdl.so.2
#3  0x00007fcc3d53a586 in ?? () from /usr/lib64/libcrypto.so.0.9.8
#4  0x00007fcc3d53b02c in DSO_load () from /usr/lib64/libcrypto.so.0.9.8
#5  0x00007fcc3d594642 in COMP_zlib () from /usr/lib64/libcrypto.so.0.9.8
#6  0x00007fcc3d8481c9 in ?? () from /usr/lib64/libssl.so.0.9.8
#7  0x00007fcc3d8483a9 in SSL_COMP_get_compression_methods () from /usr/lib64/libssl.so.0.9.8
#8  0x00007fcc3d84e734 in SSL_library_init () from /usr/lib64/libssl.so.0.9.8
#9  0x00007fcc3e59fb3d in httpInitialize () from /usr/lib64/libcups.so.2
#10 0x00007fcc3e59ff95 in httpConnectEncrypt () from /usr/lib64/libcups.so.2
#11 0x00007fcc3e7cbc1f in ?? () from /usr/lib64/libgnomecups-1.0.so.1
#12 0x00000031fb063f2f in ?? () from /usr/lib/libglib-2.0.so.0
#13 0x00000031fb062966 in ?? () from /usr/lib/libglib-2.0.so.0
#14 0x00000031f4c06ff7 in start_thread () from /lib/libpthread.so.0
#15 0x00000031f40d038d in clone () from /lib/libc.so.6
#16 0x0000000000000000 in ?? ()

...and here's my emerge --info:

Portage 2.1.6.7 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r1, 2.6.29-rc3 x86_64)
=================================================================
System uname: Linux-2.6.29-rc3-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-glibc2.2.5
Timestamp of tree: Fri, 30 Jan 2009 06:45:01 +0000
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.2
sys-apps/sandbox:    1.3.3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 acl acpi alsa amd64 bash-completion berkdb bzip2 cli cracklib crypt cups doc dri dvb dvd flac font-server fortran gdbm gif gpm iconv ipv6 isdnlog jpeg kerberos midi mmx mp3 mudflap multilib ncurses nls nptl nptlonly ntp ogg opengl openmp pam pcre perl png pppd python readline reflection session spl sse sse2 sse3 ssl ssse3 sysfs tcpd truetype type1 unicode usb v4l v4l2 vim-syntax vorbis x264 xorg zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="intel vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Thomas Tuttle 2009-01-30 16:37:59 UTC
I've got a slightly better backtrace, after recompiling some things with USE="debug" FEATURES="nostrip":

#0  0x00000031f4074f73 in free () from /lib/libc.so.6
#1  0x00000031f4801365 in ?? () from /lib/libdl.so.2
#2  0x00000031f4800ee1 in dlopen () from /lib/libdl.so.2
#3  0x00007f445a185836 in dlfcn_load (dso=0x30944d0) at dso_dlfcn.c:159
#4  0x00007f445a1862dc in DSO_load (dso=<value optimized out>, filename=0x7f445a205137 "z", meth=<value optimized out>, flags=0) at dso_lib.c:242
#5  0x00007f445a1df852 in COMP_zlib () at c_zlib.c:354
#6  0x00007f445a493289 in load_builtin_compressions () at ssl_ciph.c:295
#7  0x00007f445a493469 in SSL_COMP_get_compression_methods () at ssl_ciph.c:1329
#8  0x00007f445a4997f4 in SSL_library_init () at ssl_algs.c:126
#9  0x00007f445b1eb34d in httpInitialize () at http.c:1162
#10 0x00007f445b1eb445 in httpConnectEncrypt (host=0x7f445b202398 "/var/run/cups", port=631, encryption=HTTP_ENCRYPT_IF_REQUESTED) at http.c:388
#11 0x00007f445b416c1f in request_thread_main (request=0x307ed20, unused=<value optimized out>) at gnome-cups-request.c:336
#12 0x00000031fb063f2f in ?? () from /usr/lib/libglib-2.0.so.0
#13 0x00000031fb062966 in ?? () from /usr/lib/libglib-2.0.so.0
#14 0x00000031f4c06ff7 in start_thread () from /lib/libpthread.so.0
#15 0x00000031f40d038d in clone () from /lib/libc.so.6
#16 0x0000000000000000 in ?? ()
Comment 2 nebojsa 2009-02-16 09:51:38 UTC
I am having the same problem, with exactly same backtrace.
I recompiled openssl with -zlib but than got another sigsegv, again in free after dlopen.
It seems that abiword is doing something without propperly initializing first.
This error occurs under xfce environment, but under gnome it works without problem.
I recompiled world, just to be sure... Suspected thread flag for a while, but it behaves same with and without global threads use flag.
Portage 2.2_rc23 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.8_p20080602-r1, 2.6.24-tuxonice-r9 i686)
=================================================================
System uname: Linux-2.6.24-tuxonice-r9-i686-Intel-R-_Celeron-R-_M_CPU_410_@_1.46GHz-with-glibc2.0
Timestamp of tree: Mon, 16 Feb 2009 05:05:01 +0000
distcc 3.1 i686-pc-linux-gnu [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer -g"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer -g"
DISTDIR="/usr/portage/distfiles"
FEATURES="distcc distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo http://trumpetti.atm.tut.fi/gentoo http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="sv sr sr@Latn sr_CS sh_YU en en_GB hr sv_SE sr_RS sr_RS@latin en_US"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/java-overlay /usr/local/portage/layman/sunrise /usr/local/portage/layman/desktop-effects /usr/local/portage/layman/webapps-experimental /usr/local/portage/layman/gnome /usr/local/portage/layman/xfce-dev /usr/local/portage/local-portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi alsa avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cli cracklib crypt cups curl dar64 dbus dga dillo divx4linux dri dts dvd dvdr dvdread dvi ecc emboss encode esd evo exif fam fbcon ffmpeg firefox fontconfig freetype gdbm gecko-sdk ggi gif glitz gmp gnome gnome-keyring gpm grammar gstreamer gtk gtkhtml hal iconv idea idn imap ipv6 isdnlog java javamail javascript jce jikes jpeg jpeg2k kdeenablefinal keyring lame laptop lcms libcaca libgda libnotify lm_sensors logrotate lzo mad math midi mikmod mmx mng mozsvg mp3 mp4 mpeg mplayer ncurses nfs nls nptl nptlonly ogg opengl openmp pam pch pcmcia pcre pda pdf perl png ppds pppd pulseaudio python qt3 qt3support qt4 quicktime readline reflection rtc samba sasl sdl session slang smime sndfile spamassassin spell spl sse sse2 ssl startup-notification svg svga sysfs t1lib tcpd thesaurus threads tiff tk truetype unicode usb userlocales utf8 vorbis win32codecs wmf wxwindows x86 xcb xface xft xinerama xml xorg xpm xulrunner xv xvid zlib" ALSA_CARDS="atiixp atiixp-modem hda-intel usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical ctrlaltdel daemon_clean debug_commands envparser find fmon fstat history idleprobe initctl interactive iparser last limit lockfile logfile netdev netprobe ngc4 ngcs nge pause provide reload renice rlparser simple_launcher stcmd stdout suid syncron syslog sysreq unneeded usplash dbus_event service_file" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="sv sr sr@Latn sr_CS sh_YU en en_GB hr sv_SE sr_RS sr_RS@latin en_US" USERLAND="GNU" VIDEO_CARDS="ati vesa fbdev none radeon r128 fglrx radeonhd"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 jonathan e. Snow 2009-03-23 12:29:25 UTC
Bug confirmed with KDE, both with stable (2.6.4) and testing (2.6.8).

jesnow@Armstrong ~ $ equery list abiword
[ Searching for package 'abiword' in all categories among: ]
 * installed packages
[I--] [ ~] app-office/abiword-2.6.8 (2)
[I--] [ ~] app-office/abiword-plugins-2.6.8 (0)
jesnow@Armstrong ~ $ emerge --info
Portage 2.1.6.7 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r2 i686)
=================================================================
System uname: Linux-2.6.28-gentoo-r2-i686-Intel-R-_Core-TM-2_CPU_6300_@_1.86GHz-with-glibc2.0
Timestamp of tree: Sun, 22 Mar 2009 23:00:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.4.8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -finline-functions -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -finline-functions -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.datapipe.net/gentoo http://mirror.phy.olemiss.edu/mirror/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://85.25.128.62"
LDFLAGS="-Wl,-O1"
LINGUAS="en-US en"
MAKEOPTS="-j10"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage/"
USE="X aac acl acpi alsa apm arts berkdb bluetooth branding bzip2 bzlib cairo cdr cli crypt cups dbus dga directfb dri dvd dvdr dvdread eds emboss encode esd evo fam fbcon ffmpeg firefox flac fortran gdbm gif gimp gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg kde ldap libnotify mad midi mikmod minimal mmx mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support quicktime readline reflection samba sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb v4l vorbis win32codecs wmf x86 xcb xml xorg xscreensaver xulrunner xv zeroconf zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en-US en" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-04-05 22:01:27 UTC
Without a better backtrace I won't be able to push this upstream.

See http://www.gentoo.org/proj/en/qa/backtraces.xml for more information on how to get a nice backtrace.
Comment 5 nebojsa 2009-04-06 08:46:24 UTC
(In reply to comment #4)
> Without a better backtrace I won't be able to push this upstream.
> 
> See http://www.gentoo.org/proj/en/qa/backtraces.xml for more information on how
> to get a nice backtrace.
> 

#0  0xb6c62c7b in *__GI___libc_free (mem=0xb0bf58cc) at malloc.c:3623
#1  0xb6bd1148 in _dlerror_run (operate=0xb6bd0bb0 <dlopen_doit>, args=0xb0b8fbd4) at dlerror.c:160
#2  0xb6bd0b6c in __dlopen (file=0x8c2b0e0 "libz.so", mode=2) at dlopen.c:87
#3  0xb6902b8b in dlfcn_load (dso=0x8c2b070) at dso_dlfcn.c:159
#4  0xb69039b1 in DSO_load (dso=0x0, filename=0xb699ce03 "z", meth=0x0, flags=0) at dso_lib.c:242
#5  0xb697592a in COMP_zlib () at c_zlib.c:354
#6  0xb69f63ad in load_builtin_compressions () at ssl_ciph.c:295
#7  0xb69f65e4 in SSL_COMP_get_compression_methods () at ssl_ciph.c:1329
#8  0xb69fd31d in SSL_library_init () at ssl_algs.c:126
#9  0xb0bdc1cd in httpInitialize () at http.c:1162
#10 0xb0bdc2cd in httpConnectEncrypt (host=0x8c328c8 "localhost", port=631, 
    encryption=HTTP_ENCRYPT_IF_REQUESTED) at http.c:388
#11 0xb0c0554a in request_thread_main (request=0x8a57150, unused=0x0) at gnome-cups-request.c:336
#12 0xb7544e40 in g_thread_pool_thread_proxy (data=0x8c3ac20) at gthreadpool.c:265
#13 0xb75436b4 in g_thread_create_proxy (data=0x8a57188) at gthread.c:635
#14 0xb6d4228f in start_thread (arg=0xb0b90b90) at pthread_create.c:297
#15 0xb6cc50fe in clone () from /lib/libc.so.6

emerge --info:
Portage 2.2_rc28 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.8_p20080602-r1, 2.6.24-tuxonice-r9 i686)
=================================================================
System uname: Linux-2.6.24-tuxonice-r9-i686-Intel-R-_Celeron-R-_M_CPU_410_@_1.46GHz-with-glibc2.0
Timestamp of tree: Mon, 06 Apr 2009 04:30:01 +0000
distcc 3.1 i686-pc-linux-gnu [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.3
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer -g"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer -g"
DISTDIR="/usr/portage/distfiles"
FEATURES="distcc distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo http://trumpetti.atm.tut.fi/gentoo http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="sv sr sr@Latn sr_CS sh_YU en en_GB hr sv_SE sr_RS sr_RS@latin en_US"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/java-overlay /usr/local/portage/layman/sunrise /usr/local/portage/layman/desktop-effects /usr/local/portage/layman/webapps-experimental /usr/local/portage/layman/xfce-dev /usr/local/portage/local-portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi alsa avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cli cracklib crypt cups curl dar64 dbus dga dillo divx4linux dri dts dvd dvdr dvdread dvi ecc emboss encode esd evo exif fam fbcon ffmpeg firefox fontconfig freetype gdbm gecko-sdk ggi gif glitz gmp gnome gnome-keyring gpm grammar gstreamer gtk gtkhtml hal iconv idea idn imap ipv6 isdnlog java javamail javascript jce jikes jpeg jpeg2k kdeenablefinal keyring lame laptop lcms libcaca libgda libnotify lm_sensors logrotate lzo mad math midi mikmod mmx mng mozsvg mp3 mp4 mpeg mplayer ncurses nfs nls nptl nptlonly ogg opengl openmp pam pch pcmcia pcre pda pdf perl png ppds pppd pulseaudio python qt3 qt3support qt4 quicktime readline reflection rtc samba sasl sdl session slang smime sndfile spamassassin spell spl sse sse2 ssl startup-notification svg svga sysfs t1lib tcpd thesaurus threads tiff tk truetype unicode usb userlocales utf8 v4l2 vorbis win32codecs wmf wxwindows x264 x86 xcb xface xft xinerama xml xorg xpm xulrunner xv xvid zlib" ALSA_CARDS="atiixp atiixp-modem hda-intel usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical ctrlaltdel daemon_clean debug_commands envparser find fmon fstat history idleprobe initctl interactive iparser last limit lockfile logfile netdev netprobe ngc4 ngcs nge pause provide reload renice rlparser simple_launcher stcmd stdout suid syncron syslog sysreq unneeded usplash dbus_event service_file" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="sv sr sr@Latn sr_CS sh_YU en en_GB hr sv_SE sr_RS sr_RS@latin en_US" USERLAND="GNU" VIDEO_CARDS="ati vesa fbdev none radeon r128 fglrx radeonhd"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 Daniel Gryniewicz (RETIRED) gentoo-dev 2009-04-08 15:35:23 UTC
Do you have a /lib/libz.so symlink?
Comment 7 nebojsa 2009-04-08 16:06:11 UTC
(In reply to comment #6)
> Do you have a /lib/libz.so symlink?
> 

ls -l /lib/libz.so
lrwxrwxrwx 1 root root 13 2009-02-10 10:59 /lib/libz.so -> libz.so.1.2.3
Comment 8 michel 2009-04-29 05:26:41 UTC
confirmed, the same here. abiword crashes on printing and print preview.

emerge --info

Portage 2.2_rc31 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.29-gentoo-r1-i686-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-2.0.0
Timestamp of tree: Wed, 29 Apr 2009 04:30:01 +0000
app-shells/bash:     4.0_p17-r1
dev-java/java-config: 2.1.7
dev-lang/python:     2.6.2
dev-util/cmake:      2.6.3-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -msse4.1 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -msse4.1 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="collision-protect distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alias alsa audacious autoreplace berkdb bluetooth branding bzip2 cairo cdaudio cddb cdr cli cracklib crypt css cups curl dbus dga divx djvu dts dvd dvdr dvdread eds emboss encode evo exif fam fbcon fbcondecor ffmpeg firefox flac fortran ftp gdbm gif gpm gstreamer gtk hal hddtemp history iconv isdnlog java jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility laptop libnotify lzo mad md5sum midi mikmod mmx mmxext mng motif mp3 mpeg mplayer mudflap ncurses nls nptl nptlonly nsplugin nvidia ogg openal opengl openmp pam pcre pdf perl png ppds pppd python qt-static qt3 qt3support quicktime rar readline reflection samba sdl session slang smp spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd theora threads tiff truetype unicode usb v4l v4l2 vcd vdpau vorbis wifi win32codecs wma wmf x264 x86 x86emu xanim xcomposite xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" FOO2ZJS_DEVICES="sa300" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 9 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-06-07 06:59:07 UTC
*** Bug 272410 has been marked as a duplicate of this bug. ***
Comment 10 Frank Altpeter 2009-08-18 14:12:05 UTC
Created attachment 201616 [details]
DEBUG output of abiword print preview crash
Comment 11 Frank Altpeter 2009-08-18 14:13:57 UTC
(In reply to comment #10)
> Created an attachment (id=201616) [edit]
> DEBUG output of abiword print preview crash
> 

Same problem applies here. I've tried to test with several USE flags and even with a downgrad to 2.6.4 with no effect.
Happens on both my company workstation and my notebook, so I'm pretty sure it's not hardware specific.

BTW: strace stops here:

[pid 12336] stat64("/usr/lib/libgnomeprint/2.18.6/modules/filters/libgnomeprint-GnomePrintFilterSelect.so", 0xbfe1e47c) = -1 ENOENT (No such file or d
irectory)
[pid 12336] stat64("/usr/lib/libgnomeprint/2.18.6/modules/filters/libgnomeprint-GnomePrintFilterSelect.so.so", 0xbfe1e47c) = -1 ENOENT (No such file o
r directory)
[pid 12336] stat64("/usr/lib/libgnomeprint/2.18.6/modules/filters/libgnomeprint-GnomePrintFilterSelect.so.la", 0xbfe1e47c) = -1 ENOENT (No such file o
r directory)
[pid 12336] --- SIGSEGV (Segmentation fault) @ 0 (0) ---
[pid 12336] rt_sigaction(SIGSEGV, {0x814d8b0, [SEGV], SA_RESTART}, {SIG_DFL, ~[ABRT KILL STOP RTMIN RT_1], SA_NODEFER|SA_RESETHAND}, 8) = 0

Perhaps this helps...
Comment 12 Lee Harr 2009-08-24 14:06:23 UTC
A related bug (from Arch Linux). The workaround works for me, so I assume it is the same bug ...

http://bbs.archlinux.org/viewtopic.php?pid=547492
Comment 13 Tom Lane 2009-08-29 15:37:03 UTC
bug still exists in kde 4.3.0 running abiword . 

emerge info follows........
###########################################################################
Portage 2.1.6.13 (default/linux/x86/10.0/desktop, gcc-4.3.2, glibc-2.10.1-r0, 2.6.30-gentoo-r4 i686)
=================================================================                                   
System uname: Linux-2.6.30-gentoo-r4-i686-Intel-R-_Core-TM-2_Duo_CPU_T5750_@_2.00GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 28 Aug 2009 14:00:01 +0000                                                    
app-shells/bash:     4.0_p28                                                                          
dev-java/java-config: 2.1.8-r1                                                                        
dev-lang/python:     2.5.4-r3, 2.6.2-r1, 3.1.1                                                        
dev-python/pycrypto: 2.0.1-r8                                                                         
dev-util/cmake:      2.6.4-r2                                                                         
sys-apps/baselayout: 2.0.1                                                                            
sys-apps/openrc:     0.4.3-r3                                                                         
sys-apps/sandbox:    2.0                                                                              
sys-devel/autoconf:  2.13, 2.63-r1                                                                    
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11                                       
sys-devel/binutils:  2.19.1-r1                                                                        
sys-devel/gcc-config: 1.4.1                                                                           
sys-devel/libtool:   2.2.6a                                                                           
virtual/os-headers:  2.6.30-r1                                                                        
ACCEPT_KEYWORDS="x86"                                                                                 
CBUILD="i686-pc-linux-gnu"                                                                            
CFLAGS="-O2 -march=i686 -pipe"                                                                        
CHOST="i686-pc-linux-gnu"                                                                             
CONFIG_PROTECT="/etc /usr/share/config"                                                               
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"                                         
CXXFLAGS="-O2 -march=i686 -pipe"                                                                                      
DISTDIR="/usr/portage/distfiles"                                                                                      
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"        
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"                 
LDFLAGS="-Wl,-O1"                                                                                                     
MAKEOPTS="-j3"                                                                                                        
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/kde-testing"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa apm berkdb branding bzip2 cairo cdr cli consolekit cracklib crypt cups dbus dri dts dvd dvdr eds emboss encode evo fam ffmpeg firefox flac fortran gdbm gif gpm gstreamer hal iconv ipv6 isdnlog jpeg kde ldap libnotify mad mikmod mng mp3 mp4 mpeg mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd pulse python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sql ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis webkit win32codecs x264 x86 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

#############################################################################

laney@localhost ~ $ equery list abiword
 * Searching for abiword ...
[IP-] [  ] app-office/abiword-2.6.4 (2)
Comment 14 Romain Perier (RETIRED) gentoo-dev 2009-09-03 16:43:23 UTC
Someone could report on upstream ? :
- Post this bug on upstream (for abiword 2.6.8)
- Attach a full backtrace 
- CCing gnome-office@gentoo.org

It would be a great help :)
Comment 15 Sergey S. Starikoff 2009-09-04 06:11:38 UTC
(In reply to comment #14)
> Someone could report on upstream ? :
> - Post this bug on upstream (for abiword 2.6.8)
> - Attach a full backtrace 
> - CCing gnome-office@gentoo.org
> 
> It would be a great help :)
> 
I've done it (posted this bug to upstream bugzilla):
http://bugzilla.abisource.com/show_bug.cgi?id=12341

But it's version independent bug: I've never used abiword-2.6.8 ;) currently I'm using abiword-2.7.10.
Comment 16 Romain Perier (RETIRED) gentoo-dev 2009-09-04 08:40:32 UTC
Yeah but we're only interested by abiword-2.6.8 issue (see bug 256954 which depends on this bug)
Comment 17 Romain Perier (RETIRED) gentoo-dev 2009-09-04 08:41:25 UTC
(In reply to comment #16)
> Yeah but we're only interested by abiword-2.6.8 issue (see bug 256954 which
> depends on this bug)
> 

Sorry I meant bug 283031
Comment 18 Sergey S. Starikoff 2009-09-07 07:57:31 UTC
(In reply to comment #16)
> Yeah but we're only interested by abiword-2.6.8 issue (see bug 256954 which
> depends on this bug)
> 

But it isn't an argument to ignore the same issue in another version :)

BTW, if abiword is started by:
$ GTK_MODULES=foo abiword
as recommended http://bugs.gentoo.org/show_bug.cgi?id=272097#c32 it prints OK.
So, I think it's the Gentoo-specific issue :(
Comment 19 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-09-07 08:31:05 UTC
so you say that you in an environment where GTK_MODULES is undefined, abiword fails to print, that can't be a gentoo specific issue.
Comment 20 Thorsten Vollmer 2009-09-07 11:12:46 UTC
(In reply to comment #19)
> so you say that you in an environment where GTK_MODULES is undefined,
> abiword fails to print, that can't be a gentoo specific issue.

Either GTK_MODULES or the corresponding XSetting must be defined. The crash can be reproduced on a GNOME desktop after disabling all GTK+ modules in gconf:/apps/gnome_settings_daemon/gtk-modules/.

I was not yet able to reproduce the crash with AbiWord on Fedora.
Comment 21 Olivier Crete (RETIRED) gentoo-dev 2009-09-19 22:09:59 UTC
*** Bug 285571 has been marked as a duplicate of this bug. ***
Comment 22 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-05-14 19:25:09 UTC
*** Bug 319335 has been marked as a duplicate of this bug. ***
Comment 23 Richard Carter 2010-07-23 20:45:49 UTC
*** Bug 329507 has been marked as a duplicate of this bug. ***
Comment 24 Richard Carter 2010-07-23 21:14:24 UTC
(In reply to comment #23)
> *** Bug 329507 has been marked as a duplicate of this bug. ***
> 

We are coming up to this bug's first birthday, there seems no resolution in sight, what next?

I am no Linux Guru so please forgive me if I don't quite follow all the technical ins and outs of this; I certainly cannot offer any solution; it would just be nice to have Abiword working as it should. A system with a word processor that won't print is as much use to me as the proverbial chocolate teapot.

We seem to have established that this happens when GTK_MODULES is undefined. Would we expect GTK_MODULES to be defined? I guess it is not Abiword's responsibility to define it, so either we do expect it to be defined in which case it is up to Gentoo to make sure it is defined, or we don't in which case Abiword should not fall over and it is an Abiword problem.

Or is it not that simple?
Comment 25 Sergey S. Starikoff 2010-07-24 08:10:10 UTC
(In reply to comment #24)
It's not Abiword but gtk+ from stable branch (or Abiword-gtk+ interoperation) problem.

I've find the following workaround: print preview (I use evince) -> save a copy -> open file with evince -> print (work normally)
Comment 26 Pacho Ramos gentoo-dev 2010-09-03 15:19:53 UTC
Please retry with abiword-2.8.6 and gtk+-2.20.1-r1
Comment 27 Sergey S. Starikoff 2010-09-05 16:57:08 UTC
(In reply to comment #26)
> Please retry with abiword-2.8.6 and gtk+-2.20.1-r1
> 

This version on AbiWord prints normally.
Comment 28 Pacho Ramos gentoo-dev 2010-09-05 23:54:06 UTC
Closing then, thanks for feedback :-)