Re: netstat segfault on -current

2013-12-25 Thread Chris Smith
On Mon, Dec 23, 2013 at 11:51 PM, Kenneth R Westerback
kwesterb...@gmail.com wrote:
 It is a real issue, due to errors I made replacing CIRCLEQ with TAILQ.

 A fix is being worked on, and a workaround probably sooner than that.

Looks like the recent updates have resolved the issue. Thanks!



Re: netstat segfault on -current

2013-12-24 Thread Chris Smith
On Mon, Dec 23, 2013 at 11:51 PM, Kenneth R Westerback
kwesterb...@gmail.com wrote:
 It is a real issue, due to errors I made replacing CIRCLEQ with TAILQ.

 A fix is being worked on, and a workaround probably sooner than that.

Thanks. I knew it wasn't a userland/kernel sync problem.



netstat segfault on -current

2013-12-23 Thread Chris Smith
Two systems running -current (x86_64) cannot run netstat:

OpenBSD 5.4-current (GENERIC.MP) #3: Sat Dec 21 17:05:25 EST 2013

# netstat
Segmentation fault



Re: netstat segfault on -current

2013-12-23 Thread slusk
On Mon, Dec 23, 2013 at 12:11:10PM -0500, Chris Smith wrote:
 Two systems running -current (x86_64) cannot run netstat:
 
 OpenBSD 5.4-current (GENERIC.MP) #3: Sat Dec 21 17:05:25 EST 2013
 
 # netstat
 Segmentation fault
 

Reproduced on my system as well, inet.c looks suspicious (with the last
update being just over 3 days old), worked fine earlier on the same
system.

OpenBSD 5.4-current (GENERIC.MP) #1: Sun Dec 22 11:59:53 CET 2013

-

VFEmail.net - http://www.vfemail.net
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the 
NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!  



Re: netstat segfault on -current

2013-12-23 Thread Alexey E. Suslikov
slusk slusk at manlymail.net writes:

 Reproduced on my system as well, inet.c looks suspicious (with the last
 update being just over 3 days old), worked fine earlier on the same
 system.
 
 OpenBSD 5.4-current (GENERIC.MP) #1: Sun Dec 22 11:59:53 CET 2013

blind guess - you have kernel and userland out of sync.



Re: netstat segfault on -current

2013-12-23 Thread Chris Smith
On Mon, Dec 23, 2013 at 5:10 PM, Alexey E. Suslikov
alexey.susli...@gmail.com wrote:
 blind guess - you have kernel and userland out of sync.

Not so.



Re: netstat segfault on -current

2013-12-23 Thread Alexey Suslikov
On Tue, Dec 24, 2013 at 12:16 AM, Chris Smith obsd_m...@chrissmith.org wrote:
 On Mon, Dec 23, 2013 at 5:10 PM, Alexey E. Suslikov
 alexey.susli...@gmail.com wrote:
 blind guess - you have kernel and userland out of sync.

 Not so.

It doesn't matter how so: ABI is either in sync, or it is out of sync (hence
the issue). cvs up and rebuild/reinstall netstat.



Re: netstat segfault on -current

2013-12-23 Thread Jérémie Courrèges-Anglas
Alexey Suslikov alexey.susli...@gmail.com writes:

 On Tue, Dec 24, 2013 at 12:16 AM, Chris Smith obsd_m...@chrissmith.org 
 wrote:
 On Mon, Dec 23, 2013 at 5:10 PM, Alexey E. Suslikov
 alexey.susli...@gmail.com wrote:
 blind guess - you have kernel and userland out of sync.

 Not so.

 It doesn't matter how so: ABI is either in sync, or it is out of sync (hence
 the issue). cvs up and rebuild/reinstall netstat.

This may very well be a real issue, not just another case of
out-of-sync.

-- 
jca | PGP: 0x06A11494 / 61DB D9A0 00A4 67CF 2A90  8961 6191 8FBF 06A1 1494



Re: netstat segfault on -current

2013-12-23 Thread Alexey Suslikov
On Tue, Dec 24, 2013 at 12:26 AM, Jérémie Courrèges-Anglas
j...@wxcvbn.org wrote:
 Alexey Suslikov alexey.susli...@gmail.com writes:

 On Tue, Dec 24, 2013 at 12:16 AM, Chris Smith obsd_m...@chrissmith.org 
 wrote:
 On Mon, Dec 23, 2013 at 5:10 PM, Alexey E. Suslikov
 alexey.susli...@gmail.com wrote:
 blind guess - you have kernel and userland out of sync.

 Not so.

 It doesn't matter how so: ABI is either in sync, or it is out of sync 
 (hence
 the issue). cvs up and rebuild/reinstall netstat.

 This may very well be a real issue, not just another case of
 out-of-sync.

... but *first* cvs up and rebuild/reinstall netstat, right?



Re: netstat segfault on -current

2013-12-23 Thread Kenneth R Westerback
On Tue, Dec 24, 2013 at 12:31:56AM +0200, Alexey Suslikov wrote:
 On Tue, Dec 24, 2013 at 12:26 AM, Jirimie Courrhges-Anglas
 j...@wxcvbn.org wrote:
  Alexey Suslikov alexey.susli...@gmail.com writes:
 
  On Tue, Dec 24, 2013 at 12:16 AM, Chris Smith obsd_m...@chrissmith.org 
  wrote:
  On Mon, Dec 23, 2013 at 5:10 PM, Alexey E. Suslikov
  alexey.susli...@gmail.com wrote:
  blind guess - you have kernel and userland out of sync.
 
  Not so.
 
  It doesn't matter how so: ABI is either in sync, or it is out of sync 
  (hence
  the issue). cvs up and rebuild/reinstall netstat.
 
  This may very well be a real issue, not just another case of
  out-of-sync.
 
 ... but *first* cvs up and rebuild/reinstall netstat, right?
 

It is a real issue, due to errors I made replacing CIRCLEQ with TAILQ.

A fix is being worked on, and a workaround probably sooner than that.

 Ken