Open rlaager opened 5 years ago
This also seems to happen with device.destroy()
.
This is with pyparted 3.11.1-1ubuntu2 on Ubuntu 18.04.
Are you able to recreate this with the latest release, which is 3.11.2?
I’m on vacation. I will retest when I get home and let you know.
This is reproducible with master, specifically 22d2a2db35478b383e4313b87054e8e3d36482fa.
Sometimes it doesn't crash immediately, but calling
disk.destroy()
twice will guarantee a crash. From what I can tell,disk.destroy()
(or at least_ped_Disk_dealloc()
) is being called when the Python object is garbage-collected. If it was already called explicitly earlier, then it crashes.