B4J Question B4J CANNOT RUN ON MAC OS X

Ju Yang

Active Member
Licensed User
My programme, which is developed on win8, cannot run on mac os x system which is installed in my virtualbox . The jre and jdk is newest on osx.
Could anybody help??
Thank you!
The error log:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fff905a20dd, pid=670, tid=16899
#
# JRE version: Java(TM) SE Runtime Environment (8.0_66-b17) (build 1.8.0_66-b17)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.66-b17 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C [libobjc.A.dylib+0x10dd] objc_msgSend+0x1d
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

--------------- T H R E A D ---------------

Current thread (0x00007fd5e117a800): JavaThread "QuantumRenderer-0" daemon [_thread_in_native, id=16899, stack(0x000000017d7bd000,0x000000017d8bd000)]

siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000000000000018

Registers:
RAX=0x00007fd5e0cbe120, RBX=0x0000000000000000, RCX=0x0000000000000000, RDX=0x00007fd5e0cc77e0
RSP=0x000000017d8bbe18, RBP=0x000000017d8bbe60, RSI=0x00007fff99013adc, RDI=0x00007fd5e0cc77e0
R8 =0x0000000000000002, R9 =0x00007fd5e0c00000, R10=0x00007fff99013adc, R11=0x0000000000000000
R12=0x00007fff905a20c0, R13=0x0000000000000000, R14=0x00007fd5e0cbe120, R15=0x0000000000000000
RIP=0x00007fff905a20dd, EFLAGS=0x0000000000010246, ERR=0x0000000000000004
TRAPNO=0x000000000000000e

Top of Stack: (sp=0x000000017d8bbe18)
0x000000017d8bbe18: 00007fff9890fdfd 0000000000000000
0x000000017d8bbe28: 0000000000000000 bfefe00000000000
0x000000017d8bbe38: 0000000000000000 0000000000000000
0x000000017d8bbe48: 0000000000000000 00007fff905a20c0
0x000000017d8bbe58: 0000000000000000 000000017d8bbed0
0x000000017d8bbe68: 000000017d8c76cb 000000017d8bbefc
0x000000017d8bbe78: 00007fd5e0cc77e0 00007fd5e0c50a10
0x000000017d8bbe88: 00007fd5e0cbe120 000000017d8bbed0
0x000000017d8bbe98: 000000010a47d33d f20098a286089457
0x000000017d8bbea8: 000000010a981280 00007fd5e0cbe120
0x000000017d8bbeb8: 0000000000000000 000000017d8bbfb0
0x000000017d8bbec8: 00007fd5e0cc77e0 000000017d8bbf30
0x000000017d8bbed8: 000000017d8c7067 00007fd5e117a800
0x000000017d8bbee8: 000000017b0b2278 00007fd5e117a800
0x000000017d8bbef8: 000000017b0b2278 f20098a286089457
0x000000017d8bbf08: 000000017b0b2278 0000000000000000
0x000000017d8bbf18: 000000017b0b2278 000000017d8bbfb0
0x000000017d8bbf28: 00007fd5e117a800 000000017d8bbf90
0x000000017d8bbf38: 000000010b46b914 000000010b4777c3
0x000000017d8bbf48: 000000010b46b662 000000017d8bbf50
0x000000017d8bbf58: 000000017b0b2278 000000017d8bbfb0
0x000000017d8bbf68: 000000017b0bde88 0000000000000000
0x000000017d8bbf78: 000000017b0b2278 0000000000000000
0x000000017d8bbf88: 000000017d8bbfb0 000000017d8bc000
0x000000017d8bbf98: 000000010b45d760 000000011b04df00
0x000000017d8bbfa8: 000000010b465557 000000011b0622d8
0x000000017d8bbfb8: 000000011b0608a0 000000017d8bbfc0
0x000000017d8bbfc8: 000000017b0b2981 000000017d8bc028
0x000000017d8bbfd8: 000000017b0bde88 0000000000000000
0x000000017d8bbfe8: 000000017b0b29b0 000000017d8bbfb0
0x000000017d8bbff8: 000000017d8bc018 000000017d8bc070
0x000000017d8bc008: 000000010b45d420 000000011b0622d8

Instructions: (pc=0x00007fff905a20dd)
0x00007fff905a20bd: 00 00 00 48 85 ff 2e 74 7a 40 f6 c7 01 2e 75 7e
0x00007fff905a20cd: 49 bb f8 ff ff ff ff 7f 00 00 4c 23 1f 49 89 f2
0x00007fff905a20dd: 45 23 53 18 49 c1 e2 04 4d 03 53 10 49 3b 32 75
0x00007fff905a20ed: 04 41 ff 62 08 49 83 3a 00 74 6a 4d 3b 53 10 74

Register to memory mapping:

RAX=0x00007fd5e0cbe120 is an unknown value
RBX=0x0000000000000000 is an unknown value
RCX=0x0000000000000000 is an unknown value
RDX=0x00007fd5e0cc77e0 is an unknown value
RSP=0x000000017d8bbe18 is pointing into the stack for thread: 0x00007fd5e117a800
RBP=0x000000017d8bbe60 is pointing into the stack for thread: 0x00007fd5e117a800
RSI=0x00007fff99013adc: -[NSTitlebarContainerView shouldRoundCorners]+0x5c4ce in /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit at 0x00007fff9864a000
RDI=0x00007fd5e0cc77e0 is an unknown value
R8 =0x0000000000000002 is an unknown value
R9 =0x00007fd5e0c00000 is an unknown value
R10=0x00007fff99013adc: -[NSTitlebarContainerView shouldRoundCorners]+0x5c4ce in /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit at 0x00007fff9864a000
R11=0x0000000000000000 is an unknown value
R12=0x00007fff905a20c0: objc_msgSend+0 in /usr/lib/libobjc.A.dylib at 0x00007fff905a1000
R13=0x0000000000000000 is an unknown value
R14=0x00007fd5e0cbe120 is an unknown value
R15=0x0000000000000000 is an unknown value


Stack: [0x000000017d7bd000,0x000000017d8bd000], sp=0x000000017d8bbe18, free space=1019k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libobjc.A.dylib+0x10dd] objc_msgSend+0x1d
C [libprism_es2.dylib+0x86cb] createContext+0x12b
C [libprism_es2.dylib+0x8067] Java_com_sun_prism_es2_MacGLFactory_nInitialize+0x77
j com.sun.prism.es2.MacGLFactory.nInitialize([I)J+0
j com.sun.prism.es2.MacGLFactory.initialize(Ljava/lang/Class;Lcom/sun/prism/es2/GLPixelFormat$Attributes;)Z+73
j com.sun.prism.es2.ES2Pipeline.<clinit>()V+49
v ~StubRoutines::call_stub
V [libjvm.dylib+0x2ea35e]
V [libjvm.dylib+0x2bd4ad]
V [libjvm.dylib+0x2be9b5]
V [libjvm.dylib+0x2bec4b]
V [libjvm.dylib+0x342687]
V [libjvm.dylib+0x34cb52]
C [libjava.dylib+0x237d] Java_java_lang_Class_forName0+0x13f
j java.lang.Class.forName0(Ljava/lang/String;ZLjava/lang/ClassLoader;Ljava/lang/Class;)Ljava/lang/Class;+0
j java.lang.Class.forName(Ljava/lang/String;)Ljava/lang/Class;+11
j com.sun.prism.GraphicsPipeline.createPipeline()Lcom/sun/prism/GraphicsPipeline;+232
j com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.init()V+0
j com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run()V+1
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
V [libjvm.dylib+0x2ea35e]
V [libjvm.dylib+0x2eaaec]
V [libjvm.dylib+0x2eac98]
V [libjvm.dylib+0x345215]
V [libjvm.dylib+0x560b83]
V [libjvm.dylib+0x56227e]
V [libjvm.dylib+0x482cd6]
C [libsystem_pthread.dylib+0x32fc] _pthread_body+0x83
C [libsystem_pthread.dylib+0x3279] _pthread_body+0x0
C [libsystem_pthread.dylib+0x14b1] thread_start+0xd
C 0x0000000000000000

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.sun.prism.es2.MacGLFactory.nInitialize([I)J+0
j com.sun.prism.es2.MacGLFactory.initialize(Ljava/lang/Class;Lcom/sun/prism/es2/GLPixelFormat$Attributes;)Z+73
j com.sun.prism.es2.ES2Pipeline.<clinit>()V+49
v ~StubRoutines::call_stub
j java.lang.Class.forName0(Ljava/lang/String;ZLjava/lang/ClassLoader;Ljava/lang/Class;)Ljava/lang/Class;+0
j java.lang.Class.forName(Ljava/lang/String;)Ljava/lang/Class;+11
j com.sun.prism.GraphicsPipeline.createPipeline()Lcom/sun/prism/GraphicsPipeline;+232
j com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.init()V+0
j com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run()V+1
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub

--------------- P R O C E S S ---------------

Java Threads: ( => current thread )
=>0x00007fd5e117a800 JavaThread "QuantumRenderer-0" daemon [_thread_in_native, id=16899, stack(0x000000017d7bd000,0x000000017d8bd000)]
0x00007fd5e10b2000 JavaThread "Service Thread" daemon [_thread_blocked, id=15875, stack(0x000000017d521000,0x000000017d621000)]
0x00007fd5e10af000 JavaThread "C1 CompilerThread1" daemon [_thread_blocked, id=15363, stack(0x000000017d41e000,0x000000017d51e000)]
0x00007fd5e1083000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=14851, stack(0x000000017d31b000,0x000000017d41b000)]
0x00007fd5e1082000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=14351, stack(0x000000017d218000,0x000000017d318000)]
0x00007fd5e1077800 JavaThread "Finalizer" daemon [_thread_blocked, id=9987, stack(0x000000017b90d000,0x000000017ba0d000)]
0x00007fd5e1071000 JavaThread "Reference Handler" daemon [_thread_blocked, id=9475, stack(0x000000017b80a000,0x000000017b90a000)]
0x00007fd5e1014800 JavaThread "main" [_thread_blocked, id=5379, stack(0x000000010b0fe000,0x000000010b1fe000)]

Other Threads:
0x00007fd5e106e800 VMThread [stack: 0x000000017b707000,0x000000017b807000] [id=8963]
0x00007fd5e10a6800 WatcherThread [stack: 0x000000017d624000,0x000000017d724000] [id=16387]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap:
def new generation total 9792K, used 4632K [0x000000011ac00000, 0x000000011b6a0000, 0x00000001256a0000)
eden space 8704K, 53% used [0x000000011ac00000, 0x000000011b086190, 0x000000011b480000)
from space 1088K, 0% used [0x000000011b480000, 0x000000011b480000, 0x000000011b590000)
to space 1088K, 0% used [0x000000011b590000, 0x000000011b590000, 0x000000011b6a0000)
tenured generation total 21888K, used 0K [0x00000001256a0000, 0x0000000126c00000, 0x000000013ac00000)
the space 21888K, 0% used [0x00000001256a0000, 0x00000001256a0000, 0x00000001256a0200, 0x0000000126c00000)
Metaspace used 4692K, capacity 5544K, committed 5760K, reserved 1056768K
class space used 536K, capacity 628K, committed 640K, reserved 1048576K

Card table byte_map: [0x000000011a816000,0x000000011a917000] byte_map_base: 0x0000000119f40000

Polling page: 0x000000010b443000

CodeCache: size=245760Kb used=1582Kb max_used=1582Kb free=244177Kb
bounds [0x000000010b456000, 0x000000010b6c6000, 0x000000011a456000]
total_blobs=579 nmethods=281 adapters=212
compilation: enabled

Compilation events (10 events):
Event: 0.511 Thread 0x00007fd5e10af000 276 1 java.util.jar.Manifest::getMainAttributes (5 bytes)
Event: 0.511 Thread 0x00007fd5e10af000 nmethod 276 0x000000010b5e0ed0 code [0x000000010b5e1020, 0x000000010b5e1130]
Event: 0.511 Thread 0x00007fd5e10af000 277 1 sun.misc.URLClassPath$Loader::getBaseURL (5 bytes)
Event: 0.511 Thread 0x00007fd5e10af000 nmethod 277 0x000000010b5e1190 code [0x000000010b5e12e0, 0x000000010b5e13f0]
Event: 0.511 Thread 0x00007fd5e10af000 279 1 java.util.jar.Manifest::getEntries (5 bytes)
Event: 0.511 Thread 0x00007fd5e10af000 nmethod 279 0x000000010b5e1450 code [0x000000010b5e15a0, 0x000000010b5e16b0]
Event: 0.511 Thread 0x00007fd5e10af000 280 1 java.util.jar.JarFile::access$300 (5 bytes)
Event: 0.511 Thread 0x00007fd5e10af000 nmethod 280 0x000000010b5e1710 code [0x000000010b5e1860, 0x000000010b5e1950]
Event: 0.512 Thread 0x00007fd5e10af000 281 1 java.lang.reflect.Field::getName (5 bytes)
Event: 0.512 Thread 0x00007fd5e10af000 nmethod 281 0x000000010b5e19d0 code [0x000000010b5e1b20, 0x000000010b5e1c30]

GC Heap History (0 events):
No events

Deoptimization events (0 events):
No events

Internal exceptions (9 events):
Event: 0.093 Thread 0x00007fd5e1014800 Exception <a 'java/lang/NoSuchMethodError': Method sun.misc.Unsafe.defineClass(Ljava/lang/String;[BII)Ljava/lang/Class; name or signature does not match> (0x000000011ac12b38) thrown at [/HUDSON3/workspace/8-2-build-macosx-x86_64/jdk8u66/4988/hotspot/src/s
Event: 0.095 Thread 0x00007fd5e1014800 Exception <a 'java/lang/NoSuchMethodError': Method sun.misc.Unsafe.prefetchRead(Ljava/lang/Object;J)V name or signature does not match> (0x000000011ac12e20) thrown at [/HUDSON3/workspace/8-2-build-macosx-x86_64/jdk8u66/4988/hotspot/src/share/vm/prims/jni.
Event: 0.303 Thread 0x00007fd5e1014800 Exception <a 'java/lang/NoSuchFieldError': method resolution failed> (0x000000011adc4bb0) thrown at [/HUDSON3/workspace/8-2-build-macosx-x86_64/jdk8u66/4988/hotspot/src/share/vm/prims/methodHandles.cpp, line 1146]
Event: 0.313 Thread 0x00007fd5e1014800 Exception <a 'java/lang/NoSuchFieldError': method resolution failed> (0x000000011add1f30) thrown at [/HUDSON3/workspace/8-2-build-macosx-x86_64/jdk8u66/4988/hotspot/src/share/vm/prims/methodHandles.cpp, line 1146]
Event: 0.389 Thread 0x00007fd5e1014800 Exception <a 'java/security/PrivilegedActionException'> (0x000000011ae60510) thrown at [/HUDSON3/workspace/8-2-build-macosx-x86_64/jdk8u66/4988/hotspot/src/share/vm/prims/jvm.cpp, line 1386]
Event: 0.389 Thread 0x00007fd5e1014800 Exception <a 'java/security/PrivilegedActionException'> (0x000000011ae60720) thrown at [/HUDSON3/workspace/8-2-build-macosx-x86_64/jdk8u66/4988/hotspot/src/share/vm/prims/jvm.cpp, line 1386]
Event: 0.390 Thread 0x00007fd5e1014800 Exception <a 'java/security/PrivilegedActionException'> (0x000000011ae64d50) thrown at [/HUDSON3/workspace/8-2-build-macosx-x86_64/jdk8u66/4988/hotspot/src/share/vm/prims/jvm.cpp, line 1386]
Event: 0.390 Thread 0x00007fd5e1014800 Exception <a 'java/security/PrivilegedActionException'> (0x000000011ae64f60) thrown at [/HUDSON3/workspace/8-2-build-macosx-x86_64/jdk8u66/4988/hotspot/src/share/vm/prims/jvm.cpp, line 1386]
Event: 0.391 Thread 0x00007fd5e1014800 Exception <a 'java/lang/NullPointerException'> (0x000000011ae72558) thrown at [/HUDSON3/workspace/8-2-build-macosx-x86_64/jdk8u66/4988/hotspot/src/share/vm/interpreter/linkResolver.cpp, line 1178]

Events (10 events):
Event: 0.506 loading class com/sun/prism/es2/MacGLDrawable
Event: 0.506 loading class com/sun/prism/es2/MacGLDrawable done
Event: 0.506 loading class com/sun/prism/es2/MacGLPixelFormat
Event: 0.506 loading class com/sun/prism/es2/MacGLPixelFormat done
Event: 0.506 loading class com/sun/prism/es2/GLGPUInfo
Event: 0.506 loading class com/sun/prism/es2/GLGPUInfo done
Event: 0.511 loading class java/util/concurrent/locks/LockSupport
Event: 0.511 loading class java/util/concurrent/locks/LockSupport done
Event: 0.511 loading class sun/nio/ch/Interruptible
Event: 0.512 loading class sun/nio/ch/Interruptible done


Dynamic libraries:
0x000000000c241000 /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x000000000c241000 /System/Library/Frameworks/Security.framework/Versions/A/Security
0x000000000c241000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x000000000c241000 /usr/lib/libz.1.dylib
0x000000000c241000 /usr/lib/libSystem.B.dylib
0x000000000c241000 /usr/lib/libobjc.A.dylib
0x000000000c241000 /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x000000000c241000 /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x000000000c241000 /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x000000000c241000 /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x000000000c241000 /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/RemoteViewServices
0x000000000c241000 /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation
0x000000000c241000 /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
0x000000000c241000 /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x000000000c241000 /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x000000000c241000 /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore
0x000000000c241000 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x000000000c241000 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x000000000c241000 /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x000000000c241000 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
0x000000000c241000 /usr/lib/libauto.dylib
0x000000000c241000 /usr/lib/libicucore.A.dylib
0x000000000c241000 /usr/lib/libxml2.2.dylib
0x000000000c241000 /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x000000000c241000 /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x000000000c241000 /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x000000000c241000 /usr/lib/liblangid.dylib
0x000000000c241000 /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport
0x000000000c241000 /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x000000000c241000 /usr/lib/libDiagnosticMessagesClient.dylib
0x000000000c241000 /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x000000000c241000 /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/PerformanceAnalysis
0x000000000c241000 /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/GenerationalStorage
0x000000000c241000 /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x000000000c241000 /System/Library/PrivateFrameworks/Sharing.framework/Versions/A/Sharing
0x000000000c241000 /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x000000000c241000 /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
0x000000000c241000 /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x000000000c241000 /usr/lib/libextension.dylib
0x000000000c241000 /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
0x000000000c241000 /usr/lib/libarchive.2.dylib
0x000000000c241000 /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x000000000c241000 /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x000000000c241000 /usr/lib/libCRFSuite.dylib
0x000000000c241000 /usr/lib/libc++.1.dylib
0x000000000c241000 /usr/lib/libc++abi.dylib
0x000000000c241000 /usr/lib/system/libcache.dylib
0x000000000c241000 /usr/lib/system/libcommonCrypto.dylib
0x000000000c241000 /usr/lib/system/libcompiler_rt.dylib
0x000000000c241000 /usr/lib/system/libcopyfile.dylib
0x000000000c241000 /usr/lib/system/libcorecrypto.dylib
0x000000000c241000 /usr/lib/system/libdispatch.dylib
0x000000000c241000 /usr/lib/system/libdyld.dylib
0x000000000c241000 /usr/lib/system/libkeymgr.dylib
0x000000000c241000 /usr/lib/system/liblaunch.dylib
0x000000000c241000 /usr/lib/system/libmacho.dylib
0x000000000c241000 /usr/lib/system/libquarantine.dylib
0x000000000c241000 /usr/lib/system/libremovefile.dylib
0x000000000c241000 /usr/lib/system/libsystem_asl.dylib
0x000000000c241000 /usr/lib/system/libsystem_blocks.dylib
0x000000000c241000 /usr/lib/system/libsystem_c.dylib
0x000000000c241000 /usr/lib/system/libsystem_configuration.dylib
0x000000000c241000 /usr/lib/system/libsystem_coreservices.dylib
0x000000000c241000 /usr/lib/system/libsystem_coretls.dylib
0x000000000c241000 /usr/lib/system/libsystem_dnssd.dylib
0x000000000c241000 /usr/lib/system/libsystem_info.dylib
0x000000000c241000 /usr/lib/system/libsystem_kernel.dylib
0x000000000c241000 /usr/lib/system/libsystem_m.dylib
0x000000000c241000 /usr/lib/system/libsystem_malloc.dylib
0x000000000c241000 /usr/lib/system/libsystem_network.dylib
0x000000000c241000 /usr/lib/system/libsystem_networkextension.dylib
0x000000000c241000 /usr/lib/system/libsystem_notify.dylib
0x000000000c241000 /usr/lib/system/libsystem_platform.dylib
0x000000000c241000 /usr/lib/system/libsystem_pthread.dylib
0x000000000c241000 /usr/lib/system/libsystem_sandbox.dylib
0x000000000c241000 /usr/lib/system/libsystem_secinit.dylib
0x000000000c241000 /usr/lib/system/libsystem_stats.dylib
0x000000000c241000 /usr/lib/system/libsystem_trace.dylib
0x000000000c241000 /usr/lib/system/libunc.dylib
0x000000000c241000 /usr/lib/system/libunwind.dylib
0x000000000c241000 /usr/lib/system/libxpc.dylib
0x000000000c241000 /usr/lib/libbz2.1.0.dylib
0x000000000c241000 /usr/lib/liblzma.5.dylib
0x000000000c241000 /usr/lib/libbsm.0.dylib
0x000000000c241000 /usr/lib/libsqlite3.dylib
0x000000000c241000 /usr/lib/system/libkxld.dylib
0x000000000c241000 /usr/lib/libxar.1.dylib
0x000000000c241000 /usr/lib/libpam.2.dylib
0x000000000c241000 /usr/lib/libOpenScriptingUtil.dylib
0x000000000c241000 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents
0x000000000c241000 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x000000000c241000 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x000000000c241000 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x000000000c241000 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x000000000c241000 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x000000000c241000 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x000000000c241000 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
0x000000000c241000 /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
0x000000000c241000 /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
0x000000000c241000 /System/Library/PrivateFrameworks/login.framework/Versions/A/Frameworks/loginsupport.framework/Versions/A/loginsupport
0x000000000c241000 /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
0x000000000c241000 /usr/lib/libmecabra.dylib
0x000000000c241000 /System/Library/PrivateFrameworks/LanguageModeling.framework/Versions/A/LanguageModeling
0x000000000c241000 /usr/lib/libcmph.dylib
0x000000000c241000 /usr/lib/libiconv.2.dylib
0x000000000c241000 /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
0x000000000c241000 /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement
0x000000000c241000 /usr/lib/libxslt.1.dylib
0x000000000c241000 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
0x000000000c241000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x000000000c241000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x000000000c241000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x000000000c241000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x000000000c241000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x000000000c241000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x000000000c241000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x000000000c241000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x000000000c241000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x000000000c241000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x000000000c241000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x000000000c241000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x000000000c241000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x000000000c241000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x000000000c241000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLinearAlgebra.dylib
0x000000000c241000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib
0x000000000c241000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib
0x000000000c241000 /System/Library/PrivateFrameworks/AppleVPA.framework/Versions/A/AppleVPA
0x000000000c241000 /System/Library/PrivateFrameworks/AppleJPEG.framework/Versions/A/AppleJPEG
0x000000000c241000 /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x000000000c241000 /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x000000000c241000 /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x000000000c241000 /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x000000000c241000 /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x000000000c241000 /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x000000000c241000 /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x000000000c241000 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x000000000c241000 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
0x000000000c241000 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x000000000c241000 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
0x000000000c241000 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib
0x000000000c241000 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
0x000000000c241000 /usr/lib/libcups.2.dylib
0x000000000c241000 /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x000000000c241000 /System/Library/Frameworks/GSS.framework/Versions/A/GSS
0x000000000c241000 /usr/lib/libresolv.9.dylib
0x000000000c241000 /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
0x000000000c241000 /usr/lib/libheimdal-asn1.dylib
0x000000000c241000 /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
0x000000000c241000 /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
0x000000000c241000 /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
0x000000000c241000 /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/CoreImage.framework/Versions/A/CoreImage
0x000000000c241000 /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/CrashReporterSupport
0x000000000c241000 /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
0x000000000c241000 /System/Library/PrivateFrameworks/FaceCore.framework/Versions/A/FaceCore
0x000000000c241000 /System/Library/PrivateFrameworks/Ubiquity.framework/Versions/A/Ubiquity
0x000000000c241000 /System/Library/PrivateFrameworks/IconServices.framework/Versions/A/IconServices
0x000000000c241000 /System/Library/PrivateFrameworks/ChunkingLibrary.framework/Versions/A/ChunkingLibrary
0x000000000c241000 /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Apple80211
0x000000000c241000 /System/Library/Frameworks/CoreWLAN.framework/Versions/A/CoreWLAN
0x000000000c241000 /System/Library/Frameworks/IOBluetooth.framework/Versions/A/IOBluetooth
0x000000000c241000 /System/Library/PrivateFrameworks/CoreWiFi.framework/Versions/A/CoreWiFi
0x000000000c241000 /System/Library/Frameworks/CoreBluetooth.framework/Versions/A/CoreBluetooth
0x000000000c241000 /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbols
0x000000000c241000 /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSymbolication
0x000000000c241000 /System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolication
0x000000000c241000 /System/Library/PrivateFrameworks/SpeechRecognitionCore.framework/Versions/A/SpeechRecognitionCore
0x000000010a068000 /System/Library/CoreServices/Encodings/libSimplifiedChineseConverter.dylib
0x000000010a160000 /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/server/libjvm.dylib
0x000000000c241000 /usr/lib/libstdc++.6.dylib
0x000000010b400000 /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/libverify.dylib
0x000000010b40e000 /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/libjava.dylib
0x000000010b44d000 /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/libzip.dylib
0x000000011a9c2000 /System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/JavaRuntimeSupport
0x000000011a9d8000 /System/Library/Frameworks/JavaVM.framework/Versions/A/Frameworks/JavaNativeFoundation.framework/Versions/A/JavaNativeFoundation
0x000000011a9ec000 /System/Library/Frameworks/JavaVM.framework/Versions/A/JavaVM
0x000000000c241000 /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x000000017ba0f000 /System/Library/PrivateFrameworks/JavaLaunching.framework/Versions/A/JavaLaunching
0x000000000c241000 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0x000000000c241000 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
0x000000000c241000 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x000000000c241000 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x000000000c241000 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
0x000000000c241000 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
0x000000017d8bf000 /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/libprism_es2.dylib
0x000000000c241000 /System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLEngine.bundle/GLEngine
0x000000000c241000 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib
0x000000000c241000 /System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLRendererFloat.bundle/GLRendererFloat
0x000000000c241000 /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/libcldcpuengine.dylib
0x000000000c241000 /System/Library/PrivateFrameworks/DiskImages.framework/Versions/A/DiskImages
0x000000000c241000 /System/Library/Frameworks/DiscRecording.framework/Versions/A/DiscRecording
0x000000000c241000 /usr/lib/libcsfde.dylib
0x000000000c241000 /usr/lib/libcurl.4.dylib
0x000000000c241000 /System/Library/PrivateFrameworks/MediaKit.framework/Versions/A/MediaKit
0x000000000c241000 /System/Library/PrivateFrameworks/ProtectedCloudStorage.framework/Versions/A/ProtectedCloudStorage
0x000000000c241000 /usr/lib/libCoreStorage.dylib
0x000000000c241000 /System/Library/PrivateFrameworks/EFILogin.framework/Versions/A/EFILogin
0x000000000c241000 /usr/lib/libutil.dylib
0x000000000c241000 /System/Library/PrivateFrameworks/FindMyDevice.framework/Versions/A/FindMyDevice
0x000000000c241000 /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
0x000000000c241000 /usr/lib/libsasl2.2.dylib
0x000000000c241000 /System/Library/PrivateFrameworks/CoreDaemon.framework/Versions/B/CoreDaemon
0x000000000c241000 /usr/lib/libcrypto.0.9.8.dylib
0x000000000c241000 /System/Library/PrivateFrameworks/AppleSRP.framework/Versions/A/AppleSRP
0x000000000c241000 /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent

VM Arguments:
java_command: /Users/darklight/Desktop/simpleChatting.jar
java_class_path (initial): /Users/darklight/Desktop/simpleChatting.jar
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=/usr/bin:/bin:/usr/sbin:/sbin
SHELL=/bin/bash

Signal Handlers:
SIGSEGV: [libjvm.dylib+0x5a65d5], sa_mask[0]=11111111011111110111111111111111, sa_flags=SA_ONSTACK|SA_RESTART|SA_SIGINFO
SIGBUS: [libjvm.dylib+0x5a65d5], sa_mask[0]=11111111011111110111111111111111, sa_flags=SA_RESTART|SA_SIGINFO
SIGFPE: [libjvm.dylib+0x4802e8], sa_mask[0]=11111111011111110111111111111111, sa_flags=SA_RESTART|SA_SIGINFO
SIGPIPE: [libjvm.dylib+0x4802e8], sa_mask[0]=11111111011111110111111111111111, sa_flags=SA_RESTART|SA_SIGINFO
SIGXFSZ: [libjvm.dylib+0x4802e8], sa_mask[0]=11111111011111110111111111111111, sa_flags=SA_RESTART|SA_SIGINFO
SIGILL: [libjvm.dylib+0x4802e8], sa_mask[0]=11111111011111110111111111111111, sa_flags=SA_RESTART|SA_SIGINFO
SIGUSR1: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
SIGUSR2: [libjvm.dylib+0x47fe06], sa_mask[0]=00000000000000000000000000000000, sa_flags=SA_RESTART|SA_SIGINFO
SIGHUP: [libjvm.dylib+0x47e3dd], sa_mask[0]=11111111011111110111111111111111, sa_flags=SA_RESTART|SA_SIGINFO
SIGINT: [libjvm.dylib+0x47e3dd], sa_mask[0]=11111111011111110111111111111111, sa_flags=SA_RESTART|SA_SIGINFO
SIGTERM: [libjvm.dylib+0x47e3dd], sa_mask[0]=11111111011111110111111111111111, sa_flags=SA_RESTART|SA_SIGINFO
SIGQUIT: [libjvm.dylib+0x47e3dd], sa_mask[0]=11111111011111110111111111111111, sa_flags=SA_RESTART|SA_SIGINFO


--------------- S Y S T E M ---------------

OS:Bsduname:Darwin 14.0.0 Darwin Kernel Version 14.0.0: Fri Sep 19 00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64
rlimit: STACK 8192k, CORE 0k, NPROC 266, NOFILE 10240, AS infinity
load average:1.69 1.70 1.25

CPU:total 1 (1 cores per cpu, 1 threads per core) family 6 model 23 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, aes, clmul, 3dnowpref, lzcnt, tsc, tscinvbit

Memory: 4k page, physical 2097152k(489580k free)

/proc/meminfo:


vm_info: Java HotSpot(TM) 64-Bit Server VM (25.66-b17) for bsd-amd64 JRE (1.8.0_66-b17), built on Oct 6 2015 16:09:13 by "java_re" with gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)

time: Thu Nov 12 10:07:06 2015
elapsed time: 0 seconds (0d 0h 0m 0s)
 

Daestrum

Well-Known Member
Licensed User
There was a problem with mac's not initializing the toolkit on UI programs.
You could try this code before the app displays anything (directly after Appstart)
B4X:
If GetSystemProperty("os.name","??").Contains("mac") Then  ' mac may be wrong not sure what mac os returns
   Dim jo,tk As JavaObject
   jo.InitializeStatic("java.awt.Toolkit")
   tk = jo.runMethod("getDefaultToolkit",Null)
End If
(I found the equivalent code in an old java app I wrote which ran fine on a mac)
 
Upvote 0

ShaneG30

Well-Known Member
Licensed User
@Daestrum -
It's actually:
B4X:
If GetSystemProperty("os.name","??").ToLowerCase.Contains("mac") Then  ' mac may be wrong not sure what mac os returns
   Dim jo,tk As JavaObject
   jo.InitializeStatic("java.awt.Toolkit")
   tk = jo.runMethod("getDefaultToolkit",Null)
End If

Note the "ToLowerCase" method. The method returns the OS name in lower case letters allowing the "Contains("mac")" bit to function properly.
 
Upvote 0
Top