On Fri, 18 Apr 2008, Ian jonhson wrote:

> I got a segment fault. It seems in a child process which calls the PAM
> authentication.
> But I have no idea how to locate the bug.
>

At what moment did you get a segmentation fault? What is in the strace log up
to the moment of a child crash?
>
>
> On Fri, Mar 21, 2008 at 12:20 AM, Peter Stuge
> wrote:
> > On Thu, Mar 20, 2008 at 01:04:52PM +0800, qin an wrote:
> > > If I run with -d, all is OK. However, when I run sshd in
> > > daemon, it clashed. I don't know how to collect the debug
> > > information in this case.

> >
> > On Linux you can use strace:
> >
> > ps $(pidof sshd)
> >
> > and then
> >
> > strace -fFs 256 -o output.txt put_proper_pid_here
> >
> > Do the connection, then send Ctrl-C to strace. It will exit.
> >
> >

--

Sincerely Your, Dan.

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/li...enssh-unix-dev