Community
Participate
Working Groups
I updated to Java 1.4.1 (final version) using the standard OS X installer on a fresh OS X 1.2.4 install. Run a fresh Runtime-Workbench selecting the JVM 1.4.1 OS X as JRE. The "Main" application displays but the Welcome "editor" is not filled... then it crashes. Error Log is empty! Console.log report. ********** Date/Time: 2003-03-12 11:48:49 +0100 OS Version: 10.2.4 (Build 6I32) Host: ucmbmac1.ulb.ac.be Command: Main PID: 1245 Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000 *** Date: 12/03/03 15:37 *** System properties: awt.toolkit=com.apple.mrj.internal.awt.publicpeers.VToolkit com.apple.javaws.vmversions=1.4.1 1.3.1 file.encoding=MacRoman file.encoding.pkg=sun.io file.separator=/ gopherProxySet=false java.awt.fonts= java.awt.graphicsenv=sun.awt.MacGraphicsEnvironment java.awt.printerjob=com.apple.mrj.internal.awt.printing.MacPrinterJob java.class.path=/Volumes/Users/chris/Desktop/eclipse-SDK-RC2/Eclipse.app/Contents/Resources/Java/startup.jar java.class.version=47.0 java.ext.dirs=/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home/lib/ext java.home=/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home java.io.tmpdir=/tmp java.library.path=/Volumes/Users/chris/Desktop/eclipse-SDK-RC2/Eclipse.app/Contents/Resources/Java:/System/Library/PrivateFrameworks/JavaApplicationLauncher.framework/Resources:.:/usr/lib:/usr/lib/java:/lib:/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Libraries java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition java.runtime.version=1.3.1-root_1.3.1_020714-12:46 java.specification.name=Java Platform API Specification java.specification.vendor=Sun Microsystems Inc. java.specification.version=1.3 java.vendor=Apple Computer, Inc. java.vendor.url=http://apple.com/ java.vendor.url.bug=http://developer.apple.com/java/ java.version=1.3.1 java.vm.info=mixed mode java.vm.name=Java HotSpot(TM) Client VM java.vm.specification.name=Java Virtual Machine Specification java.vm.specification.vendor=Sun Microsystems Inc. java.vm.specification.version=1.0 java.vm.vendor="Apple Computer, Inc." java.vm.version=1.3.1_03-69 line.separator= mrj.version=3.3 os.arch=ppc os.name=Mac OS X os.version=10.2.4 path.separator=: sun.boot.class.path=/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Classes/i18n.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Classes/sunrsasign.jar:/System/Library/PrivateFrameworks/JavaApplicationLauncher.framework/Resources/LauncherSupport.jar sun.boot.library.path=/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Libraries sun.cpu.endian=big sun.cpu.isalist= sun.io.unicode.encoding=UnicodeBig user.dir=/Volumes/Users/chris/Desktop/eclipse-SDK-RC2 user.home=/Volumes/Users/chris user.language=fr user.name=chris user.region=FR user.timezone=Europe/Brussels *** Features: org.eclipse.platform (null) "org.eclipse.platform" *** Plug-in Registry: org.apache.ant (1.5.2) "Apache Ant" org.apache.lucene (1.2.1) "Apache Lucene" org.apache.xerces (4.0.7) "Xerces Based XML Parser" org.eclipse.ant.core (2.1.0) "Ant Build Tool Core" org.eclipse.compare (2.1.0) "Compare Support" org.eclipse.core.boot (2.1.0) "Core Boot" org.eclipse.core.resources (2.1.0) "Core Resource Management" org.eclipse.core.resources.macosx (2.1.0) "%fragmentName" org.eclipse.core.runtime (2.1.0) "Core Runtime" org.eclipse.debug.core (2.1.0) "Debug Core" org.eclipse.debug.ui (2.1.0) "Debug UI" org.eclipse.help (2.1.0) "Help System Core" org.eclipse.help.appserver (2.1.0) "Help Application Server" org.eclipse.help.ui (2.1.0) "Help System UI" org.eclipse.help.webapp (2.1.0) "Help System Webapp" org.eclipse.jdt (2.1.0) "Eclipse Java Development Tools" org.eclipse.jdt.core (2.1.0) "Java Development Tools Core" org.eclipse.jdt.debug (2.1.0) "JDI Debug Model" org.eclipse.jdt.debug.ui (2.1.0) "JDI Debug UI" org.eclipse.jdt.doc.isv (2.1.0) "Eclipse JDT Plug-in Developer Guide" org.eclipse.jdt.doc.user (2.1.0) "Eclipse Java Development User Guide" org.eclipse.jdt.junit (2.1.0) "Java Development Tools JUnit support" org.eclipse.jdt.launching (2.1.0) "Java Development Tools Launching Support" org.eclipse.jdt.launching.macosx (2.1.0) "Mac OS X Launcher" org.eclipse.jdt.macosx (2.1.0) "Eclipse Java Development Tools (Mac OS X)" org.eclipse.jdt.macosx.source (2.1.0) "Eclipse Java Development Tools SDK (Mac OS X)" org.eclipse.jdt.source (2.1.0) "Eclipse Java Development Tools SDK" org.eclipse.jdt.ui (2.1.0) "Java Development Tools UI" org.eclipse.jface (2.1.0) "JFace" org.eclipse.jface.text (2.1.0) "JFace Text" org.eclipse.pde (2.1.0) "Eclipse Plug-in Development Environment" org.eclipse.pde.build (2.1.0) "Plug-in Development Environment Build Support" org.eclipse.pde.core (2.1.0) "Plug-in Development Core" org.eclipse.pde.doc.user (2.1.0) "Eclipse Plug-in Development User Guide" org.eclipse.pde.runtime (2.1.0) "Plug-in Development Environment Runtime" org.eclipse.pde.source (2.1.0) "Eclipse Plug-in Development Environment Source Code" org.eclipse.pde.ui (2.1.0) "Plug-in Development UI" org.eclipse.platform (2.1.0) "Eclipse Platform" org.eclipse.platform.doc.isv (2.1.0) "Eclipse Platform Plug-in Developer Guide" org.eclipse.platform.doc.user (2.1.0) "Eclipse Workbench User Guide" org.eclipse.platform.macosx.carbon (2.1.0) "Eclipse Platform (Mac OS X Carbon)" org.eclipse.platform.macosx.carbon.source (2.1.0) "Eclipse Platform Plug-in Developer Resources (Mac OS X Carbon)" org.eclipse.platform.source (2.1.0) "Eclipse Platform Plug-in Developer Resources" org.eclipse.sdk.macosx.carbon (2.1.0) "Eclipse Project SDK (Mac OS X Carbon)" org.eclipse.search (2.1.0) "Search Support" org.eclipse.swt (2.1.0) "Standard Widget Toolkit" org.eclipse.swt.carbon (2.1.0) "%fragmentName" org.eclipse.team.core (2.1.0) "Team Support Core" org.eclipse.team.cvs.core (2.1.0) "CVS Team Provider Core" org.eclipse.team.cvs.ssh (2.1.0) "CVS SSH Core" org.eclipse.team.cvs.ui (2.1.0) "CVS Team Provider UI" org.eclipse.team.ui (2.1.0) "Team Support UI" org.eclipse.text (2.1.0) "Text" org.eclipse.tomcat (4.0.6) "Tomcat Wrapper" org.eclipse.ui (2.1.0) "Eclipse UI" org.eclipse.ui.editors (2.1.0) "Default Text Editor" org.eclipse.ui.externaltools (2.1.0) "External Tools" org.eclipse.ui.views (2.1.0) "Views" org.eclipse.ui.workbench (2.1.0) "Workbench" org.eclipse.ui.workbench.texteditor (2.1.0) "Text Editor Framework" org.eclipse.update.core (2.1.0) "Install/Update Core" org.eclipse.update.ui (2.1.0) "Install/Update UI" org.eclipse.update.ui.forms (2.1.0) "Install/Update Forms" org.junit (3.8.1) "JUnit Testing Framework" *** User Preferences: #Wed Mar 12 15:37:38 CET 2003 org.eclipse.jdt.core=2.1.0 org.eclipse.jdt.launching/org.eclipse.jdt.launching.PREF_VM_XML=<?xml version\="1.0" encoding\="UTF-8"?>\n<vmSettings defaultVM\="52,org.eclipse.jdt.internal.launching.macosx.MacOSXType5,1.4.1">\n <vmType id\="org.eclipse.jdt.internal.launching.macosx.MacOSXType">\n <vm id\="1.3.1"\n javadocURL\="file\:/Developer/Documentation/Java/Reference/1.3.1"\n name\="JVM 1.3.1" path\="/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home"/>\n <vm id\="1.4.1"\n javadocURL\="file\:/Developer/Documentation/Java/Reference/1.4.1"\n name\="JVM 1.4.1 (MacOS X Default)" path\="/System/Library/Frameworks/JavaVM.framework/Versions/1.4.1/Home"/>\n </vmType>\n</vmSettings>\n org.eclipse.jdt.ui/fontPropagated=true org.eclipse.jdt.core/org.eclipse.jdt.core.builder.resourceCopyExclusionFilter=*.launch org.eclipse.jdt.core/org.eclipse.jdt.core.classpathVariable.JRE_SRC=/System/Library/Frameworks/JavaVM.framework/Versions/1.4.1/Home/src.jar org.eclipse.jdt.core/org.eclipse.jdt.core.classpathVariable.ECLIPSE_HOME=/Volumes/Users/chris/Desktop/eclipse-SDK-RC2 org.eclipse.pde.core=2.1.0 org.eclipse.debug.ui=2.1.0 org.eclipse.debug.ui/org.eclipse.debug.ui.lastLaunchConfigSelection=<?xml version\="1.0" encoding\="UTF-8"?>\n<launchConfiguration local\="true" path\="New_configuration.launch"/>\n org.eclipse.pde.core/platform_path=/Volumes/Users/chris/Desktop/eclipse-SDK-RC2 org.eclipse.jdt.core/org.eclipse.jdt.core.classpathVariable.JRE_SRCROOT=src org.eclipse.jdt.ui/org.eclipse.jface.textfont=1|Monaco|12|0|CARBON|1|; org.eclipse.ui.workbench=2.1.0 org.eclipse.ui.workbench/WELCOME_DIALOG=false org.eclipse.jdt.launching=2.1.0 org.eclipse.jdt.ui=2.1.0 org.eclipse.jdt.core/org.eclipse.jdt.core.classpathVariable.JRE_LIB=/System/Library/Frameworks/JavaVM.framework/Versions/1.4.1/Classes/classes.jar *** Update Manager Log: Configuration=12 mars 03 15:37:39 Is current configuration=true Date=12/03/03 15:37 Activities=file:/Volumes/Users/chris/Desktop/eclipse-SDK-RC2/ Action=Site installed Status=Success Date=12/03/03 15:37 Activities=file:/Volumes/Users/chris/Desktop/eclipse-SDK-RC2/workspace/.metadata/.config/platform.cfg.metadata/v2LocalSite.xml Action=Reconcile Status=Success
Andre, which VM do you use? Have you been able to get Eclipse running with this VM?
I see that the bug report has been transferred to the platform-core... Maybe this is right or maybe my Summary was a little misleading.I just want to point out that the crash only appear when running a new workbench using VM 1.4.1 when I want to test new plugins that have been developed with 1.4.1 specific feature (like assert)In that case the "Main" application that appear when using the "Run as... Runtime Workbench" crashes.... just to be sure the bug is well described... it's a very very important issue for us!
I'm on the IBM WebSphere conference right now, so my time to track the 1.4.1 final issues is somewhat limited. However, I've managed to download the 1.4.1. And I've found a workaraound for the problem that Eclipse started from the workspace under 1.4.1 would not activate and would crash after some mouseclicks. However, there seems to be a more severe issue with the 1.4.1 JVM which prevents me from rebuilding the workspace under 1.4.1. Anyway, I've attached a new MacOS X launcher. Please give it a try.
Created attachment 4080 [details] macosx launcher
I try with the new launcher and it seems to work for the different tests I've made. It's quite late in Belgium (00:30), so I could not go further but I'll install this version on 4 developer stations tomorrow (they are stuck with Java 1.4.1 anyway). A have still a question about Java 1.4.1 support and could not find any answer after browsing the site with quite an effort... We are very happy with the OS X version of eclipse (even if it was supposed to be only an Early Access version as described in the project plan 2.1). We would like to develop some eclipse plugins but using Java 1.4.1 specific features (i.e. assert). I notice that if I change the Java.JVMVersion in the Info.plist to 1.4.1 so that the eclipse application starts with Java 1.4.1, then it ends up with severe compilation problems (build failure with only big numbers as result). It's not really a big problem because I could run Eclipse in 1.3.1 and still compile and test using Java 1.4.1 (It's fixed now with the new mac laucher you send me). But it seems that the plugins developped that way could only run in an Eclipse configured with as Java.JVMVersion 1.4.1... So, before writing a bug report for this compilation issue, I would like to know if the Eclipse 2.1 for Mac OS X is supposed to be able to run with Java 1.4.1 as primary JVM... in other words, am I supposed to be able to run Plugins developed with Java 1.4.1 specific features? Many thanks for your time and for the very efficient solution to the bug! P.S.: I'm not very familiar with this bug report system... should I set the status to FIXED or should I wait the next IntegrationBuild, NightBuild or Release Candidate to do it?
Yes, there is another severe bug #34658 that only shows up in the final version of Apple's 1.4.1 VM. A fix seems to have been found.
fixed.
Created attachment 4085 [details] source code patch
fixed for RC3
*** Bug 34914 has been marked as a duplicate of this bug. ***
Thanks for the patch Andre. Works great.
*** Bug 34953 has been marked as a duplicate of this bug. ***
Approved for RC3 by Erich and Andre
Created attachment 4129 [details] the fix
Created attachment 4130 [details] a better fix
Fix reviewed by EG released for I20030314
chris, can you verify that this bug is fixed ? Thanks a lot!
[Chris, just add the comment "Verified for RC3" and check "Mark bug as Verified"]