#0 0x00007fffdf93a3bc in cso_release_all (ctx=ctx@entry=0x112b480) at cso_cache/cso_context.c:304 #1 0x00007fffdf89691d in st_destroy_context (st=0x1114000) at ../../src/mesa/state_tracker/st_context.c:286 #2 0x00007fffdfa5cbd2 in OSMesaDestroyContext (osmesa=0xf85170) at osmesa.c:577 #3 0x00007fffdcef91ff in vtkOSOpenGLRenderWindow::DestroyOffScreenWindow (this=0xf862e0) at /home/kevin/kitware/VTK/Rendering/OpenGL/vtkOSOpenGLRenderWindow.cxx:226 #4 0x00007fffdcef8ff2 in vtkOSOpenGLRenderWindow::DestroyWindow (this=0xf862e0) at /home/kevin/kitware/VTK/Rendering/OpenGL/vtkOSOpenGLRenderWindow.cxx:169 #5 0x00007fffdcef93f9 in vtkOSOpenGLRenderWindow::Finalize (this=0xf862e0) at /home/kevin/kitware/VTK/Rendering/OpenGL/vtkOSOpenGLRenderWindow.cxx:281 #6 0x00007fffdcef8c23 in vtkOSOpenGLRenderWindow::~vtkOSOpenGLRenderWindow (this=0xf862e0, __in_chrg=) at /home/kevin/kitware/VTK/Rendering/OpenGL/vtkOSOpenGLRenderWindow.cxx:103 #7 0x00007fffdcef8cec in vtkOSOpenGLRenderWindow::~vtkOSOpenGLRenderWindow (this=0xf862e0, __in_chrg=) at /home/kevin/kitware/VTK/Rendering/OpenGL/vtkOSOpenGLRenderWindow.cxx:114 #8 0x00007ffff6c04a65 in vtkObjectBase::UnRegisterInternal (this=0xf862e0, check=0) at /home/kevin/kitware/VTK/Common/Core/vtkObjectBase.cxx:232 #9 0x00007ffff6c06d7f in vtkObject::UnRegisterInternal (this=0xf862e0, o=0x0, check=0) at /home/kevin/kitware/VTK/Common/Core/vtkObject.cxx:904 #10 0x00007ffff6c04932 in vtkObjectBase::UnRegister (this=0xf862e0, o=0x0) at /home/kevin/kitware/VTK/Common/Core/vtkObjectBase.cxx:189 #11 0x00007fffe1b2d6c5 in vtkRenderWindow::UnRegister (this=0xf862e0, o=0x0) at /home/kevin/kitware/VTK/Rendering/Core/vtkRenderWindow.cxx:1420 #12 0x00007ffff6c31b2f in vtkSmartPointerBase::~vtkSmartPointerBase (this=0x7fffffffd3c0, __in_chrg=) at /home/kevin/kitware/VTK/Common/Core/vtkSmartPointerBase.cxx:62 #13 0x00007ffff780b4b3 in vtkPythonUtil::RemoveObjectFromMap (obj=) at /home/kevin/kitware/VTK/Wrapping/PythonCore/vtkPythonUtil.cxx:271 #14 0x00007ffff7817852 in PyVTKObject_Delete (op=) at /home/kevin/kitware/VTK/Wrapping/PythonCore/PyVTKObject.cxx:309 #15 0x00007ffff667f6d7 in insertdict (mp=mp@entry=0x64c800, key='renWin2', hash=5896806036037093388, value=value@entry=None) at /usr/src/debug/Python-2.7.3/Objects/dictobject.c:539 #16 0x00007ffff6681b92 in PyDict_SetItem (op=op@entry= {'goldenrod_light': None, 'peacock': None, 'indigo': None, 'gold': None, 'flesh': None, 'firebrick': None, 'sepia': None, 'mint_cream': None, 'white_smoke': None, 'cobalt': None, 'catch': None, 'rose_madder': None, 'pythonTk': None, 'threshold': None, 'outlineActor': None, 'image_cursor': None, 'ivory_black': None, 'vtk': None, 'goldenrod_pale': None, 'turquoise_dark': None, 'rtResult': None, 'leftMapper': None, 'lawn_green': None, 'chartreuse': None, 'black': None, 'orange': None, 'local_variables_dict': None, 'light_beige': None, 'cold_grey': None, 'turquoise': None, 'ghost_white': None, 'magnify': None, 'peach_puff': None, 'brown_madder': None, 'cadmium_yellow': None, '__file__': None, 'ultramarine': None, 'light_grey': None, 'slate_grey_dark': None, 'slate_blue_dark': None, 'yellow': None, 'brown_ochre': None, 'yellow_green': None, 'cyan': None, 'navajo_white': None, 'cyan_white': None, 'greenish_umber': None, 'olive_green_dark': None, 'goldenrod': None, 'test_script': None, 'forest_green': None, 'midnigh...(truncated), key=, value=value@entry=None) at /usr/src/debug/Python-2.7.3/Objects/dictobject.c:784 #17 0x00007ffff6685482 in _PyModule_Clear (m=) at /usr/src/debug/Python-2.7.3/Objects/moduleobject.c:138 #18 0x00007ffff66ef8d5 in PyImport_Cleanup () at /usr/src/debug/Python-2.7.3/Python/import.c:445 #19 0x00007ffff66fbb9b in Py_Finalize () at /usr/src/debug/Python-2.7.3/Python/pythonrun.c:454 #20 Py_Finalize () at /usr/src/debug/Python-2.7.3/Python/pythonrun.c:400 #21 0x00007ffff66face8 in Py_Exit (sts=sts@entry=0) at /usr/src/debug/Python-2.7.3/Python/pythonrun.c:1768 #22 0x00007ffff66fae06 in handle_system_exit () at /usr/src/debug/Python-2.7.3/Python/pythonrun.c:1142 #23 0x00007ffff66fb00e in handle_system_exit () at /usr/src/debug/Python-2.7.3/Python/pythonrun.c:1098 #24 PyErr_PrintEx (set_sys_last_vars=set_sys_last_vars@entry=1) at /usr/src/debug/Python-2.7.3/Python/pythonrun.c:1152 #25 0x00007ffff66fb23a in PyErr_Print () at /usr/src/debug/Python-2.7.3/Python/pythonrun.c:1055 #26 0x00007ffff66fb4b5 in PyRun_SimpleFileExFlags (fp=, fp@entry=0x6d3260, filename=, closeit=1, flags=flags@entry=0x7fffffffd700) at /usr/src/debug/Python-2.7.3/Python/pythonrun.c:955 #27 0x00007ffff66fbfe9 in PyRun_AnyFileExFlags (fp=fp@entry=0x6d3260, filename=, closeit=, flags=flags@entry=0x7fffffffd700) at /usr/src/debug/Python-2.7.3/Python/pythonrun.c:755 #28 0x00007ffff670c882 in Py_Main (argc=, argv=) at /usr/src/debug/Python-2.7.3/Modules/main.c:639 #29 0x00000000004017c7 in main (argc=13, argv=0x7fffffffd948) at /home/kevin/kitware/VTK/Wrapping/Python/vtkPythonAppInit.cxx:161