Opened 6 years ago
Closed 6 years ago
#2922 closed defect (fixed)
OpenGL buffer not deleted
Reported by: | pett | Owned by: | Tom Goddard |
---|---|---|---|
Priority: | moderate | Milestone: | |
Component: | Graphics | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
open 2hyy
# Show sequence panel by log click
# Use context menu in seq panel to make not dockable
# Close sequence panel
# Close ChimeraX
# Traceback below reported to shell.
macOS Catalina
$ cx
Could not find tool "Tabbed Toolbar"
Exception ignored in: <function Drawing.del at 0x102bed050>
Traceback (most recent call last):
File "/Users/goddard/ucsf/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/chimerax/core/graphics/drawing.py", line 1113, in del
self.delete()
File "/Users/goddard/ucsf/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/chimerax/core/graphics/drawing.py", line 1122, in delete
c.make_current() # Make OpenGL context current for deleting OpenGL resources.
File "/Users/goddard/ucsf/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/chimerax/core/graphics/opengl.py", line 128, in make_current
qc = self._initialize_context()
File "/Users/goddard/ucsf/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/chimerax/core/graphics/opengl.py", line 157, in _initialize_context
window.setFormat(fmt)
RuntimeError: wrapped C/C++ object of type QWindow has been deleted
Exception ignored in: <function Buffer.del at 0x1031ba560>
Traceback (most recent call last):
File "/Users/goddard/ucsf/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/chimerax/core/graphics/opengl.py", line 2483, in del
% self.shader_variable_name)
chimerax.core.graphics.opengl.OpenGLError: OpenGL buffer "position" was not deleted before core.graphics.Buffer destroyed
Exception ignored in: <function Buffer.del at 0x1031ba560>
Traceback (most recent call last):
File "/Users/goddard/ucsf/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/chimerax/core/graphics/opengl.py", line 2483, in del
% self.shader_variable_name)
chimerax.core.graphics.opengl.OpenGLError: OpenGL buffer "normal" was not deleted before core.graphics.Buffer destroyed
Exception ignored in: <function Buffer.del at 0x1031ba560>
Traceback (most recent call last):
File "/Users/goddard/ucsf/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/chimerax/core/graphics/opengl.py", line 2483, in del
% self.shader_variable_name)
chimerax.core.graphics.opengl.OpenGLError: OpenGL buffer "vcolor" was not deleted before core.graphics.Buffer destroyed
Exception ignored in: <function Buffer.del at 0x1031ba560>
Traceback (most recent call last):
File "/Users/goddard/ucsf/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/chimerax/core/graphics/opengl.py", line 2483, in del
% self.shader_variable_name)
chimerax.core.graphics.opengl.OpenGLError: OpenGL buffer "tex_coord" was not deleted before core.graphics.Buffer destroyed
Exception ignored in: <function Texture.del at 0x1031bb710>
Traceback (most recent call last):
File "/Users/goddard/ucsf/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/chimerax/core/graphics/opengl.py", line 2861, in del
raise OpenGLError('OpenGL texture was not deleted before core.graphics.Texture destroyed')
chimerax.core.graphics.opengl.OpenGLError: OpenGL texture was not deleted before core.graphics.Texture destroyed
$
Fixed.
Sequence panel status bar did not release opengl resources when app quit. Made sure main window and tool window status bars release opengl resources.