<div dir="ltr">Sorry for the noise. I guess I wasn&#39;t diligent enough in going through<br><div style>Google. This fixed it:</div><div style><br></div><div style><a href="http://www.vtk.org/pipermail/vtkusers/2011-July/117577.html">http://www.vtk.org/pipermail/vtkusers/2011-July/117577.html</a><br>
</div><div style><br></div></div><div class="gmail_extra"><br clear="all"><div><div style="font-size:x-small"><b><font color="#ff0000">C</font></b><font color="#999999">onfessions, </font><font color="#ff0000"><b>O</b></font><font color="#999999">bsessions, </font><font color="#ff0000">B</font><font color="#999999">eliefs, </font><b><font color="#ff0000">W</font></b><font color="#999999">ishes, </font><b><font color="#ff0000">E</font></b><font color="#999999">nigma, </font><b><font color="#ff0000">B</font></b><font color="#999999">attles and convoluted </font><b><font color="#ff0000">S</font></b><font color="#999999">trokes of life</font></div>
<div style="font-size:x-small;color:rgb(153,153,153)"><a href="https://www.facebook.com/cobwebsmedia" target="_blank">https://www.facebook.com/cobwebsmedia</a></div><div style="font-size:x-small;color:rgb(153,153,153)"><a href="http://500px.com/seesomi" target="_blank">http://500px.com/seesomi</a></div>
</div>
<br><br><div class="gmail_quote">On Fri, Apr 5, 2013 at 11:07 AM, somesh <span dir="ltr">&lt;<a href="mailto:somesh.bbt@gmail.com" target="_blank">somesh.bbt@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Hi,</div><div>I am trying to compile and run the offscreen rendering example </div><div>@ <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Utilities/OffScreenRendering" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Utilities/OffScreenRendering</a></div>

<div><br></div><div>The program compiles fine, however seg faults on running.</div><div><br></div><div>The trace in the core is :</div><div><div>Core was generated by `./OffScreenRendering&#39;.</div>
<div>Program terminated with signal 11, Segmentation fault.</div><div>#0  __rawmemchr_ia32 () at ../sysdeps/i386/i686/multiarch/../../rawmemchr.S:116</div><div>116<span style="white-space:pre-wrap">        </span>../sysdeps/i386/i686/multiarch/../../rawmemchr.S: No such file or directory.</div>

<div>(gdb) where</div><div>#0  __rawmemchr_ia32 () at ../sysdeps/i386/i686/multiarch/../../rawmemchr.S:116</div><div>#1  0xb6f01922 in _IO_str_init_static_internal (sf=0xbff3d100, ptr=0x0, </div><div>    size=0, pstart=0x0) at strops.c:45</div>

<div>#2  0xb6ef52f7 in _IO_vsscanf (string=0x0, format=0x872097e &quot;%d.%d&quot;, </div><div>    args=0xbff3d1d8 &quot;\004\322\363\277\b\322\363\277\b&quot;) at iovsscanf.c:44</div><div>#3  0xb6ee265b in __sscanf (s=0x0, format=0x872097e &quot;%d.%d&quot;) at sscanf.c:34</div>

<div>#4  0x0840c2c8 in vtkOpenGLExtensionManager::ReadOpenGLExtensions() ()</div><div>#5  0x0840bd01 in vtkOpenGLExtensionManager::Update() ()</div><div>#6  0x0840ba17 in vtkOpenGLExtensionManager::ExtensionSupported(char const*) ()</div>

<div>#7  0x08378011 in vtkOpenGLRenderWindow::OpenGLInitContext() ()</div><div>#8  0x083767b3 in vtkOpenGLRenderWindow::OpenGLInit() ()</div><div>#9  0x083a5da4 in vtkXOpenGLRenderWindow::Initialize() ()</div><div>#10 0x083a11c3 in vtkXOpenGLRenderWindow::Start() ()</div>

<div>#11 0x08342d15 in vtkRenderWindow::DoStereoRender() ()</div><div>#12 0x08343a05 in vtkRenderWindow::DoFDRender() ()</div><div>#13 0x08344138 in vtkRenderWindow::DoAARender() ()</div><div>#14 0x08342ff5 in vtkRenderWindow::Render() ()</div>

<div>#15 0x083a14f8 in vtkXOpenGLRenderWindow::Render() ()</div><div>#16 0x081ae696 in main ()</div><div><br></div><div><br></div><div>Does anyone have any idea on why this may be happening ?</div><div><br></div></div>
<div><br></div>Thanks,
<div>Somesh</div></div>
</blockquote></div><br></div>