Bug 695108

Summary: nc-1.100-1 fails with segmentation fault
Product: [Fedora] Fedora Reporter: David J. Herzfeld <herzfeldd>
Component: ncAssignee: Petr Šabata <psabata>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: athmanem, kari.hautio, pcfe, psabata, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: nc-1.100-2.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-15 21:41:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 494832    
Attachments:
Description Flags
netcat backtrace none

Description David J. Herzfeld 2011-04-10 15:45:42 UTC
Created attachment 491088 [details]
netcat backtrace

Description of problem:
netcat fails with a segmentation fault when attempting to use as an ssh proxy (or straight from the command line).

Version-Release number of selected component (if applicable):
Architecture: x86_64
OS Release: Fedora release 15 (Alpha) with all yum updates
glibc.i686, 2.13.90-9, @updates-testing
nc.i686, 1.100-1.fc15, @fedora

How reproducible:
Always

Steps to Reproduce:
1. nc localhost 22

Actual results:
nc: Segmentation fault (core dumped)

Additional info:
dmesg shows 
[29476.346847] nc[3607]: segfault at 3 ip 00157ab0 sp bfc7582c error 4 in libc-2.13.90.so[110000+188000]

A backtrace using the generated core file is attached.

Comment 1 Petr Šabata 2011-04-11 09:13:53 UTC
*** Bug 695264 has been marked as a duplicate of this bug. ***

Comment 2 Kari Hautio 2011-04-12 12:08:51 UTC
Also affects Fedora 14 

nc-1.100-1.fc14.i686

Comment 3 Kari Hautio 2011-04-12 12:18:21 UTC
Just noticed that the x86_64 version does not have the same problem.

Comment 4 Petr Šabata 2011-04-12 13:15:36 UTC
(In reply to comment #2)
> Also affects Fedora 14 
> 
> nc-1.100-1.fc14.i686

I cannot reproduce this with nc-1.100-1.fc14.i686 (that one has different issues -- see bug 694407).

Comment 5 Petr Šabata 2011-04-13 08:02:00 UTC
1.100-2.fc15 seems to fix this issue (at least it works for me):
https://admin.fedoraproject.org/updates/nc-1.100-2.fc15

Could you test the update?

Comment 6 Fedora Update System 2011-04-13 08:26:27 UTC
nc-1.100-2.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/nc-1.100-2.fc15

Comment 7 Kari Hautio 2011-04-13 08:33:14 UTC
For Fedora 14 this resolves the problem for me
nc.i686 0:1.100-2.fc14 (from updates-testing)

Comment 8 David J. Herzfeld 2011-04-13 14:01:44 UTC
This resolves my issue in f15 alpha as well - using nc as an ssh proxy works as expected.

Thanks for the help.

Comment 9 Othman Madjoudj 2011-04-13 14:59:21 UTC
Fixed with nc-1.100-2.fc15 update

Comment 10 Fedora Update System 2011-04-15 21:41:25 UTC
nc-1.100-2.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.