Bug 64155 - fdisk -> delete partition -> Segmentation fault
Summary: fdisk -> delete partition -> Segmentation fault
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: util-linux
Version: 7.2
Hardware: i686
OS: Linux
high
high
Target Milestone: ---
Assignee: Elliot Lee
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-04-26 18:13 UTC by Need Real Name
Modified: 2005-10-31 22:00 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-06-28 17:27:48 UTC
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2002-04-26 18:13:45 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; T312461)

Description of problem:
Impossible to delete some partitions.

[root@echelon hdc1]# fdisk /dev/hdb
Advertencia: demasiadas particiones (16, el valor mC!ximo es 8).

Comando (m para obtener ayuda): p

Disco /dev/hdb: 64 cabezales, 63 sectores, 525 cilindros
Unidades = cilindros de 4032 * 512 bytes


16 particiones:
#       start       end      size     fstype   [fsize bsize   cpg]
  a:        1       203       203     4.2BSD     1024  8192    16
  b:      204       268        65       swap
  c:        1      2100      2100     unused        0     0
  d:      269       634       366     4.2BSD     1024  8192    16
  e:      635       675        41     4.2BSD     1024  8192    16

Comando (m para obtener ayuda): d
Numero de particion (1-4): 4
Segmentation fault
[root@echelon root]#


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.fdisk /dev/hdb over a disk with 4.2bsd partitions
2.
3.
	

Actual Results:  core dump

Additional info:

Package utils-linux seems to be correct.
# rpm -V util-linux-2.11f-17
.M....G.   /usr/bin/chfn

Comment 1 Need Real Name 2002-04-28 23:10:00 UTC
Reset partition info with Partition Magic 4.0 and create a ext2 partition for 
all disk  with PQ Magic 4 too. 
Then I reset to linux again and here is the result:

[root@echelon root]# fdisk /dev/hdb
Advertencia: demasiadas particiones (16, el valor maximo es 8).

Comando (m para obtener ayuda): p

Disco /dev/hdb: 64 cabezales, 63 sectores, 525 cilindros
Unidades = cilindros de 4032 * 512 bytes


16 particiones:
#       start       end      size     fstype   [fsize bsize   cpg]
  a:        1       203       203     4.2BSD     1024  8192    16
  b:      204       268        65       swap
  c:        1      2100      2100     unused        0     0
  d:      269       634       366     4.2BSD     1024  8192    16
  e:      635       675        41     4.2BSD     1024  8192    16


I am viewing the same info!!! Incredible

But here is something more strange, as I told before I create a unique ext 2 
partition for all disk (1Gb)..

[root@echelon root]# mount /dev/hdb1 /mnt/red1/
[root@echelon root]#

Ups! no error!!

[root@echelon root]# mount
[...]
/dev/hdb1 on /mnt/red1 type ext2 (rw)

WHAAAAT?
I can't understand anything. :/


Comment 2 Elliot Lee 2002-06-20 15:38:13 UTC
Need a way to reliably reproduce


Note You need to log in before you can comment on or make changes to this bug.