[Paraview] CVS head crashes on Leopard at vtkCarbonRenderWindow

Takuya OSHIMA oshima at eng.niigata-u.ac.jp
Thu Jan 15 09:10:59 EST 2009


Yes it's a 32-bit binary as far as I understand in the same way.

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

From: "David Cole" <david.cole at kitware.com>
Subject: Re: [Paraview] CVS head crashes on Leopard at vtkCarbonRenderWindow
Date: Thu, 15 Jan 2009 06:54:30 -0500

> * I'm assuming you are building a 32-bit binary (because there is no 64-bit
> Carbon to link to....)
> 
> 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...?
> 
> 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...
> 
> Thanks,
> David
> 
> On Thu, Jan 15, 2009 at 6:40 AM, Takuya OSHIMA <oshima at eng.niigata-u.ac.jp>
> wrote:
> 
>     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
>     _______________________________________________
>     ParaView mailing list
>     ParaView at paraview.org
>     http://www.paraview.org/mailman/listinfo/paraview
> 


More information about the ParaView mailing list