I&#39;m assuming you are building a 32-bit binary (because there is no 64-bit Carbon to link to....)<br><br>Sean, would you mind (1) fixing this or (2) reverting your vtkCarbonRenderWindow change of 1.75 until somebody can figure out what it takes to fix this...?<br>
<br>I think we should view vtkCarbonRenderWindow itself as largely deprecated and just ignore deprecation warnings from within it... Cocoa will be the new order of the day after the upcoming Qt 4.5 kinks are worked out...<br>
<br><br>Thanks,<br>David<br><br><br><div class="gmail_quote">On Thu, Jan 15, 2009 at 6:40 AM, Takuya OSHIMA <span dir="ltr">&lt;<a href="mailto:oshima@eng.niigata-u.ac.jp">oshima@eng.niigata-u.ac.jp</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">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&#39;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 &nbsp;0x9710968c in objc_msgSend ()<br>
#1 &nbsp;0x9186b256 in CFGetTypeID ()<br>
#2 &nbsp;0x95cae3ad in CGSCopyRegion ()<br>
#3 &nbsp;0x9539be15 in aglSetIntegerWindowRef ()<br>
#4 &nbsp;0x95399398 in aglSetInteger ()<br>
#5 &nbsp;0x0446d8ad in vtkCarbonRenderWindow::UpdateGLRegion ()<br>
#6 &nbsp;0x0446e6a0 in vtkCarbonRenderWindow::CreateAWindow ()<br>
#7 &nbsp;0x0446d4a4 in vtkCarbonRenderWindow::WindowInitialize ()<br>
#8 &nbsp;0x0446b7f5 in vtkCarbonRenderWindow::Start ()<br>
#9 &nbsp;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&#39;m wondering if the compiler warning fix<br>
----------------------------<br>
revision 1.75<br>
date: 2009-01-13 03:06:53 +0900; &nbsp;author: seanmcbride; &nbsp;state: Exp; &nbsp;lines: +10<br>
-1; &nbsp;commitid: rPzETQM9lDA3Mbyt;<br>
COMP: fixed compiler warning related to bug 4001, by conditionally using 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&#39;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>
<font color="#888888"><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="mailto:ParaView@paraview.org">ParaView@paraview.org</a><br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</font></blockquote></div><br>