Call for testing: OpenSSH-6.5
Hisashi T Fujinaka
htodd at twofifty.com
Thu Jan 23 12:13:13 EST 2014
On Wed, 22 Jan 2014, Hisashi T Fujinaka wrote:
> On Thu, 23 Jan 2014, Darren Tucker wrote:
>
>> On Thu, Jan 23, 2014 at 10:57 AM, Hisashi T Fujinaka <htodd at twofifty.com>
>> wrote:
>>> + /home/htodd/openssh/sshd -t -f '/home/htodd/openssh/regress/sshd_proxy'
>>> [1] Segmentation fault (core dumped) ${SSHD} -t -f ${...
>>
>> well there's the problem: sshd is segfaulting immediately on startup.
>>
>> I suspect this is fallout from the extra compiler hardening flags we
>> added recently. Could you rebuild with "./configure
>> --without-hardening --without-pie && make clean && make tests' and see
>> if that works?
>
> Looks like the exact same error. Let me try on a netbsd-6 machine to see
> if that works.
htodd at mara:~/openssh/regress > gdb ../sshd sshd.core
GNU gdb (GDB) 7.6.1
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64--netbsd".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/htodd/openssh/sshd...done.
[New process 1]
Core was generated by `sshd'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f7ff62a0603 in istrsenvisx (mbdst=0x7f7fffffbde0 "\rj\340R", dlen=0x7f7fffffbc88,
mbsrc=0x400 <Address 0x400 out of bounds>, mblength=0, flags=33, mbextra=0x7f7ff6310ee2 "", cerr_ptr=0x0)
at /usr/src/lib/libc/gen/vis.c:379
379 mblength = strlen(mbsrc);
(gdb) bt
#0 0x00007f7ff62a0603 in istrsenvisx (mbdst=0x7f7fffffbde0 "\rj\340R", dlen=0x7f7fffffbc88,
mbsrc=0x400 <Address 0x400 out of bounds>, mblength=0, flags=33, mbextra=0x7f7ff6310ee2 "", cerr_ptr=0x0)
at /usr/src/lib/libc/gen/vis.c:379
#1 0x00007f7ff62a11f8 in strnvis (mbdst=<optimized out>, dlen=140187732525536, mbsrc=<optimized out>, flags=<optimized out>)
at /usr/src/lib/libc/gen/vis.c:655
#2 0x0000000000439ec5 in do_log (level=SYSLOG_LEVEL_FATAL, fmt=<optimized out>, args=0x7f7fffffc630) at log.c:438
#3 0x0000000000438c15 in fatal (fmt=<optimized out>) at fatal.c:42
#4 0x000000000040a7c8 in main (ac=<optimized out>, av=<optimized out>) at sshd.c:1803
(gdb)
--
Hisashi T Fujinaka - htodd at twofifty.com
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte
More information about the openssh-unix-dev
mailing list