-
Type: Bug
-
Status: Closed
-
Priority: Critical
-
Resolution: Fixed
-
Affects Version/s: 38
-
Fix Version/s: 39
-
Component/s: Basic-Nucl, Basic-Protein
-
Labels:
-
Tests Type:Untestable
-
Sprint:DEV-39-1, DEV-39-2
-
Affect Type:Userdefined
This issue relates to crash report №23928
Environment: Win10 x64, v. 38
User moved annotations. After clicking "Find qualifier...", UGENE crashed. I think the nullptr has been dereferenced. The root cause of the bug is unknown. The crash was on line 61
There is code listing from problematic place (line 60--61)
AVItem *currentItem = static_cast<AVItem *>(treeView->tree->currentItem());
switch (currentItem->type) {
I recommend adding non-null checks for each pointer on line 60 and possibly removing static_cast
This is the first crash in this place