On Jul 27, 2007, at 10:42 AM, Moises Lejter wrote:
Hi, all! We just ran into a problem with one of our potential
users, and I am hoping the stack trace below will look familiar
enough to some of you that you might have suggestions as to which
direction we should be looking in ...
Our app is a Java app that actually runs as a plugin to Acrobat,
and I think that on Acrobat 6 that means we run using Carbon.
We have a user that just tested our app on his machine, a PowerMac
dual G5, and he got a crash with the stack trace below. It seems
to me that the crash occurs somewhere deep inside MacOSX - but I am
just not sure what the right way to track this down is going to
be... All of our users so far have been on single processor Macs.
I guess we could ask him to disable one processor, for testing...
PID: 551
Thread: 0
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000010
It seems like you've already got a suspicion thats probably pretty
close to what's going on. There's probably some threaded problem
between the crashing Thread 0 and Thread 6 which looks to be doing
Clip related stuff as well. I'm not familiar myself with dual
processors but turning one off and testing would probably be worth a
try. Clobbered non-thread safe storage could probably apply just as
well with a single processor though.
Curious, are you running a 1.3 or earlier Apple Carbon JVM? Otherwise
this would probably be tricky anyhow, Carbon and the Cocoa JVM's
often didn't work well together. For 1.3 there were methods to force
code to run on the main native event thread which would probably
prevent thread safety issues in this case that I think mostly came up
in discussions of java and AppleScript. CarbonOneShot was the JDirect
class that I used. References could probably be found in archives.
Again, that is if this is the 1.3 Carbon JVM - otherwise, I don't
know. It's hard to tell from a native and not a java stack trace
where you would want to try to get on the main event thread also.
Rosebud except from Citizen Kane I'm also not familiar with. It was
the sled you know?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden