Bug 575390

Summary: installer hangs while resizing swap partition
Product: [Fedora] Fedora Reporter: Steve Tyler <stephent98>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: anaconda-maint-list, hdegoede, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-22 09:48:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
anaconda-13.35-hang-1.tgz
none
screenshot-anaconda-13.35-hang-1.jpg
none
anaconda-13.35-hang-2.tgz none

Description Steve Tyler 2010-03-20 13:41:10 UTC
Description of problem:
While doing a custom disk layout, the installer hung.

I had configured a root partition and a swap partition. The swap partition was 510 MB, but I decided to shrink it to 500 MB using the fixed-size option. The installer hung with the OK button depressed. After switching to a console and back, the installer window was completely white.

Version-Release number of selected component (if applicable):
13:06:23,799 INFO loader: anaconda version 13.35 on x86_64 starting
F13-Beta Net installer on CDRW

How reproducible:
Haven't tried.

Steps to Reproduce:
1. See above.
  
Actual results:

Expected results:

Additional info:
Logs to follow.

Comment 1 Steve Tyler 2010-03-20 13:57:19 UTC
Created attachment 401434 [details]
anaconda-13.35-hang-1.tgz

$ tar -cva -f anaconda-13.35-hang-1.tgz anaconda-13.35-hang-1/

$ tar -tvf anaconda-13.35-hang-1.tgz
drwxr-xr-x root/root         0 2010-03-20 06:23 anaconda-13.35-hang-1/
-rw-r--r-- root/root     40602 2010-03-20 06:19 anaconda-13.35-hang-1/program.log
-rw-r--r-- root/root     47845 2010-03-20 06:21 anaconda-13.35-hang-1/X.log
-rw-r--r-- root/root      7621 2010-03-20 06:20 anaconda-13.35-hang-1/anaconda.log
-rw-r--r-- root/root       345 2010-03-20 06:07 anaconda-13.35-hang-1/anaconda-yum.conf
-rw-r--r-- root/root       235 2010-03-20 06:06 anaconda-13.35-hang-1/libuser.iBKdSB
-rw-r--r-- root/root    217390 2010-03-20 06:20 anaconda-13.35-hang-1/storage.log
-rw-r--r-- root/root     20480 2010-03-20 06:07 anaconda-13.35-hang-1/storage.state
-rw-r--r-- root/root     58326 2010-03-20 06:22 anaconda-13.35-hang-1/syslog

Comment 2 Steve Tyler 2010-03-20 14:11:10 UTC
After rebooting into F12:

[stephent@walnut ~]$ sudo fdisk -l /dev/sdb

Disk /dev/sdb: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xff3d5e55

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1          13      104391   83  Linux
/dev/sdb2              14        4418    35383162+  8e  Linux LVM
/dev/sdb3            4419        4802     3082399   83  Linux
/dev/sdb4            4802        4866      512000    5  Extended
/dev/sdb5            4802        4866      510976   82  Linux swap / Solaris
[stephent@walnut ~]$ sudo e2fsck -nv /dev/sdb3
e2fsck 1.41.9 (22-Aug-2009)
/dev/sdb3: clean, 74218/192768 files, 468516/770599 blocks
[stephent@walnut ~]$

Comment 3 Steve Tyler 2010-03-20 14:35:39 UTC
Created attachment 401443 [details]
screenshot-anaconda-13.35-hang-1.jpg

Reproduced it ... screenshot while hung.

Comment 4 Steve Tyler 2010-03-20 14:48:54 UTC
Created attachment 401449 [details]
anaconda-13.35-hang-2.tgz

Logs after second hang ...

Approx. steps to reproduce:

Select custom disk layout
Delete pre-existing sdb3 (ext4), sdb5 (swap)
Create "/", ext4, fixed size, 3000 MB
Create swap to fill remaining.
Note swap is sdb5, 510 MB.
Edit swap to be a fixed size of 500 MB.
Press OK.
Hangs. Cursor is responsive. Consoles are functional.

Comment 5 Hans de Goede 2010-03-22 09:48:44 UTC
This is very likely a dup of bug 567576, which is a pyparted bug which causes
memory corruption, after which anaconda gets stuck into a segfault loop.

Please re-open if this if you are still seeing this after bug 567576 is fixed.

*** This bug has been marked as a duplicate of bug 567576 ***