Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120101 - Poppler with -Os Crashes
Summary: Poppler with -Os Crashes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-23 14:27 UTC by Derek Dolney
Modified: 2006-02-03 22:41 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Derek Dolney 2006-01-23 14:27:32 UTC
If I compile poppler-0.5.0 with -Os, evince crashes with the rrror dialog that says:

        The Application "evince" has quit unexpectedly...

It works fine with -O3.

Portage 2.1_pre3-r1 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) XP 2100+
Gentoo Base System version 1.12.0_pre15
ccache version 2.4 [enabled]
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="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -Os -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -Os -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://mirror.datapipe.net/gentoo http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.mirrors.tds.net/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/ http://mirror.datapipe.net/gentoo http://gentoo.netnitco.net http://mirror.phy.olemiss.edu/mirror/gentoo http://gentoo.mirrors.easynews.com/linux/gentoo/"
LANG="en_US.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 adns alsa apache2 atlas audiofile avi berkdb bitmap-fonts browserplugin bzip2 crypt curl dbus dvd dvdread eds emacs emboss encode exif expat fam fbcon fftw firefox gdbm gif glut gnome gpm gstreamer gtk gtk2 gtkhtml guile idn imap imlib java jpeg lcms libg++ libwww mad maildir matroska mime mmx mmxext mng motif moznoirc moznomail mp3 mpeg ncurses nntp nptl nptlonly nsplugin ogg oggvorbis opengl oss pam pcre pdflib perl pic png python quicktime readline real rtc sdl shared spell sse ssl subtitles tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l v4l2 vorbis win32codecs xml2 xv zlib elibc_glibc kernel_linux userland_GNU video_cards_radeon"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2006-02-03 10:53:36 UTC
maybe gcc 3.4.5 bug? Did you try any other compilers?
Did you try other frontends like kpdf?
Comment 2 Derek Dolney 2006-02-03 20:30:29 UTC
It happens with gcc-3.3.6 and gcc-3.4.4. kpdf crashes too, but not when poppler is compiled with -O3.

poppler-0.5.0-splash-overflow.patch in poppler-0.5.0-r3 fixes this. That is, I can compile poppler-0.5.0-r3 with -Os and it works.
Comment 3 Stefan Schweizer (RETIRED) gentoo-dev 2006-02-03 22:41:15 UTC
ok, I will mark this as fixed since 0.5.0 will go stable soon