﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
491	Crash closing side view and opening shell	tic20@…	Tom Goddard	"Crash on Linux after showing side view, then closing side view, then opening shell.

On Mac this sequence does not crash but causes the main window to turn completely black as if the Qt opengl context is corrupted.

Begin forwarded message:

From: Tristan Croll
Subject: Segmentation fault
Date: November 30, 2016 at 6:23:15 AM PST
To: Tom Goddard, Greg Couch, Conrad Huang

Hi all,

Just noting a reproducible segfault I came across by accident (in the Linux build). If I start ChimeraX, open the side view tool, immediately close that and then attempt to open the shell, it crashes with the below dump.

Cheers,

Tristan


Fatal Python error: Segmentation fault

Thread 0x00007faeb0fe9700 (most recent call first):
 File ""/home/tic20/apps/chimerax/lib/python3.5/site-packages/zmq/utils/garbage.py"", line 47 in run
 File ""/home/tic20/apps/chimerax/lib/python3.5/threading.py"", line 914 in _bootstrap_inner
 File ""/home/tic20/apps/chimerax/lib/python3.5/threading.py"", line 882 in _bootstrap

Thread 0x00007faea5b98700 (most recent call first):
 File ""/home/tic20/apps/chimerax/lib/python3.5/site-packages/zmq/sugar/poll.py"", line 99 in poll
 File ""/home/tic20/apps/chimerax/lib/python3.5/site-packages/zmq/eventloop/ioloop.py"", line 122 in poll
 File ""/home/tic20/apps/chimerax/lib/python3.5/site-packages/tornado/ioloop.py"", line 862 in start
 File ""/home/tic20/apps/chimerax/lib/python3.5/site-packages/zmq/eventloop/ioloop.py"", line 177 in start
 File ""/home/tic20/apps/chimerax/lib/python3.5/site-packages/ipykernel/iostream.py"", line 72 in _thread_main
 File ""/home/tic20/apps/chimerax/lib/python3.5/threading.py"", line 862 in run
 File ""/home/tic20/apps/chimerax/lib/python3.5/threading.py"", line 914 in _bootstrap_inner
 File ""/home/tic20/apps/chimerax/lib/python3.5/threading.py"", line 882 in _bootstrap

Current thread 0x00007faf9351f740 (most recent call first):
 File ""/home/tic20/apps/chimerax/lib/python3.5/site-packages/chimerax/core/ui/gui.py"", line 166 in event_loop
 File ""/home/tic20/apps/chimerax/lib/python3.5/site-packages/ChimeraX_main.py"", line 547 in init
 File ""/home/tic20/apps/chimerax/lib/python3.5/site-packages/ChimeraX_main.py"", line 638 in <module>
 File ""/home/tic20/apps/chimerax/lib/python3.5/runpy.py"", line 85 in _run_code
 File ""/home/tic20/apps/chimerax/lib/python3.5/runpy.py"", line 170 in _run_module_as_main
/home/tic20/bin/ChimeraX: line 7: 12680 Segmentation fault      (core dumped) $CHIMERA_HOME/bin/ChimeraX $*
"	defect	closed	major	Alpha Release	Graphics		fixed						all	ChimeraX
