[vtkusers] libvtkRendering.5.4.dylib crashes in VirtualBox

Sean McBride sean at rogue-research.com
Fri Dec 2 14:38:13 EST 2011


On Fri, 2 Dec 2011 13:36:21 -0500, mitja_mreza at indiana.edu said:

>Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
>0   libSystem.B.dylib             	0x0000000100177c00 strlen + 16
>1   libSystem.B.dylib             	0x00000001001c2842 sscanf + 160
>2   libvtkRendering.5.4.dylib     	0x000000011108fd44
>vtkOpenGLExtensionManager::ReadOpenGLExtensions() + 1314
>3   libvtkRendering.5.4.dylib     	0x0000000111090dfd
>vtkOpenGLExtensionManager::Update() + 383

Have you run this in gdb?

Looking at the code, my guess is that glGetString(GL_VERSION) returns NULL, the code after that does not anticipate that and strlen() does crash if given NULL.

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada





More information about the vtkusers mailing list