gpartedbin crashed with SIGABRT in g_assertion_message()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GParted |
Expired
|
Critical
|
|||
gparted (Ubuntu) |
Fix Released
|
Critical
|
Unassigned | ||
Utopic |
Won't Fix
|
Critical
|
Brian Murray |
Bug Description
[Impact]
Program crashes or otherwise has erratic behavior when applying operations due to a cross thread write after free that was introduced in this upstream release. Upstream has already applied this fix after others discovered the issue and verified the fix.
[Test Case]
Apply various operations to disk, such as resizing and moving filesystems. Sometimes it works, sometimes it crashes. The original report below is an example of one way in which it may crash.
[Regression Potential]
Minimal; patch already upstream.
I'm working with vfat.
ProblemType: Crash
DistroRelease: Ubuntu 14.10
Package: gparted 0.19.0-1build1
ProcVersionSign
Uname: Linux 3.16.0-18-generic x86_64
ApportVersion: 2.14.7-0ubuntu2
Architecture: amd64
Date: Tue Sep 30 20:35:28 2014
ExecutablePath: /usr/sbin/
InstallationDate: Installed on 2014-09-25 (5 days ago)
InstallationMedia: Ubuntu-GNOME 14.10 "Utopic Unicorn" - Alpha amd64 (20140923)
ProcCmdline: /usr/sbin/
Signal: 6
SourcePackage: gparted
StacktraceTop:
g_assertion_
g_assertion_
g_main_
?? () from /lib/x86_
g_main_loop_run () from /lib/x86_
Title: gpartedbin crashed with SIGABRT in g_assertion_
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
Related branches
- Brian Murray: Approve
-
Diff: 485 lines (+390/-11)8 files modified.pc/0001-Prevent-cross-thread-write-after-free-in-_OnReadable.patch/include/PipeCapture.h (+49/-0)
.pc/0001-Prevent-cross-thread-write-after-free-in-_OnReadable.patch/src/PipeCapture.cc (+111/-0)
.pc/applied-patches (+1/-0)
debian/changelog (+8/-0)
debian/patches/0001-Prevent-cross-thread-write-after-free-in-_OnReadable.patch (+215/-0)
debian/patches/series (+1/-0)
include/PipeCapture.h (+0/-1)
src/PipeCapture.cc (+5/-10)
information type: | Private → Public |
Changed in gparted: | |
importance: | Unknown → Critical |
status: | Unknown → New |
Changed in gparted: | |
status: | New → Incomplete |
Changed in gparted (Ubuntu): | |
status: | Confirmed → In Progress |
importance: | Medium → Critical |
Changed in gparted: | |
status: | Incomplete → Expired |
Changed in gparted (Ubuntu Utopic): | |
assignee: | nobody → Brian Murray (brian-murray) |
description: | updated |
Maybe this bug is fixed in the latest 0.19.1 version:
GParted 0.19.1 (2014-07-15) Release Notes
This release of GParted includes a critical bug fix for a potential crash. The crash is rare, but if the crash happens while applying operations then data loss might occur. Also included are language translation updates.
Key changes include:
Prevent crash caused by cross thread write after free in _OnReadable()
Bug Fixes
Prevent cross thread write after free in _OnReadable() (#731752)