From kurt at intricatesoftware.com Tue Feb 1 04:04:42 2011 From: kurt at intricatesoftware.com (Kurt Miller) Date: Tue, 01 Feb 2011 07:04:42 -0500 Subject: hg: bsd-port/bsd-port/hotspot: 2 new changesets In-Reply-To: References: <20110128063123.694944720C@hg.openjdk.java.net> <201101311551.04889.kurt@intricatesoftware.com> <201101311827.53640.kurt@intricatesoftware.com> Message-ID: <4D47F6DA.2000309@intricatesoftware.com> Hi Henri, On 2/1/11 2:17 AM, Henri Gomez wrote: >> Traditionally, the jdk can use the last major version for bootstrap and itself. >> The results are the same so it realy comes down to whatever is easiest for >> the builder. >> >> I do however use self bootstrap as a method to check the current build is >> working well enough to handle building itself. Also for the ppc/zero build >> there isn't a jdk 1.6 available to use so self bootstrap is the only option. > Ok, I will stay with OpenJDK 1.7 32bits for now in my builds for 32/64bits x86. > > Mac OS/X port could be built with Apple 1.6 JVM, could it be done also > for bsd-port (when detected on OS/X platform) ? Yes, that should work ok to. Regards, -Kurt From kurt at intricatesoftware.com Tue Feb 1 04:44:21 2011 From: kurt at intricatesoftware.com (Kurt Miller) Date: Tue, 01 Feb 2011 07:44:21 -0500 Subject: openjdk crashes while installing jdeveloper In-Reply-To: <4D14A2CA.8050609@intricatesoftware.com> References: <6C860170-46CE-45D1-9B0A-5E9BC2858D6C@gmail.com> <4D14A2CA.8050609@intricatesoftware.com> Message-ID: <4D480025.6070904@intricatesoftware.com> Hi Jav, I have make the current macppc build available here: http://www.intricatesoftware.com/OpenJDK/macppc/openjdk7-macppc-2011-01-31.tar.bz2 It includes the SIGBUS patch that I sent previously. Could you give it a try with jdeveloper and report back success or failure here? Thanks, -Kurt On 12/24/10 8:40 AM, Kurt Miller wrote: > Hello Jav, > > OS X raises SIGBUS signal instead of SIGSEGV for > certain memory access exceptions. > > Please apply this diff to your hotspot src tree, > rebuild and test. If this corrects your crash, please > let me know and I will commit it to bsd-port. > > Regards, > -Kurt > > On 12/23/10 02:29, Jav House wrote: >> Hello all >> As most people with PPC I am stack on JavaSE 5 but I need to use >> JDeveloper and it requires at least 1.6. >> While trying to install jdeveloper with openjdk7-macppc-2009-12-16-b4 on >> MacOSX 10.5.8 PPC Quad with 16GB RAM >> >> # >> # A fatal error has been detected by the Java Runtime Environment: >> # >> # Internal Error (os_bsd_zero.cpp:232), pid=595, tid=4034990080 >> # Error: caught unhandled signal 10 >> # >> # JRE version: 7.0 >> # Java VM: OpenJDK Zero VM (17.0-b05 interpreted mode bsd-ppc ) >> # An error report file with more information is saved as: >> # >> /Volumes/Data/Users/nikoniko/Downloads/openjdk7-macppc-2009-12-16-b4/bin/hs_err_pid595.log >> # >> # If you would like to submit a bug report, please visit: >> # http://java.sun.com/webapps/bugreport/crash.jsp >> # >> >> >> Has anyone succeed on installing Oracle's JDeveloper on PPC >> with penjdk7-macppc-2009-12-16-b4? >> Is there any new release coming? This is a year old release. >> regards >> >> >> >> >> >> >> > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110201/550833a6/attachment.html From java4dev at gmail.com Tue Feb 1 15:17:31 2011 From: java4dev at gmail.com (Java House) Date: Wed, 2 Feb 2011 01:17:31 +0200 Subject: openjdk crashes while installing jdeveloper In-Reply-To: <4D480025.6070904@intricatesoftware.com> References: <6C860170-46CE-45D1-9B0A-5E9BC2858D6C@gmail.com> <4D14A2CA.8050609@intricatesoftware.com> <4D480025.6070904@intricatesoftware.com> Message-ID: <0DB3D60B-0C7D-44E3-8AB3-D73F305D4081@gmail.com> Hello Kurt, I tried first with the jdevstudio11113install.jar. Most of the times the installation with this package just hangs with no error as shown bellow so I just kill the process quad:Downloads xxx$ java -version openjdk version "1.7.0-internal" OpenJDK Runtime Environment (build 1.7.0-internal- truk_2011_01_31_21_31-b00) OpenJDK Zero VM (build 20.0-b06, interpreted mode) quad:Downloads xxx$ java -jar jdevstudio11113install.jar Unable to instantiate GUI, defaulting to console mode. Extracting 0 %...................................................................................................# # A fatal error has been detected by the Java Runtime Environment: # # Internal Error (os_bsd_zero.cpp:266), pid=1635, tid=4043403264 # fatal error: caught unhandled signal 10 # # JRE version: 7.0 # Java VM: OpenJDK Zero VM (20.0-b06 interpreted mode bsd-ppc ) # An error report file with more information is saved as: # /Volumes/Data/Users/xxx/Downloads/hs_err_pid1635.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # quad:Downloads nikoniko$ java -jar jdevstudio11113install.jar Unable to instantiate GUI, defaulting to console mode. Extracting 0 %....................................................................................................100 % <----------- Oracle Installer - Oracle JDeveloper 11g (11.1.1.3.0) -----------> Welcome: -------- This installer will guide you through the installation of Oracle JDeveloper 11g (11.1.1.3.0). Type "Next" or enter to proceed to the next prompt. If you want to change data entered previously, type "Previous". You may quit the installer at any time by typing "Exit". Enter [Exit][Next]> ^Cquad:Downloads xxx$ But sometimes the JVM crashes like bellow. I attached the log files. quad:Downloads nikoniko$ java -jar jdevstudio11113install.jar Unable to instantiate GUI, defaulting to console mode. Extracting 0 %...................................................................................................# # A fatal error has been detected by the Java Runtime Environment: # # Internal Error (os_bsd_zero.cpp:266), pid=1635, tid=4043403264 # fatal error: caught unhandled signal 10 # # JRE version: 7.0 # Java VM: OpenJDK Zero VM (20.0-b06 interpreted mode bsd-ppc ) # An error report file with more information is saved as: # /Volumes/Data/Users/nikoniko/Downloads/hs_err_pid1635.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # And with the newer version of JDeveloper Unable to instantiate GUI, defaulting to console mode. Extracting 0 %....................................................................................................100 % # # A fatal error has been detected by the Java Runtime Environment: # # Internal Error (os_bsd_zero.cpp:266), pid=1768, tid=4041895936 # fatal error: caught unhandled signal 10 # # JRE version: 7.0 # Java VM: OpenJDK Zero VM (20.0-b06 interpreted mode bsd-ppc ) # An error report file with more information is saved as: # /Volumes/Data/Users/nikoniko/Downloads/hs_err_pid1768.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # brg Nikolas On 01 ??? 2011, at 2:44 ??, Kurt Miller wrote: > Hi Jav, > > I have make the current macppc build available here: > > http://www.intricatesoftware.com/OpenJDK/macppc/openjdk7-macppc-2011-01-31.tar.bz2 > > It includes the SIGBUS patch that I sent previously. Could > you give it a try with jdeveloper and report back success or > failure here? > > Thanks, > -Kurt > > On 12/24/10 8:40 AM, Kurt Miller wrote: >> >> Hello Jav, >> >> OS X raises SIGBUS signal instead of SIGSEGV for >> certain memory access exceptions. >> >> Please apply this diff to your hotspot src tree, >> rebuild and test. If this corrects your crash, please >> let me know and I will commit it to bsd-port. >> >> Regards, >> -Kurt >> >> On 12/23/10 02:29, Jav House wrote: >>> Hello all >>> As most people with PPC I am stack on JavaSE 5 but I need to use >>> JDeveloper and it requires at least 1.6. >>> While trying to install jdeveloper with openjdk7-macppc-2009-12-16- >>> b4 on >>> MacOSX 10.5.8 PPC Quad with 16GB RAM >>> >>> # >>> # A fatal error has been detected by the Java Runtime Environment: >>> # >>> # Internal Error (os_bsd_zero.cpp:232), pid=595, tid=4034990080 >>> # Error: caught unhandled signal 10 >>> # >>> # JRE version: 7.0 >>> # Java VM: OpenJDK Zero VM (17.0-b05 interpreted mode bsd-ppc ) >>> # An error report file with more information is saved as: >>> # >>> /Volumes/Data/Users/nikoniko/Downloads/openjdk7-macppc-2009-12-16- >>> b4/bin/hs_err_pid595.log >>> # >>> # If you would like to submit a bug report, please visit: >>> # http://java.sun.com/webapps/bugreport/crash.jsp >>> # >>> >>> >>> Has anyone succeed on installing Oracle's JDeveloper on PPC >>> with penjdk7-macppc-2009-12-16-b4? >>> Is there any new release coming? This is a year old release. >>> regards >>> >>> >>> >>> >>> >>> >>> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110202/ef0d558a/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: hs_err_pid1635.log Type: application/octet-stream Size: 21952 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110202/ef0d558a/hs_err_pid1635.log -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110202/ef0d558a/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: hs_err_pid1768.log Type: application/octet-stream Size: 13965 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110202/ef0d558a/hs_err_pid1768.log -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110202/ef0d558a/attachment-0002.html From kurt at intricatesoftware.com Wed Feb 2 09:46:09 2011 From: kurt at intricatesoftware.com (Kurt Miller) Date: Wed, 2 Feb 2011 12:46:09 -0500 Subject: reenable test_gamma Message-ID: <201102021246.09468.kurt@intricatesoftware.com> This diff reenables test_gamma and works for me on mac/ppc using both self bootstrap and older bsd-port boostrap (which uses the old startup method similar to openjdk6). Please test this diff on x86/x86_64 mac's using various bootstrap jdks such as: openjdk6 from macports bsd-port OS/X 1.6 VM etc. Report back success or failure here. Thanks, -Kurt diff -r 1ac6aed892ee make/bsd/makefiles/buildtree.make --- a/make/bsd/makefiles/buildtree.make Mon Jan 31 21:09:30 2011 -0500 +++ b/make/bsd/makefiles/buildtree.make Wed Feb 02 12:36:51 2011 -0500 @@ -303,11 +303,11 @@ [ -n "$$JAVA_HOME" ] && { echo ": \$${JAVA_HOME:=$${JAVA_HOME}}"; }; \ { \ echo "LD_LIBRARY_PATH=.:$${LD_LIBRARY_PATH:+$$LD_LIBRARY_PATH:}\$${JAVA_HOME}/jre/lib/${LIBARCH}/native_threads:\$${JAVA_HOME}/jre/lib/${LIBARCH}:${GCC_LIB}"; \ - echo "DYLD_LIBRARY_PATH=.:$${DYLD_LIBRARY_PATH:+$$DYLD_LIBRARY_PATH:}\$${JAVA_HOME}/jre/lib/${LIBARCH}/native_threads:\$${JAVA_HOME}/jre/lib/${LIBARCH}:${GCC_LIB}"; \ + echo "DYLD_FALLBACK_LIBRARY_PATH=.:$${DYLD_FALLBACK_LIBRARY_PATH:+$$DYLD_FALLBACK_LIBRARY_PATH:}\$${JAVA_HOME}/jre/lib/${LIBARCH}/native_threads:\$${JAVA_HOME}/jre/lib/${LIBARCH}:${GCC_LIB}"; \ echo "CLASSPATH=$${CLASSPATH:+$$CLASSPATH:}.:\$${JAVA_HOME}/jre/lib/rt.jar:\$${JAVA_HOME}/jre/lib/i18n.jar"; \ } | sed s:$${JAVA_HOME:--------}:\$${JAVA_HOME}:g; \ echo "HOTSPOT_BUILD_USER=\"$${LOGNAME:-$$USER} in `basename $(GAMMADIR)`\""; \ - echo "export JAVA_HOME LD_LIBRARY_PATH DYLD_LIBRARY_PATH CLASSPATH HOTSPOT_BUILD_USER"; \ + echo "export JAVA_HOME LD_LIBRARY_PATH DYLD_FALLBACK_LIBRARY_PATH CLASSPATH HOTSPOT_BUILD_USER"; \ ) > $@ env.csh: env.sh @@ -372,7 +372,6 @@ echo '#!/bin/sh'; \ $(BUILDTREE_COMMENT); \ echo '. ./env.sh'; \ - echo "exit 0;"; \ echo "if [ \"$(CROSS_COMPILE_ARCH)\" != \"\" ]; then { $(CROSS_COMPILING_MSG); exit 0; }; fi"; \ echo "if [ -z \$$JAVA_HOME ]; then { $(NO_JAVA_HOME_MSG); exit 0; }; fi"; \ echo "if ! \$${JAVA_HOME}/bin/java $(JAVA_FLAG) -fullversion 2>&1 > /dev/null"; \ -------------- next part -------------- A non-text attachment was scrubbed... Name: test_gamma.diff Type: text/x-diff Size: 1668 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110202/5587cde8/test_gamma.diff From henri.gomez at gmail.com Wed Feb 2 13:23:38 2011 From: henri.gomez at gmail.com (Henri Gomez) Date: Wed, 2 Feb 2011 22:23:38 +0100 Subject: Problems with Locales on OS/X for bsd-port and macosx-port Message-ID: I've got a sample app to test locale : import java.util.Locale; public class TestLocales { public static void main(String args[]) { Locale[] lLocs = Locale.getAvailableLocales(); for (Locale lLoc: lLocs) { System.out.println(lLoc); } } } When I run it on OpenJDK 1.7 (32/64/OS-X), here is what I get : sun/text/resources/ ar be With OS/X 1.6 VM : ja_JP es_PE en ja_JP_JP es_PA sr_BA mk es_GT ar_AE no_NO sq_AL bg ar_IQ ar_YE hu pt_PT el_CY ar_QA mk_MK sv de_CH en_US fi_FI is cs en_MT sl_SI sk_SK it tr_TR zh th ar_SA no en_GB sr_CS lt ro en_NZ no_NO_NY lt_LT es_NI nl ga_IE fr_BE es_ES ar_LB ko fr_CA et_EE ar_KW sr_RS es_US es_MX ar_SD in_ID ru lv es_UY lv_LV iw pt_BR ar_SY hr et es_DO fr_CH hi_IN es_VE ar_BH en_PH ar_TN fi de_AT es nl_NL es_EC zh_TW ar_JO be is_IS es_CO es_CR es_CL ar_EG en_ZA th_TH el_GR it_IT ca hu_HU fr en_IE uk_UA pl_PL fr_LU nl_BE en_IN ca_ES ar_MA es_BO en_AU sr zh_SG pt uk es_SV ru_RU ko_KR vi ar_DZ vi_VN sr_ME sq ar_LY ar zh_CN be_BY zh_HK ja iw_IL bg_BG in mt_MT es_PY sl fr_FR cs_CZ it_CH ro_RO es_PR en_CA de_DE ga de_LU de es_AR sk ms_MY hr_HR en_SG da mt pl ar_OM tr th_TH_TH el ms sv_SE da_DK es_HN Any ideas about this ? From gary.meyer at apple.com Wed Feb 2 14:15:08 2011 From: gary.meyer at apple.com (Gary Meyer) Date: Wed, 2 Feb 2011 14:15:08 -0800 Subject: Problems with Locales on OS/X for bsd-port and macosx-port In-Reply-To: References: Message-ID: <744411A8-615A-4D09-ADBD-0651C27B913B@apple.com> I don't know why OpenJDK is returning such bad data, but as far as OS/X goes, these are normal locales. The first few characters denotes a language, and the characters after the underscore usually refer to a time zone or country. So: en => english en_US => English, United States en_MT => English, Mountain Time Zone en_GB => English, Great Britain en_NZ => English, New Zealand en_IN => English, Indianapolis Indiana (which has a unique time zone) etc. On Feb 2, 2011, at 1:23 PM, Henri Gomez wrote: > I've got a sample app to test locale : > > > import java.util.Locale; > > > public class TestLocales { > > public static void main(String args[]) { > > Locale[] lLocs = Locale.getAvailableLocales(); > > for (Locale lLoc: lLocs) { > System.out.println(lLoc); > } > } > } > > > When I run it on OpenJDK 1.7 (32/64/OS-X), here is what I get : > > > sun/text/resources/ > ar > be > > > With OS/X 1.6 VM : > > ja_JP > es_PE > en > ja_JP_JP > es_PA > sr_BA > mk > es_GT > ar_AE > no_NO > sq_AL > bg > ar_IQ > ar_YE > hu > pt_PT > el_CY > ar_QA > mk_MK > sv > de_CH > en_US > fi_FI > is > cs > en_MT > sl_SI > sk_SK > it > tr_TR > zh > th > ar_SA > no > en_GB > sr_CS > lt > ro > en_NZ > no_NO_NY > lt_LT > es_NI > nl > ga_IE > fr_BE > es_ES > ar_LB > ko > fr_CA > et_EE > ar_KW > sr_RS > es_US > es_MX > ar_SD > in_ID > ru > lv > es_UY > lv_LV > iw > pt_BR > ar_SY > hr > et > es_DO > fr_CH > hi_IN > es_VE > ar_BH > en_PH > ar_TN > fi > de_AT > es > nl_NL > es_EC > zh_TW > ar_JO > be > is_IS > es_CO > es_CR > es_CL > ar_EG > en_ZA > th_TH > el_GR > it_IT > ca > hu_HU > fr > en_IE > uk_UA > pl_PL > fr_LU > nl_BE > en_IN > ca_ES > ar_MA > es_BO > en_AU > sr > zh_SG > pt > uk > es_SV > ru_RU > ko_KR > vi > ar_DZ > vi_VN > sr_ME > sq > ar_LY > ar > zh_CN > be_BY > zh_HK > ja > iw_IL > bg_BG > in > mt_MT > es_PY > sl > fr_FR > cs_CZ > it_CH > ro_RO > es_PR > en_CA > de_DE > ga > de_LU > de > es_AR > sk > ms_MY > hr_HR > en_SG > da > mt > pl > ar_OM > tr > th_TH_TH > el > ms > sv_SE > da_DK > es_HN > > Any ideas about this ? ~~~~~~~~~~~~~~~~~~~~~~~ Gary Meyer Java Software Build Engineer From kurt at intricatesoftware.com Wed Feb 2 17:18:19 2011 From: kurt at intricatesoftware.com (Kurt Miller) Date: Wed, 02 Feb 2011 20:18:19 -0500 Subject: openjdk crashes while installing jdeveloper In-Reply-To: <0DB3D60B-0C7D-44E3-8AB3-D73F305D4081@gmail.com> References: <6C860170-46CE-45D1-9B0A-5E9BC2858D6C@gmail.com> <4D14A2CA.8050609@intricatesoftware.com> <4D480025.6070904@intricatesoftware.com> <0DB3D60B-0C7D-44E3-8AB3-D73F305D4081@gmail.com> Message-ID: <4D4A025B.9040504@intricatesoftware.com> Hi Nikolas, Thank you for testing and the details. I have tried around twenty times to get this to reproduce for me. It always works. I suspect your SMP setup is tripping over a race condition that I can't see with my single processor setup. I have built the fastdebug version of the jdk and uploaded it to http://www.intricatesoftware.com/OpenJDK/macppc/openjdk7-macppc-2011-02-02.tar.bz2 I adjusted the "fatal error: caught unhandled signal 10" string to include the faulting address. Could you make it crash again two more times? The first time as before where it generates the hs_err_pidXXXX.log file and the second time with this argument: -xx:+SuppressFatalErrorMessage That argument should avoid the crash report and instead leave a core file. The core file and the new hs_err_pidXXX.log file should help diagnose this more. Thanks, -Kurt On 2/1/11 6:17 PM, Java House wrote: > Hello Kurt, > > I tried first with the jdevstudio11113install.jar. > Most of the times the installation with this package just hangs with > no error as shown bellow so I just kill the process > > quad:Downloads xxx$ java -version > openjdk version "1.7.0-internal" > OpenJDK Runtime Environment (build > 1.7.0-internal-truk_2011_01_31_21_31-b00) > OpenJDK Zero VM (build 20.0-b06, interpreted mode) > > > quad:Downloads xxx$ java -jar jdevstudio11113install.jar > Unable to instantiate GUI, defaulting to console mode. > Extracting > 0%...................................................................................................# > # A fatal error has been detected by the Java Runtime Environment: > # > # Internal Error (os_bsd_zero.cpp:266), pid=1635, tid=4043403264 > # fatal error: caught unhandled signal 10 > # > # JRE version: 7.0 > # Java VM: OpenJDK Zero VM (20.0-b06 interpreted mode bsd-ppc ) > # An error report file with more information is saved as: > # /Volumes/Data/Users/xxx/Downloads/hs_err_pid1635.log > # > # If you would like to submit a bug report, please visit: > # http://java.sun.com/webapps/bugreport/crash.jsp > # > quad:Downloads nikoniko$ java -jar jdevstudio11113install.jar > Unable to instantiate GUI, defaulting to console mode. > Extracting > 0%....................................................................................................100% > > > > > > <----------- Oracle Installer - Oracle JDeveloper 11g (11.1.1.3.0) > -----------> > > Welcome: > -------- > > This installer will guide you through the installation of Oracle > JDeveloper 11g (11.1.1.3.0). Type "Next" or enter to proceed to the > next prompt. If you want > to change data entered previously, type "Previous". You may quit the > installer at any time by typing "Exit". > > > > > Enter [Exit][Next]> > ^Cquad:Downloads xxx$ > > > > But sometimes the JVM crashes like bellow. I attached the log files. > > > > > > > > quad:Downloads nikoniko$ java -jar jdevstudio11113install.jar > Unable to instantiate GUI, defaulting to console mode. > Extracting > 0%...................................................................................................# > # A fatal error has been detected by the Java Runtime Environment: > # > # Internal Error (os_bsd_zero.cpp:266), pid=1635, tid=4043403264 > # fatal error: caught unhandled signal 10 > # > # JRE version: 7.0 > # Java VM: OpenJDK Zero VM (20.0-b06 interpreted mode bsd-ppc ) > # An error report file with more information is saved as: > # /Volumes/Data/Users/nikoniko/Downloads/hs_err_pid1635.log > # > # If you would like to submit a bug report, please visit: > # http://java.sun.com/webapps/bugreport/crash.jsp > # > > > And with the newer version of JDeveloper > > Unable to instantiate GUI, defaulting to console mode. > Extracting > 0%....................................................................................................100% > # > # A fatal error has been detected by the Java Runtime Environment: > # > # Internal Error (os_bsd_zero.cpp:266), pid=1768, tid=4041895936 > # fatal error: caught unhandled signal 10 > # > # JRE version: 7.0 > # Java VM: OpenJDK Zero VM (20.0-b06 interpreted mode bsd-ppc ) > # An error report file with more information is saved as: > # /Volumes/Data/Users/nikoniko/Downloads/hs_err_pid1768.log > # > # If you would like to submit a bug report, please visit: > # http://java.sun.com/webapps/bugreport/crash.jsp > # > > > brg > Nikolas > > On 01 ??? 2011, at 2:44 ??, Kurt Miller wrote: > >> Hi Jav, >> >> I have make the current macppc build available here: >> >> http://www.intricatesoftware.com/OpenJDK/macppc/openjdk7-macppc-2011-01-31.tar.bz2 >> >> It includes the SIGBUS patch that I sent previously. Could >> you give it a try with jdeveloper and report back success or >> failure here? >> >> Thanks, >> -Kurt >> >> On 12/24/10 8:40 AM, Kurt Miller wrote: >>> Hello Jav, >>> >>> OS X raises SIGBUS signal instead of SIGSEGV for >>> certain memory access exceptions. >>> >>> Please apply this diff to your hotspot src tree, >>> rebuild and test. If this corrects your crash, please >>> let me know and I will commit it to bsd-port. >>> >>> Regards, >>> -Kurt >>> >>> On 12/23/10 02:29, Jav House wrote: >>>> Hello all >>>> As most people with PPC I am stack on JavaSE 5 but I need to use >>>> JDeveloper and it requires at least 1.6. >>>> While trying to install jdeveloper with openjdk7-macppc-2009-12-16-b4 on >>>> MacOSX 10.5.8 PPC Quad with 16GB RAM >>>> >>>> # >>>> # A fatal error has been detected by the Java Runtime Environment: >>>> # >>>> # Internal Error (os_bsd_zero.cpp:232), pid=595, tid=4034990080 >>>> # Error: caught unhandled signal 10 >>>> # >>>> # JRE version: 7.0 >>>> # Java VM: OpenJDK Zero VM (17.0-b05 interpreted mode bsd-ppc ) >>>> # An error report file with more information is saved as: >>>> # >>>> /Volumes/Data/Users/nikoniko/Downloads/openjdk7-macppc-2009-12-16-b4/bin/hs_err_pid595.log >>>> # >>>> # If you would like to submit a bug report, please visit: >>>> #http://java.sun.com/webapps/bugreport/crash.jsp >>>> # >>>> >>>> >>>> Has anyone succeed on installing Oracle's JDeveloper on PPC >>>> with penjdk7-macppc-2009-12-16-b4? >>>> Is there any new release coming? This is a year old release. >>>> regards >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> >>> >>> >> > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110202/1403b05b/attachment.html From java4dev at gmail.com Thu Feb 3 03:09:39 2011 From: java4dev at gmail.com (Java House) Date: Thu, 3 Feb 2011 13:09:39 +0200 Subject: openjdk crashes while installing jdeveloper In-Reply-To: <4D4A025B.9040504@intricatesoftware.com> References: <6C860170-46CE-45D1-9B0A-5E9BC2858D6C@gmail.com> <4D14A2CA.8050609@intricatesoftware.com> <4D480025.6070904@intricatesoftware.com> <0DB3D60B-0C7D-44E3-8AB3-D73F305D4081@gmail.com> <4D4A025B.9040504@intricatesoftware.com> Message-ID: <1B5E5AE5-C7C0-41BC-9539-6210E831075A@gmail.com> Kurt I can't tell you how much I appreciate the effort you put on this. I made several tries and I have attached the files for each try. I didn't zip them because they are relative small. this is the first try with jdeveloper 3 quad:tests nikoniko$ export PATH=/Volumes/Data/Users/nikoniko/ Applications/Java/openjdk7-macppc-2011-02-02/bin/:$PATH quad:tests nikoniko$ export JAVA_HOME=/Volumes/Data/Users/nikoniko/ Applications/Java/openjdk7-macppc-2011-02-02/ quad:tests nikoniko$ quad:tests nikoniko$ quad:tests nikoniko$ which java /Volumes/Data/Users/nikoniko/Applications/Java/openjdk7- macppc-2011-02-02/bin//java quad:tests nikoniko$ java -version openjdk version "1.7.0-internal-fastdebug" OpenJDK Runtime Environment (build 1.7.0-internal-fastdebug- truk_2011_02_02_14_07-b00) OpenJDK Zero VM (build 20.0-b06-fastdebug, interpreted mode) quad:tests nikoniko$ java -version openjdk version "1.7.0-internal-fastdebug" OpenJDK Runtime Environment (build 1.7.0-internal-fastdebug- truk_2011_02_02_14_07-b00) OpenJDK Zero VM (build 20.0-b06-fastdebug, interpreted mode) quad:tests nikoniko$ pwd /Volumes/Data/Users/nikoniko/temp/tests quad:tests nikoniko$ ls hotspot.log quad:tests nikoniko$ rm hotspot.log quad:tests nikoniko$ java -jar ~/Downloads/jdevstudio11113install.jar Unable to instantiate GUI, defaulting to console mode. Extracting 0 %....................................................................................................100 % # To suppress the following error report, specify this argument # after -XX: or in .hotspotrc: SuppressErrorAt=/objectMonitor.cpp:297 # # A fatal error has been detected by the Java Runtime Environment: # # Internal Error (/Users/truk/jdk/bsd-port/hotspot/src/share/vm/ runtime/objectMonitor.cpp:297), pid=865, tid=4031803392 # assert(_owner == Self) failed: invariant # # JRE version: 7.0 # Java VM: OpenJDK Zero VM (20.0-b06-fastdebug interpreted mode bsd- ppc ) # An error report file with more information is saved as: # /Volumes/Data/Users/nikoniko/temp/tests/hs_err_pid865.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # Current thread is 4031803392 Dumping core ... the two log files -------------------------------- Next try with the newest jdeveloper 4 first try I had to stop with CTRL-C as it stop responding, two files attached hotspot.897.log and hs_err_pid897.log ------------------------------- Second try generated core quad:tests nikoniko$ java -jar ~/Downloads/jdevstudio11114install.jar Unable to instantiate GUI, defaulting to console mode. Extracting 0 %....................................................................................................100 % # To suppress the following error report, specify this argument # after -XX: or in .hotspotrc: SuppressErrorAt=/objectMonitor.cpp:297 # # A fatal error has been detected by the Java Runtime Environment: # # Internal Error (/Users/truk/jdk/bsd-port/hotspot/src/share/vm/ runtime/objectMonitor.cpp:297), pid=928, tid=4030222336 # assert(_owner == Self) failed: invariant # # JRE version: 7.0 # Java VM: OpenJDK Zero VM (20.0-b06-fastdebug interpreted mode bsd- ppc ) # An error report file with more information is saved as: # /Volumes/Data/Users/nikoniko/temp/tests/hs_err_pid928.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # Current thread is 4030222336 Dumping core ... quad:tests nikoniko$ two files attached hotspot.928.log hs_err_pid928.log --------------------------------------------------------- Now with the flag quad:tests nikoniko$ java -XX:+SuppressFatalErrorMessage -jar ~/ Downloads/jdevstudio11114install.jar VM option '+SuppressFatalErrorMessage' Unable to instantiate GUI, defaulting to console mode. Extracting 0 %....................................................................................................100 % # To suppress the following error report, specify this argument # after -XX: or in .hotspotrc: SuppressErrorAt=/objectMonitor.cpp:297 # # A fatal error has been detected by the Java Runtime Environment: # # Internal Error (/Users/truk/jdk/bsd-port/hotspot/src/share/vm/ runtime/objectMonitor.cpp:297), pid=970, tid=4031803392 # assert(_owner == Self) failed: invariant # # JRE version: 7.0 # Java VM: OpenJDK Zero VM (20.0-b06-fastdebug interpreted mode bsd- ppc ) # An error report file with more information is saved as: # /Volumes/Data/Users/nikoniko/temp/tests/hs_err_pid970.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # Current thread is 4031803392 Dumping core ... quad:tests nikoniko$ ls attached files hotspot.970.log hs_err_pid970.log now running the same under xterm bash-3.2$ java -jar ../../Downloads/jdevstudio11114install.jar Unable to instantiate GUI, defaulting to console mode. # To suppress the following error report, specify this argument # after -XX: or in .hotspotrc: SuppressErrorAt=/mutex.cpp:901 # # A fatal error has been detected by the Java Runtime Environment: # # Internal Error (/Users/truk/jdk/bsd-port/hotspot/src/share/vm/ runtime/mutex.cpp:901), pid=1196, tid=4038660096 # assert(owner() == NULL) failed: invariant # # JRE version: 7.0 # Java VM: OpenJDK Zero VM (20.0-b06-fastdebug interpreted mode bsd- ppc ) # An error report file with more information is saved as: # /Volumes/Data/Users/nikoniko/temp/tests/hs_err_pid1196.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # Current thread is 4038660096 Dumping core ... the files are hotspot.1196.log hs_err_pid1196.log under xterm with the flag bash-3.2$ java -XX:+SuppressFatalErrorMessage -jar ../../Downloads/ jdevstudio11114install.jar VM option '+SuppressFatalErrorMessage' Unable to instantiate GUI, defaulting to console mode. # To suppress the following error report, specify this argument # after -XX: or in .hotspotrc: SuppressErrorAt=/mutex.cpp:1274 # # A fatal error has been detected by the Java Runtime Environment: # # Internal Error (/Users/truk/jdk/bsd-port/hotspot/src/share/vm/ runtime/mutex.cpp:1274), pid=1219, tid=4030222336 # assert(_owner == NULL) failed: setting the owner thread of an already owned mutex # # JRE version: 7.0 # Java VM: OpenJDK Zero VM (20.0-b06-fastdebug interpreted mode bsd- ppc ) # An error report file with more information is saved as: # /Volumes/Data/Users/nikoniko/temp/tests/hs_err_pid1219.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # Current thread is 4030222336 Dumping core ... On 03 ??? 2011, at 3:18 ??, Kurt Miller wrote: > Hi Nikolas, > > Thank you for testing and the details. I have tried around twenty > times > to get this to reproduce for me. It always works. I suspect your SMP > setup is tripping over a race condition that I can't see with my > single > processor setup. > > I have built the fastdebug version of the jdk and uploaded it to > > http://www.intricatesoftware.com/OpenJDK/macppc/openjdk7-macppc-2011-02-02.tar.bz2 > > I adjusted the "fatal error: caught unhandled signal 10" string to > include > the faulting address. Could you make it crash again two more times? > > The first time as before where it generates the hs_err_pidXXXX.log > file > and the second time with this argument: -xx:+SuppressFatalErrorMessage > That argument should avoid the crash report and instead leave a core > file. > > The core file and the new hs_err_pidXXX.log file should help > diagnose this > more. > > Thanks, > -Kurt > > On 2/1/11 6:17 PM, Java House wrote: >> >> Hello Kurt, >> >> I tried first with the jdevstudio11113install.jar. >> Most of the times the installation with this package just hangs >> with no error as shown bellow so I just kill the process >> >> quad:Downloads xxx$ java -version >> openjdk version "1.7.0-internal" >> OpenJDK Runtime Environment (build 1.7.0-internal- >> truk_2011_01_31_21_31-b00) >> OpenJDK Zero VM (build 20.0-b06, interpreted mode) >> >> >> quad:Downloads xxx$ java -jar jdevstudio11113install.jar >> Unable to instantiate GUI, defaulting to console mode. >> Extracting >> 0 >> %...................................................................................................# >> # A fatal error has been detected by the Java Runtime Environment: >> # >> # Internal Error (os_bsd_zero.cpp:266), pid=1635, tid=4043403264 >> # fatal error: caught unhandled signal 10 >> # >> # JRE version: 7.0 >> # Java VM: OpenJDK Zero VM (20.0-b06 interpreted mode bsd-ppc ) >> # An error report file with more information is saved as: >> # /Volumes/Data/Users/xxx/Downloads/hs_err_pid1635.log >> # >> # If you would like to submit a bug report, please visit: >> # http://java.sun.com/webapps/bugreport/crash.jsp >> # >> quad:Downloads nikoniko$ java -jar jdevstudio11113install.jar >> Unable to instantiate GUI, defaulting to console mode. >> Extracting >> 0 >> %....................................................................................................100 >> % >> >> >> >> >> >> <----------- Oracle Installer - Oracle JDeveloper 11g (11.1.1.3.0) >> -----------> >> >> Welcome: >> -------- >> >> This installer will guide you through the installation of Oracle >> JDeveloper 11g (11.1.1.3.0). Type "Next" or enter to proceed to the >> next prompt. If you want >> to change data entered previously, type "Previous". You may quit >> the installer at any time by typing "Exit". >> >> >> >> >> Enter [Exit][Next]> >> ^Cquad:Downloads xxx$ >> >> >> >> But sometimes the JVM crashes like bellow. I attached the log files. >> >> >> >> >> >> >> quad:Downloads nikoniko$ java -jar jdevstudio11113install.jar >> Unable to instantiate GUI, defaulting to console mode. >> Extracting >> 0 >> %...................................................................................................# >> # A fatal error has been detected by the Java Runtime Environment: >> # >> # Internal Error (os_bsd_zero.cpp:266), pid=1635, tid=4043403264 >> # fatal error: caught unhandled signal 10 >> # >> # JRE version: 7.0 >> # Java VM: OpenJDK Zero VM (20.0-b06 interpreted mode bsd-ppc ) >> # An error report file with more information is saved as: >> # /Volumes/Data/Users/nikoniko/Downloads/hs_err_pid1635.log >> # >> # If you would like to submit a bug report, please visit: >> # http://java.sun.com/webapps/bugreport/crash.jsp >> # >> >> >> And with the newer version of JDeveloper >> >> Unable to instantiate GUI, defaulting to console mode. >> Extracting >> 0 >> %....................................................................................................100 >> % >> # >> # A fatal error has been detected by the Java Runtime Environment: >> # >> # Internal Error (os_bsd_zero.cpp:266), pid=1768, tid=4041895936 >> # fatal error: caught unhandled signal 10 >> # >> # JRE version: 7.0 >> # Java VM: OpenJDK Zero VM (20.0-b06 interpreted mode bsd-ppc ) >> # An error report file with more information is saved as: >> # /Volumes/Data/Users/nikoniko/Downloads/hs_err_pid1768.log >> # >> # If you would like to submit a bug report, please visit: >> # http://java.sun.com/webapps/bugreport/crash.jsp >> # >> >> >> brg >> Nikolas >> >> On 01 ??? 2011, at 2:44 ??, Kurt Miller wrote: >> >>> Hi Jav, >>> >>> I have make the current macppc build available here: >>> >>> http://www.intricatesoftware.com/OpenJDK/macppc/openjdk7-macppc-2011-01-31.tar.bz2 >>> >>> It includes the SIGBUS patch that I sent previously. Could >>> you give it a try with jdeveloper and report back success or >>> failure here? >>> >>> Thanks, >>> -Kurt >>> >>> On 12/24/10 8:40 AM, Kurt Miller wrote: >>>> >>>> Hello Jav, >>>> >>>> OS X raises SIGBUS signal instead of SIGSEGV for >>>> certain memory access exceptions. >>>> >>>> Please apply this diff to your hotspot src tree, >>>> rebuild and test. If this corrects your crash, please >>>> let me know and I will commit it to bsd-port. >>>> >>>> Regards, >>>> -Kurt >>>> >>>> On 12/23/10 02:29, Jav House wrote: >>>>> Hello all >>>>> As most people with PPC I am stack on JavaSE 5 but I need to use >>>>> JDeveloper and it requires at least 1.6. >>>>> While trying to install jdeveloper with openjdk7- >>>>> macppc-2009-12-16-b4 on >>>>> MacOSX 10.5.8 PPC Quad with 16GB RAM >>>>> >>>>> # >>>>> # A fatal error has been detected by the Java Runtime Environment: >>>>> # >>>>> # Internal Error (os_bsd_zero.cpp:232), pid=595, tid=4034990080 >>>>> # Error: caught unhandled signal 10 >>>>> # >>>>> # JRE version: 7.0 >>>>> # Java VM: OpenJDK Zero VM (17.0-b05 interpreted mode bsd-ppc ) >>>>> # An error report file with more information is saved as: >>>>> # >>>>> /Volumes/Data/Users/nikoniko/Downloads/openjdk7- >>>>> macppc-2009-12-16-b4/bin/hs_err_pid595.log >>>>> # >>>>> # If you would like to submit a bug report, please visit: >>>>> # http://java.sun.com/webapps/bugreport/crash.jsp >>>>> # >>>>> >>>>> >>>>> Has anyone succeed on installing Oracle's JDeveloper on PPC >>>>> with penjdk7-macppc-2009-12-16-b4? >>>>> Is there any new release coming? This is a year old release. >>>>> regards >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>> >> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110203/96fd8b6e/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: hs_err_pid865.log Type: application/octet-stream Size: 9637 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110203/96fd8b6e/hs_err_pid865.log -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110203/96fd8b6e/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: hotspot.log Type: application/octet-stream Size: 2394 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110203/96fd8b6e/hotspot.log -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110203/96fd8b6e/attachment-0002.html -------------- next part -------------- A non-text attachment was scrubbed... Name: hotspot.897.log Type: application/octet-stream Size: 2396 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110203/96fd8b6e/hotspot.897.log -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110203/96fd8b6e/attachment-0003.html -------------- next part -------------- A non-text attachment was scrubbed... Name: hs_err_pid897.log Type: application/octet-stream Size: 12594 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110203/96fd8b6e/hs_err_pid897.log -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110203/96fd8b6e/attachment-0004.html -------------- next part -------------- A non-text attachment was scrubbed... Name: hotspot.928.log Type: application/octet-stream Size: 2394 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110203/96fd8b6e/hotspot.928.log -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110203/96fd8b6e/attachment-0005.html -------------- next part -------------- A non-text attachment was scrubbed... Name: hs_err_pid928.log Type: application/octet-stream Size: 8957 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110203/96fd8b6e/hs_err_pid928.log -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110203/96fd8b6e/attachment-0006.html -------------- next part -------------- A non-text attachment was scrubbed... Name: hotspot.970.log Type: application/octet-stream Size: 2410 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110203/96fd8b6e/hotspot.970.log -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110203/96fd8b6e/attachment-0007.html -------------- next part -------------- A non-text attachment was scrubbed... Name: hs_err_pid970.log Type: application/octet-stream Size: 9637 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110203/96fd8b6e/hs_err_pid970.log -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110203/96fd8b6e/attachment-0008.html -------------- next part -------------- A non-text attachment was scrubbed... Name: hs_err_pid1196.log Type: application/octet-stream Size: 8169 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110203/96fd8b6e/hs_err_pid1196.log -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110203/96fd8b6e/attachment-0009.html -------------- next part -------------- A non-text attachment was scrubbed... Name: hotspot.1196.log Type: application/octet-stream Size: 2370 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110203/96fd8b6e/hotspot.1196.log -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110203/96fd8b6e/attachment-0010.html -------------- next part -------------- A non-text attachment was scrubbed... Name: hotspot.1219.log Type: application/octet-stream Size: 2370 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110203/96fd8b6e/hotspot.1219.log -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110203/96fd8b6e/attachment-0011.html -------------- next part -------------- A non-text attachment was scrubbed... Name: hs_err_pid1219.log Type: application/octet-stream Size: 7236 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110203/96fd8b6e/hs_err_pid1219.log -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110203/96fd8b6e/attachment-0012.html From kurt at intricatesoftware.com Wed Feb 9 04:37:09 2011 From: kurt at intricatesoftware.com (Kurt Miller) Date: Wed, 09 Feb 2011 07:37:09 -0500 Subject: openjdk crashes while installing jdeveloper In-Reply-To: <1B5E5AE5-C7C0-41BC-9539-6210E831075A@gmail.com> References: <6C860170-46CE-45D1-9B0A-5E9BC2858D6C@gmail.com> <4D14A2CA.8050609@intricatesoftware.com> <4D480025.6070904@intricatesoftware.com> <0DB3D60B-0C7D-44E3-8AB3-D73F305D4081@gmail.com> <4D4A025B.9040504@intricatesoftware.com> <1B5E5AE5-C7C0-41BC-9539-6210E831075A@gmail.com> Message-ID: <4D528A75.5040902@intricatesoftware.com> Nikolas and I are working on this off list. The bsd_zero apple atomic operation implementations such as atomic_swap and atomic_cas are not thread safe. SMP makes that problem easier to see. We tried using the gcc 4.2 builtin atomic operations however the are now deadlocks to debug. On 2/3/11 6:09 AM, Java House wrote: > Kurt I can't tell you how much I appreciate the effort you put on this. > I made several tries and I have attached the files for each try. > I didn't zip them because they are relative small. > > > this is the first try with jdeveloper 3 > > > quad:tests nikoniko$ export > PATH=/Volumes/Data/Users/nikoniko/Applications/Java/openjdk7-macppc-2011-02-02/bin/:$PATH > quad:tests nikoniko$ export > JAVA_HOME=/Volumes/Data/Users/nikoniko/Applications/Java/openjdk7-macppc-2011-02-02/ > quad:tests nikoniko$ > quad:tests nikoniko$ > quad:tests nikoniko$ which java > /Volumes/Data/Users/nikoniko/Applications/Java/openjdk7-macppc-2011-02-02/bin//java > quad:tests nikoniko$ java -version > openjdk version "1.7.0-internal-fastdebug" > OpenJDK Runtime Environment (build > 1.7.0-internal-fastdebug-truk_2011_02_02_14_07-b00) > OpenJDK Zero VM (build 20.0-b06-fastdebug, interpreted mode) > quad:tests nikoniko$ java -version > openjdk version "1.7.0-internal-fastdebug" > OpenJDK Runtime Environment (build > 1.7.0-internal-fastdebug-truk_2011_02_02_14_07-b00) > OpenJDK Zero VM (build 20.0-b06-fastdebug, interpreted mode) > quad:tests nikoniko$ pwd > /Volumes/Data/Users/nikoniko/temp/tests > quad:tests nikoniko$ ls > hotspot.log > quad:tests nikoniko$ rm hotspot.log > quad:tests nikoniko$ java -jar ~/Downloads/jdevstudio11113install.jar > Unable to instantiate GUI, defaulting to console mode. > Extracting > 0%....................................................................................................100% > # To suppress the following error report, specify this argument > # after -XX: or in .hotspotrc: SuppressErrorAt=/objectMonitor.cpp:297 > # > # A fatal error has been detected by the Java Runtime Environment: > # > # Internal Error > (/Users/truk/jdk/bsd-port/hotspot/src/share/vm/runtime/objectMonitor.cpp:297), > pid=865, tid=4031803392 > # assert(_owner == Self) failed: invariant > # > # JRE version: 7.0 > # Java VM: OpenJDK Zero VM (20.0-b06-fastdebug interpreted mode bsd-ppc ) > # An error report file with more information is saved as: > # /Volumes/Data/Users/nikoniko/temp/tests/hs_err_pid865.log > # > # If you would like to submit a bug report, please visit: > # http://java.sun.com/webapps/bugreport/crash.jsp > # > Current thread is 4031803392 > Dumping core ... > > > the two log files > > > > > > -------------------------------- > > Next try with the newest jdeveloper 4 > first try I had to stop with CTRL-C as it stop responding, two files > attached hotspot.897.log and hs_err_pid897.log > > > > > > > > ------------------------------- > > Second try generated core > > > quad:tests nikoniko$ java -jar ~/Downloads/jdevstudio11114install.jar > Unable to instantiate GUI, defaulting to console mode. > Extracting > 0%....................................................................................................100% > # To suppress the following error report, specify this argument > # after -XX: or in .hotspotrc: SuppressErrorAt=/objectMonitor.cpp:297 > # > # A fatal error has been detected by the Java Runtime Environment: > # > # Internal Error > (/Users/truk/jdk/bsd-port/hotspot/src/share/vm/runtime/objectMonitor.cpp:297), > pid=928, tid=4030222336 > # assert(_owner == Self) failed: invariant > # > # JRE version: 7.0 > # Java VM: OpenJDK Zero VM (20.0-b06-fastdebug interpreted mode bsd-ppc ) > # An error report file with more information is saved as: > # /Volumes/Data/Users/nikoniko/temp/tests/hs_err_pid928.log > # > # If you would like to submit a bug report, please visit: > # http://java.sun.com/webapps/bugreport/crash.jsp > # > Current thread is 4030222336 > Dumping core ... > quad:tests nikoniko$ > > > two files attached hotspot.928.log hs_err_pid928.log > > > > > > > --------------------------------------------------------- > > Now with the flag > > quad:tests nikoniko$ java -XX:+SuppressFatalErrorMessage -jar > ~/Downloads/jdevstudio11114install.jar > VM option '+SuppressFatalErrorMessage' > Unable to instantiate GUI, defaulting to console mode. > Extracting > 0%....................................................................................................100% > # To suppress the following error report, specify this argument > # after -XX: or in .hotspotrc: SuppressErrorAt=/objectMonitor.cpp:297 > # > # A fatal error has been detected by the Java Runtime Environment: > # > # Internal Error > (/Users/truk/jdk/bsd-port/hotspot/src/share/vm/runtime/objectMonitor.cpp:297), > pid=970, tid=4031803392 > # assert(_owner == Self) failed: invariant > # > # JRE version: 7.0 > # Java VM: OpenJDK Zero VM (20.0-b06-fastdebug interpreted mode bsd-ppc ) > # An error report file with more information is saved as: > # /Volumes/Data/Users/nikoniko/temp/tests/hs_err_pid970.log > # > # If you would like to submit a bug report, please visit: > # http://java.sun.com/webapps/bugreport/crash.jsp > # > Current thread is 4031803392 > Dumping core ... > quad:tests nikoniko$ ls > > attached files hotspot.970.log hs_err_pid970.log > > > > > > > now running the same under xterm > > bash-3.2$ java -jar ../../Downloads/jdevstudio11114install.jar > Unable to instantiate GUI, defaulting to console mode. > # To suppress the following error report, specify this argument > # after -XX: or in .hotspotrc: SuppressErrorAt=/mutex.cpp:901 > # > # A fatal error has been detected by the Java Runtime Environment: > # > # Internal Error > (/Users/truk/jdk/bsd-port/hotspot/src/share/vm/runtime/mutex.cpp:901), > pid=1196, tid=4038660096 > # assert(owner() == NULL) failed: invariant > # > # JRE version: 7.0 > # Java VM: OpenJDK Zero VM (20.0-b06-fastdebug interpreted mode bsd-ppc ) > # An error report file with more information is saved as: > # /Volumes/Data/Users/nikoniko/temp/tests/hs_err_pid1196.log > # > # If you would like to submit a bug report, please visit: > # http://java.sun.com/webapps/bugreport/crash.jsp > # > Current thread is 4038660096 > Dumping core ... > > > the files are hotspot.1196.log hs_err_pid1196.log > > > > > > > under xterm with the flag > bash-3.2$ java -XX:+SuppressFatalErrorMessage -jar > ../../Downloads/jdevstudio11114install.jar > VM option '+SuppressFatalErrorMessage' > Unable to instantiate GUI, defaulting to console mode. > # To suppress the following error report, specify this argument > # after -XX: or in .hotspotrc: SuppressErrorAt=/mutex.cpp:1274 > # > # A fatal error has been detected by the Java Runtime Environment: > # > # Internal Error > (/Users/truk/jdk/bsd-port/hotspot/src/share/vm/runtime/mutex.cpp:1274), pid=1219, > tid=4030222336 > # assert(_owner == NULL) failed: setting the owner thread of an > already owned mutex > # > # JRE version: 7.0 > # Java VM: OpenJDK Zero VM (20.0-b06-fastdebug interpreted mode bsd-ppc ) > # An error report file with more information is saved as: > # /Volumes/Data/Users/nikoniko/temp/tests/hs_err_pid1219.log > # > # If you would like to submit a bug report, please visit: > # http://java.sun.com/webapps/bugreport/crash.jsp > # > Current thread is 4030222336 > Dumping core ... > > > > > > > > > > > On 03 ??? 2011, at 3:18 ??, Kurt Miller wrote: > >> Hi Nikolas, >> >> Thank you for testing and the details. I have tried around twenty times >> to get this to reproduce for me. It always works. I suspect your SMP >> setup is tripping over a race condition that I can't see with my single >> processor setup. >> >> I have built the fastdebug version of the jdk and uploaded it to >> >> http://www.intricatesoftware.com/OpenJDK/macppc/openjdk7-macppc-2011-02-02.tar.bz2 >> >> I adjusted the "fatal error: caught unhandled signal 10" string to >> include >> the faulting address. Could you make it crash again two more times? >> >> The first time as before where it generates the hs_err_pidXXXX.log file >> and the second time with this argument: -xx:+SuppressFatalErrorMessage >> That argument should avoid the crash report and instead leave a core >> file. >> >> The core file and the new hs_err_pidXXX.log file should help diagnose >> this >> more. >> >> Thanks, >> -Kurt >> >> On 2/1/11 6:17 PM, Java House wrote: >>> Hello Kurt, >>> >>> I tried first with the jdevstudio11113install.jar. >>> Most of the times the installation with this package just hangs with >>> no error as shown bellow so I just kill the process >>> >>> quad:Downloads xxx$ java -version >>> openjdk version "1.7.0-internal" >>> OpenJDK Runtime Environment (build >>> 1.7.0-internal-truk_2011_01_31_21_31-b00) >>> OpenJDK Zero VM (build 20.0-b06, interpreted mode) >>> >>> >>> quad:Downloads xxx$ java -jar jdevstudio11113install.jar >>> Unable to instantiate GUI, defaulting to console mode. >>> Extracting >>> 0%...................................................................................................# >>> # A fatal error has been detected by the Java Runtime Environment: >>> # >>> # Internal Error (os_bsd_zero.cpp:266), pid=1635, tid=4043403264 >>> # fatal error: caught unhandled signal 10 >>> # >>> # JRE version: 7.0 >>> # Java VM: OpenJDK Zero VM (20.0-b06 interpreted mode bsd-ppc ) >>> # An error report file with more information is saved as: >>> # /Volumes/Data/Users/xxx/Downloads/hs_err_pid1635.log >>> # >>> # If you would like to submit a bug report, please visit: >>> # http://java.sun.com/webapps/bugreport/crash.jsp >>> # >>> quad:Downloads nikoniko$ java -jar jdevstudio11113install.jar >>> Unable to instantiate GUI, defaulting to console mode. >>> Extracting >>> 0%....................................................................................................100% >>> >>> >>> >>> >>> >>> <----------- Oracle Installer - Oracle JDeveloper 11g (11.1.1.3.0) >>> -----------> >>> >>> Welcome: >>> -------- >>> >>> This installer will guide you through the installation of Oracle >>> JDeveloper 11g (11.1.1.3.0). Type "Next" or enter to proceed to the >>> next prompt. If you want >>> to change data entered previously, type "Previous". You may quit >>> the installer at any time by typing "Exit". >>> >>> >>> >>> >>> Enter [Exit][Next]> >>> ^Cquad:Downloads xxx$ >>> >>> >>> >>> But sometimes the JVM crashes like bellow. I attached the log files. >>> >>> >>> >>> >>> >>> >>> >>> quad:Downloads nikoniko$ java -jar jdevstudio11113install.jar >>> Unable to instantiate GUI, defaulting to console mode. >>> Extracting >>> 0%...................................................................................................# >>> # A fatal error has been detected by the Java Runtime Environment: >>> # >>> # Internal Error (os_bsd_zero.cpp:266), pid=1635, tid=4043403264 >>> # fatal error: caught unhandled signal 10 >>> # >>> # JRE version: 7.0 >>> # Java VM: OpenJDK Zero VM (20.0-b06 interpreted mode bsd-ppc ) >>> # An error report file with more information is saved as: >>> # /Volumes/Data/Users/nikoniko/Downloads/hs_err_pid1635.log >>> # >>> # If you would like to submit a bug report, please visit: >>> # http://java.sun.com/webapps/bugreport/crash.jsp >>> # >>> >>> >>> And with the newer version of JDeveloper >>> >>> Unable to instantiate GUI, defaulting to console mode. >>> Extracting >>> 0%....................................................................................................100% >>> # >>> # A fatal error has been detected by the Java Runtime Environment: >>> # >>> # Internal Error (os_bsd_zero.cpp:266), pid=1768, tid=4041895936 >>> # fatal error: caught unhandled signal 10 >>> # >>> # JRE version: 7.0 >>> # Java VM: OpenJDK Zero VM (20.0-b06 interpreted mode bsd-ppc ) >>> # An error report file with more information is saved as: >>> # /Volumes/Data/Users/nikoniko/Downloads/hs_err_pid1768.log >>> # >>> # If you would like to submit a bug report, please visit: >>> # http://java.sun.com/webapps/bugreport/crash.jsp >>> # >>> >>> >>> brg >>> Nikolas >>> >>> On 01 ??? 2011, at 2:44 ??, Kurt Miller wrote: >>> >>>> Hi Jav, >>>> >>>> I have make the current macppc build available here: >>>> >>>> http://www.intricatesoftware.com/OpenJDK/macppc/openjdk7-macppc-2011-01-31.tar.bz2 >>>> >>>> It includes the SIGBUS patch that I sent previously. Could >>>> you give it a try with jdeveloper and report back success or >>>> failure here? >>>> >>>> Thanks, >>>> -Kurt >>>> >>>> On 12/24/10 8:40 AM, Kurt Miller wrote: >>>>> Hello Jav, >>>>> >>>>> OS X raises SIGBUS signal instead of SIGSEGV for >>>>> certain memory access exceptions. >>>>> >>>>> Please apply this diff to your hotspot src tree, >>>>> rebuild and test. If this corrects your crash, please >>>>> let me know and I will commit it to bsd-port. >>>>> >>>>> Regards, >>>>> -Kurt >>>>> >>>>> On 12/23/10 02:29, Jav House wrote: >>>>>> Hello all >>>>>> As most people with PPC I am stack on JavaSE 5 but I need to use >>>>>> JDeveloper and it requires at least 1.6. >>>>>> While trying to install jdeveloper with openjdk7-macppc-2009-12-16-b4 on >>>>>> MacOSX 10.5.8 PPC Quad with 16GB RAM >>>>>> >>>>>> # >>>>>> # A fatal error has been detected by the Java Runtime Environment: >>>>>> # >>>>>> # Internal Error (os_bsd_zero.cpp:232), pid=595, tid=4034990080 >>>>>> # Error: caught unhandled signal 10 >>>>>> # >>>>>> # JRE version: 7.0 >>>>>> # Java VM: OpenJDK Zero VM (17.0-b05 interpreted mode bsd-ppc ) >>>>>> # An error report file with more information is saved as: >>>>>> # >>>>>> /Volumes/Data/Users/nikoniko/Downloads/openjdk7-macppc-2009-12-16-b4/bin/hs_err_pid595.log >>>>>> # >>>>>> # If you would like to submit a bug report, please visit: >>>>>> #http://java.sun.com/webapps/bugreport/crash.jsp >>>>>> # >>>>>> >>>>>> >>>>>> Has anyone succeed on installing Oracle's JDeveloper on PPC >>>>>> with penjdk7-macppc-2009-12-16-b4? >>>>>> Is there any new release coming? This is a year old release. >>>>>> regards >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>> >>> >>> >>> >> > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110209/50f50e49/attachment.html From christos at zoulas.com Wed Feb 9 16:11:38 2011 From: christos at zoulas.com (Christos Zoulas) Date: Wed, 9 Feb 2011 19:11:38 -0500 Subject: openjdk crashes while installing jdeveloper In-Reply-To: <4D528A75.5040902@intricatesoftware.com> from Kurt Miller (Feb 9, 7:37am) Message-ID: <20110210001138.E089E56426@rebar.astron.com> On Feb 9, 7:37am, kurt at intricatesoftware.com (Kurt Miller) wrote: -- Subject: Re: openjdk crashes while installing jdeveloper | Nikolas and I are working on this off list. The bsd_zero apple | atomic operation implementations such as atomic_swap and | atomic_cas are not thread safe. SMP makes that problem | easier to see. We tried using the gcc 4.2 builtin atomic operations | however the are now deadlocks to debug. Well, NetBSD has assembly implementations of the standard atomics for all major archs. I know that zero means zero assembly, but perhaps we can make an exception in this case? christos From kurt at intricatesoftware.com Thu Feb 10 06:30:52 2011 From: kurt at intricatesoftware.com (Kurt Miller) Date: Thu, 10 Feb 2011 09:30:52 -0500 Subject: openjdk crashes while installing jdeveloper In-Reply-To: <20110210001138.E089E56426@rebar.astron.com> References: <20110210001138.E089E56426@rebar.astron.com> Message-ID: <201102100930.52810.kurt@intricatesoftware.com> On Wednesday 09 February 2011 07:11:38 pm Christos Zoulas wrote: > On Feb 9, 7:37am, kurt at intricatesoftware.com (Kurt Miller) wrote: > -- Subject: Re: openjdk crashes while installing jdeveloper > > | Nikolas and I are working on this off list. The bsd_zero apple > | atomic operation implementations such as atomic_swap and > | atomic_cas are not thread safe. SMP makes that problem > | easier to see. We tried using the gcc 4.2 builtin atomic operations > | however the are now deadlocks to debug. > > Well, NetBSD has assembly implementations of the standard atomics > for all major archs. I know that zero means zero assembly, but perhaps > we can make an exception in this case? Hi Christos, Indeed. If GCC 4.2 atomics don't pan out, I'd prefer to write them myself. The asm for it is straitforward. I'm more conserned that there are locking issues in the zero implementation. Once I have decent debug info I should be able to determine cause of the deadlocks. -Kurt From christos at zoulas.com Thu Feb 10 07:16:55 2011 From: christos at zoulas.com (Christos Zoulas) Date: Thu, 10 Feb 2011 10:16:55 -0500 Subject: openjdk crashes while installing jdeveloper In-Reply-To: <201102100930.52810.kurt@intricatesoftware.com> from Kurt Miller (Feb 10, 9:30am) Message-ID: <20110210151655.81C4C56426@rebar.astron.com> On Feb 10, 9:30am, kurt at intricatesoftware.com (Kurt Miller) wrote: -- Subject: Re: openjdk crashes while installing jdeveloper | Hi Christos, | | Indeed. If GCC 4.2 atomics don't pan out, I'd prefer to write them myself. | The asm for it is straitforward. I'm more conserned that there are locking | issues in the zero implementation. Once I have decent debug info I should | be able to determine cause of the deadlocks. I know it is straight-forward, but there are many different abstractions you can present to the code. We at NetBSD chose to follow the Solaris API's and we have not regretted that. Just a data point. christos From lardener at gmail.com Sat Feb 26 15:38:17 2011 From: lardener at gmail.com (Jose Ferrer) Date: Sat, 26 Feb 2011 18:38:17 -0500 Subject: Cannot launch JBoss 5.1 on OpenJDK7 PPC Message-ID: I have a dual G4 running 10.5.8 and I'm able to run JBoss 5.1 with the Apple JDK. However, I'd like to run JBoss 6. I can't find a JDK6 for PPC so I'm trying the JDK7 builds. It doesn't make it all the way up. The errors all seem similar to other errors trying to build the JDK from source I saw on the mailing list; I don't know how to add a link. I tried to build the JDK from source using the build-ppc32.sh script and I get similar errors, mostly unhandled signal 10, though setting the owner of an already owned mutex and failed: invariant happen sometimes. In addition, sometimes it just hangs; nothing at all going on. Given the other errors, I suspect it's a missed signal. I don't know what I can do to help, but I have a small collection of hs_err_pid*.log files and I'm happy to try anything. From glewis at eyesbeyond.com Mon Feb 28 22:19:56 2011 From: glewis at eyesbeyond.com (Greg Lewis) Date: Mon, 28 Feb 2011 22:19:56 -0800 Subject: Update to b130 Message-ID: <20110301061956.GA5958@misty.eyesbeyond.com> G'day all, Instead of blindly committing I thought I'd try posting a diff for the update I have in my local tree that gets us to b130 (which IIRC is the developer preview release). http://www.eyesbeyond.com/freebsddom/java/openjdk7-b130-1.diff.gz As usual, tested lightly on FreeBSD 8.x/i386 only so far. Here are some problems: 1. With the removal of HPI so goes the file we kept all the "large file" defines in. A result there are now a half dozen or so files with things like '#define stat64 stat' in them. Any suggestions on a good, central place for them is appreciated. 2. This doesn't keep up with the NIO changes that were made. We're falling further behind there. 3. There is some make infrastructure added to Linux for PowerPC and ARM. I suspect they just make the Zero build for those architectures easier, but I haven't been able to look them over yet. I haven't provided equivalent BSD versions yet as a result. Let me know if you see any compile problems, I'd like to get this in shortly. Note that b131 is out, but I was part way through this when it did come out and I'd prefer not to complicate things further at this point. -- Greg Lewis Email : glewis at eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis at FreeBSD.org From john.r.rose at oracle.com Mon Feb 28 23:51:41 2011 From: john.r.rose at oracle.com (John Rose) Date: Mon, 28 Feb 2011 23:51:41 -0800 Subject: Update to b130 In-Reply-To: <20110301061956.GA5958@misty.eyesbeyond.com> References: <20110301061956.GA5958@misty.eyesbeyond.com> Message-ID: On Feb 28, 2011, at 10:19 PM, Greg Lewis wrote: > G'day all, > > Instead of blindly committing I thought I'd try posting a diff for the > update I have in my local tree that gets us to b130 (which IIRC is the > developer preview release). > > http://www.eyesbeyond.com/freebsddom/java/openjdk7-b130-1.diff.gz I looked at the parts which touch JSR 292 and they are fine. Thanks for pushing on this. Having an up-to-date BSD port will make mlvm-dev work easier to migrate into JDK7. -- John