[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: parted coredump when partition incorrect
From: |
Jim Meyering |
Subject: |
Re: parted coredump when partition incorrect |
Date: |
Sat, 24 Aug 2013 17:43:09 -0700 |
Thanks for the additional test. If you can reproduce such a failure
with parted-3.1 (or better still, with the latest from git, built from
source), then I would be very interested to be able to reproduce/debug
it.
On Sun, Aug 18, 2013 at 11:37 PM, 刘雨亮 <address@hidden> wrote:
> Hi,
> Thank you for your reply.
> Same problem found when i try to use parted-3.0
>
> address@hidden parted]# ./parted -s /dev/sdg u s p
> Backtrace has 14 calls on stack:
> 14: /root/parted-3.0/libparted/.libs/libparted.so.1(ped_assert+0x45)
> [0x7fa4526924e5]
> 13:
> /root/parted-3.0/libparted/.libs/libparted.so.1(ped_geometry_read+0xac)
> [0x7fa452698abc]
> 12:
> /root/parted-3.0/libparted/.libs/libparted.so.1(ped_geometry_read_alloc+0x54)
> [0x7fa452698b34]
> 11: /root/parted-3.0/libparted/.libs/libparted.so.1(nilfs2_probe+0x6e)
> [0x7fa4526a0f9e]
> 10:
> /root/parted-3.0/libparted/.libs/libparted.so.1(ped_file_system_probe_specific+0x43)
> [0x7fa4526938e3]
> 9:
> /root/parted-3.0/libparted/.libs/libparted.so.1(ped_file_system_probe+0x50)
> [0x7fa4526939b0]
> 8: /root/parted-3.0/libparted/.libs/libparted.so.1 [0x7fa4526a2fa3]
> 7: /root/parted-3.0/libparted/.libs/libparted.so.1 [0x7fa4526a31a5]
> 6: /root/parted-3.0/libparted/.libs/libparted.so.1(ped_disk_new+0x55)
> [0x7fa452697a45]
> 5: /root/parted-3.0/parted/.libs/lt-parted [0x4058b0]
> 4: /root/parted-3.0/parted/.libs/lt-parted(non_interactive_mode+0x82)
> [0x40b392]
> 3: /root/parted-3.0/parted/.libs/lt-parted(main+0x1d4) [0x407be4]
> 2: /lib64/tls/libc.so.6(__libc_start_main+0xdb) [0x302af1c4bb]
> 1: /root/parted-3.0/parted/.libs/lt-parted [0x404c7a]
> Aborted (core dumped)
>
>
> 2013/8/15 Jim Meyering <address@hidden>
>>
>> Thank you for the report.
>> parted version 2.4 is very old. I suggest you update to a newer
>> version, since many bugs (probably including that one) have been fixed
>> since then. The latest version is 3.1.
>>
>> On Wed, Aug 14, 2013 at 2:32 AM, 刘雨亮 <address@hidden> wrote:
>> > Problem: parted coredump when partition incorrect.
>> > parted version : 2.4
>> > OS: Red Hat Enterprise Linux AS release 4 (Nahant Update 3)
>> > Kernel: 2.6.32
>> > Description:
>> > address@hidden ~]# parted -s /dev/sdg u s p
>> > Backtrace has 14 calls on stack:
>> > 14: parted(ped_assert+0x45) [0x413635]
>> > 13: parted(ped_geometry_read+0x96) [0x41a276]
>> > 12: parted(ped_geometry_read_alloc+0x54) [0x41a2e4]
>> > 11: parted(nilfs2_probe+0x6e) [0x4210de]
>> > 10: parted(ped_file_system_probe_specific+0x43) [0x4148c3]
>> > 9: parted(ped_file_system_probe+0x5b) [0x41498b]
>> > 8: parted [0x429a53]
>> > 7: parted [0x429c45]
>> > 6: parted(ped_disk_new+0x55) [0x419325]
>> > 5: parted [0x40c56f]
>> > 4: parted(non_interactive_mode+0x82) [0x412f42]
>> > 3: parted(main+0x64) [0x410454]
>> > 2: /lib64/tls/libc.so.6(__libc_start_main+0xdb) [0x302af1c4bb]
>> > 1: parted [0x40abfa]
>> > Aborted (core dumped)
>> >
>> > Try using fdisk to figure out
>> > address@hidden ~]# fdisk -l /dev/sdg
>> > Disk /dev/sdg: 1000.2 GB, 1000204886016 bytes
>> > 255 heads, 63 sectors/track, 121601 cylinders
>> > Units = cylinders of 16065 * 512 = 8225280 bytes
>> >
>> > Device Boot Start End Blocks Id System
>> > /dev/sdg1 1 121601 976760001 83 Linux
>> > /dev/sdg2 121602 121602 0+ 83 Linux
>> > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>> > Disk information:
>> > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>> > === START OF INFORMATION SECTION ===
>> > Model Family: Seagate Constellation ES (SATA)
>> > Device Model: ST31000524NS
>> > Serial Number: 9WK0XEJY
>> > LU WWN Device Id: 5 000c50 0269c1ae1
>> > Firmware Version: SN11
>> > User Capacity: 1,000,204,886,016 bytes [1.00 TB]
>> > Sector Size: 512 bytes logical/physical
>> >
>> >
>
>
>
>
> --
> Best Regards!
> 雨亮