Damaged SSD causes gparted to loop and can't be killed
I have a 240 GB SSD, which contains a LUKS encrypted partition, on a SATA-USB-3 cable.
Under Ubuntu-18.04 Server (+ LXDE), when it is plugged in, it is not mounted.
On launching gparted it remains in a loop consuming 100% CPU until I reboot.
lxtask shows 100% CPU usage but doesn't show the usage against any process.
sudo kill doesn't kill anything.
gnome-disk-utility has the correct partition map and says "Mounting".
The 'stop' icon doesn't work.
It did have an msdos partition table, but I can't put a new one on it.
Eventually my computer overheats and shuts down.
I realise the SSD is probably damaged and lost. But gparted should not do this.