Opened 7 years ago
Closed 7 years ago
#1113 closed defect (fixed)
Segmentation fault when opening new model while old model is being deleted
Reported by: | Tristan Croll | Owned by: | pett |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | 0.7 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
- open a large model that will take some non-trivial time to clean up on deleting (e.g. 3j3y)
- delete it using the Model Panel
- as soon as the list of previously-loaded models appears in the main window, click on any model
- crash
Change History (3)
follow-up: 2 comment:2 by , 7 years ago
Hmm... seems my first message that was a furphy - the segmentation fault happens whether or not I try to open another model while 3j3q is closing. Just the act of opening 3j3q to the point where it can be interacted with (rotated), then closing it triggers the crash. While it's open I can open/close more "normal" sized (but still large) models (e.g. 3gtq) repeatedly, but closing the 3j3q model kills ChimeraX (almost) every time. Every time (as far as I can see) if it's the last model loaded, and often if it's elsewhere in the list. In the trial I just ran, I opened it three times then deleted the first copy without issue, but crashed on deleting the second. On 2018-05-08 16:53, ChimeraX wrote:
comment:3 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Needed to directly destroy chains with no Python-layer refs to their Python objects, rather than DECREFing to zero which indirectly calls the destructor -- since the destructor also DECREFs due to inheritance from PyInstance.
Note:
See TracTickets
for help on using tickets.