Java developed on WinXP, now crashing on Mac??
09/10/2018 12:08
I am developing a GUI-based internet app in Java, JDK 1.4. I'mdeveloping under Windows XP, using JBuilder X (Foundation version). Things run ok on my system. My client, however, is using a Mac to runthe app. He just told me that it is crashing Java on launch. Thething is, earlier versions ran ok on his system, but my latest versionis crashing. I don't know if this is just a bug in my code, or ifthis is portability issue. I'm not a Mac user/developer, so if anyonehas any ideas what is going on, please let me know. The crash reportmy client is getting is below. Many Thanks!!
OS Version: 10.3.3 (Build 7F44)Report Version: 2
Command: javaPath: /usr/bin/javaVersion: ??? (???)PID: 607Thread: 10
Exception: EXC_BAD_ACCESS (0x0001)Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000048
Thread 0:
0 libSystem.B.dylib 0x900075c8 mach_msg_trap + 0x81 libSystem.B.dylib 0x90007118 mach_msg + 0x382 libclient.dylib 0x813677f8 JVM_GetClassAccessFlags + 0x11683 libclient.dylib 0x81362af8 _mh_dylib_header + 0x2af84 libclient.dylib 0x8136236c _mh_dylib_header + 0x236c5 libclient.dylib 0x8136b5c4 __cmpdi2 + 0x1ad46 libclient.dylib 0x81367cd8 JVM_MonitorWait + 0x1087 <<00000000>> 0x0411e580 0 + 0x411e5808 <<00000000>> 0x04117fb0 0 + 0x4117fb09 <<00000000>> 0x04117e30 0 + 0x4117e3010 <<00000000>> 0x04117fb0 0 + 0x4117fb011 <<00000000>> 0x0411516c 0 + 0x411516c12 libclient.dylib 0x8137a428 JVM_GetCPMethodClassNameUTF +0xb3813 libclient.dylib 0x8139b878 JVM_GetCPClassNameUTF + 0x99814 libclient.dylib 0x81490c0c JVM_UnloadLibrary + 0xfbbc15 libclient.dylib 0x8156073c jio_vsnprintf + 0x103dc16 libawt.jnilib 0x8107bff4 +[EventFactory drawRect:forView:usingGC:] + 0xfc17 libawt.jnilib 0x81079444 -[NSViewAWT drawRect:] +0x12418 com.apple.AppKit 0x92dc7864 -[NSView _drawRect:clip:] + 0x77019 com.apple.AppKit 0x92dd8260 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 0xe820 com.apple.AppKit 0x92e0deb8 _recursiveDisplayInRect2 + 0x5421 com.apple.CoreFoundation 0x9019f21c CFArrayApplyFunction + 0x19822 com.apple.AppKit 0x92dd8364 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 0x1ec23 com.apple.AppKit 0x92e10944 -[NSFrameView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]+ 0x9024 com.apple.AppKit 0x92df7b74 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]+ 0xc025 com.apple.AppKit 0x92dd4e34 -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] +0x18026 com.apple.AppKit 0x92dedd5c -[NSView displayIfNeeded] + 0xa827 com.apple.AppKit 0x92dfea34 -[NSWindow displayIfNeeded] +0xb428 com.apple.AppKit 0x92e22b78 -[NSWindow _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] +0x3a829 libawt.jnilib 0x8108b788 -[CWindow show:] + 0x2d830 libawt.jnilib 0x810831fc -[CWindow updateState:] +0xc031 libawt.jnilib 0x81079e60 -[ControlModel syncFromJava:]+ 0x6832 libawt.jnilib 0x8107f230 -[ContainerModel syncFromJava:] + 0x4033 libawt.jnilib 0x81082894 -[CWindow syncFromJava:] + 0x9834 com.apple.Foundation 0x909f7834 -[NSArray makeObjectsPerformSelector:withObject:] + 0x10835 libawt.jnilib 0x8107a6e8 +[AWTModelUpdater updateModels:] + 0xf436 com.apple.Foundation 0x90a1af48 __NSFireMainThreadPerform + 0x10837 com.apple.CoreFoundation 0x901e4664 __CFRunLoopPerformPerform + 0x8838 com.apple.CoreFoundation 0x90193d38 __CFRunLoopDoSources0 + 0x1fc39 com.apple.CoreFoundation 0x901915f0 __CFRunLoopRun + 0x1b040 com.apple.CoreFoundation 0x90195f1c CFRunLoopRunSpecific + 0x14841 com.apple.HIToolbox 0x927d648c RunCurrentEventLoopInMode + 0xac42 com.apple.HIToolbox 0x927dcbf4 ReceiveNextEventCommon +0x17c43 com.apple.HIToolbox 0x927feccc BlockUntilNextEventMatchingListInMode + 0x6044 com.apple.AppKit 0x92dd2a34 _DPSNextEvent + 0x18045 com.apple.AppKit 0x92de93b0 -[NSApplication 46 com.apple.AppKit 0x92dfd718 -[NSApplication run] + 0x21c47 libawt.jnilib 0x8108ebb4 +[AWTStarter startAWT:] +0xfc48 com.apple.Foundation 0x90a1af48 __NSFireMainThreadPerform + 0x10849 com.apple.CoreFoundation 0x901e4664 __CFRunLoopPerformPerform + 0x8850 com.apple.CoreFoundation 0x90193d38 __CFRunLoopDoSources0 + 0x1fc51 com.apple.CoreFoundation 0x901915f0 __CFRunLoopRun + 0x1b052 com.apple.CoreFoundation 0x90195f1c CFRunLoopRunSpecific + 0x14853 java 0x000060f4 0x1000 + 0x50f454 java 0x00003c88 0x1000 + 0x2c8855 java 0x00003afc 0x1000 + 0x2afc
Thread 1:
0 libSystem.B.dylib 0x900075c8 mach_msg_trap + 0x81 libSystem.B.dylib 0x90007118 mach_msg + 0x382 libclient.dylib 0x813677f8 JVM_GetClassAccessFlags + 0x11683 libclient.dylib 0x8139a534 __divdi3 + 0x50f44 libclient.dylib 0x8145d43c JVM_Halt + 0x251c5 libclient.dylib 0x8145d7a8 JVM_Halt + 0x28886 java 0x000045d8 0x1000 + 0x35d87 java 0x00005fe0 0x1000 + 0x4fe08 libSystem.B.dylib 0x900247e8 _pthread_body + 0x28
Thread 2:
0 libSystem.B.dylib 0x900075c8 mach_msg_trap + 0x81 libSystem.B.dylib 0x90007118 mach_msg + 0x382 libclient.dylib 0x8143f59c JNI_CreateJavaVM_Impl +0x44ec3 libclient.dylib 0x8143f530 JNI_CreateJavaVM_Impl +0x44804 libclient.dylib 0x8153196c JVM_UnloadLibrary + 0xb091c5 libSystem.B.dylib 0x900247e8 _pthread_body + 0x28
Thread 3:
0 libSystem.B.dylib 0x900075c8 mach_msg_trap + 0x81 libSystem.B.dylib 0x90007118 mach_msg + 0x382 libclient.dylib 0x81367878 JVM_GetClassAccessFlags + 0x11e83 libclient.dylib 0x8139a4d4 __divdi3 + 0x50944 libclient.dylib 0x813b00d0 JVM_GetMethodIxModifiers + 0x4f05 libclient.dylib

Source is Usenet: comp.lang.java.help
Sign in to add a comment

Answer score: 5
09/10/2018 12:08 -
Dave Monroe <monroeds@hampton-data.com> wrote in messagenews:afcc15a8.0405100422.6977377c@posting.google.com...

news:<f7488ad.0405080909.20ec4123@posting.google.com>...


Ya, I thought MAC only had version 1.3 not 1.4

Source is Usenet: comp.lang.java.help
Sign in to add a comment

Answer score: 5
09/10/2018 12:08 - cmills28@yahoo.com (ChrisM) wrote in message news:<f7488ad.0405080909.20ec4123@posting.google.com>...

That's one butt ugly error message.


Make absolutely sure that the versions on the two systems match. Idevelop alternately on XP and Linux and move the work back and forthsystem to system to make certain that the app is platform independent.


The only time I've had big problems is when the SDK/JVM versions areout of sync.


My $0.02.


Source is Usenet: comp.lang.java.help
Sign in to add a comment

Answer score: 5
09/10/2018 12:08 - In article <rXTnc.23078$iF6.2277030@attbi_s02>, Liz <Liz@nospam.com>
Nope. Panther has 1.3.1. Depending on what the user has installed, it might have 1.4.1 or 1.4.2 as well.


Scott

Source is Usenet: comp.lang.java.help
Sign in to add a comment

eDiscover
Helpforce eDiscover provides technical articles updated each dayHelpforce eDiscover RSS feed contains the latest technical articles in RSS
Click the logo to go back to the main page
Search eDiscover
  
Categories

Click an icon to go to that category

Helpforce eDiscover contains articles about Microsoft Windows Helpforce eDiscover contains articles about Apple products and MacOS Helpforce eDiscover contains articles about Linux and POSIX operating systems Helpforce eDiscover contains articles about Helpforce Helpforce has a large variety of technical information and articles for you to read Helpforce eDiscover contains articles about databases, MYSQL, SQL Server Oracle Helpforce eDiscover contains articles about Java, JVM and the JRE Helpforce eDiscover contains articles about the QNX operating system Helpforce eDiscover contains articles about Oracle Solaris and Open Solaris Helpforce eDiscover contains articles about RISC OS, Acorn and the BBC Micro Helpforce eDiscover contains articles about Amiga and AmigaOS

Type your comment into the box below