udisksd crashed with SIGSEGV in handle_mount()

Bug #1758330 reported by Wade Menard
10
This bug affects 1 person
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
ProcVersionSignature: Ubuntu 4.15.0-12.13-generic 4.15.7
Uname: Linux 4.15.0-12-generic x86_64
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
CustomUdevRuleFiles: 60-vboxdrv.rules 70-snap.core.rules
Date: Fri Mar 23 09:05:53 2018
ExecutablePath: /usr/lib/udisks2/udisksd
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/udisks2/udisksd
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-12-generic.efi.signed root=UUID=7163a03d-e388-4431-9fe2-157e35a52c0d ro quiet splash vt.handoff=1
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/x86_64-linux-gnu/libffi.so.6
 ffi_call () from /usr/lib/x86_64-linux-gnu/libffi.so.6
 g_cclosure_marshal_generic () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
 g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
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.asset.tag: To be filled by O.E.M.
dmi.board.name: Z97M-G43(MS-7924)
dmi.board.vendor: MSI
dmi.board.version: 1.0
dmi.chassis.asset.tag: To be filled by O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: MSI
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrV1.12:bd02/15/2016:svnMSI:pnMS-7924:pvr1.0:rvnMSI:rnZ97M-G43(MS-7924):rvr1.0:cvnMSI:ct3:cvr1.0:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: MS-7924
dmi.product.version: 1.0
dmi.sys.vendor: MSI

Revision history for this message
Wade Menard (wade-ezri) wrote :
information type: Private → Public
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 handle_mount (filesystem=0x561009e74e00, invocation=0x7f800400b500, options=0x561009f49010) at udiskslinuxfilesystem.c:1447
 ffi_call_unix64 () at ../src/x86/unix64.S:76
 ffi_call (cif=cif@entry=0x7f7ffd7c5870, fn=fn@entry=0x561008f68270 <handle_mount>, rvalue=<optimized out>, avalue=avalue@entry=0x7f7ffd7c5780) at ../src/x86/ffi64.c:525
 g_cclosure_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
 g_closure_invoke (closure=0x561009ebfc40, return_value=0x7f7ffd7c5a40, n_param_values=3, param_values=0x7f7fe8002370, invocation_hint=0x7f7ffd7c5a20) at ../../../../gobject/gclosure.c:804

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in udisks2 (Ubuntu):
importance: Undecided → Medium
summary: - udisksd crashed with SIGSEGV in ffi_call_unix64()
+ udisksd crashed with SIGSEGV in handle_mount()
tags: removed: need-amd64-retrace
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.