Call for testing: OpenSSH 6.7

Tom Christensen tgc at jupiterrise.com
Thu Aug 21 07:20:28 EST 2014


On 20/08/14 05:50, Damien Miller wrote:
> On Tue, 19 Aug 2014, Jeff Wieland wrote:
>
>> Damien Miller wrote:
>>> regress/unittests/sshbuf/test_sshbuf -v
>>
>> All I get is:
>>
>> Segmentation Fault(coredump)

I'm seeing the same on Solaris 9 with gcc 4.9.1 and openssl 1.0.1i.

>
> Does the ssh (or other) binaries dump core too?
>
Only the test_sshbuf and test_sshkey binaries dump core for me, 
ssh-keygen and ssh run.

> Can you attach a debugger to it and see where it crashes?
>

$ gdb test_sshbuf core
GNU gdb (GDB) 7.8
<..boilerplate..>
Reading symbols from test_sshbuf...done.
[New LWP 1]
Core was generated by `./test_sshbuf'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0xfedb4b14 in strlen () from /usr/lib/libc.so.1
(gdb) bt
#0  0xfedb4b14 in strlen () from /usr/lib/libc.so.1
#1  0xfee07a20 in _doprnt () from /usr/lib/libc.so.1
#2  0xfee095e0 in printf () from /usr/lib/libc.so.1
#3  0x00023e7c in main (argc=1, argv=0xffbfec24) at 
regress/unittests/test_helper/test_helper.c:141
(gdb) f 3
#3  0x00023e7c in main (argc=1, argv=0xffbfec24) at 
regress/unittests/test_helper/test_helper.c:141
141                     printf("%s: ", __progname);
(gdb) p __progname
$1 = 0x0
(gdb)

test_helper.c should probably use ssh_get_progname() from bsd-misc.c.

-tgc


More information about the openssh-unix-dev mailing list