Opened 7 years ago

Closed 7 years ago

#1729 closed defect (can't reproduce)

OpenGL buffer was not deleted before core.graphics.Buffer

Reported by: chimerax-bug-report@… Owned by: Tom Goddard
Priority: normal Milestone:
Component: Graphics Version: 0.9
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Darwin-18.2.0-x86_64-i386-64bit
ChimeraX Version: 0.9 (2019-01-26)
Description
(Describe the actions that caused this problem to occur here)

Log:
UCSF ChimeraX version: 0.9 (2019-01-26)  
© 2016-2019 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open /Users/achatter/Desktop/ATPSynthase_StdColors.cxs format session

opened ChimeraX session  

> open /Users/achatter/Desktop/ATPSynthase_StdColors.cxs format session

opened ChimeraX session  

> show #1 target m

> show #1 target m

> select #1.5

3748 atoms selected  

> select #1.4

3748 atoms selected  
Exception ignored in: <function Buffer.__del__ at 0x116ab9d90>  
Traceback (most recent call last):  
File
"/private/var/folders/80/kqdgppkx28ncvjbr2s6mksqc0000gn/T/AppTranslocation/C951F5E7-09D4-4048-B50B-6B2D9FED2917/d/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/graphics/opengl.py", line 2176, in __del__  
raise RuntimeError('OpenGL buffer was not deleted before core.graphics.Buffer
destroyed')  
RuntimeError: OpenGL buffer was not deleted before core.graphics.Buffer
destroyed  

> select #1.3

3748 atoms selected  
Exception ignored in: <function Buffer.__del__ at 0x116ab9d90>  
Traceback (most recent call last):  
File
"/private/var/folders/80/kqdgppkx28ncvjbr2s6mksqc0000gn/T/AppTranslocation/C951F5E7-09D4-4048-B50B-6B2D9FED2917/d/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/graphics/opengl.py", line 2176, in __del__  
raise RuntimeError('OpenGL buffer was not deleted before core.graphics.Buffer
destroyed')  
RuntimeError: OpenGL buffer was not deleted before core.graphics.Buffer
destroyed  

> select #1

26318 atoms, 25776 bonds, 29 pseudobonds, 2 models selected  
Exception ignored in: <function Buffer.__del__ at 0x116ab9d90>  
Traceback (most recent call last):  
File
"/private/var/folders/80/kqdgppkx28ncvjbr2s6mksqc0000gn/T/AppTranslocation/C951F5E7-09D4-4048-B50B-6B2D9FED2917/d/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/graphics/opengl.py", line 2176, in __del__  
raise RuntimeError('OpenGL buffer was not deleted before core.graphics.Buffer
destroyed')  
RuntimeError: OpenGL buffer was not deleted before core.graphics.Buffer
destroyed  
Exception ignored in: <function Buffer.__del__ at 0x116ab9d90>  
Traceback (most recent call last):  
File
"/private/var/folders/80/kqdgppkx28ncvjbr2s6mksqc0000gn/T/AppTranslocation/C951F5E7-09D4-4048-B50B-6B2D9FED2917/d/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/graphics/opengl.py", line 2176, in __del__  
raise RuntimeError('OpenGL buffer was not deleted before core.graphics.Buffer
destroyed')  
RuntimeError: OpenGL buffer was not deleted before core.graphics.Buffer
destroyed  
Exception ignored in: <function Buffer.__del__ at 0x116ab9d90>  
Traceback (most recent call last):  
File
"/private/var/folders/80/kqdgppkx28ncvjbr2s6mksqc0000gn/T/AppTranslocation/C951F5E7-09D4-4048-B50B-6B2D9FED2917/d/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/graphics/opengl.py", line 2176, in __del__  
raise RuntimeError('OpenGL buffer was not deleted before core.graphics.Buffer
destroyed')  
RuntimeError: OpenGL buffer was not deleted before core.graphics.Buffer
destroyed  
Exception ignored in: <function Buffer.__del__ at 0x116ab9d90>  
Traceback (most recent call last):  
File
"/private/var/folders/80/kqdgppkx28ncvjbr2s6mksqc0000gn/T/AppTranslocation/C951F5E7-09D4-4048-B50B-6B2D9FED2917/d/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/graphics/opengl.py", line 2176, in __del__  
raise RuntimeError('OpenGL buffer was not deleted before core.graphics.Buffer
destroyed')  
RuntimeError: OpenGL buffer was not deleted before core.graphics.Buffer
destroyed  

> ~select #1

Nothing selected  

> select sequence KRTGAIVDVPVGEELLGR

399 atoms, 399 bonds selected  

> colour sel hotpink

> hide selAtoms surfaces

> ui mousemode rightMode rotate

> select sequence KRTGAIVDVPVGEELLGR

399 atoms, 399 bonds selected  

> select sequence PIGSKTRRR

Nothing selected  

> select sequence IGSKTRRR

Nothing selected  

> select sequence KTRRR

Nothing selected  

> select

26318 atoms, 25776 bonds, 29 pseudobonds, 2 models selected  

Expected an objects specifieror a keyword  

sequence chain

Missing or invalid "chains" argument: invalid atoms specifier  

sequence chain

Missing or invalid "chains" argument: invalid atoms specifier  

sequence chain

Missing or invalid "chains" argument: invalid atoms specifier  

Unknown command: sequence chainA  

Unknown command: sequence chain/A  

sequence chain

Missing or invalid "chains" argument: invalid atoms specifier  

> show #1 target m

> sequence chain #1/A-C

Alignment identifier is 1  

> colour sel hotpink

> hide selAtoms surfaces

> colour sel hotpink

> hide selAtoms surfaces

> colour sel hotpink

> hide selAtoms surfaces

> colour sel hotpink

> show selAtoms surfaces

> undo

> colour sel hotpink

> hide selAtoms surfaces

> show selAtoms surfaces

> select :ADP

81 atoms, 87 bonds selected  

> colour sel green

> style selAtoms ball

Changed 81 atom styles  

> show selAtoms surfaces

> ui mousemode rightMode zoom

> select :DCW

16 atoms, 17 bonds selected  

> style selAtoms ball

Changed 16 atom styles  

> colour sel white

> select :ADP

81 atoms, 87 bonds selected  

> hide selAtoms surfaces

> colour sel white

> colour sel white

> lighting simple

> lighting full

> select :DCW

16 atoms, 17 bonds selected  

> colour sel green

> colour sel lightgreen

> colour sel red

> select :ADP

81 atoms, 87 bonds selected  

> colour sel orange

> colour sel lightorange

Expected a coloror one of 'byatom', 'bychain', 'byelement', 'byhetero',
'bymodel', 'bynucleotide', 'bypolymer', 'fromatoms', or 'random'or a keyword  

> colour sel light orange

Expected a collection of one of 'All', 'atoms', 'bonds', 'cartoons',
'pseudobonds', 'ribbons', 'rings', or 'surfaces'or a keyword  

> select :ADP

81 atoms, 87 bonds selected  

> colour sel light purple

Expected a collection of one of 'All', 'atoms', 'bonds', 'cartoons',
'pseudobonds', 'ribbons', 'rings', or 'surfaces'or a keyword  

> colour sel light aubergine

Expected a collection of one of 'All', 'atoms', 'bonds', 'cartoons',
'pseudobonds', 'ribbons', 'rings', or 'surfaces'or a keyword  

> colour sel rainbow

Expected a coloror one of 'byatom', 'bychain', 'byelement', 'byhetero',
'bymodel', 'bynucleotide', 'bypolymer', 'fromatoms', or 'random'or a keyword  

> colour sel medium violet

> lighting soft

> lighting simple

> set bgColor black

> set bgColor black

> lighting flat

> set silhouettes false

> lighting flat

> lighting full

> lighting soft

> lighting simple

> lighting simple

> lighting shadows true

> lighting soft

> lighting full

> lighting shadows false

> set bgColor white

> select :ATP

62 atoms, 66 bonds selected  

> colour sel orange

> style selAtoms ball

Changed 62 atom styles  

> colour sel purple

> colour sel blue

> ui mousemode rightMode move label

> ui mousemode rightMode label

> label #1/C:143

> ui mousemode rightMode move label

> ui mousemode rightMode move label

> undo

> undo

> undo

> undo

> label

Expected one of 'atoms', 'bonds', 'pseudobonds', or 'residues'or a keyword  

Expected one of 'atoms', 'bonds', 'pseudobonds', or 'residues'or a keyword  

Expected one of 'atoms', 'bonds', 'pseudobonds', or 'residues'or a keyword  

> undo

> undo

> undo

> undo

> label delete

> redo

> redo

> colour sel red

> colour sel red

> ui mousemode rightMode zoom

> colour sel red

> hide selAtoms surfaces

> show selAtoms surfaces

> hide /B target s

> hide /B target c

> hide /B target abp

> hide /F target abp

> hide /F target c

> hide /F target s

> hide /D target abp

> hide /D target c

> hide /D target s

> hide /D target s

> show /A target s

> show /B target s

> hide /E target s

> hide /E target c

> hide /E target abp

> colour sel red

> save session /Users/achatter/Desktop/ATP5A1-RBD.cxs

Session file format is not finalized, and thus might not be restorable in
other versions of ChimeraX.  

> colour sel red

> colour sel red

> set bgColor black

> movie record

> turn y 2 180

> wait 180

> movie encode /Users/achatter/Desktop/movie1.mp4

Movie saved to /Users/achatter/Desktop/movie1.mp4  
  

> hide selAtoms surfaces

> show selAtoms ribbons

> style selAtoms stick

Changed 195 atom styles  

> show selAtoms

> style selAtoms stick

Changed 195 atom styles  

> show /B target abp

> save session /Users/achatter/Desktop/ATP5A1-RBD.cxs

Session file format is not finalized, and thus might not be restorable in
other versions of ChimeraX.  

Unknown command: Sequence Chain #1/D-F  

Unknown command: Sequence Chain#1/D-F  

Unknown command: SequenceChain#1/D-F  

Unknown command: Sequence chain#1/D-F  

Unknown command: Sequence chain #1/D-F  

Unknown command: Sequence chain #1/D  

Unknown command: Sequence chain #1 /D  

Unknown command: Sequence chain #1/D  

Unknown command: Sequence chain #1/D  

Unknown command: Seq chain #1/D  

sequence chain

Missing or invalid "chains" argument: invalid atoms specifier  

> sequence chain #1/D

Alignment identifier is 1.D  

> sequence chain #1/D-F

Alignment identifier is 1  
Traceback (most recent call last):  
File
"/private/var/folders/80/kqdgppkx28ncvjbr2s6mksqc0000gn/T/AppTranslocation/C951F5E7-09D4-4048-B50B-6B2D9FED2917/d/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/ui/gui.py", line 530, in customEvent  
func(*args, **kw)  
File
"/private/var/folders/80/kqdgppkx28ncvjbr2s6mksqc0000gn/T/AppTranslocation/C951F5E7-09D4-4048-B50B-6B2D9FED2917/d/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/ui/gui.py", line 1284, in status  
StatusLogger.status(self, *args, **kw)  
File
"/private/var/folders/80/kqdgppkx28ncvjbr2s6mksqc0000gn/T/AppTranslocation/C951F5E7-09D4-4048-B50B-6B2D9FED2917/d/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/logger.py", line 196, in status  
if l.status(msg, color, secondary) and getattr(l, "excludes_other_logs",
True):  
File
"/private/var/folders/80/kqdgppkx28ncvjbr2s6mksqc0000gn/T/AppTranslocation/C951F5E7-09D4-4048-B50B-6B2D9FED2917/d/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/ui/statusbar.py", line 126, in status  
r.draw_background()  
File
"/private/var/folders/80/kqdgppkx28ncvjbr2s6mksqc0000gn/T/AppTranslocation/C951F5E7-09D4-4048-B50B-6B2D9FED2917/d/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/graphics/opengl.py", line 964, in draw_background  
GL.glClear(flags)  
File "src/errorchecker.pyx", line 53, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError  
OpenGL.error.GLError: GLError(  
err = 1286,  
description = b'invalid framebuffer operation',  
baseOperation = glClear,  
cArguments = (16640,)  
)  
  
OpenGL.error.GLError: GLError(  
err = 1286,  
description = b'invalid framebuffer operation',  
baseOperation = glClear,  
cArguments = (16640,)  
)  
  
File "src/errorchecker.pyx", line 53, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError  
  
See log for complete Python traceback.  
  




OpenGL version: 4.1 ATI-2.4.10
OpenGL renderer: AMD Radeon Pro 560 OpenGL Engine
OpenGL vendor: ATI Technologies Inc.

Change History (2)

comment:1 by Eric Pettersen, 7 years ago

Component: UnassignedGraphics
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionglClear: invalid framebuffer operation, after OpenGL buffer was not deleted before core.graphics.Buffer
Version: 0.9

comment:2 by Tom Goddard, 7 years ago

Resolution: can't reproduce
Status: assignedclosed
Summary: glClear: invalid framebuffer operation, after OpenGL buffer was not deleted before core.graphics.BufferOpenGL buffer was not deleted before core.graphics.Buffer

Could not find any way for this to happen. Improved error message to include shader variable for buffer that was not properly deleted. Unfortunately traceback is not too useful since it comes in del() method which is spontaneously called.

Note: See TracTickets for help on using tickets.