<div dir="ltr">Hmm, we have a C++ test Rendering/OpenGL2/Testing/Cxx/TestShadowMapPass.cxx that I tried adjusting a bit to see if I could get it to fail but I could not. I do not have a Java build to test.  If there is some other error output or stack trace maybe we could narrow it down.<div><br></div><div>Thanks</div><div>Ken</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 3, 2016 at 7:44 AM, vincentrivola <span dir="ltr"><<a href="mailto:vincentrivola@hotmail.com" target="_blank">vincentrivola@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear all,<br>
<br>
First of all, I wanted to thank VTK developpers because they did an<br>
incredible job with this new release. I just made the switch between 6.3.0<br>
and 7.0.0 on one of my application and it became so much faster that it was<br>
hard to believe it !<br>
<br>
Then I wanted to test one of the new features /mod of 7.0.0 which is the<br>
shadow handling. I use the JAVA wrapper for VTK and included the following<br>
line in my code:<br>
                panel3d.GetRenderer().SetUseShadows(1);<br>
or             panel3d.GetRenderer().UseShadowsOn();<br>
<br>
This line makes my code crash with the following error message:<br>
#<br>
# A fatal error has been detected by the Java Runtime Environment:<br>
#<br>
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffc1a81bc29,<br>
pid=14128, tid=12324<br>
#<br>
# JRE version: Java(TM) SE Runtime Environment (8.0_65-b17) (build<br>
1.8.0_65-b17)<br>
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.65-b01 mixed mode<br>
windows-amd64 compressed oops)<br>
# Problematic frame:<br>
# C  [vtkRenderingOpenGL2.dll+0x8bc29]<br>
#<br>
# Failed to write core dump. Minidumps are not enabled by default on client<br>
versions of Windows<br>
#<br>
# An error report file with more information is saved as:<br>
# C:\Users\Vincent\workspace\SEIS_LMT_v2\hs_err_pid14128.log<br>
#<br>
# If you would like to submit a bug report, please visit:<br>
#   <a href="http://bugreport.java.com/bugreport/crash.jsp" rel="noreferrer" target="_blank">http://bugreport.java.com/bugreport/crash.jsp</a><br>
# The crash happened outside the Java Virtual Machine in native code.<br>
# See problematic frame for where to report the bug.<br>
#<br>
<br>
Apparently the crash is comming from outside the java wrapper.  Should I do<br>
something special when compiling VTK in order to be able to use this<br>
feature?<br>
<br>
Thanks in advance for any help you can provide.<br>
<br>
Vincent<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/UseShadowsOn-makes-VTK-7-0-0-crash-tp5736324.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.com/UseShadowsOn-makes-VTK-7-0-0-crash-tp5736324.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Ken Martin PhD<div>Chairman & CFO<br>Kitware Inc.<br>28 Corporate Drive<br>Clifton Park NY 12065<br>518 371 3971<div><br></div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">This communication,
including all attachments, contains confidential and legally privileged
information, and it is intended only for the use of the addressee.  Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken in reliance on it is prohibited and may be
unlawful. If you received this communication in error please notify us
immediately and destroy the original message. 
Thank you.</span></div></div></div>
</div>