Bug 176308

Summary: segfault compiling C++ code in poppler
Product: [Fedora] Fedora Reporter: Dave Malcolm <dmalcolm>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-12-21 21:52:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Preprocessed source that caused the crash none

Description Dave Malcolm 2005-12-21 05:08:08 UTC
Description of problem:
doing a jhbuild of poppler on a rawhide box:

make
make  all-recursive
make[1]: Entering directory `/home/david/jhbuild-gnome-2.14/src/poppler'
Making all in goo
make[2]: Entering directory `/home/david/jhbuild-gnome-2.14/src/poppler/goo'
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I..
-I../poppler     -Wall -Wno-unused -g -O2 -MT gfile.lo -MD -MP -MF
".deps/gfile.Tpo" -c -o gfile.lo gfile.cc; \
then mv -f ".deps/gfile.Tpo" ".deps/gfile.Plo"; else rm -f ".deps/gfile.Tpo";
exit 1; fi
mkdir .libs
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../poppler -Wall -Wno-unused -g -O2 -MT
gfile.lo -MD -MP -MF .deps/gfile.Tpo -c gfile.cc  -fPIC -DPIC -o .libs/gfile.o
gfile.cc: In member function 'void GDir::rewind()':
gfile.cc:705: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccbijF8W.out file, please attach this to
your bugreport.


Version-Release number of selected component (if applicable):
gcc-4.1.0-0.9

How reproducible:
Seems to be entirely reproducable at this end ATM

Comment 1 Dave Malcolm 2005-12-21 05:08:09 UTC
Created attachment 122481 [details]
Preprocessed source that caused the crash

Comment 2 Jakub Jelinek 2005-12-21 15:57:41 UTC
I can't reproduce it:

g++ -v; g++ -g -O2 -Wall -Wno-unused -fPIC 176308.ii -c; echo $?
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk
--disable-dssi --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
--host=i386-redhat-linux
Thread model: posix
gcc version 4.1.0 20051214 (Red Hat 4.1.0-0.9)
0


Comment 3 Dave Malcolm 2005-12-21 21:52:39 UTC
Have subsequently updated that machine and am unable to reproduce