openssh gives segmentation fault

Aurelien Jacobs aurel at gnuage.org
Sun Mar 5 15:27:09 UTC 2006


On Sun, 05 Mar 2006 14:51:26 +0100
"theHog" <uclibc at t3i.nl> wrote:

> > On Mar 4, 2006, at 7:27 PM, theHog wrote:
> > 
> > > Hi,
> > >
> > > I've compiled a buildroot enviroment (standard setup via make  
> > > menuconfig) and
> > > included the openssh package. When I boot the system, I can bringup  
> > > the
> > > network and ping some hosts on the internet. However, ssh gives a
> > > segmentation fault (all ssh-related commands do: ssh-keygen, sshd,  
> > > ssh-add,
> > > ..) so it seems that there is something wrong with it. Other  
> > > packages (nano,
> > > vi, ifconfig) do work, though.
> > >
> > > What can be wrong here?
> > 
> > Try an strace to see where it dies.
> 
> strace is attached below.  I suppose that the segfault occurs on "ioctl(1,
> SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0".

I remember of a problem with a similar ioctl when trying to use wget.
Try adding the folling options to your uClibc config :

  UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
  UCLIBC_HAS_GLIBC_CUSTOM_STREAMS=y

Aurel



More information about the uClibc mailing list