sshd crash

Diane Bruce db at db.net
Sun Nov 3 14:13:55 UTC 2013


On Sat, Nov 02, 2013 at 10:39:53AM -0500, Diane Bruce wrote:
...
> > > If I recall correctly, it started up when the malloc libc symbols
> > > were changed.  That may have altered what malloc implementation
> > > sshd used.
> > > 
> > > So it could be a long-standing stray write that jemalloc just
> > > happens to detect.
> > > 
> > > It could also be related to locking (there's some multi-threaded
> > > crypto code in sshd that may be involved).
...
> 
> http://svnweb.freebsd.org/base?view=revision&revision=250991
> > 
> 
> When jemalloc was turned on for userland. There existed an older malloc
> (also by jasone)
> 
> /usr/src/lib/libc/stdlib/malloc.c

I made a rushed mistake here. What happens is there is a simple 
version of malloc in libexec/rtld-elf that gets used if jemalloc is
not used. This version works fine.

/*
 * malloc.c (Caltech) 2/21/82
 * Chris Kingsley, kingsley at cit-20.

...

- Diane
-- 
- db at FreeBSD.org db at db.net http://www.db.net/~db


More information about the freebsd-arm mailing list