3 Bugs to Report: OpenSSH V1.2pre13

Damien Miller djm at mindrot.org
Tue Nov 23 10:45:00 EST 1999


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 22 Nov 1999, Robert Hardy wrote:

> > If you can be bothered, a gdb trace of problem #2 from the client and
> > server would be a godsend.
> 
> Ouch... That would mean running gdb on every connection pretty well 24/7
> for a week... Well OK if you tell me how to do it...

You wouldn't have to do that! Just  rebuild OpenSSH with debugging
enabled (CFLAGS=-g ./configure) and kill it with a SIGBUS when it hangs.

This should leave a corefile which you can extract a trace from using:

echo "bt" | gdb /path/to/program /path/to/core

- From the directory where the source is installed.

Also handy would be an strace of the process:

strace -o trace.file -p PID

(replace PID with the pid of the client or server).

Either of these would be great.

Thanks,
Damien

- --
| "Bombay is 250ms from New York in the new world order" - Alan Cox
| Damien Miller - http://www.mindrot.org/
| Email: djm at mindrot.org (home) -or- djm at ibs.com.au (work)


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE4OdWCormJ9RG1dI8RAg8cAJ9i/Lx4sciFju6GzAkvE+P6VwwLMACg01eb
thlppnng3uH8NiP3lkU1tbE=
=LQ9P
-----END PGP SIGNATURE-----






More information about the openssh-unix-dev mailing list