Java developed on WinXP, now crashing on Mac??

C

ChrisM

I am developing a GUI-based internet app in Java, JDK 1.4. I'm
developing under Windows XP, using JBuilder X (Foundation version).
Things run ok on my system. My client, however, is using a Mac to run
the app. He just told me that it is crashing Java on launch. The
thing is, earlier versions ran ok on his system, but my latest version
is crashing. I don't know if this is just a bug in my code, or if
this is portability issue. I'm not a Mac user/developer, so if anyone
has any ideas what is going on, please let me know. The crash report
my client is getting is below. Many Thanks!!


Date/Time: 2004-05-08 11:58:06 -0400
OS Version: 10.3.3 (Build 7F44)
Report Version: 2

Command: java
Path: /usr/bin/java
Version: ??? (???)
PID: 607
Thread: 10

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000048

Thread 0:
0 libSystem.B.dylib 0x900075c8 mach_msg_trap + 0x8
1 libSystem.B.dylib 0x90007118 mach_msg + 0x38
2 libclient.dylib 0x813677f8 JVM_GetClassAccessFlags +
0x1168
3 libclient.dylib 0x81362af8 _mh_dylib_header + 0x2af8
4 libclient.dylib 0x8136236c _mh_dylib_header + 0x236c
5 libclient.dylib 0x8136b5c4 __cmpdi2 + 0x1ad4
6 libclient.dylib 0x81367cd8 JVM_MonitorWait + 0x108
7 <<00000000>> 0x0411e580 0 + 0x411e580
8 <<00000000>> 0x04117fb0 0 + 0x4117fb0
9 <<00000000>> 0x04117e30 0 + 0x4117e30
10 <<00000000>> 0x04117fb0 0 + 0x4117fb0
11 <<00000000>> 0x0411516c 0 + 0x411516c
12 libclient.dylib 0x8137a428 JVM_GetCPMethodClassNameUTF +
0xb38
13 libclient.dylib 0x8139b878 JVM_GetCPClassNameUTF + 0x998
14 libclient.dylib 0x81490c0c JVM_UnloadLibrary + 0xfbbc
15 libclient.dylib 0x8156073c jio_vsnprintf + 0x103dc
16 libawt.jnilib 0x8107bff4 +[EventFactory
drawRect:forView:usingGC:] + 0xfc
17 libawt.jnilib 0x81079444 -[NSViewAWT drawRect:] +
0x124
18 com.apple.AppKit 0x92dc7864 -[NSView _drawRect:clip:] +
0x770
19 com.apple.AppKit 0x92dd8260 -[NSView
_recursiveDisplayAllDirtyWithLockFocus:visRect:] + 0xe8
20 com.apple.AppKit 0x92e0deb8 _recursiveDisplayInRect2 +
0x54
21 com.apple.CoreFoundation 0x9019f21c CFArrayApplyFunction + 0x198
22 com.apple.AppKit 0x92dd8364 -[NSView
_recursiveDisplayAllDirtyWithLockFocus:visRect:] + 0x1ec
23 com.apple.AppKit 0x92e10944 -[NSFrameView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
+ 0x90
24 com.apple.AppKit 0x92df7b74 -[NSThemeFrame
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
+ 0xc0
25 com.apple.AppKit 0x92dd4e34 -[NSView
_displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] +
0x180
26 com.apple.AppKit 0x92dedd5c -[NSView displayIfNeeded] +
0xa8
27 com.apple.AppKit 0x92dfea34 -[NSWindow displayIfNeeded] +
0xb4
28 com.apple.AppKit 0x92e22b78 -[NSWindow
_reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] +
0x3a8
29 libawt.jnilib 0x8108b788 -[CWindow show:] + 0x2d8
30 libawt.jnilib 0x810831fc -[CWindow updateState:] +
0xc0
31 libawt.jnilib 0x81079e60 -[ControlModel syncFromJava:]
+ 0x68
32 libawt.jnilib 0x8107f230 -[ContainerModel
syncFromJava:] + 0x40
33 libawt.jnilib 0x81082894 -[CWindow syncFromJava:] +
0x98
34 com.apple.Foundation 0x909f7834 -[NSArray
makeObjectsPerformSelector:withObject:] + 0x108
35 libawt.jnilib 0x8107a6e8 +[AWTModelUpdater
updateModels:] + 0xf4
36 com.apple.Foundation 0x90a1af48 __NSFireMainThreadPerform +
0x108
37 com.apple.CoreFoundation 0x901e4664 __CFRunLoopPerformPerform +
0x88
38 com.apple.CoreFoundation 0x90193d38 __CFRunLoopDoSources0 + 0x1fc
39 com.apple.CoreFoundation 0x901915f0 __CFRunLoopRun + 0x1b0
40 com.apple.CoreFoundation 0x90195f1c CFRunLoopRunSpecific + 0x148
41 com.apple.HIToolbox 0x927d648c RunCurrentEventLoopInMode +
0xac
42 com.apple.HIToolbox 0x927dcbf4 ReceiveNextEventCommon +
0x17c
43 com.apple.HIToolbox 0x927feccc
BlockUntilNextEventMatchingListInMode + 0x60
44 com.apple.AppKit 0x92dd2a34 _DPSNextEvent + 0x180
45 com.apple.AppKit 0x92de93b0 -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] + 0x74
46 com.apple.AppKit 0x92dfd718 -[NSApplication run] + 0x21c
47 libawt.jnilib 0x8108ebb4 +[AWTStarter startAWT:] +
0xfc
48 com.apple.Foundation 0x90a1af48 __NSFireMainThreadPerform +
0x108
49 com.apple.CoreFoundation 0x901e4664 __CFRunLoopPerformPerform +
0x88
50 com.apple.CoreFoundation 0x90193d38 __CFRunLoopDoSources0 + 0x1fc
51 com.apple.CoreFoundation 0x901915f0 __CFRunLoopRun + 0x1b0
52 com.apple.CoreFoundation 0x90195f1c CFRunLoopRunSpecific + 0x148
53 java 0x000060f4 0x1000 + 0x50f4
54 java 0x00003c88 0x1000 + 0x2c88
55 java 0x00003afc 0x1000 + 0x2afc

Thread 1:
0 libSystem.B.dylib 0x900075c8 mach_msg_trap + 0x8
1 libSystem.B.dylib 0x90007118 mach_msg + 0x38
2 libclient.dylib 0x813677f8 JVM_GetClassAccessFlags +
0x1168
3 libclient.dylib 0x8139a534 __divdi3 + 0x50f4
4 libclient.dylib 0x8145d43c JVM_Halt + 0x251c
5 libclient.dylib 0x8145d7a8 JVM_Halt + 0x2888
6 java 0x000045d8 0x1000 + 0x35d8
7 java 0x00005fe0 0x1000 + 0x4fe0
8 libSystem.B.dylib 0x900247e8 _pthread_body + 0x28

Thread 2:
0 libSystem.B.dylib 0x900075c8 mach_msg_trap + 0x8
1 libSystem.B.dylib 0x90007118 mach_msg + 0x38
2 libclient.dylib 0x8143f59c JNI_CreateJavaVM_Impl +
0x44ec
3 libclient.dylib 0x8143f530 JNI_CreateJavaVM_Impl +
0x4480
4 libclient.dylib 0x8153196c JVM_UnloadLibrary + 0xb091c
5 libSystem.B.dylib 0x900247e8 _pthread_body + 0x28

Thread 3:
0 libSystem.B.dylib 0x900075c8 mach_msg_trap + 0x8
1 libSystem.B.dylib 0x90007118 mach_msg + 0x38
2 libclient.dylib 0x81367878 JVM_GetClassAccessFlags +
0x11e8
3 libclient.dylib 0x8139a4d4 __divdi3 + 0x5094
4 libclient.dylib 0x813b00d0 JVM_GetMethodIxModifiers +
0x4f0
5 libclient.dylib
 
D

Dave Monroe

I am developing a GUI-based internet app in Java, JDK 1.4. I'm
developing under Windows XP, using JBuilder X (Foundation version).
Things run ok on my system. My client, however, is using a Mac to run
the app. He just told me that it is crashing Java on launch. The
thing is, earlier versions ran ok on his system, but my latest version
is crashing. I don't know if this is just a bug in my code, or if
this is portability issue. I'm not a Mac user/developer, so if anyone
has any ideas what is going on, please let me know. The crash report
my client is getting is below. Many Thanks!!
That's one butt ugly error message.

Make absolutely sure that the versions on the two systems match. I
develop alternately on XP and Linux and move the work back and forth
system 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 are
out of sync.

My $0.02.
 
L

Liz

Dave Monroe said:
(e-mail address removed) (ChrisM) wrote in message
That's one butt ugly error message.

Make absolutely sure that the versions on the two systems match. I
develop alternately on XP and Linux and move the work back and forth
system 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 are
out of sync.

My $0.02.

Ya, I thought MAC only had version 1.3 not 1.4
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top