Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Tech and Talk » OS and Software » All Things Unix » netstat segmentation fault
Uniqs:
505
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
Mailserver Statistics Shell Script »
« OS X client, linux server, samba pain.  

justin
Australian
join:1999-05-28
Brooklyn, NY

Host:
IPv6
Business Connectiv..
Home/Office setup ..
Console/Handheld g..
Console Tech

netstat segmentation fault

Is this still the current net-tools?

»www.tazenda.demon.co.uk/phil/net-tools/

Because version 1.60 netstat segmentation faults on more than one of our boxes, and the way I fix it is to edit netstat.c and change "int inode" to "unsigned int inode" in the three places that is used, and recompile.

It coredumps because the hash function hashes a negative inode number to a negative hash array number.

I'm writing this because I spent quite a while googling for the problem and while I saw a number of posts complaining about core dumping netstat I never saw a post explaining the reason.

BeesTea
Network Janitor
Premium,VIP
join:2003-03-08
00000

Re: netstat segmentation fault

It is the most recent. There's a few patches out there that distros are applying though. Some for 2.6 systems, gcc3.4 and some others.

Perhaps the problem you're seeing is fixed by one of those.
--
Captain of the ATU Tux Racer Clan.
Forums » Tech and Talk » OS and Software » All Things UnixMailserver Statistics Shell Script »
« OS X client, linux server, samba pain.  


Sunday, 06-Dec 03:08:01 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.republican-creole
page compression OFF
Most commented news this week
· [163] Comcast Releasing Promised Usage Meter
· [147] Avast Antivirus Has Gone Mad
· [128] Comcast Makes NBC Universal Acquisition Official
· [123] The Bandwidth Hog Does Not Exist
· [105] Graduate Student Unveils Sprint's GPS Sharing With Feds
· [101] Google Invades ISP, OpenDNS Turf With Google Public DNS
· [85] FCC Ponders Moving From PSTN To IP Voice
· [82] Latest Consumer Reports Survey Not Kind To AT&T
· [80] New Bill Aims To Limit ETFs
· [75] Sprint Defuses GPS Privacy Media Bomb
Most people now reading
· False positive in Avast! or is it real? [Security]
· 3.x Feral Druid - Bear Tanking Guide [World of Warcraft]
· Wife might have to work in.... Iowa for a few months!!! [General Questions]
· Using AirMax to provide triple play services? [Wireless Service Providers]
· Connecting to Google Voice Via SIP [VOIP Tech Chat]
· [How to] Install Asterisk on an Asus WL-520GU router [VOIP Tech Chat]
· What is the spell hit cap for a lvl 80 full arcane spec mage [World of Warcraft]
· Windows 7 boot manager editing questions [Microsoft Help]
· Blue Ray: Samsung BD-P3600 or LG BD390 [Audio/Video Chat]
· Many Sites Unreachable [Rogers]