[Bug 1302762] Re: gpartedbin crashed with SIGSEGV in _int_free()
Yu Ning
ning.yu at canonical.com
Fri Apr 11 11:16:08 UTC 2014
The crash can also be reproduced even without an real device, replace
/dev/sdc with a normal file name, such as './block', can also reproduce
it.
Here is the crash output from parted:
WARNING: you are attempting to use parted to operate on (mkpartfs) a file system.
parted's file system manipulation code is not as robust as what you'll find in
dedicated, file-system-specific packages like e2fsprogs. We recommend
you use parted only to manipulate partition tables, whenever possible.
Support for performing most operations on most types of file systems
will be removed in an upcoming release.
Backtrace has 9 calls on stack:
9: /lib/x86_64-linux-gnu/libparted.so.0(ped_assert+0x31) [0x7f9823b0b4b1]
8: /lib/x86_64-linux-gnu/libparted.so.0(+0x25cc3) [0x7f9823b21cc3]
7: /lib/x86_64-linux-gnu/libparted.so.0(fat_create+0x189) [0x7f9823b24f49]
6: /lib/x86_64-linux-gnu/libparted.so.0(ped_file_system_create+0x51) [0x7f9823b0cef1]
5: parted() [0x409cbc]
4: parted(non_interactive_mode+0x8f) [0x40dc5f]
3: parted(main+0x146d) [0x4064ed]
2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f98232e8ec5]
1: parted() [0x406617]
You found a bug in GNU Parted! Here's what you have to do:
Don't panic! The bug has most likely not affected any of your data.
Help us to fix this bug by doing the following:
Check whether the bug has already been fixed by checking
the last version of GNU Parted that you can find at:
http://ftp.gnu.org/gnu/parted/
Please check this version prior to bug reporting.
If this has not been fixed yet or if you don't know how to check,
please visit the GNU Parted website:
http://www.gnu.org/software/parted
for further information.
Your report should contain the version of this release (2.3)
along with the error message below, the output of
parted DEVICE unit co print unit s print
and the following history of commands you entered.
Also include any additional information about your setup you
consider important.
Assertion (bs != NULL) at ../../../../libparted/fs/fat/bootsector.c:282
in function fat_boot_sector_set_boot_code() failed.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to parted in Ubuntu.
https://bugs.launchpad.net/bugs/1302762
Title:
gpartedbin crashed with SIGSEGV in _int_free()
Status in “parted” package in Ubuntu:
Fix Released
Status in “parted” source package in Trusty:
Fix Released
Status in “parted” package in Debian:
Fix Released
Bug description:
crashes as soon as it appears followins password entry
ProblemType: Crash
DistroRelease: Ubuntu 14.04
Package: gparted 0.18.0-1
ProcVersionSignature: Ubuntu 3.13.0-23.45-generic 3.13.8
Uname: Linux 3.13.0-23-generic x86_64
ApportVersion: 2.14-0ubuntu1
Architecture: amd64
Date: Fri Apr 4 19:23:15 2014
ExecutablePath: /usr/sbin/gpartedbin
InstallationDate: Installed on 2014-04-04 (0 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140115)
ProcCmdline: /usr/sbin/gpartedbin
SegvAnalysis:
Segfault happened at: 0x7f3d389b1f6f <_int_free+527>: cmp 0x18(%rax),%r13
PC (0x7f3d389b1f6f) ok
source "0x18(%rax)" (0xbcd08e1000b912) not located in a known VMA region (needed readable region)!
destination "%r13" ok
Stack memory exhausted (SP below stack segment)
SegvReason: reading unknown VMA
Signal: 11
SourcePackage: gparted
StacktraceTop:
_int_free (av=0x7f3d1c000020, p=<optimised out>, have_lock=0) at malloc.c:3996
ped_exception_catch () from /lib/x86_64-linux-gnu/libparted.so.0
ped_exception_throw () from /lib/x86_64-linux-gnu/libparted.so.0
fat_boot_sector_read () from /lib/x86_64-linux-gnu/libparted.so.0
fat_probe () from /lib/x86_64-linux-gnu/libparted.so.0
Title: gpartedbin crashed with SIGSEGV in _int_free()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/1302762/+subscriptions
More information about the foundations-bugs
mailing list