Nautilus crashes whenever I attempt to format a USB with a partition table

Bug #1853783 reported by Seija K.
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Whenever I attempt to format a USB I previous used for a live install back into a regular FAT disk, nautilus reports "gtk_widget_set_visible: assertion 'GTK_IS_WIDGET (widget)' failed
Trace/breakpoint trap (core dumped)" and then crashes.

I ran "ubuntu-bug nautilus" right after I clicked the Format button, right before the crash itself.

To reproduce the issue:
1. Insert an ubuntu live usb
2. Open Files
3. Right-click on the USB
4. Select Format
5. If the format menu appears, click the red format button

Expected Results:
Either the USB partitions are cleared and the entire disk is formatted to be FAT (preferred), or if that is not an option, Files should warn me it has a partition table and close instead of opening the Format Menu and then crashing later.

Actual Results:
Gnome-Disks alerts the USB cannot be formatted, and then nautilus crashes.

Description: Ubuntu 19.10
Release: 19.10

nautilus
nautilus:
  Installed: 1:3.34.1-1ubuntu1
  Candidate: 1:3.34.1-1ubuntu1
  Version table:
 *** 1:3.34.1-1ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu eoan/main amd64 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: nautilus 1:3.34.1-1ubuntu1
ProcVersionSignature: Ubuntu 5.3.0-23.25-generic 5.3.7
Uname: Linux 5.3.0-23-generic x86_64
ApportVersion: 2.20.11-0ubuntu8.2
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sun Nov 24 17:05:22 2019
GsettingsChanges:
 b'org.gnome.nautilus.window-state' b'sidebar-width' b'260'
 b'org.gnome.nautilus.preferences' b'default-folder-viewer' b"'list-view'"
InstallationDate: Installed on 2019-11-20 (4 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: nautilus
UpgradeStatus: No upgrade log present (probably fresh install)
usr_lib_nautilus:

Revision history for this message
Seija K. (rose128) wrote :
Revision history for this message
Seija K. (rose128) wrote :
Revision history for this message
Seija K. (rose128) wrote :
Revision history for this message
Seija K. (rose128) wrote :

This issue occurred at around 5:12 PM, EDT, on November 24, 2019.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It sounds like some part of the system has crashed. To help us find the cause of the crash please follow these steps:

1. Look in /var/crash for crash files and if found run:
    ubuntu-bug YOURFILE.crash
Then tell us the ID of the newly-created bug.

2. If step 1 failed then look at https://errors.ubuntu.com/user/ID where ID is the content of file /var/lib/whoopsie/whoopsie-id on the machine. Do you find any links to recent problems on that page? If so then please send the links to us.

3. If step 2 also failed then apply the workaround from bug 994921, reboot, reproduce the crash, and retry step 1.

Please take care to avoid attaching .crash files to bugs as we are unable to process them as file attachments. It would also be a security risk for yourself.

Changed in nautilus (Ubuntu):
importance: Undecided → Low
status: New → Invalid
Revision history for this message
Seija K. (rose128) wrote :

I did. The new ID is 1853850

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks!

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.