Bug 220336

Summary: Netstat segfaults
Product: Red Hat Enterprise Linux 4 Reporter: Anand <anandab>
Component: net-toolsAssignee: Radek Vokál <rvokal>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.4   
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: 2008-08-27 07:49:41 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
Netstat Core file none

Description Anand 2006-12-20 14:58:15 UTC
Description of problem:
Netstat segfaults

Version-Release number of selected component (if applicable):
Name        : net-tools                    Relocations: (not relocatable)
Version     : 1.60                              Vendor: Red Hat, Inc.
Release     : 37.EL4.8                      Build Date: Wed 07 Jun 2006 03:45:41
AM PDT
Install Date: Fri 11 Aug 2006 12:56:02 AM PDT      Build Host:
hs20-bc1-5.build.redhat.com
Group       : System Environment/Base       Source RPM:
net-tools-1.60-37.EL4.8.src.rpm
Size        : 733833                           License: GPL
Signature   : DSA/SHA1, Wed 07 Jun 2006 07:43:52 AM PDT, Key ID 219180cddb42a60e
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Summary     : Basic networking tools.


How reproducible:
/bin/netsat

Steps to Reproduce:
1. running netstat in a shell window as root
2.
3.
  
Actual results:
etstat
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State
Segmentation fault


Expected results:


Additional info:
I have installed RedHat GFS and Cluster suite as well on these machines. All of
the machines in the cluster suffer from this.

Comment 1 Radek Vokál 2006-12-20 15:21:02 UTC
Can you please install debuginfo package and give me the core dump. Also it
would be better if you go to our support with this issue first. 

Comment 2 Anand 2006-12-20 15:38:33 UTC
According to up2date there is not package called debuginfo. 
Also how would I go about contacting support ? 


Comment 3 Radek Vokál 2006-12-20 15:57:44 UTC
I guess you need to set RHN for debuginfo packages somehow... well, that's what
support is for. Use your customer login and password

https://www.redhat.com/apps/support/



Comment 4 Anand 2007-01-16 20:57:36 UTC
I am sorry, but can someone please tell me where I can get the rpms so I can
download and install them either from up2date or just put it into Bugzilla here.
I can't seem to find a way to get the packages to resolve this ticket. I
enebaled up2date in debug and no such luck. 
-Anand 

Comment 6 Radek Vokál 2007-02-01 14:27:36 UTC
or you might try up2date install net-tools-debuginfo

Comment 7 Radek Vokál 2007-02-01 14:34:31 UTC
ok, the correct answer is different. There are no debuginfo packages in RHN for
RHEL4 so you need to install the debuginfo package by hand from one of the ftp
mirrors

ftp://ftp.redhat.com/pub/redhat/linux/enterprise/4/en/os/



Comment 8 Anand 2007-02-01 18:08:22 UTC
I installed the net-tools-debuginfo. Now what do I need to run to get this to
give  a core dump?


Comment 9 Radek Vokál 2007-02-01 18:17:19 UTC
run
$ulimit -c unlimited
$nestat

and send me the .core file you will get when netstat segfaults.



Comment 10 Anand 2007-02-01 19:04:59 UTC
Created attachment 147129 [details]
Netstat Core file 

Netstat core file

Comment 11 Anand 2007-02-15 21:23:53 UTC
Any update ont eh status of this?
-Ananda 

Comment 12 Radek Vokál 2007-05-22 13:33:07 UTC
Hi Anand, can you please try rebuilding net-tools from Fedora devel. I believe
the issue I saw there with multiple interfaces will fix your issue as well.

Comment 13 Anand 2007-05-22 18:11:38 UTC
Actually one of our sys-admins found a bad entry in the nsswitch.conf file.
We believe the entry 
   services: files nis 
was wrong and changing it to 
   services: files 
then restarting ypbind fixed the issue.
fixed the issue. 


Looks like when netstast runs it reads the services line and sees nis and it
remains in an unfinished state. 
-Anand

Comment 14 Radek Vokál 2007-05-23 13:46:02 UTC
Hmm, even with this line in nsswitch.conf and ypbind/ypserv running on localhost
I can't reproduce the crash.

Comment 15 Radek Vokál 2007-05-23 13:56:07 UTC
Are there any other changes in you nsswitch.conf file? Also you yp.conf file
might be useful for me.

Comment 16 Anand 2007-06-22 00:19:31 UTC
This might be an issue with our ypservers.