Opened 9 years ago

Closed 9 years ago

#442 closed defect (fixed)

Deleting atoms of 3jro causes crash

Reported by: Tom Goddard Owned by: Eric Pettersen
Priority: major Milestone:
Component: Sequence Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

open 3jro
del /a:1100-2000
del :100-200

crashes in StructureSeq::remove_residue()

Debugging shows that chain A contains residues 1100-2000 but there are also residues 1-296 that point to chain A but chain A does not have them in its residue list. So in the commands the cause the crash the first delete ends up deleting chain A C++ object, and the second delete then uses bad references to chainA.

Change History (1)

comment:1 by Eric Pettersen, 9 years ago

Resolution: fixed
Status: newclosed

Fixed. The translation of a min() func from Chimera 1 in its handle-numbering-jumps-in-gaps code into the equivalent comparison had the sense of the comparison backwards.

Note: See TracTickets for help on using tickets.