<HTML>
<HEAD>
<TITLE>Re: [Paraview] CVS head crashes on Leopard at vtkCarbonRenderWindow</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>I have been having the same problems. &nbsp;I vote we back out of the 1.75 changes and ignore the warnings.<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 1/15/09 7:10 AM, &quot;Takuya OSHIMA&quot; &lt;<a href="oshima@eng.niigata-u.ac.jp">oshima@eng.niigata-u.ac.jp</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Yes it's a 32-bit binary as far as I understand in the same way.<BR>
<BR>
Takuya OSHIMA, Ph.D.<BR>
Faculty of Engineering, Niigata University<BR>
8050 Ikarashi-Ninocho, Nishi-ku, Niigata, 950-2181, JAPAN<BR>
<BR>
From: &quot;David Cole&quot; &lt;<a href="david.cole@kitware.com">david.cole@kitware.com</a>&gt;<BR>
Subject: Re: [Paraview] CVS head crashes on Leopard at vtkCarbonRenderWindow<BR>
Date: Thu, 15 Jan 2009 06:54:30 -0500<BR>
<BR>
&gt; * I'm assuming you are building a 32-bit binary (because there is no 64-bit<BR>
&gt; Carbon to link to....)<BR>
&gt;<BR>
&gt; Sean, would you mind (1) fixing this or (2) reverting your<BR>
&gt; vtkCarbonRenderWindow change of 1.75 until somebody can figure out what it<BR>
&gt; takes to fix this...?<BR>
&gt;<BR>
&gt; I think we should view vtkCarbonRenderWindow itself as largely deprecated and<BR>
&gt; just ignore deprecation warnings from within it... Cocoa will be the new order<BR>
&gt; of the day after the upcoming Qt 4.5 kinks are worked out...<BR>
&gt;<BR>
&gt; Thanks,<BR>
&gt; David<BR>
&gt;<BR>
&gt; On Thu, Jan 15, 2009 at 6:40 AM, Takuya OSHIMA &lt;<a href="oshima@eng.niigata-u.ac.jp">oshima@eng.niigata-u.ac.jp</a>&gt;<BR>
&gt; wrote:<BR>
&gt;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;Hi,<BR>
&gt; &nbsp;&nbsp;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;I updated and built my copy of cvs head for the first time this<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;year. Unfortunately, it gets immediate crash after opening the main<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;window at vtkCarbonRenderWindow::UpdateGLRegion(). Here's a part of<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;gdb backtrace output:<BR>
&gt; &nbsp;&nbsp;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;Program received signal EXC_BAD_ACCESS, Could not access memory.<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;Reason: KERN_PROTECTION_FAILURE at address: 0x00000166<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;0x9710968c in objc_msgSend ()<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;(gdb) backtrace<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;#0 &nbsp;0x9710968c in objc_msgSend ()<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;#1 &nbsp;0x9186b256 in CFGetTypeID ()<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;#2 &nbsp;0x95cae3ad in CGSCopyRegion ()<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;#3 &nbsp;0x9539be15 in aglSetIntegerWindowRef ()<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;#4 &nbsp;0x95399398 in aglSetInteger ()<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;#5 &nbsp;0x0446d8ad in vtkCarbonRenderWindow::UpdateGLRegion ()<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;#6 &nbsp;0x0446e6a0 in vtkCarbonRenderWindow::CreateAWindow ()<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;#7 &nbsp;0x0446d4a4 in vtkCarbonRenderWindow::WindowInitialize ()<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;#8 &nbsp;0x0446b7f5 in vtkCarbonRenderWindow::Start ()<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;#9 &nbsp;0x043ae10b in vtkRenderWindow::DoStereoRender ()<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;#10 0x043ae2d9 in vtkRenderWindow::DoFDRender ()<BR>
&gt; &nbsp;&nbsp;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;However, if I revert ParaView3/VTK/Rendering/vtkCarbonRenderWindow.cxx<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;from the current revision of 1.75 to revision 1.74, I get a compiler<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;waring about a deprecated API but the produced binary runs fine. So<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;I'm wondering if the compiler warning fix<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;----------------------------<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;revision 1.75<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;date: 2009-01-13 03:06:53 +0900; &nbsp;author: seanmcbride; &nbsp;state: Exp;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lines: +10<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;-1; &nbsp;commitid: rPzETQM9lDA3Mbyt;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;COMP: fixed compiler warning related to bug 4001, by conditionally using<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;newer n<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;on-deprecated API<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;----------------------------<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;of vtkCarbonRenderWindow.cxx is really correct.<BR>
&gt; &nbsp;&nbsp;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;Am I the only one who is having this problem? I'm using an Intel Mac<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;Pro, OS X 10.5.6, gcc 4.0.1 build 5490, Xcode 3.1.2.<BR>
&gt; &nbsp;&nbsp;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;Thanks,<BR>
&gt; &nbsp;&nbsp;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;Takuya OSHIMA, Ph.D.<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;Faculty of Engineering, Niigata University<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;8050 Ikarashi-Ninocho, Nishi-ku, Niigata, 950-2181, JAPAN<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;_______________________________________________<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;ParaView mailing list<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;<a href="ParaView@paraview.org">ParaView@paraview.org</a><BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
&gt;<BR>
_______________________________________________<BR>
ParaView mailing list<BR>
<a href="ParaView@paraview.org">ParaView@paraview.org</a><BR>
<a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
&nbsp;&nbsp;&nbsp;**** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Kenneth Moreland<BR>
&nbsp;&nbsp;&nbsp;&nbsp;*** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sandia National Laboratories<BR>
*********** &nbsp;<BR>
*** *** *** &nbsp;email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
** &nbsp;*** &nbsp;** &nbsp;phone: (505) 844-8919<BR>
&nbsp;&nbsp;&nbsp;&nbsp;*** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;web: &nbsp;&nbsp;<a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT>
</BODY>
</HTML>