udisks-daemon when trying to erase media crashed with signal 5 in g_realloc()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udisks (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
1) lsb_release -rd
Description: Ubuntu 12.10
Release: 12.10
2) apt-cache policy usb-creator-gtk
usb-creator-gtk:
Installed: 0.2.40ubuntu1
Candidate: 0.2.40ubuntu1
Version table:
*** 0.2.40ubuntu1 0
500 http://
100 /var/lib/
3) What is expected to happen is when one types at a terminal:
usb-creator-gtk
highlight the SanDisk Cruzer Blade (/dev/sdb1) -> click button Erase Disk -> button Yes -> type in credentials and the USB disk is erased.
4) What happens instead is a window pops up noting:
org.freedesktop
Then immediately click the button Open and crashes consistently.
WORKAROUND: Erase/Format via gparted.
apt-cache policy gparted
gparted:
Installed: 0.12.1-1
Candidate: 0.12.1-1
Version table:
*** 0.12.1-1 0
500 http://
100 /var/lib/
sudo lsusb -v
[CUT]
Bus 002 Device 005: ID 0781:5567 SanDisk Corp. Cruzer Blade
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0781 SanDisk Corp.
idProduct 0x5567 Cruzer Blade
bcdDevice 1.00
iManufacturer 1 SanDisk
iProduct 2 Cruzer Blade
iSerial 3 2005355082076CB
bNumConfigura
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurat
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 200mA
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 2
bInterfac
bInterfac
bInterfac
iInterface 0
Endpoint Descriptor:
bLength 7
Transfer Type Bulk
Synch Type None
Usage Type Data
bInterval 0
Endpoint Descriptor:
bLength 7
Transfer Type Bulk
Synch Type None
Usage Type Data
bInterval 1
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigura
Device Status: 0x0000
(Bus Powered)
ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: udisks 1.0.4-6
ProcVersionSign
Uname: Linux 3.5.0-17-generic i686
ApportVersion: 2.6.1-0ubuntu9
Architecture: i386
CheckboxSubmission: 30b6638832e1972
CheckboxSystem: 2954e74ba17fb0e
Date: Wed Dec 19 10:25:02 2012
ExecutablePath: /usr/lib/
InstallationDate: Installed on 2012-06-11 (191 days ago)
InstallationMedia: Xubuntu 12.04 "Precise Pangolin" - Alpha i386 (20120131.1)
MachineType: Acer Aspire 5750
MarkForUpload: True
ProcCmdline: /usr/lib/
ProcEnviron:
ProcKernelCmdLine: BOOT_IMAGE=
Signal: 5
SourcePackage: udisks
StacktraceTop:
g_realloc () from /lib/i386-
?? () from /lib/i386-
g_string_
g_string_
?? ()
Title: udisks-daemon crashed with signal 5 in g_realloc()
UpgradeStatus: Upgraded to quantal on 2012-09-14 (95 days ago)
UserGroups:
dmi.bios.date: 03/16/2012
dmi.bios.vendor: Acer
dmi.bios.version: V1.20
dmi.board.
dmi.board.name: JE50_HR
dmi.board.vendor: Acer
dmi.board.version: Base Board Version
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.
dmi.modalias: dmi:bvnAcer:
dmi.product.name: Aspire 5750
dmi.product.
dmi.sys.vendor: Acer
Changed in udisks (Ubuntu): | |
status: | New → Triaged |
description: | updated |
tags: | added: raring |
Changed in udisks (Ubuntu): | |
importance: | Medium → Low |
information type: | Private → Public |
summary: |
- udisks-daemon crashed with signal 5 in g_realloc() + udisks-daemon when trying to erase media crashed with signal 5 in + g_realloc() |
tags: | added: amd64 saucy trusty |
This happens in trusty but not exactly as described.
The crash only occurs if one attempts to create the startup disk *before* s-d-c has 'acknowledged' that the deleting of an existing partition on the drive is completed.
The issue is that it never does reach that point even though the the delete process has in fact been done
described here /bugs.launchpad .net/ubuntu/ +source/ usb-creator/ +bug/1273925
https:/