java, javac crash on MacOSX

Andrei Dmitriev Andrei.Dmitriev at Sun.COM
Mon Jun 29 09:25:00 PDT 2009


Kurt,

yep, I used these variables since that time because noticed that they 
don't really affect the build process itself - I got some binaries and 
never tried how they work.
Now I see that variables... do affect JDK somehow. :(
So here is the script:
--------------------------------
#!/bin/bash                                                                                                                                     


export ALT_BOOTDIR=/export/devtools/binary.plugs/soylatte16-i386-1.0.3/
export ANT_HOME=/usr/share/ant
export NO_DOCS=true
export HOTSPOT_BUILD_JOBS=1;
export ALT_FREETYPE_HEADERS_PATH=/usr/X11R6/include;
export ALT_FREETYPE_LIB_PATH=/usr/X11R6/lib;
export ALT_JIBX_LIBS_PATH=/export/devtools/jibx/lib/

log=bsdport.build.log

time -p make VARIANT=DBG $* 2>&1 | tee $log
--------------------------------
and it leads to the same error:

make[7]: 
`/Users/dav/bsd-port-reference/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product/../generated/sa-jdi.jar' 
is up to date.
make[6]: `incls/_precompiled.incl.gch' is up to date.
if [ -d /Users/dav/bsd-port-reference/hotspot/agent -a "x86" != "ia64" ] 
; then \
       make -f vm.make libsaproc.dylib; \
    fi
make[7]: `libsaproc.dylib' is up to date.
All done.
cd bsd_i486_compiler2/product && ./test_gamma
java full version "1.6.0_03-p3-landonf_19_aug_2008_14_55-b00"
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGBUS (0xa) at pc=0x00e8d50f, pid=40704, tid=2685097760
#
# JRE version: 6.0_03
# Java VM: OpenJDK Server VM (16.0-b03 mixed mode bsd-x86 )
# Problematic frame:
# V  [libjvm.dylib+0xb150f]
#
# An error report file with more information is saved as:
# 
/Users/dav/bsd-port-reference/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product/hs_err_pid40704.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
./test_gamma: line 12: 40704 Abort trap              ./${gamma:-gamma} 
-Xbatch -showversion Queens < /dev/null
make[4]: *** [product] Error 134
make[3]: *** [generic_build2] Error 2
make[2]: *** [product] Error 2
make[1]: *** [hotspot-build] Error 2
make: *** [build_product_image] Error 2
real 41.36
user 32.39
sys 15.49

Also verified that JAVA_HOME, ALT_HOTSPOT_IMPORT_PATH, 
ALT_JDK_IMPORT_PATH not set.
I'm building from the bsd-port/ and bsd-port/hotspot/ folders with 
similar results listed above. :(

Thanks,
  Andrei



Kurt Miller wrote:
> Andrei Dmitriev wrote:
>   
>> Hi folks,
>>
>> I'm experiencing a crash with the latest javac and java build on MacOSX:
>> Any ideas what's going on there? I think it's not an issue with the
>> latest merge because I've seen that crash that week too.
>>
>> ../build/bsd-i586/bin/javac
>> #
>> # An unexpected error has been detected by Java Runtime Environment:
>> #
>> #  Internal Error (554E534146450E43505004DA), pid=97421, tid=0xb0051000
>> #
>> # Java VM: Java HotSpot(TM) Client VM
>> (1.6.0_03-p3-landonf_19_aug_2008_14_55-b00 mixed mode)
>>     
>    ^^^^^^^^^^^^^^^^^^^^^^
>
> Hi Andrei,
>
> That looks like the soylatte hotspot not the bsd-port/openjdk7
> hotspot. Did you build with ALT_HOTSPOT_IMPORT_PATH?
>
> ALT_HOTSPOT_IMPORT_PATH and ALT_JDK_IMPORT_PATH can not point
> to a soylatte build. Leave them unset to build bsd-port. See
> the following email for an example of how to get a clean build
> of bsd-port on OS X:
>
> http://mail.openjdk.java.net/pipermail/bsd-port-dev/2009-June/000735.html
>
> Regards,
> -Kurt
>   




More information about the bsd-port-dev mailing list