[vtkusers] Invalid memory access of location under java/OSX/Cocoa

Sean McBride sean at rogue-research.com
Wed Feb 7 10:21:36 EST 2007


On 2007-02-05 18:02, thorprime said:

>Just to note - Recompiling to use carbon instead of cocoa has fixed the JVM
>crashes. (this is on an intel mac)
>
>thorprime wrote:
>> 
>> I have been getting the error Invalid memory access of location * eip=*
>> where the *'s have been any combination of hex value. Usually, when I get
>> a vtkwindow open, there seems to be an issue with the cocoa binding in
>> that I don't get an actual app icon and the render window does not
>> interact with the window manager properly (does not have close/min/max
>> buttons) and cannot be foregrounded. Creating a java window fixes this
>> problem and the window can then be interacted with properly (and controls
>> work) Except that after a shot period of time the JVM crashes with the
>> invalid access error. I have attached the java crash log.
>> 
>> Anyone have any ideas?
>> 
>>  http://www.nabble.com/file/6267/JavaNativeCrash_pid20982.crash.log
>> JavaNativeCrash_pid20982.crash.log 

What version of VTK are you using?  I believe the current CVS is broken
when it comes to Java on Mac OS X.

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada





More information about the vtkusers mailing list