Re: openssh-portable segmentation faults

2013-02-08 Thread Dimitry Andric
On 2013-02-08 00:28, Konstantin Belousov wrote: On Fri, Feb 08, 2013 at 12:16:40AM +0100, Dimitry Andric wrote: ... I guess a similar approach as take in the above thread should be taken, e.g. rename the function in the port to openbsd_strnvis(), and have the port call that. Or use macro trick

Re: openssh-portable segmentation faults

2013-02-07 Thread Bryan Drewery
On 2/7/2013 5:50 PM, Dimitry Andric wrote: > On 2013-02-08 00:16, Dimitry Andric wrote: >> On 2013-02-07 22:14, Dewayne Geraghty wrote: >> ... >>> Bryan, Dimitry, >>> Thank-you for your interest. >>> Unfortunately we have no debugging tools on any of the machines. I'll >>> build one today and repro

Re: openssh-portable segmentation faults

2013-02-07 Thread Bryan Drewery
On 2/7/2013 5:16 PM, Dimitry Andric wrote: > On 2013-02-07 22:14, Dewayne Geraghty wrote: > ... >> Bryan, Dimitry, >> Thank-you for your interest. >> Unfortunately we have no debugging tools on any of the machines. I'll >> build one today and reproduce. > > I have reproduced the segfault here: >

Re: openssh-portable segmentation faults

2013-02-07 Thread Dimitry Andric
On 2013-02-08 00:16, Dimitry Andric wrote: On 2013-02-07 22:14, Dewayne Geraghty wrote: ... Bryan, Dimitry, Thank-you for your interest. Unfortunately we have no debugging tools on any of the machines. I'll build one today and reproduce. ... Executive summary: we recently imported a strnvis()

Re: openssh-portable segmentation faults

2013-02-07 Thread Konstantin Belousov
On Fri, Feb 08, 2013 at 12:16:40AM +0100, Dimitry Andric wrote: > This is exactly the same problem as reported in this thread about > the security/pam_ssh_agent_auth port (rather long, beware): > >http://lists.freebsd.org/pipermail/freebsd-stable/2013-January/071703.html > > Executive summary

Re: openssh-portable segmentation faults

2013-02-07 Thread Dimitry Andric
On 2013-02-07 22:14, Dewayne Geraghty wrote: ... Bryan, Dimitry, Thank-you for your interest. Unfortunately we have no debugging tools on any of the machines. I'll build one today and reproduce. I have reproduced the segfault here: Starting program: /usr/ports/security/openssh-portable/work

RE: openssh-portable segmentation faults

2013-02-07 Thread Dewayne Geraghty
> -Original Message- > From: Bryan Drewery [mailto:bdrew...@freebsd.org] > Sent: Friday, 8 February 2013 1:00 AM > To: Dewayne > Cc: po...@freebsd.org > Subject: Re: openssh-portable segmentation faults > > On 2/7/2013 5:59 AM, Dewayne wrote: > > Would it

Re: openssh-portable segmentation faults

2013-02-07 Thread Bryan Drewery
On 2/7/2013 5:59 AM, Dewayne wrote: > Would it be possible if someone with a FreeBSD 9.1Stable system built after > 2-Feb could build and run openssh-portable. > For what it's worth, I am planning to upgrade this very soon to a newer release. I haven't seen these general crashes yet. A debug tr

Re: openssh-portable segmentation faults

2013-02-07 Thread Dimitry Andric
On 2013-02-07 12:59, Dewayne wrote:... Example: # /usr/bin/ssh -vvv localhost OpenSSH_5.8p2-hpn13v11 FreeBSD-openssh-portable-5.8.p2_3,1, OpenSSL 1.0.1d 5 Feb 2013 Segmentation fault (core dumped) # /usr/sbin/sshd Segmentation fault Can you get backtraces for those segfaults, please? Prefera