Bug 442863 - install exits abnormally
install exits abnormally
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: anaconda (Show other bugs)
4.7
All Linux
low Severity high
: beta
: ---
Assigned To: Chris Lumens
Alexander Todorov
: TestBlocker
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-04-17 04:57 EDT by Alexander Todorov
Modified: 2008-07-24 15:06 EDT (History)
3 users (show)

See Also:
Fixed In Version: RHBA-2008-0653
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-07-24 15:06:18 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
tty3 / xen pv guest (23.37 KB, image/png)
2008-04-17 06:53 EDT, Alexander Todorov
no flags Details

  None (edit)
Description Alexander Todorov 2008-04-17 04:57:40 EDT
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 05:54:44 EDT
What's the last thing you see on tty3?
Comment 3 Alexander Todorov 2008-04-17 06:53:38 EDT
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 10:43:18 EDT
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 10:44:19 EDT
Ignore the horrible formatting there, but you see what's going on.
Comment 6 Alexander Todorov 2008-04-17 10:53:30 EDT
Chris,
if you provide an updates.img I can test it tomorrow morning. 
Comment 7 Chris Lumens 2008-04-17 11:00:23 EDT
Updates images don't work for testing problems in the loader, which is what this is.
Comment 11 errata-xmlrpc 2008-07-24 15:06:18 EDT
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

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