calamares crashed with SIGSEGV in KPMHelpers::isPartitionNew()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calamares (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
Lubuntu 19.04 QA checklist installs.
This install was going to re-use my partitions (keep my /home & format my /) and have auto-login enabled using manual partitioning.
I noticed what appeared (twice at that stage) where I'd selected "format" a partition, when I re-entered the partition [settings] it seemed to show "keep". I was re-opening to explore that before seeing if I was mistaken, or it is an issue when the calamares installer disappeared off screen (crash).
Sure enough there was a crash report in /var/crash, which `ubuntu-bug` caused this report.
Only significant behavior was re-entering (to view) partitions a few times exploring the 'keep' or 'format' option which I'm suspicious is flipping 'keep' when it shouldn't.
---
I've done more exploration/testing of the keep/format option & so have added some notes at the bottom, which is an issue I've logged here instead of a new bug report.
ProblemType: Crash
DistroRelease: Ubuntu 19.04
Package: calamares 3.2.4-0ubuntu1
ProcVersionSign
Uname: Linux 5.0.0-7-generic x86_64
.etc.calamares.
---
baseUrl: archive.ubuntu.com
distribution: Lubuntu
geoIpUrl: https:/
.etc.calamares.
---
restartNowChecked: true
restartNowEnabled: true
restartNowCommand: "systemctl -i reboot"
.etc.calamares.
efiSystemParti
enableLuksAuto
neverCreateSwap: true
drawNestedPart
.etc.calamares.
---
dontChroot: true
timeout: 30
script:
- calamares-
.etc.calamares.
---
unpack:
- source: "/cdrom/
sourcefs: "squashfs"
ApportVersion: 2.20.10-0ubuntu23
Architecture: amd64
CasperVersion: 1.402
CurrentDesktop: LXQt
Date: Fri Mar 29 17:58:38 2019
ExecutablePath: /usr/bin/calamares
ExecutableTimes
LiveMediaBuild: Lubuntu 19.04 "Disco Dingo" - Alpha amd64 (20190326.1)
ProcCmdline: calamares
ProcCwd: /home/lubuntu
ProcEnviron:
SHELL=/bin/bash
LANG=C.UTF-8
TERM=qterminal
XDG_RUNTIME_
PATH=(custom, no user)
RelatedPackageV
calamares-
calamares-
xfsprogs 4.15.1-1ubuntu1
btrfs-progs 4.20.2-1
SegvAnalysis:
Segfault happened at: 0x7f9b8f157f10 <_ZN10KPMHelper
PC (0x7f9b8f157f10) ok
source "$0x1" ok
destination "0x90(%rdi)" (0x00000090) not located in a known VMA region (needed writable region)!
SegvReason: writing NULL VMA
Signal: 11
SourcePackage: calamares
StacktraceTop:
KPMHelpers:
PartitionPage:
QMetaObject:
QAbstractButto
?? () from /lib/x86_
Title: calamares crashed with SIGSEGV in KPMHelpers:
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
separator:
----
Lubuntu 19.04 Manual Partitioning Install
Daily Image : 20190326.1
On selecting a pre-existing partition, I have the option of 'keep' or 'format'. I'm trying to 'format' my / partition so I select format. I'm happy with settings (have selected / as mount point, 'format' & 'boot' as option) so I exit to select next partition (say my /home).
I however decide to go back & check my / partition which should be 'format', but when I re-enter it, I find it's set to 'keep'. I've tried this many times (only today's ISO) and have discovered the same nearly each time. It could be it flips to 'keep' whenever you enter; but given I've set it to 'format' I'd expect it to say 'format'.
I was exploring this when I had the crash that caused this bug report, but have since rebooted and the 'format' is being flipped to 'keep' I'm convinced (though if you enter many times, it seems to stop flipping??)
StacktraceTop: :isPartitionNew (partition=0x0) at /usr/include/ kpmcore/ core/partition. h:187 :onEditClicked (this=0x7f9b640 24480) at ./src/modules/ partition/ gui/PartitionPa ge.cpp: 403 :QSlotObjectBas e::call (a=0x7ffea4f2e940, r=0x7f9b64024480, this=0x555da4e6 3760) at ../../include/ QtCore/ ../../src/ corelib/ kernel/ qobjectdefs_ impl.h: 376 :activate (sender= 0x555da4e4f9d0, signalOffset= <optimized out>, local_signal_ index=< optimized out>, argv=<optimized out>) at kernel/ qobject. cpp:3754 n::clicked (this=this@ entry=0x555da4e 4f9d0, _t1=<optimized out>) at .moc/moc_ qabstractbutton .cpp:308
KPMHelpers:
PartitionPage:
QtPrivate:
QMetaObject:
QAbstractButto