republican-creole
Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Tech and Talk » OS and Software » All Things Unix » netstat segmentation fault
Search Topic:
Uniqs:
495
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.  
AuthorAll Replies


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

reply to justin
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.


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

Host:
IPv6
Business Connectiv..
Home/Office setup ..
Console/Handheld g..
Console Tech
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.
Forums » Tech and Talk » OS and Software » All Things UnixMailserver Statistics Shell Script »
« OS X client, linux server, samba pain.  


Friday, 27-Nov 20:58:10 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.
page compression OFF
Most commented news this week
· [121] Time Warner Cable Fires Broadside At Broadcasters
· [112] New AT&T Ad Campaign Hits Back At Verizon
· [95] Apple Joins AT&T Verizon Snark Fest
· [87] New Bill Takes Aim At Higher Verizon ETFs
· [70] TiVo Sees Record Customer Losses
· [68] In-Flight Internet Headed For Bumpy Landing?
· [61] Verizon CEO: Hulu Will Be Dead Soon
· [60] Thanksgiving Open Thread
· [38] EFF Wages War On Fine Print
· [38] ICANN Slams DNS Redirection
Most people now reading
· Windows 7 boot manager editing questions [Microsoft Help]
· 3.x Feral Druid - Bear Tanking Guide [World of Warcraft]
· Newegg Black Friday Sale started [Users Find Hot Deals]
· ToC 4th boss - Preliminary Strategy for Twin Valkyr [World of Warcraft]
· [ PVP] 3.2 DK PvP D/W Spec... [World of Warcraft]
· 5 hour energy for diabetic [General Questions]
· Leveling to 85 [World of Warcraft]
· [ Classes] Druid tanking: rotation and glyphs [World of Warcraft]
· [Newsgroups] Newzleech down? [Filesharing Software]