udisksd crashed with SIGSEGV in handle_mount()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udisks2 (Ubuntu) |
New
|
Medium
|
Unassigned |
Bug Description
1. I set manual mount options for a partition in the Disks app (updating /etc/fstab).
2. I then deleted the partition in Disks and created a new one. This did not remove the original fstab entry.
3. Setting manual mount options for the new partition with the same mountpoint created a second fstab entry with a different /dev/disk/by-uuid.
4. The crash was triggered when clicking mount in Disks.
5. After deleting the old mount line in /etc/fstab, the mount button in Disks worked as expected without crashing.
ProblemType: Crash
DistroRelease: Ubuntu 18.04
Package: udisks2 2.7.6-2ubuntu4
ProcVersionSign
Uname: Linux 4.15.0-12-generic x86_64
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
CustomUdevRuleF
Date: Fri Mar 23 09:05:53 2018
ExecutablePath: /usr/lib/
InstallationDate: Installed on 2018-03-22 (0 days ago)
InstallationMedia: Ubuntu-MATE 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180322)
MachineType: MSI MS-7924
ProcCmdline: /usr/lib/
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
ProcKernelCmdLine: BOOT_IMAGE=
SegvAnalysis:
Segfault happened at: 0x561008f69b60: mov 0x8(%rax),%rbp
PC (0x561008f69b60) ok
source "0x8(%rax)" (0x00000008) not located in a known VMA region (needed readable region)!
destination "%rbp" ok
Stack memory exhausted (SP below stack segment)
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: udisks2
StacktraceTop:
?? ()
ffi_call_unix64 () from /usr/lib/
ffi_call () from /usr/lib/
g_cclosure_
g_closure_invoke () from /usr/lib/
Title: udisksd crashed with SIGSEGV in ffi_call_unix64()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
dmi.bios.date: 02/15/2016
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: V1.12
dmi.board.
dmi.board.name: Z97M-G43(MS-7924)
dmi.board.vendor: MSI
dmi.board.version: 1.0
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: MSI
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: To be filled by O.E.M.
dmi.product.name: MS-7924
dmi.product.
dmi.sys.vendor: MSI
StacktraceTop: 0x561009e74e00, invocation= 0x7f800400b500, options= 0x561009f49010) at udiskslinuxfile system. c:1447 x86/unix64. S:76 entry=0x7f7ffd7 c5870, fn=fn@entry= 0x561008f68270 <handle_mount>, rvalue=<optimized out>, avalue= avalue@ entry=0x7f7ffd7 c5780) at ../src/ x86/ffi64. c:525 marshal_ generic (closure= 0x561009ebfc40, return_ gvalue= 0x7f7ffd7c5a40, n_param_ values= <optimized out>, param_values= <optimized out>, invocation_ hint=<optimized out>, marshal_ data=<optimized out>) at ../../. ./../gobject/ gclosure. c:1490 0x561009ebfc40, return_ value=0x7f7ffd7 c5a40, n_param_values=3, param_values= 0x7f7fe8002370, invocation_ hint=0x7f7ffd7c 5a20) at ../../. ./../gobject/ gclosure. c:804
handle_mount (filesystem=
ffi_call_unix64 () at ../src/
ffi_call (cif=cif@
g_cclosure_
g_closure_invoke (closure=