[vtkusers] VTK Offscreen rendering

somesh somesh.bbt at gmail.com
Fri Apr 5 11:07:34 EDT 2013


Hi,
I am trying to compile and run the offscreen rendering example
@ http://www.vtk.org/Wiki/VTK/Examples/Cxx/Utilities/OffScreenRendering

The program compiles fine, however seg faults on running.

The trace in the core is :
Core was generated by `./OffScreenRendering'.
Program terminated with signal 11, Segmentation fault.
#0  __rawmemchr_ia32 () at
../sysdeps/i386/i686/multiarch/../../rawmemchr.S:116
116 ../sysdeps/i386/i686/multiarch/../../rawmemchr.S: No such file or
directory.
(gdb) where
#0  __rawmemchr_ia32 () at
../sysdeps/i386/i686/multiarch/../../rawmemchr.S:116
#1  0xb6f01922 in _IO_str_init_static_internal (sf=0xbff3d100, ptr=0x0,
    size=0, pstart=0x0) at strops.c:45
#2  0xb6ef52f7 in _IO_vsscanf (string=0x0, format=0x872097e "%d.%d",
    args=0xbff3d1d8 "\004\322\363\277\b\322\363\277\b") at iovsscanf.c:44
#3  0xb6ee265b in __sscanf (s=0x0, format=0x872097e "%d.%d") at sscanf.c:34
#4  0x0840c2c8 in vtkOpenGLExtensionManager::ReadOpenGLExtensions() ()
#5  0x0840bd01 in vtkOpenGLExtensionManager::Update() ()
#6  0x0840ba17 in vtkOpenGLExtensionManager::ExtensionSupported(char
const*) ()
#7  0x08378011 in vtkOpenGLRenderWindow::OpenGLInitContext() ()
#8  0x083767b3 in vtkOpenGLRenderWindow::OpenGLInit() ()
#9  0x083a5da4 in vtkXOpenGLRenderWindow::Initialize() ()
#10 0x083a11c3 in vtkXOpenGLRenderWindow::Start() ()
#11 0x08342d15 in vtkRenderWindow::DoStereoRender() ()
#12 0x08343a05 in vtkRenderWindow::DoFDRender() ()
#13 0x08344138 in vtkRenderWindow::DoAARender() ()
#14 0x08342ff5 in vtkRenderWindow::Render() ()
#15 0x083a14f8 in vtkXOpenGLRenderWindow::Render() ()
#16 0x081ae696 in main ()


Does anyone have any idea on why this may be happening ?


Thanks,
Somesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130405/a51fedf4/attachment.htm>


More information about the vtkusers mailing list