Scenario:
- Open file test/_common_data_clustal/big.aln
- Put cursor on any sequence and select context menu
- Select Statistics->Generate grid profile...
- In "Generate Alignment profile" dialog push OK button
Expected result: Alignment profile report is executed
Actual result: a Assert is triggered.ASSERT failure in qAllocMore: "Requested size is too large!", file tools\qbytearray.cpp, line 67
The technical reason:
The run () function usually is executed in separate thread, the remaining functions are executed in the main thread. This DNAStatMSAProfileTask on line 335 of the DNAStatMSAProfileDialog.cpp file has a line for creating WebWindow, which loads everything tightly and is in the main thread, respectively, hangs the GUI. Looks like the problem with this crash was related to this. Need to start a task in which to describe the script and write that one of the options is the contents of the DNAStatMSAProfileTask :: report () function, and need to transfer it to the DNAStatMSAProfileTask :: run () function so that it happens in another thread.
See also crash #23218.