**Describe the bug**
Calamares crashes on it's startup.
**To Reproduce**
St…eps to reproduce the behavior:
1. Launch Live system
2. Click on Launch installer in opened window
3. Installer crashes
**Expected behavior**
Installer don't crashes.
**Screenshots and Logs**
<details>
<summary><tt>cat ~/.cache/calamares/session.log</tt></summary>
<pre>=== START CALAMARES 3.2.62-17
2024-01-03 - 17:48:28 [6]: void CalamaresApplication::init()
Calamares version: 3.2.62-17
2024-01-03 - 17:48:28 [6]: .. languages: "ar, as, ast, az, az_AZ, be, bg, bn, ca, ca@valencia, cs_CZ, da, de, el, en, en_GB, eo, es, es_MX, et, eu, fa, fi_FI, fr, fur, gl, he, hi, hr, hu, id, is, it_IT, ja, ko, lt, ml, mr, nb, nl, oc, pl, pt_BR, pt_PT, ro, ru, si, sk, sl, sq, sr, sr@latin, sv, tg, th, tr_TR, uk, vi, zh_CN, zh_TW"
2024-01-03 - 17:48:28 [6]: bool CalamaresUtils::initQmlModulesDir()
Using Calamares QML directory "/usr/share/calamares/qml"
2024-01-03 - 17:48:28 [6]: Calamares::Branding::Branding(const QString&, QObject*)
Using Calamares branding file at "/usr/share/calamares/branding/manjaro/branding.desc"
2024-01-03 - 17:48:28 [2]: Calamares::Branding::Branding(const QString&, QObject*)
WARNING: the branding component "/usr/share/calamares/branding/manjaro" does not ship translations.
2024-01-03 - 17:48:28 [6]: Calamares::Branding::Branding(const QString&, QObject*)
Loaded branding component "manjaro"
2024-01-03 - 17:48:28 [6]: .. Loaded QRC translation "tz_" "en_US"
2024-01-03 - 17:48:28 [6]: .. Loaded QRC translation "calamares_" "en_US"
2024-01-03 - 17:48:28 [6]: .. STARTUP: initSettings, initQmlPath, initBranding done
2024-01-03 - 17:48:28 [6]: .. STARTUP: initModuleManager: module init started
2024-01-03 - 17:48:28 [2]: static Calamares::ModuleSystem::Descriptor Calamares::ModuleSystem::Descriptor::fromDescriptorData(const QVariantMap&, const QString&)
WARNING: Descriptor file "/usr/lib/calamares/modules/servicescfg/module.desc"
2024-01-03 - 17:48:28 [2]: WARNING: .. Module descriptor contains extra keys:
"requires"
2024-01-03 - 17:48:28 [6]: void Calamares::ModuleManager::doInit()
Found 57 modules
2024-01-03 - 17:48:29 [6]: void CalamaresApplication::initView()
STARTUP: initModuleManager: all modules init done
2024-01-03 - 17:48:29 [6]: void CalamaresApplication::initView()
STARTUP: initJobQueue done
2024-01-03 - 17:48:29 [6]: CalamaresWindow::CalamaresWindow(QWidget*)
Available desktop QSize(1920, 1048) minimum size QSize(1024, 520)
2024-01-03 - 17:48:29 [6]: .. Proposed window size: 1024 560
2024-01-03 - 17:48:29 [6]: QString CalamaresUtils::searchQmlFile(QmlSearch, const QString&)
Looking for QML for "calamares-sidebar"
2024-01-03 - 17:48:29 [6]: .. Looking at QML file "/usr/share/calamares/branding/manjaro/calamares-sidebar.qml"
2024-01-03 - 17:48:29 [6]: void CalamaresApplication::initView()
STARTUP: CalamaresWindow created; loadModules started
2024-01-03 - 17:48:29 [6]: void Config::initLanguages()
Trying to match locale "en_US"
2024-01-03 - 17:48:29 [6]: void Config::initLanguages()
Trying to match locale QLocale(English, Latin, United States)
2024-01-03 - 17:48:29 [6]: void Config::setLocaleIndex(int)
Index 14 Selected locale "en"
2024-01-03 - 17:48:29 [6]: .. Loaded QRC translation "tz_" "en"
2024-01-03 - 17:48:29 [6]: .. Loaded QRC translation "calamares_" "en"
2024-01-03 - 17:48:29 [6]: virtual void Calamares::ViewModule::loadSelf()
ViewModule "welcome@welcome" loading complete.
2024-01-03 - 17:48:29 [6]: QStringList loadLocales(const QString&)
Loading locales from "/usr/share/i18n/SUPPORTED"
2024-01-03 - 17:48:29 [6]: .. Read 492 lines
2024-01-03 - 17:48:29 [6]: .. After filtering 317 lines
2024-01-03 - 17:48:29 [6]: virtual void Calamares::ViewModule::loadSelf()
ViewModule "locale@locale" loading complete.
2024-01-03 - 17:48:29 [6]: KeyboardModelsModel::KeyboardModelsModel(QObject*)
Loaded 186 keyboard models
2024-01-03 - 17:48:29 [6]: KeyboardPage::KeyboardPage(Config*, QWidget*)
Variants now total= 0 selected= -1
2024-01-03 - 17:48:29 [6]: .. Loaded QRC translation "kb_" "en"
2024-01-03 - 17:48:29 [6]: void Config::detectCurrentKeyboardLayout()
("pc", "us", "inet(evdev)\"")
2024-01-03 - 17:48:29 [6]: virtual void Calamares::ViewModule::loadSelf()
ViewModule "keyboard@keyboard" loading complete.
2024-01-03 - 17:48:29 [6]: CalamaresUtils::Partition::InternalManager::InternalManager()
KPMCore backend starting ..
2024-01-03 - 17:48:29 [6]: Loaded backend plugin: "pmsfdiskbackendplugin"
2024-01-03 - 17:48:29 [6]: .. Backend @0x561d129fa170 "pmsfdiskbackendplugin" "1"
2024-01-03 - 17:48:29 [2]: virtual void PartitionViewStep::setConfigurationMap(const QVariantMap&)
WARNING: Partition-module setting *defaultPartitionTableType* is unset, will use gpt for efi or msdos for bios
2024-01-03 - 17:48:29 [6]: virtual void Calamares::ViewModule::loadSelf()
ViewModule "partition@partition" loading complete.
2024-01-03 - 17:48:29 [2]: void copyLegacy(const QVariantMap&, const QString&, QVariantMap&, const QString&)
WARNING: Legacy *users* key "userShell" overrides hostname-settings.
2024-01-03 - 17:48:29 [6]: virtual void Calamares::ViewModule::loadSelf()
ViewModule "users@users" loading complete.
2024-01-03 - 17:48:29 [6]: virtual void Config::setConfigurationMap(const QVariantMap&)
Using module ID "packagechooser@packagechooser"
2024-01-03 - 17:48:29 [6]: void fillModel(PackageListModel*, const QVariantList&)
Loading PackageChooser model items from config
2024-01-03 - 17:48:29 [6]: .. Loaded PackageChooser with 3 entries.
2024-01-03 - 17:48:29 [2]: QPixmap::scaled: Pixmap is a null pixmap
2024-01-03 - 17:48:29 [2]: QPixmap::scaled: Pixmap is a null pixmap
2024-01-03 - 17:48:29 [6]: virtual void Calamares::ViewModule::loadSelf()
ViewModule "packagechooser@packagechooser" loading complete.
2024-01-03 - 17:48:29 [6]: virtual void Calamares::ViewModule::loadSelf()
ViewModule "summary@summary" loading complete.
2024-01-03 - 17:48:29 [6]: void Calamares::ModuleManager::loadModules()
Module "partition@partition" already loaded.
2024-01-03 - 17:48:29 [6]: Calamares::SlideshowQML::SlideshowQML(QWidget*)
QML import paths:
"/usr/share/calamares/qml"
"/usr/bin"
"qrc:/qt-project.org/imports"
"/usr/lib/qt/qml"
2024-01-03 - 17:48:29 [6]: Calamares::SlideshowQML::SlideshowQML(QWidget*)
QML load on startup, API 2.
2024-01-03 - 17:48:29 [2]: QThread::setPriority: Cannot set priority, thread is not running
2024-01-03 - 17:48:29 [2]: virtual void MachineIdJob::setConfigurationMap(const QVariantMap&)
WARNING: MachineId: configuration setting *symlink* is deprecated, use *dbus-symlink*.
2024-01-03 - 17:48:29 [6]: virtual void Calamares::CppJobModule::loadSelf()
CppJobModule "machineid@machineid" loading complete.
2024-01-03 - 17:48:29 [6]: void Calamares::ModuleManager::loadModules()
Module "locale@locale" already loaded.
2024-01-03 - 17:48:29 [6]: void Calamares::ModuleManager::loadModules()
Module "keyboard@keyboard" already loaded.
2024-01-03 - 17:48:29 [6]: virtual void Calamares::CppJobModule::loadSelf()
CppJobModule "luksopenswaphookcfg@luksopenswaphookcfg" loading complete.
2024-01-03 - 17:48:29 [6]: virtual void Calamares::CppJobModule::loadSelf()
CppJobModule "luksbootkeyfile@luksbootkeyfile" loading complete.
2024-01-03 - 17:48:29 [6]: virtual void Calamares::CppJobModule::loadSelf()
CppJobModule "initcpio@initcpio" loading complete.
2024-01-03 - 17:48:29 [6]: void Calamares::ModuleManager::loadModules()
Module "users@users" already loaded.
2024-01-03 - 17:48:29 [6]: virtual void Calamares::CppJobModule::loadSelf()
CppJobModule "umount@umount" loading complete.
2024-01-03 - 17:48:29 [2]: void Config::setConfigurationMap(const QVariantMap&)
WARNING: Configuring the finished module with deprecated restartNowEnabled settings
2024-01-03 - 17:48:29 [6]: virtual void Calamares::ViewModule::loadSelf()
ViewModule "finished@finished" loading complete.
2024-01-03 - 17:48:29 [6]: setGeoIP(Config*, const QVariantMap&)::<lambda()>
GeoIP result for welcome= "RU"
2024-01-03 - 17:48:29 [6]: void Config::setLocaleIndex(int)
Index 45 Selected locale "ru"
2024-01-03 - 17:48:29 [6]: .. Loaded QRC translation "tz_" "ru"
2024-01-03 - 17:48:29 [6]: .. Loaded QRC translation "calamares_" "ru"
2024-01-03 - 17:48:29 [6]: .. No translation for "kb_" "ru" using default (en)
2024-01-03 - 17:48:29 [6]: void CalamaresApplication::initViewSteps()
STARTUP: loadModules for all modules done
2024-01-03 - 17:48:29 [6]: void Calamares::ModuleManager::checkRequirements()
Checking module requirements ..
2024-01-03 - 17:48:29 [6]: void CalamaresApplication::initViewSteps()
STARTUP: Window now visible and ProgressTreeView populated
2024-01-03 - 17:48:29 [6]: .. 9 view steps loaded.
2024-01-03 - 17:48:29 [6]: .. No translation for "kb_" "ru" using default (en)
2024-01-03 - 17:48:29 [6]: void Calamares::SlideshowQML::loadQmlV2Complete()
QML component complete, API 2
2024-01-03 - 17:48:29 [2]: file:///usr/share/calamares/branding/manjaro/slideshow/sponsor/SponsoredBy.qml: No such file or directory
2024-01-03 - 17:48:29 [6]: .. Loading "/usr/share/calamares/branding/manjaro/slideshow/SlideShow.qml"
2024-01-03 - 17:48:29 [6]: void Config::xkbApply()
xkbmap selection changed to: "us" - ""
2024-01-03 - 17:48:30 [6]: getting temp failed for "/dev/sdb" : Success
2024-01-03 - 17:48:30 [6]: bool GeneralRequirements::checkHasPower()
A battery exists, checking for mains power.
2024-01-03 - 17:48:30 [6]: smartctl initialization failed for "/dev/sdc" : Success
2024-01-03 - 17:48:30 [6]: error during smart output parsing for "/dev/sdc" : Success
2024-01-03 - 17:48:30 [2]: unknown file system type "" on "/dev/md127"
2024-01-03 - 17:48:30 [6]: QList<Device*> PartUtils::getDevices(DeviceType)
Removing unsuitable devices: 4 candidates.
2024-01-03 - 17:48:30 [6]: .. Running ("blkid", "/dev/sda")
2024-01-03 - 17:48:30 [6]: .. Running ("blkid", "/dev/sda1")
2024-01-03 - 17:48:30 [6]: .. Running ("blkid", "/dev/sda2")
2024-01-03 - 17:48:30 [6]: .. Running ("blkid", "/dev/sda3")
2024-01-03 - 17:48:30 [6]: .. Running ("blkid", "")
2024-01-03 - 17:48:30 [6]: .. Target cmd: ("blkid", "") Exit code: 2 (no output)
2024-01-03 - 17:48:30 [6]: .. Running ("blkid", "/dev/sdb")
2024-01-03 - 17:48:30 [6]: .. Running ("blkid", "")
2024-01-03 - 17:48:30 [6]: .. Target cmd: ("blkid", "") Exit code: 2 (no output)
2024-01-03 - 17:48:30 [6]: .. Running ("blkid", "/dev/sdc")
2024-01-03 - 17:48:30 [6]: .. Removing device with iso9660 filesystem (probably a CD) on it "/dev/sdc"
2024-01-03 - 17:48:30 [6]: .. Running ("blkid", "/dev/md127")
2024-01-03 - 17:48:30 [6]: .. Target cmd: ("blkid", "/dev/md127") Exit code: 2 (no output)
2024-01-03 - 17:48:30 [6]: .. there are 3 devices left.
2024-01-03 - 17:48:30 [6]: void PartitionCoreModule::doInit()
LIST OF DETECTED DEVICES:
2024-01-03 - 17:48:30 [6]: .. node capacity name prettyName
2024-01-03 - 17:48:30 [6]: .. "/dev/sda" 480101368320 DevName$64ad6510 DevNamePretty$738630f8
2024-01-03 - 17:48:30 [6]: .. "/dev/sdb" 24009592320 DevName$2f50f867 DevNamePretty$a661d1be
2024-01-03 - 17:48:30 [6]: .. "/dev/md127" -1 DevName$fdefdded DevNamePretty$b6728fe0
2024-01-03 - 17:48:30 [6]: .. 3 devices detected.
2024-01-03 - 17:48:30 [6]: Calamares::RequirementsList GeneralRequirements::checkRequirements()
GeneralRequirements output:
storage : 8482560409
enoughStorage : true
RAM : 1073741824
enoughRam : true
hasPower : false
hasInternet : true
isRoot : true
2024-01-03 - 17:48:30 [6]: void Calamares::RequirementsChecker::addCheckedRequirements(Calamares::Module*)
Got 5 requirement results from "welcome"
2024-01-03 - 17:48:30 [6]: void Calamares::RequirementsChecker::reportProgress()
Remaining modules: 1
"partition"
2024-01-03 - 17:48:32 [6]: void Calamares::RequirementsChecker::reportProgress()
Remaining modules: 1
"partition"
2024-01-03 - 17:48:32 [6]: .. Running ("blkid", "-s", "TYPE", "-o", "value", "/dev/sda2")
2024-01-03 - 17:48:32 [6]: FstabEntryList PartUtils::lookForFstabEntries(const QString&)
Checking device "/dev/sda2" for fstab (fs= "ext4" )
2024-01-03 - 17:48:32 [6]: .. Running ("mount", "-o", "ro,noload", "/dev/sda2", "/tmp/calamares-VgIfjH")
2024-01-03 - 17:48:32 [6]: .. Running ("udevadm", "settle")
2024-01-03 - 17:48:32 [6]: .. Running ("sync")
2024-01-03 - 17:48:32 [6]: .. got 18 fstab entries from 18 lines in "/tmp/calamares-VgIfjH/etc/fstab"
2024-01-03 - 17:48:32 [6]: .. Running ("umount", "-R", "/tmp/calamares-VgIfjH")
2024-01-03 - 17:48:32 [6]: .. Running ("udevadm", "settle")
2024-01-03 - 17:48:32 [6]: .. Running ("sync")
2024-01-03 - 17:48:32 [6]: .. NO, insufficient storage
Required storage B: 11166914969 "(10.4GiB)"
Available storage B: 8670261248 "(8GiB)" for "/dev/sda2" length: 20971520 sectorsUsed: 4037416 fsType: "ext4"
2024-01-03 - 17:48:32 [6]: OsproberEntryList PartUtils::runOsprober(DeviceModel*)
os-prober lines after cleanup:
"/dev/sda2:Debian GNU/Linux 12 (bookworm):Debian:linux"
2024-01-03 - 17:48:32 [6]: void PartitionCoreModule::doInit()
Ignoring device that is not Disk_Device to bootLoaderDevices list.
2024-01-03 - 17:48:32 [2]: unknown file system type "" on "/dev/md127"
2024-01-03 - 17:48:33 [6]: void PartitionCoreModule::scanForEfiSystemPartitions()
system is EFI and new EFI system partition has been found.
2024-01-03 - 17:48:33 [6]: void Calamares::RequirementsChecker::addCheckedRequirements(Calamares::Module*)
Got 1 requirement results from "partition"
2024-01-03 - 17:48:33 [6]: void ChoicePage::updateDeviceStatePreview()
Updating partitioning state widgets.
2024-01-03 - 17:48:33 [6]: void ChoicePage::setupActions()
Setting up actions for "/dev/md127" with 0 entries.
2024-01-03 - 17:48:33 [6]: .. part of an inactive RAID device
2024-01-03 - 17:48:33 [6]: ChoicePage::setupActions()::<lambda()>
Setting texts for 0 osprober entries
2024-01-03 - 17:48:33 [6]: void ChoicePage::setupActions()
No partitions available for replace-action.
2024-01-03 - 17:48:33 [6]: void ChoicePage::setupActions()
No partitions available for resize-action.
2024-01-03 - 17:48:33 [6]: void ChoicePage::setupActions()
No partitions ( any-mounted? false is-raid? true ) for erase-action.
2024-01-03 - 17:48:33 [6]: void ChoicePage::continueApplyDeviceChoice()
Previous device -1 new device 0
2024-01-03 - 17:48:33 [6]: void ChoicePage::applyActionChoice(InstallChoice)
Prev -1 InstallChoice Config::Erase "erase"
2024-01-03 - 17:48:33 [6]: PartitionTable* CreatePartitionTableJob::createTable()
CreatePartitionTableJob::createTable trying to make table for device "/dev/md127"
2024-01-03 - 17:48:33 [6]: void Calamares::RequirementsChecker::finished()
All requirements have been checked.
2024-01-03 - 17:48:33 [6]: void Calamares::RequirementsModel::describe() const
Requirements model has 6 items
2024-01-03 - 17:48:33 [6]: .. requirement 0 "storage" satisfied? true mandatory? true
2024-01-03 - 17:48:33 [6]: .. requirement 1 "ram" satisfied? true mandatory? true
2024-01-03 - 17:48:33 [6]: .. requirement 2 "power" satisfied? false mandatory? false
2024-01-03 - 17:48:33 [6]: .. requirement 3 "internet" satisfied? true mandatory? false
2024-01-03 - 17:48:33 [6]: .. requirement 4 "root" satisfied? true mandatory? true
2024-01-03 - 17:48:33 [6]: .. requirement 5 "partitions" satisfied? true mandatory? true
2024-01-03 - 17:48:33 [2]: unknown file system type "" on "/dev/md127"
2024-01-03 - 17:48:33 [1]: ASSERT: "efiSectorCount > 0" in file /build/calamares/src/calamares-3.2.62/src/modules/partition/core/PartitionActions.cpp, line 123
</pre>
</details>
<details>
<summary><tt>sudo blkid</tt></summary>
<pre>dev/sda1: UUID="EAFE-9E62" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="ac44e896-ed46-4a04-bad2-a726fce5b70e"
/dev/sda2: UUID="2b4c795c-1011-45bf-9bed-8ae5ea2d55d9" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="7d280178-cbae-4024-8ce5-20d20224daf3"
/dev/sda3: UUID="0c0b689d-51a5-4fd7-b033-fc8851f527f9" TYPE="swap" PARTUUID="bbbc1626-a12f-4013-90e0-e18c67dedb9b"
/dev/sdb: TYPE="isw_raid_member"
/dev/loop1: BLOCK_SIZE="262144" TYPE="squashfs"
/dev/loop2: BLOCK_SIZE="262144" TYPE="squashfs"
/dev/loop0: BLOCK_SIZE="262144" TYPE="squashfs"
/dev/sdc2: SEC_TYPE="msdos" LABEL_FATBOOT="MISO_EFI" LABEL="MISO_EFI" UUID="B19C-EAF2" BLOCK_SIZE="512" TYPE="vfat"
/dev/sdc1: BLOCK_SIZE="2048" UUID="2024-01-02-02-05-33-00" LABEL="MANJARO_GNOME_2312" TYPE="iso9660"
/dev/loop3: BLOCK_SIZE="262144" TYPE="squashfs"</pre>
</details>
<details>
<summary><tt>sudo fdisk -l</tt></summary>
<pre>Disk /dev/sda: 447.13 GiB, 480103981056 bytes, 937703088 sectors
Disk model: KINGSTON SA400S3
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 7E4FA72B-512B-41DD-81E6-5C9E9B990F80
Device Start End Sectors Size Type
/dev/sda1 2048 2097151 2095104 1023M EFI System
/dev/sda2 2097152 23068671 20971520 10G Linux filesystem
/dev/sda3 23068672 33554431 10485760 5G Linux swap
The backup GPT table is not on the end of the device.
Disk /dev/sdb: 22.37 GiB, 24015495168 bytes, 46905264 sectors
Disk model: LITEONIT LMS-24L
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 66787B72-0708-4D2D-AA36-FA30E8232E3E
Disk /dev/sdc: 7.28 GiB, 7811891200 bytes, 15257600 sectors
Disk model:
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000
Device Boot Start End Sectors Size Id Type
/dev/sdc1 * 64 8055967 8055904 3.8G 0 Empty
/dev/sdc2 8055968 8064159 8192 4M ef EFI (FAT-12/16/32)
Disk /dev/loop0: 152.57 MiB, 159977472 bytes, 312456 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop1: 1.16 GiB, 1242943488 bytes, 2427624 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop2: 1.71 GiB, 1831325696 bytes, 3576808 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop3: 764.66 MiB, 801800192 bytes, 1566016 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes</pre>
</details>
**Additional context**
Distro: Manjaro [Gnome Full] 23.1.2
Calamares version: 3.2.62-17
UEFI & GPT