Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 4 product line. The current stable release is 4.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 442863

Summary: install exits abnormally
Product: Red Hat Enterprise Linux 4 Reporter: Alexander Todorov <atodorov>
Component: anacondaAssignee: Chris Lumens <clumens>
Status: CLOSED ERRATA QA Contact: Alexander Todorov <atodorov>
Severity: high Docs Contact:
Priority: low    
Version: 4.7CC: dmach, jlaska, rwilliam
Target Milestone: betaKeywords: TestBlocker
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2008-0653 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-07-24 19:06:18 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
tty3 / xen pv guest none

Description Alexander Todorov 2008-04-17 08:57:40 UTC
Description of problem:
Installer exits in loader (I think).

Version-Release number of selected component (if applicable):
anaconda-10.1.1.85-1
TREE: RHEL4-U7-re20080416.0a

How reproducible:
100%

Steps to Reproduce:
1. Boot the installer (I'm using kickstart file)
2.
3.
  
Actual results:
Installer exits

Expected results:
Installer proceeds to stage2 and the install completes

Additional info:
On the console I see:
install exited abnormally -- received signal 11  

then it unmounts file systems and is ready to be shut off or rebooted.

Comment 2 Chris Lumens 2008-04-17 09:54:44 UTC
What's the last thing you see on tty3?

Comment 3 Alexander Todorov 2008-04-17 10:53:38 UTC
Created attachment 302734 [details]
tty3 / xen pv guest

on tty1 I noticed: 
*** glibc detected *** free(): invalid pointer: 0x0000007fbfffac60 ***
install exited abnormally -- received signal 6

^^^ this is different from the original (on bare metal) which said received
signal 11

Comment 4 Chris Lumens 2008-04-17 14:43:18 UTC
Assuming your two segfaults are the same thing and not two completely different
problems, we have a one line fix in hand:

diff --git a/loader2/modules.c b/loader2/modules.c
index ccbf914..844c94e 100644
--- a/loader2/modules.c
@@ -652,7 +665,6 @@ static int removeHostAdapter(char *conf, char *name) {
 
         if (ret || strncmp(buf, "alias scsi_hostadapter", 22)) {
             fputs(buf, out);
-            free(buf);
             continue;
         }
 

+++ b/loader2/modules.c


Comment 5 Chris Lumens 2008-04-17 14:44:19 UTC
Ignore the horrible formatting there, but you see what's going on.

Comment 6 Alexander Todorov 2008-04-17 14:53:30 UTC
Chris,
if you provide an updates.img I can test it tomorrow morning. 

Comment 7 Chris Lumens 2008-04-17 15:00:23 UTC
Updates images don't work for testing problems in the loader, which is what this is.

Comment 11 errata-xmlrpc 2008-07-24 19:06:18 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2008-0653.html