Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40415 - xpdf crashes when moving subwindows
Summary: xpdf crashes when moving subwindows
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-04 15:07 UTC by G.P. LeChuck
Modified: 2004-02-10 05:31 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 G.P. LeChuck 2004-02-04 15:07:14 UTC
Hi,

xpdf 2.03 crashes when any of the subwindows it displays are moved 
to reveal what's underneath.


Reproducible: Always
Steps to Reproduce:
1. Start xpdf <pdffile>
2. press "o" (file open window appears)
3. move file open window to see what's under it

Actual Results:  
There's a black rectangle in the area where the file open window first
opened. After dropping the window on it's new location, 
"Segmentation fault" is printed and xpdf quits.


Expected Results:  
No segmentation fault.


Adding "-fPIC" to CXXFLAGS solved it for me. Perhaps the ebuild should
be extended in this manner.

emerge info

Portage 2.0.50_pre9 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 
2.4.22-gentoo-r5)
=================================================================
System uname: 2.4.22-gentoo-r5 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.4.3.9
Autoconf: sys-devel/autoconf-2.57-r1
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O5 -pipe -mfpmath=sse,387 -fomit-frame-pointer -msse 
-funroll-loops -falign-functions=128 -maccumulate-outgoing-args -fforce-mem 
-ffast-math -finline-functions -fgcse -fprefetch-loop-arrays -malign-double 
-foptimize-sibling-calls -m32 -frerun-loop-opt -msoft-float -falign-jumps=128 
-foptimize-register-move -fsched-spec-load-dangerous -m3dnow -fmerge-constants 
-fmove-all-movables -fno-defer-pop -funsafe-math-optimizations -fforce-addr 
-mpush-args -maccumulate-outgoing-args -mno-red-zone -fno-branch-count-reg 
-mpreferred-stack-boundary=256 -fcprop-registers -mmmx -fno-default-inline 
-fno-peephole -falign-labels=128 -fno-defer-pop -fbranch-probabilities"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CxxFLAGS="-march=athlon-xp -O5 -pipe -mfpmath=sse,387 -fomit-frame-pointer -m32
-funroll-loops -falign-functions=128 -maccumulate-outgoing-args -fforce-mem 
-ffast-math -finline-functions -fgcse -fprefetch-loop-arrays -falign-double 
-foptimize-sibling-calls -msse -frerun-loop-opt -msoft-float -falign-jumps=128 
-foptimize-register-move -fsched-spec-load-dangerous -m3dnow -fmerge-constants 
-fmove-all-movables -fno-defer-pop -funsafe-math-optimizations -fforce-addr 
-mpush-args -maccumulate-outgoing-args -mno-red-zone -fno-branch-count-reg 
-mpreferred-stack-boundary=256 -fcprop-registers -mmmx -fno-default-inline 
-fno-peephole -falign-labels=128 -fno-defer-pop -fbranch-probabilities"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache sandbox userpriv usersandbox"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="pic x86 oss 3dnow avi crypt encode gif jpeg libg++ libwww mikmod mmx mpeg
ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb alsa
gdbm berkdb slang readline aalib svga tcltk java X sdl gpm tcpd pam ssl perl
python imlib oggvorbis gtk motif opengl mozilla dvd fbcon gtk2 gtkhtml jikes
tiff xfs xinerama xml xosd -apm -arts -cups -kde -qt -esd -gnome"
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2004-02-10 05:31:44 UTC
Your CFLAGS are very strange and in no way supported. Please try to build with the default CFLAGS, if it still happens it is indeed a bug.