openssh gives segmentation fault

theHog uclibc at t3i.nl
Sun Mar 5 17:11:27 UTC 2006


----- Oorspronkelijk bericht -----
From: Aurelien Jacobs <aurel at gnuage.org>
To: uclibc at uclibc.org
Date: 05-Mar-2006 16:27
Subject: Re: openssh gives segmentation fault

> 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

These options are enabled, still ssh crashes :-( Does anyone have openssh
working on a i686?

Richard




More information about the uClibc mailing list