Bug 1088932 - nuttcp crashes if /proc/sys/net/ipv4/tcp_adv_win_scale does not exist
Summary: nuttcp crashes if /proc/sys/net/ipv4/tcp_adv_win_scale does not exist
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: nuttcp
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Radek Vokál
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-17 13:03 UTC by Nikos Mavrogiannopoulos
Modified: 2014-08-15 02:41 UTC (History)
1 user (show)

Fixed In Version: nuttcp-6.1.2-10.fc20
Clone Of:
Environment:
Last Closed: 2014-08-15 02:41:18 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Comment 1 Nikos Mavrogiannopoulos 2014-04-17 13:04:27 UTC
Created attachment 887173 [details]
fix for the crash

If nuttcp (server) is run under the docker fedora image where /proc/sys/net/ipv4/tcp_adv_win_scale does not exist, it crashes.

The last lines of strace are shown below:
getsockopt(6, SOL_SOCKET, SO_RCVBUF, [374400], [4]) = 0
open("/proc/sys/net/ipv4/tcp_adv_win_scale", O_RDONLY) = -1 ENOENT (No such file or directory)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)

Comment 2 Nikos Mavrogiannopoulos 2014-06-05 09:29:47 UTC
Can we have a fix for that in f20? Nuttcp is especially useful in docker images used for testing.

Comment 3 Fedora Update System 2014-08-01 12:37:32 UTC
nuttcp-6.1.2-10.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/nuttcp-6.1.2-10.fc20

Comment 4 Fedora Update System 2014-08-01 23:54:30 UTC
Package nuttcp-6.1.2-10.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing nuttcp-6.1.2-10.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-9094/nuttcp-6.1.2-10.fc20
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2014-08-15 02:41:18 UTC
nuttcp-6.1.2-10.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.