Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugs at busybox.net <bugs@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [buildroot 0000967]: SEGV when running openssh
Date: Mon, 24 Sep 2007 02:04:20 -0700	[thread overview]
Message-ID: <4be9d595decf1902b8c3d2a262d13824@busybox.net> (raw)


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=967 
====================================================================== 
Reported By:                lerichi
Assigned To:                buildroot
====================================================================== 
Project:                    buildroot
Issue ID:                   967
Category:                   Architecture Specific
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             07-23-2006 14:59 PDT
Last Modified:              09-24-2007 02:04 PDT
====================================================================== 
Summary:                    SEGV when running openssh
Description: 
I downloaded and did a standard build of the latest buildroot. Busybox
works just fine, but openssh and all its helpers just SEGV. Apart from
that, the other non-busybox proggies also die. So there must be a problem
with some library. 

Just make a standard build (gcc-3.4.2), chroot into build_ARCH/root and
call sshd. It should die :-(

Any ideas? I have a suspicion that xstrdup() might be the cause.

Regards-
Richard
====================================================================== 

---------------------------------------------------------------------- 
 bernhardf - 01-24-07 13:04  
---------------------------------------------------------------------- 
Try to strace this and perpahs provide a simple testcase for us to
reproduce. 

---------------------------------------------------------------------- 
 gheeres - 02-01-07 13:53  
---------------------------------------------------------------------- 
Attached strace output.

Build / configuration:

uClibc-snapshost (01/26/2007)
gcc-v4.1.1
openssh-v3.9p1

Same results attempting to use openssh-v4.5p1

If strace needs to be in different format, please provide instructions for
generating. 

---------------------------------------------------------------------- 
 gheeres - 02-01-07 14:10  
---------------------------------------------------------------------- 
Older buildroot using:

uClibc-0.9.28 (non-snapshot)
gcc-v3.4.6
openssh-v3.9p1 or openssh-v4.5p1

Works correctly. 

---------------------------------------------------------------------- 
 gheeres - 02-03-07 17:31  
---------------------------------------------------------------------- 
Checked out newest uClibc build (http://busybox.net/bugs/view.php?id=#02012007),
completely rebuilt entire
toolchain and build files. SSH is no longer SEGV. 

---------------------------------------------------------------------- 
 bernhardf - 02-04-07 03:24  
---------------------------------------------------------------------- 
I consider this fixed now and shall close this issue within two weeks from
now on, unless somebody comes up to let us know that 0.9.28.1 and current
svn still has problems.

Thanks, all, for your help with testing. 

---------------------------------------------------------------------- 
 bernhardf - 09-24-07 02:04  
---------------------------------------------------------------------- 
ssh was updated and works fine for me. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-23-06 14:59  lerichi        New Issue                                    
07-23-06 14:59  lerichi        Status                   new => assigned     
07-23-06 14:59  lerichi        Assigned To               => uClibc          
07-27-06 04:58  thrakhath      Issue Monitored: thrakhath                    
01-24-07 13:04  bernhardf      Note Added: 0002041                          
02-01-07 13:50  gheeres        File Added: uClibc-snapshot-openssh-v3.9p1.strace
                   
02-01-07 13:53  gheeres        Note Added: 0002081                          
02-01-07 14:10  gheeres        Note Added: 0002082                          
02-03-07 17:31  gheeres        Note Added: 0002092                          
02-04-07 03:24  bernhardf      Note Added: 0002094                          
02-04-07 03:24  bernhardf      Status                   assigned => feedback
02-12-07 05:33  vapier         Status                   feedback => assigned
02-12-07 05:33  vapier         Assigned To              uClibc => buildroot 
09-24-07 02:04  bernhardf      Status                   assigned => closed  
09-24-07 02:04  bernhardf      Note Added: 0002784                          
======================================================================

             reply	other threads:[~2007-09-24  9:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-24  9:04 bugs at busybox.net [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-02-12 13:33 [Buildroot] [buildroot 0000967]: SEGV when running openssh bugs at busybox.net

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4be9d595decf1902b8c3d2a262d13824@busybox.net \
    --to=bugs@busybox.net \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox