[Paraview] CVS head crashes on Leopard at vtkCarbonRenderWindow

Takuya OSHIMA oshima at eng.niigata-u.ac.jp
Thu Jan 15 06:40:43 EST 2009


Hi,

I updated and built my copy of cvs head for the first time this
year. Unfortunately, it gets immediate crash after opening the main
window at vtkCarbonRenderWindow::UpdateGLRegion(). Here's a part of
gdb backtrace output:

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000166
0x9710968c in objc_msgSend ()
(gdb) backtrace
#0  0x9710968c in objc_msgSend ()
#1  0x9186b256 in CFGetTypeID ()
#2  0x95cae3ad in CGSCopyRegion ()
#3  0x9539be15 in aglSetIntegerWindowRef ()
#4  0x95399398 in aglSetInteger ()
#5  0x0446d8ad in vtkCarbonRenderWindow::UpdateGLRegion ()
#6  0x0446e6a0 in vtkCarbonRenderWindow::CreateAWindow ()
#7  0x0446d4a4 in vtkCarbonRenderWindow::WindowInitialize ()
#8  0x0446b7f5 in vtkCarbonRenderWindow::Start ()
#9  0x043ae10b in vtkRenderWindow::DoStereoRender ()
#10 0x043ae2d9 in vtkRenderWindow::DoFDRender ()

However, if I revert ParaView3/VTK/Rendering/vtkCarbonRenderWindow.cxx
from the current revision of 1.75 to revision 1.74, I get a compiler
waring about a deprecated API but the produced binary runs fine. So
I'm wondering if the compiler warning fix
----------------------------
revision 1.75
date: 2009-01-13 03:06:53 +0900;  author: seanmcbride;  state: Exp;  lines: +10 
-1;  commitid: rPzETQM9lDA3Mbyt;
COMP: fixed compiler warning related to bug 4001, by conditionally using newer n
on-deprecated API
----------------------------
of vtkCarbonRenderWindow.cxx is really correct.

Am I the only one who is having this problem? I'm using an Intel Mac
Pro, OS X 10.5.6, gcc 4.0.1 build 5490, Xcode 3.1.2.

Thanks,

Takuya OSHIMA, Ph.D.
Faculty of Engineering, Niigata University
8050 Ikarashi-Ninocho, Nishi-ku, Niigata, 950-2181, JAPAN


More information about the ParaView mailing list