[Bug 2368] New: Segmentation fault when building 2.5.5 on ppc64 with HotSpot

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Sun May 17 21:49:01 UTC 2015


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2368

            Bug ID: 2368
           Summary: Segmentation fault when building 2.5.5 on ppc64 with
                    HotSpot
           Product: IcedTea
           Version: 2.5.5
          Hardware: ppc64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: IcedTea
          Assignee: gnu.andrew at redhat.com
          Reporter: chewi at gentoo.org
                CC: unassigned at icedtea.classpath.org

Created attachment 1321
  --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=1321&action=edit
gzipped Portage log

When attempting to build 2.5.5 on ppc64 Gentoo with gcj 4.8.2 and ecj 4.2, I
get a segfault during an invocation of ant. See the full build log attached.

build-bootstrap-javac:
    [mkdir] Created dir:
/var/tmp/notmpfs/portage/dev-java/icedtea-7.2.5.5/work/icedtea-2.5.5/openjdk.build/langtools/build/bootstrap/gensrc
    [mkdir] Created dir:
/var/tmp/notmpfs/portage/dev-java/icedtea-7.2.5.5/work/icedtea-2.5.5/openjdk.build/langtools/build/bootstrap/classes
 [pcompile] Generating 7 resource files to
/var/tmp/notmpfs/portage/dev-java/icedtea-7.2.5.5/work/icedtea-2.5.5/openjdk.build/langtools/build/bootstrap/gensrc
     [copy] Copying 1 file to
/var/tmp/notmpfs/portage/dev-java/icedtea-7.2.5.5/work/icedtea-2.5.5/openjdk.build/langtools/build/bootstrap/gensrc
 [pcompile] Generating 1 resource files to
/var/tmp/notmpfs/portage/dev-java/icedtea-7.2.5.5/work/icedtea-2.5.5/openjdk.build/langtools/build/bootstrap/gensrc
    [javac] Compiling 298 source files to
/var/tmp/notmpfs/portage/dev-java/icedtea-7.2.5.5/work/icedtea-2.5.5/openjdk.build/langtools/build/bootstrap/classes
     [copy] Copying 1 file to
/var/tmp/notmpfs/portage/dev-java/icedtea-7.2.5.5/work/icedtea-2.5.5/openjdk.build/langtools/build/bootstrap/classes
    [mkdir] Created dir:
/var/tmp/notmpfs/portage/dev-java/icedtea-7.2.5.5/work/icedtea-2.5.5/openjdk.build/langtools/build/bootstrap/lib
Makefile:205: recipe for target 'build' failed
gmake[3]: *** [build] Segmentation fault
gmake[3]: Leaving directory
'/var/tmp/notmpfs/portage/dev-java/icedtea-7.2.5.5/work/icedtea-2.5.5/openjdk/langtools/make'
make/langtools-rules.gmk:37: recipe for target 'langtools-build' failed
gmake[2]: *** [langtools-build] Error 2
gmake[2]: Leaving directory
'/var/tmp/notmpfs/portage/dev-java/icedtea-7.2.5.5/work/icedtea-2.5.5/openjdk'
Makefile:251: recipe for target 'build_product_image' failed
gmake[1]: *** [build_product_image] Error 2
gmake[1]: Leaving directory
'/var/tmp/notmpfs/portage/dev-java/icedtea-7.2.5.5/work/icedtea-2.5.5/openjdk'
Makefile:2221: recipe for target 'stamps/icedtea.stamp' failed
make: *** [stamps/icedtea.stamp] Error 2

Note that a segfault does not always occur. Sometimes the failure looks like
this instead. Note the absence of any real error message.

build-bootstrap-javac:
    [mkdir] Created dir:
/var/tmp/notmpfs/portage/dev-java/icedtea-7.2.5.5/work/icedtea-2.5.5/openjdk.build/langtools/build/bootstrap/gensrc
    [mkdir] Created dir:
/var/tmp/notmpfs/portage/dev-java/icedtea-7.2.5.5/work/icedtea-2.5.5/openjdk.build/langtools/build/bootstrap/classes
 [pcompile] Generating 7 resource files to
/var/tmp/notmpfs/portage/dev-java/icedtea-7.2.5.5/work/icedtea-2.5.5/openjdk.build/langtools/build/bootstrap/gensrc
     [copy] Copying 1 file to
/var/tmp/notmpfs/portage/dev-java/icedtea-7.2.5.5/work/icedtea-2.5.5/openjdk.build/langtools/build/bootstrap/gensrc
 [pcompile] Generating 1 resource files to
/var/tmp/notmpfs/portage/dev-java/icedtea-7.2.5.5/work/icedtea-2.5.5/openjdk.build/langtools/build/bootstrap/gensrc
    [javac] Compiling 298 source files to
/var/tmp/notmpfs/portage/dev-java/icedtea-7.2.5.5/work/icedtea-2.5.5/openjdk.build/langtools/build/bootstrap/classes

BUILD FAILED
/var/tmp/notmpfs/portage/dev-java/icedtea-7.2.5.5/work/icedtea-2.5.5/openjdk/langtools/make/build.xml:452:
The following error occurred while executing this line:
/var/tmp/notmpfs/portage/dev-java/icedtea-7.2.5.5/work/icedtea-2.5.5/openjdk/langtools/make/build.xml:795:
Compile failed; see the compiler error output for details.

Total time: 7 seconds
Makefile:205: recipe for target 'build' failed
gmake[3]: *** [build] Error 1
gmake[3]: Leaving directory
'/var/tmp/notmpfs/portage/dev-java/icedtea-7.2.5.5/work/icedtea-2.5.5/openjdk/langtools/make'
make/langtools-rules.gmk:37: recipe for target 'langtools-build' failed
gmake[2]: *** [langtools-build] Error 2
gmake[2]: Leaving directory
'/var/tmp/notmpfs/portage/dev-java/icedtea-7.2.5.5/work/icedtea-2.5.5/openjdk'
Makefile:251: recipe for target 'build_product_image' failed
gmake[1]: *** [build_product_image] Error 2
gmake[1]: Leaving directory
'/var/tmp/notmpfs/portage/dev-java/icedtea-7.2.5.5/work/icedtea-2.5.5/openjdk'
Makefile:2221: recipe for target 'stamps/icedtea.stamp' failed
make: *** [stamps/icedtea.stamp] Error 2

Unfortunately I misplaced my core dump but I did make a note of the failing
line.

Program terminated with signal SIGSEGV, Segmentation fault.
#0  get_stack_bang_address (ucontext=0x3fff9c7b8b20, this=<optimized out>) at
/var/tmp/notmpfs/portage/dev-java/icedtea-7.2.5.5/work/icedtea-2.5.5/openjdk-boot/hotspot/src/cpu/ppc/vm/nativeInst_ppc.hpp:104
 104         return MacroAssembler::get_stack_bang_address(long_at(0),
ucontext);

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20150517/4d9ff445/attachment.html>


More information about the distro-pkg-dev mailing list