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

thorprime thorprime at gmail.com
Wed Feb 7 13:45:16 EST 2007


This is using the 5.0.2 source release. 

I have since gotten the crashing to occur less frequently by initializing
vtkCanvas on my own rather than simply creating a render window. (As long as
I create vtkCanvas before any other windows.)


Sean McBride wrote:
> 
> 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
> 
> 
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 
> 

-- 
View this message in context: http://www.nabble.com/Invalid-memory-access-of-location-under-java-OSX-Cocoa-tf3177948.html#a8851595
Sent from the VTK - Users mailing list archive at Nabble.com.




More information about the vtkusers mailing list