Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [buildroot 0000967]: SEGV when running openssh
@ 2007-02-12 13:33 bugs at busybox.net
  0 siblings, 0 replies; 2+ messages in thread
From: bugs at busybox.net @ 2007-02-12 13:33 UTC (permalink / raw)
  To: buildroot


The following issue has been ASSIGNED. 
====================================================================== 
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:                     assigned
====================================================================== 
Date Submitted:             07-23-2006 14:59 PDT
Last Modified:              02-12-2007 05:33 PST
====================================================================== 
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. 

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 
======================================================================

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] [buildroot 0000967]: SEGV when running openssh
@ 2007-09-24  9:04 bugs at busybox.net
  0 siblings, 0 replies; 2+ messages in thread
From: bugs at busybox.net @ 2007-09-24  9:04 UTC (permalink / raw)
  To: buildroot


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                          
======================================================================

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-09-24  9:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-24  9:04 [Buildroot] [buildroot 0000967]: SEGV when running openssh bugs at busybox.net
  -- strict thread matches above, loose matches on Subject: below --
2007-02-12 13:33 bugs at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox