﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
1724	camera stereo: access violation in draw_elements	hubert.santuz@…	Tom Goddard	"{{{
The following bug report has been submitted:
Platform:        Windows-7-6.1.7601-SP1
ChimeraX Version: 0.8 (2018-12-17)
Description
Hi,
This is the error i get when I try the stereoscopic mode on my computer (""camera stereo"").
Any idea of the bug ?
Thanks.

Log:
Startup Messages  
---  
warning | 'clip' is a prefix of an existing command 'clipper'  
note | Traceback (most recent call last):  
File ""C:\Program Files\ChimeraX\bin\lib\site-  
packages\chimerax\core\toolshed\\\\__init__.py"", line 338, in __init__  
self.init_available_from_cache(logger)  
File ""C:\Program Files\ChimeraX\bin\lib\site-  
packages\chimerax\core\toolshed\\\\__init__.py"", line 445, in  
init_available_from_cache  
abc.load_from_cache()  
File ""C:\Program Files\ChimeraX\bin\lib\site-  
packages\chimerax\core\toolshed\available.py"", line 61, in load_from_cache  
b = _build_bundle(d)  
File ""C:\Program Files\ChimeraX\bin\lib\site-  
packages\chimerax\core\toolshed\available.py"", line 242, in _build_bundle  
keywords = _extract_extra_keywords(keywords)  
File ""C:\Program Files\ChimeraX\bin\lib\site-  
packages\chimerax\core\toolshed\installed.py"", line 270, in  
_extract_extra_keywords  
all_kwds = [k.strip() for k in kwds.split(',')]  
AttributeError: 'list' object has no attribute 'split'  
  
UCSF ChimeraX version: 0.8 (2018-12-17)  
How to cite UCSF ChimeraX  

> open D:\4hfi.pdb

4hfi.pdb title:  
The glic pentameric ligand-gated ion channel At 2.4 A resolution [more
info...]  
  
Chain information for 4hfi.pdb #1  
---  
Chain | Description  
A B C D E | proton-gated ion channel  
  

> camera stereo

An error occurred in drawing the scene. Redrawing graphics is now stopped to
avoid a continuous stream of error messages. To restart graphics use the
command ""graphics restart"" after changing the settings that caused the error.  
  
Traceback (most recent call last):  
File ""C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\updateloop.py"", line 72, in draw_new_frame  
view.draw(check_for_changes = False)  
File ""C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\graphics\view.py"", line 159, in draw  
self._draw_scene(camera, drawings)  
File ""C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\graphics\view.py"", line 188, in _draw_scene  
shadow, multishadow = self._compute_shadowmaps(opaque_drawings +
transparent_drawings, camera)  
File ""C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\graphics\view.py"", line 515, in _compute_shadowmaps  
shadow_enabled = r.shadow.use_shadow_map(camera, drawings,
self._shadow_bounds)  
File ""C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\graphics\opengl.py"", line 1202, in use_shadow_map  
draw_depth(r, sdrawings, opaque_only = not
r.material.transparent_cast_shadows)  
File ""C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\graphics\drawing.py"", line 1379, in draw_depth  
draw_opaque(r, drawings)  
File ""C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\graphics\drawing.py"", line 1360, in draw_opaque  
_draw_multiple(drawings, renderer, Drawing.OPAQUE_DRAW_PASS)  
File ""C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\graphics\drawing.py"", line 1371, in _draw_multiple  
d.draw(renderer, draw_pass)  
File ""C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\graphics\drawing.py"", line 688, in draw  
self.draw_self(renderer, draw_pass)  
File ""C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\graphics\drawing.py"", line 695, in draw_self  
self._draw_geometry(renderer, opaque_only = any_transp)  
File ""C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\graphics\drawing.py"", line 753, in _draw_geometry  
ds.draw(self.display_style)  
File ""C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\graphics\drawing.py"", line 1541, in draw  
eb.draw_elements(etype, ni)  
File ""C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\graphics\opengl.py"", line 2249, in draw_elements  
GL.glDrawElementsInstanced(element_type, ne, GL.GL_UNSIGNED_INT, eo, ninst)  
File ""zr\accelerate\src\latebind.pyx"", line 32, in
OpenGL_accelerate.latebind.LateBind.__call__ (src\latebind.c:1015)  
File ""zr\accelerate\src\wrapper.pyx"", line 311, in
OpenGL_accelerate.wrapper.Wrapper.__call__ (src\wrapper.c:6777)  
OSError: exception: access violation reading 0x0000000000000000  
  




OpenGL version: 3.3.0 NVIDIA 376.84
OpenGL renderer: Quadro M4000/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation

}}}
"	defect	closed	normal		Graphics	0.8	duplicate						all	ChimeraX
