Calamares crashes when cycling through partition modes #1061
I tested this on both Debian weekly live images, and on the latest Manjaro Xfce image to rule out a distribution specific issue.
On 64 bit Calamares (untested on 32 bit variants), Calamares crashes when clicking on each partitioning option for 3-5 cycles.
The crash seems to be caused by LVM* code ..
It crashes when at least one partition has an FS on it.
from BT is see the following:
L169 is here:
if ( device->type() != Device::Type::LVM_Device )
So on != LVM we set createTable = true; but BT indicates is crashing with createTable = false;
For an quick test I reverted the code to what it was before LVM* merge in that function() and it does not
These boolean variables are used only for the activation of the buttons.
The problem in this case probably is related to the device reference, which needs an assertion to check if it is null. The use of
I couldn't reproduce the error with kpmcore on version 3.3.0 and neither with it built directly from master branch, using an USB stick as my device.
I'll try to test it on Calamares version from Manjaro XFCE to see if I can get it.
UPDATE: I just tested Calamares version from Manjaro XFCE and the error occurred.
Running in valgrid, after some clicking around I hit this: