[vtkusers] Mac OS 10.4.8, Intel, VTK 5.0 , java 1.5 crashes
Mike Jackson
imikejackson at gmail.com
Thu Feb 22 08:39:08 EST 2007
Did the JVM actually crash? or did the java program crash with an
unsatisfied link error?
Also,
Since Apple's Java 1.4 and 1.5 are both based on Cocoa I would try
building VTK with Carbon OFF and Cocoa ON and see what happens.
Also, do any of the other java examples from the VTK distribution run?
--
Mike Jackson Senior Research Engineer
Innovative Management & Technology Services
On Feb 22, 2007, at 4:13 AM, Kustaa Nyholm wrote:
> Hi,
>
> I'm using:
>
> VTK 5.0.2 from source code
> Mac OS X 10.4.8 (on Dual Core Intel)
> CMake 2.4.6 using binary from Mac .dmg image
> Java version 1.5.0_07
> JRE build 1.5.0_07-164
> Hot Spot 1.5.0_07-87
>
> compiled with shared libs on and carbon on.
>
> When I try to run the SimpleRayTrace.java from
>
> http://ij-plugins.sourceforge.net/vtk-examples/index.html
>
> the java crashes with the attached log.
>
> I noticed from this recent post that something similar is happening
> others:
>
> http://www.nabble.com/Invalid-memory-access-of-location-under-java-
> OSX-Cocoa-tf3177948.html#a8818416
>
> The post suggest that carbon (which I'm using) is better than cocoa
> and
> that creating
> vtkCanvas before windows helps. Now I'm not sure what the later
> means in
> practical terms.
> The sample code seems to extend AWT Canvas so I'm not sure how to go
> about trying this.
>
> Any pointers would be highly appreciated, as always,
>
> br Kusti
>
> P.S. I need to send the chrashlog separately as my mail client is
> limited to 30K chars.
>
> Kustaa Nyholm
> Research Manager, Software
> Research and Technology Division
> PLANMECA OY
> Asentajankatu 6
> 00880 HELSINKI
> FINLAND
>
> Please note our new telephone and fax numbers!
> Tel: +358 20 7795 572 (direct)
> Fax: +358 20 7795 676
> GSM: +358 40 580 5193
> e-mail: kustaa.nyholm at planmeca.com
>
> This e-mail may contain confidential or privileged information. If you
> are not the intended recipient (or have received this e-mail in error)
> please notify the sender immediately and destroy this e-mail. Any
> unauthorized copying, disclosure or distribution of the material in
> this
> e-mail is strictly forbidden. We will not be liable for direct,
> indirect, special or consequential damages arising from alteration of
> the contents of this message by a third party or as a result of any
> virus being passed for viruses.
>
>
> _______________________________________________
> 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
More information about the vtkusers
mailing list