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