On 9/18/11 3:12 PM, Konstantin Tokarev wrote: > > 15.09.2011, 00:42, "Kurt Miller"<k...@intricatesoftware.com>: >>> From the hotspot.log file it appeard to be crashing in the following >>> function: >>> >>> jdk/src/share/native/java/lang/ClassLoader.c:316 >>> Java_java_lang_ClassLoader_00024NativeLibrary_load() >> Yes it is crashing in this function. I was able to reproduce it in gdb on my >> G4 single processor. >> >> Java_java_lang_ClassLoader_00024NativeLibrary_load gets called. >> > Is it possible to get Java stack somehow to figure out what Java code invoked > crashing function? > Sure it is in the hs_err_pid33861.log file you sent to the list on the 10th:
java.lang.ClassLoader$NativeLibrary.load(Ljava/lang/String;)V java.lang.ClassLoader.loadLibrary0(Ljava/lang/Class;Ljava/io/File;)Z java.lang.ClassLoader.loadLibrary(Ljava/lang/Class;Ljava/lang/String;Z)V java.lang.Runtime.load0(Ljava/lang/Class;Ljava/lang/String;)V java.lang.System.load(Ljava/lang/String;)V com.sun.jna.Native.loadNativeLibraryFromJar()V com.sun.jna.Native.loadNativeLibrary()V com.sun.jna.Native.<clinit>()V org.netbeans.modules.masterfs.watcher.OSXNotifier.<init>()V org.netbeans.modules.masterfs.watcher.Watcher.getNotifierForPlatform()Lorg/netbeans/modules/masterfs/watcher/Notifier; org.netbeans.modules.masterfs.watcher.Watcher.<init>()V sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object; sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object; sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object; java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object; ... etc ... One idea diagnose this it to replace the libjnidispatch.jnilib in netbeans/platform/modules/ext/jna-3.2.7.jar with your debug version and then step through the Java_java_lang_ClassLoader_00024NativeLibrary_load call that crashes. Regards, -Kurt