[Bug 796891] Re: parted_server crashed with SIGABRT in __kernel_vsyscall()

Bug Watch Updater 796891 at bugs.launchpad.net
Sat Oct 28 01:23:36 UTC 2017


Launchpad has imported 25 comments from the remote bug at
https://bugzilla.redhat.com/show_bug.cgi?id=714758.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2011-06-20T15:51:22+00:00 Flos wrote:

abrt version: 1.1.18
architecture: i686
Attached file: backtrace, 7325 bytes
cmdline: partprobe
component: parted
Attached file: coredump, 536576 bytes
crash_function: ped_assert
executable: /sbin/partprobe
kernel: 2.6.35.13-91.fc14.i686
package: parted-2.3-4.fc14
rating: 4
reason: Process /sbin/partprobe was killed by signal 6 (SIGABRT)
release: Fedora release 14 (Laughlin)
time: 1308572008
uid: 0

How to reproduce
-----
after i modify my partition table, use partprobe to sync my hard disk, core dumped...

my system:
FC14

my partition table:
# fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x4d74c238

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63      610469      305203+  83  Linux
/dev/sda2          610470   123491654    61440592+  83  Linux
/dev/sda3       123491655   184924214    30716280    c  W95 FAT32 (LBA)
/dev/sda4       184924215   625137344   220106565    f  W95 Ext'd (LBA)
/dev/sda5       184924278   287322524    51199123+   7  HPFS/NTFS
/dev/sda6       287322588   389720834    51199123+   7  HPFS/NTFS
/dev/sda7       389720898   408147389     9213246   af  HFS / HFS+
/dev/sda8   *   408147453   469579949    30716248+  af  HFS / HFS+
/dev/sda9       469580013   475716779     3068383+  82  Linux swap / Solaris
/dev/sda10      475716843   625137344    74710251   83  Linux

Reply at:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/796891/comments/5

------------------------------------------------------------------------
On 2011-06-20T15:51:26+00:00 Flos wrote:

Created attachment 505654
File: backtrace

Reply at:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/796891/comments/6

------------------------------------------------------------------------
On 2011-07-22T15:37:55+00:00 Brian wrote:

What does the output of parted -l show?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/796891/comments/7

------------------------------------------------------------------------
On 2011-09-21T16:20:25+00:00 Flos wrote:

Package: parted-2.3-4.fc14
Architecture: i686
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1. parted->print->crashed!
2.
3.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/796891/comments/8

------------------------------------------------------------------------
On 2011-09-21T16:22:41+00:00 Flos wrote:

Hi Brian,

[root at localhost ~]# parted -l
Backtrace has 17 calls on stack:
  17: /lib/libparted.so.0(ped_assert+0x2b) [0x813bbb]
  16: /lib/libparted.so.0(ped_geometry_read+0x11f) [0x81d67f]
  15: /lib/libparted.so.0(hfsplus_probe+0x424) [0x83dfb4]
  14: /lib/libparted.so.0(ped_file_system_probe_specific+0x6e) [0x81562e]
  13: /lib/libparted.so.0(ped_file_system_probe+0x81) [0x815741]
  12: /lib/libparted.so.0() [0x84cf0b]
  11: /lib/libparted.so.0() [0x84d027]
  10: /lib/libparted.so.0() [0x84d027]
  9: /lib/libparted.so.0() [0x84d027]
  8: /lib/libparted.so.0() [0x84cf6d]
  7: /lib/libparted.so.0() [0x84d540]
  6: /lib/libparted.so.0(ped_disk_new+0x75) [0x81bc95]
  5: parted() [0x804c68b]
  4: parted() [0x804d7a8]
  3: parted(main+0x1971) [0x8052871]
  2: /lib/libc.so.6(__libc_start_main+0xe6) [0x435e36]
  1: parted() [0x804bb91]
已放弃 (core dumped)

---
Flos

Reply at:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/796891/comments/9

------------------------------------------------------------------------
On 2011-09-21T16:28:58+00:00 Flos wrote:

BTW: even creating partition interfaces of anaconda gui or console setup
of F14 or F13 have the same problem.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/796891/comments/10

------------------------------------------------------------------------
On 2011-09-21T16:31:28+00:00 Flos wrote:

Created attachment 524242
first 512B of my hardisk

first 512 Bytes of my Hardisk(/dev/sda)

Reply at:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/796891/comments/11

------------------------------------------------------------------------
On 2011-09-21T16:32:16+00:00 Flos wrote:

[root at localhost ~]# fdisk -l /dev/sda

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x4d74c238

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63      610469      305203+  83  Linux
/dev/sda2          610470   123491654    61440592+  83  Linux
/dev/sda3       123491655   184924214    30716280    c  W95 FAT32 (LBA)
/dev/sda4       184924215   625137344   220106565    f  W95 Ext'd (LBA)
/dev/sda5       184924278   287322524    51199123+   7  HPFS/NTFS
/dev/sda6       287322588   389720834    51199123+   7  HPFS/NTFS
/dev/sda7       389720898   408147389     9213246   eb  BeOS fs
/dev/sda8   *   408147453   469579949    30716248+  af  HFS / HFS+
/dev/sda9       469580013   475716779     3068383+  82  Linux swap / Solaris
/dev/sda10      475716843   625137344    74710251   83  Linux
[root at localhost ~]#

Reply at:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/796891/comments/12

------------------------------------------------------------------------
On 2011-09-21T17:00:05+00:00 Brian wrote:

The backtrace looks like the one that shows up when there is a very
short partition (< 8 block) but I see that all of yours are nowhere near
that small. Thanks for the additional info.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/796891/comments/13

------------------------------------------------------------------------
On 2011-10-06T16:03:09+00:00 Brian wrote:

Could you give this scratch build a try?

http://koji.fedoraproject.org/koji/taskinfo?taskID=3409804

The hfs probe code looks like it checks the size of the partition pretty
well, but there were a few spots where device-supplied values, if they
were wrong, could result in negative values.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/796891/comments/14

------------------------------------------------------------------------
On 2011-10-07T17:05:23+00:00 Flos wrote:

Hi,

very good! it seems the problem has gone! :D i rebuild the SRPM in my Fedora 14 successfully. here is my result:
-----------------------------------
[xx at xx]sudo yum-builddep parted-3.0-3.fc17.src.rpm 
总下载量:221 k
Installed size: 461 k
确定吗?[y/N]:y
下载软件包:
(1/3): device-mapper-devel-1.02.63-2.fc14.i686.rpm                                                    |  94 kB     00:01     
(2/3): libblkid-devel-2.18-4.8.fc14.i686.rpm                                                          |  60 kB     00:01     
(3/3): libudev-devel-161-10.fc14.i686.rpm                                                             |  67 kB     00:00     
-----------------------------------------------------------------------------------------------------------------------------
总计                                                                                          47 kB/s | 221 kB     00:04     
运行 rpm_check_debug 
执行事务测试
事务测试成功
执行事务
  正在安装       : libudev-devel-161-10.fc14.i686                                                                        1/3 
  正在安装       : device-mapper-devel-1.02.63-2.fc14.i686                                                               2/3 
  正在安装       : libblkid-devel-2.18-4.8.fc14.i686                                                                     3/3 

已安装:
  device-mapper-devel.i686 0:1.02.63-2.fc14                        libblkid-devel.i686 0:2.18-4.8.fc14                       

作为依赖被安装:
  libudev-devel.i686 0:161-10.fc14                                                                                           

完毕!

[xx at xx]$ rpmbuild --rebuild parted-3.0-3.fc17.src.rpm
...
Checking for unpackaged file(s): /usr/lib/rpm/check-files /pub/RPM_build/BUILDROOT/parted-3.0-3.fc17.i386
Wrote: /pub/RPM_build/RPMS/i686/parted-3.0-3.fc14.i686.rpm
Wrote: /pub/RPM_build/RPMS/i686/parted-devel-3.0-3.fc14.i686.rpm
Wrote: /pub/RPM_build/RPMS/i686/parted-debuginfo-3.0-3.fc14.i686.rpm
...

[root at localhost i686]# ls
compat-wireless-debuginfo-2011_08_27-1.fc14.i686.rpm  kmod-compat-wireless-2.6.39-1.fc14.3.i686.rpm
compat-wireless-debuginfo-2011_08_27-3.fc14.i686.rpm  mldonkey
compat-wireless-debuginfo-2.6.39-1.fc14.3.i686.rpm    paco-1.10.12-4.fc14.i686.rpm
ghex-2.24.0-5.fc14.i686.rpm                           paco-debuginfo-1.10.12-4.fc14.i686.rpm
ghex-debuginfo-2.24.0-5.fc14.i686.rpm                 paco-gpaco-1.10.12-4.fc14.i686.rpm
ghex-devel-2.24.0-5.fc14.i686.rpm                     parted-3.0-3.fc14.i686.rpm
guitone-1.0-0.1.rc4.fc12.i686.rpm                     parted-debuginfo-3.0-3.fc14.i686.rpm
guitone-debuginfo-1.0-0.1.rc4.fc12.i686.rpm           parted-devel-3.0-3.fc14.i686.rpm
kmod-compat-wireless-2011_08_27-1.fc14.i686.rpm       reiserfs-utils-3.6.21-2.fc14.i686.rpm
kmod-compat-wireless-2011_08_27-3.fc14.i686.rpm       reiserfs-utils-debuginfo-3.6.21-2.fc14.i686.rpm

[root at localhost i686]# rpm -e parted
error: Failed dependencies:
	libparted.so.0 is needed by (installed) udisks-1.0.2-4.fc14.i686
	libparted.so.0 is needed by (installed) pyparted-3.4-5.fc14.i686

[root at localhost i686]# rpm -e parted --nodeps

[root at localhost i686]# rpm -Uvh parted-3.0-3.fc14.i686.rpm 
Preparing...                ########################################### [100%]
   1:parted                 ########################################### [100%]
[root at localhost i686]# rpm -Uvh parted-debuginfo-3.0-3.fc14.i686.rpm 
Preparing...                ########################################### [100%]
   1:parted-debuginfo       ########################################### [100%]
[root at localhost i686]# parted -v
parted (GNU parted) 3.0
Copyright (C) 2011 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.

Written by <http://git.debian.org/?p=parted/parted.git;a=blob_plain;f=AUTHORS>.
[root at localhost i686]# parted -l
Model: ATA WDC WD3200AAJS-0 (scsi)
Disk /dev/sda: 320GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type      File system     标志
 1      32.3kB  313MB   313MB   primary   ext4
 2      313MB   63.2GB  62.9GB  primary   ext4
 3      63.2GB  94.7GB  31.5GB  primary   fat32           lba
 4      94.7GB  320GB   225GB   extended                  lba
 5      94.7GB  147GB   52.4GB  logical   ntfs
 6      147GB   200GB   52.4GB  logical   ntfs
 7      200GB   209GB   9434MB  logical   hfs+
 8      209GB   240GB   31.5GB  logical                   启动
 9      240GB   244GB   3142MB  logical   linux-swap(v1)
10      244GB   320GB   76.5GB  logical   reiserfs


[root at localhost i686]# 

-----------------------------------

BTW, hfs reminds me that i did install a Kalyway 10.5.2 MacOSX on my
computer(CPU: Pentuim4). maybe it wrote something in its partition...

Reply at:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/796891/comments/15

------------------------------------------------------------------------
On 2011-10-07T17:09:49+00:00 Flos wrote:

but it seems that parted cannot recognize filesystem of the 8th
partition, which can be show by fdisk. and the 7th should be BeOS?

-----------------------------------
[root at localhost i686]# fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x4d74c238

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63      610469      305203+  83  Linux
/dev/sda2          610470   123491654    61440592+  83  Linux
/dev/sda3       123491655   184924214    30716280    c  W95 FAT32 (LBA)
/dev/sda4       184924215   625137344   220106565    f  W95 Ext'd (LBA)
/dev/sda5       184924278   287322524    51199123+   7  HPFS/NTFS
/dev/sda6       287322588   389720834    51199123+   7  HPFS/NTFS
/dev/sda7       389720898   408147389     9213246   eb  BeOS fs
/dev/sda8   *   408147453   469579949    30716248+  af  HFS / HFS+
/dev/sda9       469580013   475716779     3068383+  82  Linux swap / Solaris
/dev/sda10      475716843   625137344    74710251   83  Linux

Reply at:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/796891/comments/16

------------------------------------------------------------------------
On 2011-10-07T17:17:11+00:00 Flos wrote:

and i have another small request, could this fix be ported to Fedora 16? because  parted of any previous version cannot be run on my computer by anaconda. :P
Thanks !!!

Reply at:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/796891/comments/17

------------------------------------------------------------------------
On 2011-10-07T17:20:14+00:00 Brian wrote:

Thanks for testing this. I think I'd classify that as a new bug (not
detecting BeOS correctly).

Reply at:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/796891/comments/18

------------------------------------------------------------------------
On 2011-10-08T01:02:53+00:00 Flos wrote:

that's ok. since this bug has been fixed, should i change the STATUS to
CLOSED or wait others to confirm it?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/796891/comments/19

------------------------------------------------------------------------
On 2011-10-10T16:18:02+00:00 Brian wrote:

It will get closed when I submit an update for F14. Thanks.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/796891/comments/20

------------------------------------------------------------------------
On 2011-10-11T18:31:44+00:00 Fedora wrote:

parted-3.0-3.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/parted-3.0-3.fc16

Reply at:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/796891/comments/21

------------------------------------------------------------------------
On 2011-10-12T03:08:58+00:00 Flos wrote:

get it, thanks!

Reply at:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/796891/comments/22

------------------------------------------------------------------------
On 2011-10-14T20:17:34+00:00 Fedora wrote:

parted-2.3-11.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/parted-2.3-11.fc15

Reply at:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/796891/comments/23

------------------------------------------------------------------------
On 2011-10-14T23:01:56+00:00 Fedora wrote:

parted-2.3-5.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/parted-2.3-5.fc14

Reply at:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/796891/comments/24

------------------------------------------------------------------------
On 2011-10-15T20:28:21+00:00 Fedora wrote:

Package parted-2.3-5.fc14:
* should fix your issue,
* was pushed to the Fedora 14 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing parted-2.3-5.fc14'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-14410
then log in and leave karma (feedback).

Reply at:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/796891/comments/25

------------------------------------------------------------------------
On 2011-10-16T00:56:35+00:00 Fedora wrote:

parted-3.0-3.fc16 has been pushed to the Fedora 16 stable repository.
If problems still persist, please make note of it in this bug report.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/796891/comments/26

------------------------------------------------------------------------
On 2011-11-05T20:13:56+00:00 Jim wrote:

FYI, I applied that patch upstream and added a test:

http://thread.gmane.org/gmane.comp.gnu.parted.bugs/10535/focus=10594

Reply at:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/796891/comments/27

------------------------------------------------------------------------
On 2011-12-04T02:41:26+00:00 Fedora wrote:

parted-2.3-5.fc14 has been pushed to the Fedora 14 stable repository.
If problems still persist, please make note of it in this bug report.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/796891/comments/28

------------------------------------------------------------------------
On 2011-12-04T02:45:58+00:00 Fedora wrote:

parted-2.3-11.fc15 has been pushed to the Fedora 15 stable repository.
If problems still persist, please make note of it in this bug report.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/796891/comments/29


** Changed in: parted (Fedora)
       Status: Unknown => Fix Released

** Changed in: parted (Fedora)
   Importance: Unknown => High

-- 
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/796891

Title:
  parted_server crashed with SIGABRT in __kernel_vsyscall()

Status in parted package in Ubuntu:
  Fix Released
Status in parted package in Fedora:
  Fix Released

Bug description:
  Binary package hint: ubiquity

  Crash every time i try to run either Gparted or ubiquity, some error
  about gpt partition in the HDD...

  ProblemType: Crash
  DistroRelease: Ubuntu 11.04
  Package: ubiquity 2.6.10
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic i686
  Architecture: i386
  Date: Mon Jun 13 20:47:31 2011
  ExecutablePath: /bin/parted_server
  LiveMediaBuild: Xubuntu 11.04 "Natty Narwhal" - Release i386 (20110427)
  ProcCmdline: parted_server
  ProcEnviron:
   LANGUAGE=en_US:en
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  Signal: 6
  SourcePackage: ubiquity
  StacktraceTop:
   __kernel_vsyscall ()
   raise () from /lib/i386-linux-gnu/libc.so.6
   abort () from /lib/i386-linux-gnu/libc.so.6
   ped_assert () from /lib/libparted.so.0
   ped_geometry_read () from /lib/libparted.so.0
  Title: parted_server crashed with SIGABRT in __kernel_vsyscall()
  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/796891/+subscriptions



More information about the foundations-bugs mailing list