gnome-disks crashes when trying to create 3000 GB LUKS Ext4 partition

Bug #1566908 reported by Daniel Kessel
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-disk-utility (Ubuntu)
New
Undecided
Unassigned

Bug Description

I created a GPT volume on the disk, and tried to create a 3000 GB LUKS Ext4 partition, leaving 1 GB at the end of the disk empty (at least that is what the tool showed).

After entering the details and clicking "Create", gnome-disks crashes.

ProblemType: Crash
DistroRelease: Ubuntu 16.04
Package: gnome-disk-utility 3.18.3.1-1ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-16.32-generic 4.4.6
Uname: Linux 4.4.0-16-generic x86_64
ApportVersion: 2.20.1-0ubuntu1
Architecture: amd64
CurrentDesktop: XFCE
Date: Wed Apr 6 16:58:08 2016
ExecutablePath: /usr/bin/gnome-disks
InstallationDate: Installed on 2015-02-05 (425 days ago)
InstallationMedia: Xubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20150205)
ProcCmdline: gnome-disks
ProcEnviron:
 LANGUAGE=de_DE
 PATH=(custom, user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SegvAnalysis:
 Segfault happened at: 0x7f0f721cbc9f <g_dbus_object_get_interface+15>: mov (%rbx),%rdi
 PC (0x7f0f721cbc9f) ok
 source "(%rbx)" (0x00000000) not located in a known VMA region (needed readable region)!
 destination "%rdi" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: gnome-disk-utility
StacktraceTop:
 g_dbus_object_get_interface () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
 udisks_object_peek_drive () from /usr/lib/x86_64-linux-gnu/libudisks2.so.0
 gdu_window_select_object ()
 ?? ()
 ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
Title: gnome-disks crashed with SIGSEGV in g_dbus_object_get_interface()
UpgradeStatus: Upgraded to xenial on 2016-02-12 (54 days ago)
UserGroups: adm autopilot cdrom dialout dip kvm libvirtd lpadmin plugdev sambashare sudo

Revision history for this message
Daniel Kessel (dkessel) wrote :
description: updated
Revision history for this message
Apport retracing service (apport) wrote : This bug is a duplicate

Thank you for taking the time to report this crash and helping to make this software better. This particular crash has already been reported and is a duplicate of bug #1547340, so is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

information type: Private → Public
tags: removed: need-amd64-retrace
Revision history for this message
Perlover (perlover) wrote :

Hi,

I have Linux Mint 18.3 (it's based on Ubuntu 16.04)
I am about UDisks 2.1.7 (gnome-disks)

When i try to make LUKS partition in USB flash drive (SSD Samsung 1Tb) i regulary got crash
When i run from 'root' (sudo -H gnome-disks) user i got crash again but i have core file. I got backtrace there and it's:

sudo gdb -c core /usr/bin/gnome-disks
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/gnome-disks...(no debugging symbols found)...done.
[New LWP 11930]
[New LWP 11933]
[New LWP 11932]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `gnome-disks'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007fa6796fad6f in g_dbus_object_get_interface () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
[Current thread is 1 (Thread 0x7fa67c7e6a40 (LWP 11930))]
(gdb) bt
#0 0x00007fa6796fad6f in g_dbus_object_get_interface () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#1 0x00007fa67b5ec1a3 in udisks_object_peek_drive () from /usr/lib/x86_64-linux-gnu/libudisks2.so.0
#2 0x0000000000421458 in gdu_window_select_object ()
#3 0x000000000042bee6 in ?? ()
#4 0x00007fa679694b43 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#5 0x00007fa6796951ee in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6 0x00007fa6796ef1bb in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#7 0x00007fa679694b43 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#8 0x00007fa6796951ee in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#9 0x00007fa6796e3b4a in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#10 0x00007fa679694b43 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#11 0x00007fa679694b79 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#12 0x00007fa6790f304a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007fa6790f33f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007fa6790f349c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007fa6796bad7d in g_application_run () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#16 0x0000000000414bb6 in main ()
(gdb)

I hope this will help to understand this bug and to patch it. It's annoying users (i am sure) :( I cannot make partition through standard utility of disks for Linux Mint.

Perlover

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.