[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
1.6.5pre1: segmentation fault in disk_sync_part_table
From: |
Sven Hartrumpf |
Subject: |
1.6.5pre1: segmentation fault in disk_sync_part_table |
Date: |
Thu, 30 Jan 2003 12:37:21 +0100 (CET) |
Hi again.
I see reproducable crashes for 1.6.5-pre1 (I think 1.6.3 crashes similarly).
For example, the following:
(parted has been configured like this:
./configure --prefix=/programs/free/parted-1.6.5-pre1 --enable-all-static
OS: SuSE GNU/Linux 7.2, I386, kernel 2.4.20-rc1 )
(gdb) run
Starting program: /programs/linux/parted-1.6.5-pre1/sbin/parted
GNU Parted 1.6.5-pre1
Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
Using /dev/hde
Information: The operating system thinks the geometry on /dev/hde is
5005/255/63. Therefore, cylinder 1024 ends at 8032.499M.
(parted) p
Disk geometry for /dev/hde: 0.000-39266.718 megabytes
Disk label type: msdos
Minor Start End Type Filesystem Flags
1 0.031 101.975 primary ext2 boot
3 2157.166 12401.740 primary ext2
4 12401.741 39260.412 primary ext2
(parted) mkpart extended 102 2157
Program received signal SIGSEGV, Segmentation fault.
0x0806f63a in _disk_sync_part_table ()
(gdb) bt
#0 0x0806f63a in _disk_sync_part_table ()
#1 0x0806f829 in linux_disk_commit ()
#2 0x08055d4a in ped_disk_commit_to_os ()
#3 0x08055f02 in ped_disk_commit ()
#4 0x080494d8 in do_mkpart ()
#5 0x0804848a in command_run ()
#6 0x0804ee56 in interactive_mode ()
#7 0x0804c322 in main ()
#8 0x080a075c in __libc_start_main (main=0x804c2a4 <main>, argc=1,
ubp_av=0xbffff1f4, init=0x80480b4 <_init>, fini=0x80e9fe0 <_fini>,
rtld_fini=0, stack_end=0xbffff1ec) at ../sysdeps/generic/libc-start.c:129
(gdb)
The space where I put the extended partition comes from a primary partition
(linux-swap) that I deleted with "rm" (this swap space was not used any more,
checked with swapon -s). BTW: the "rm" was successful but crashed similarly
to "mkpart".
After restart I get
(parted) p
Disk geometry for /dev/hde: 0.000-39266.718 megabytes
Disk label type: msdos
Minor Start End Type Filesystem Flags
1 0.031 101.975 primary ext2 boot
2 101.975 2157.165 extended
3 2157.166 12401.740 primary ext2
4 12401.741 39260.412 primary ext2
(parted)
and I hope that everything is fine.
Ciao
Sven
- 1.6.5pre1: segmentation fault in disk_sync_part_table,
Sven Hartrumpf <=