Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Mar 2012 20:14:19 -0400
From:      Michael Butler <imb@protected-networks.net>
To:        Glen Barber <gjb@FreeBSD.org>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: sudo through ssh broken on -current?
Message-ID:  <4F5D3FDB.1020700@protected-networks.net>
In-Reply-To: <20120312000750.GA1758@glenbarber.us>
References:  <4F5D3B56.4010702@protected-networks.net> <20120312000750.GA1758@glenbarber.us>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/11/12 20:07, Glen Barber wrote:
> On Sun, Mar 11, 2012 at 07:55:02PM -0400, Michael Butler wrote:
>> I noted some thing odd when executing the following ..
>>
>> /home/imb> ssh imb@xxxx "sudo /sbin/ipfw list"
>>
>> sudo: (malloc) /usr/src/lib/libc/stdlib/malloc.c:2644: Failed assertion:
>> "(run->regs_mask[elm] & (1U << bit)) == 0"
>> Abort
>>
>> Adding '-t' as a parameter to ssh runs without the assert,
>>
> 
> What is 'uname -a'?

client is FreeBSD 7.4-STABLE #11: Fri Mar  2 20:44:44 EST 2012
server is FreeBSD 10.0-CURRENT #23: Sun Mar 11 18:46:14 EDT 2012

Both are i386.

Another interesting point: if run as part of a script, with no
controlling tty, '-t' (or '-n', for that matter) produces the assertion :-(

	imb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (FreeBSD)

iEYEARECAAYFAk9dP9sACgkQQv9rrgRC1JIWvgCdFwQmf1rCCAW72NWir4U3+rWA
FjcAoJdZyk1TeWiRFYsvdw3L7Swy+9Xf
=fuQr
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F5D3FDB.1020700>