﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
3441	somewhat unusual chain editing causes crash	Tristan Croll	Eric Pettersen	"{{{
The following bug report has been submitted:
Platform:        Linux-3.10.0-1127.10.1.el7.x86_64-x86_64-with-centos-7.8.2003-Core
ChimeraX Version: 1.0 (2020-06-04 23:15:07 UTC)
Description
Accidentally merged in a series of residues with chain ID 'A' and linked the C-terminal one to the next residue in chain 'B' (using the code at https://github.com/tristanic/isolde/blob/63ee53d06cce45f892fb2a31ca869026920dc4f0/isolde/src/atomic/building/merge.py#L3 - which I do need to rewrite since it's doing things that should now be superfluous after Eric's changes to make pseudobonds automatically update). Forgot to include the argument `chain_id='B'`... anyway, I deleted the new residues when I realised my mistake, which killed ChimeraX with the crash message below. I believe this is the only circumstance in which I've seen this crash happen. 

terminate called after throwing an instance of 'std::runtime_error'
  what():  Calling [C++: N10atomstruct5ChainE] _cpp_modified failed.
Fatal Python error: Aborted

Thread 0x00007f0cec7fc700 (most recent call first):
  File ""/opt/UCSF/ChimeraX/lib/python3.7/selectors.py"", line 468 in select
  File ""/opt/UCSF/ChimeraX/lib/python3.7/asyncio/base_events.py"", line 1750 in _run_once
  File ""/opt/UCSF/ChimeraX/lib/python3.7/asyncio/base_events.py"", line 541 in run_forever
  File ""/opt/UCSF/ChimeraX/lib/python3.7/site-packages/tornado/platform/asyncio.py"", line 149 in start
  File ""/opt/UCSF/ChimeraX/lib/python3.7/site-packages/ipykernel/iostream.py"", line 78 in _thread_main
  File ""/opt/UCSF/ChimeraX/lib/python3.7/threading.py"", line 870 in run
  File ""/opt/UCSF/ChimeraX/lib/python3.7/threading.py"", line 926 in _bootstrap_inner
  File ""/opt/UCSF/ChimeraX/lib/python3.7/threading.py"", line 890 in _bootstrap

Current thread 0x00007f0ee9cea740 (most recent call first):
  File ""/opt/UCSF/ChimeraX/lib/python3.7/site-packages/chimerax/atomic/molarray.py"", line 726 in delete
  File ""/opt/UCSF/ChimeraX/lib/python3.7/site-packages/chimerax/std_commands/delete.py"", line 39 in delete_atoms
  File ""/opt/UCSF/ChimeraX/lib/python3.7/site-packages/chimerax/std_commands/delete.py"", line 22 in delete
  File ""/opt/UCSF/ChimeraX/lib/python3.7/site-packages/chimerax/core/commands/cli.py"", line 2805 in run
  File ""/opt/UCSF/ChimeraX/lib/python3.7/site-packages/chimerax/cmd_line/tool.py"", line 258 in execute
  File ""/opt/UCSF/ChimeraX/lib/python3.7/site-packages/chimerax/cmd_line/tool.py"", line 112 in keyPressEvent
  File ""/opt/UCSF/ChimeraX/lib/python3.7/site-packages/chimerax/ui/gui.py"", line 269 in event_loop
  File ""/opt/UCSF/ChimeraX/lib/python3.7/site-packages/ChimeraX_main.py"", line 763 in init
  File ""/opt/UCSF/ChimeraX/lib/python3.7/site-packages/ChimeraX_main.py"", line 895 in <module>
  File ""/opt/UCSF/ChimeraX/lib/python3.7/runpy.py"", line 85 in _run_code
  File ""/opt/UCSF/ChimeraX/lib/python3.7/runpy.py"", line 193 in _run_module_as_main
Aborted (core dumped)


OpenGL version: 3.3.0 NVIDIA 450.36.06
OpenGL renderer: TITAN Xp/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation
Manufacturer: Dell Inc.
Model: Precision T5600
OS: CentOS Linux 7 Core
Architecture: 64bit ELF
CPU: 32 Intel(R) Xeon(R) CPU E5-2687W 0 @ 3.10GHz
Cache Size: 20480 KB
Memory:
	              total        used        free      shared  buff/cache   available
	Mem:            62G         11G         42G        198M        9.5G         50G
	Swap:          4.9G          0B        4.9G

Graphics:
	03:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP102 [TITAN Xp] [10de:1b02] (rev a1)	
	Subsystem: NVIDIA Corporation Device [10de:11df]	
	Kernel driver in use: nvidia
PyQt version: 5.12.3
Compiled Qt version: 5.12.4
Runtime Qt version: 5.12.8

}}}
"	defect	closed	normal		Structure Editing		fixed						all	ChimeraX
