~simon/src/ssh/openssh-4.2p1/build-deb/sshd -D -ddd -p 23 gdb /home/simon/src/ssh/openssh-4.2p1/build-deb/sshd 24232 ./build-deb/ssh localhost -p 23
(gdb) bt #0 0x0fb1c8f4 in select () from /lib/tls/libc.so.6 #1 0x10008b14 in main (ac=5, av=0x10083050) at ../sshd.c:1402 (gdb) continue Continuing. Program received signal SIGSEGV, Segmentation fault. 0x0f2bb958 in ?? () (gdb) bt #0 0x0f2bb958 in ?? () #1 0x0f2bc1a0 in ?? () Previous frame identical to this frame (corrupt stack?) (gdb) bt #0 0x0f2bb958 in ?? () #1 0x0f2bc1a0 in ?? () strace -Ff -o /tmp/trace.sshd ~simon/src/ssh/openssh-4.2p1/build-deb/sshd -D -ddd -p 23 24283 read(7, "\r\0\0\222\2\1\2\0\215\0\2130\201\2101\v0\t\6\3U\4\6\23"..., 154) = 154 24283 --- SIGSEGV (Segmentation fault) @ 0 (0) --- 24285 <... read resumed> "", 4) = 0 24283 +++ killed by SIGSEGV +++ 24285 write(2, "debug1: do_cleanup\r\n", 20) = 20 24285 write(2, "debug1: PAM: cleanup\r\n", 22) = 22 24285 write(2, "debug3: PAM: sshpam_thread_clean"..., 45) = 45 24285 exit_group(255) = ? i haven't been able to run that particular sshd from within gdb yet, sorry. it keeps exiting with "Program exited normally" messages.... any info, or whatever, just ask. the package *i believe* is built with symbols in it.
pgpgWS6kLMfEC.pgp
Description: PGP signature