[Bug 1573307] Re: wget crashed with SIGSEGV in __memset_avx2()
Chen-Han Hsiao (Stanley)
1573307 at bugs.launchpad.net
Tue Feb 28 11:07:51 UTC 2017
** Description changed:
+ [Impact]
+ * wget will crash while displaying progress bar under narrow terminal
+ * Upstream already has fixed this issue in commit 7099f489 and 7cb9efa6
+ Steps to reproduce:
+ 1. execute "wget http://old-releases.ubuntu.com/releases/16.04.0/ubuntu-16.04-desktop-amd64.manifest" under a narrow terminal (such as width less than 40 characters)
+ Problems:
+ 1. The wget crash with segmentation fault
+ Expected behavior:
+ 1. wget will not crash
+
+ [Test Case]
+ After upgrading to the new version, the repeating the above steps should give expected behavior.
+
+ [Regression Potential]
+ Potential of causing regression is relatively small for a two line change for assertion check
+
+ [Other Info]
+
+
+
EDIT(other user): The crash actually happens when the terminal window is
too small.
When I try to download a big file with wget on Ubuntu 16.04 it crashes
after a couple seconds.
To reproduce the bug try the following:
wget http://releases.ubuntu.com/16.04/ubuntu-16.04-desktop-amd64.iso
I've asked another guy on IRC on channel #ubuntu-it to try and reproduce this bug
and he said it was crashing also on his machine.
evan at HPPC:~$ lsb_release -rd
Description: Ubuntu 16.04 LTS
Release: 16.04
evan at HPPC:~$ apt-cache policy wget
wget:
- Installato: 1.17.1-1ubuntu1
- Candidato: 1.17.1-1ubuntu1
- Tabella versione:
- *** 1.17.1-1ubuntu1 500
- 500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
- 100 /var/lib/dpkg/status
+ Installato: 1.17.1-1ubuntu1
+ Candidato: 1.17.1-1ubuntu1
+ Tabella versione:
+ *** 1.17.1-1ubuntu1 500
+ 500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
+ 100 /var/lib/dpkg/status
ProblemType: Crash
DistroRelease: Ubuntu 16.04
Package: wget 1.17.1-1ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
Uname: Linux 4.4.0-21-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Apr 22 01:34:10 2016
ExecutablePath: /usr/bin/wget
InstallationDate: Installed on 2016-04-21 (0 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
ProcCmdline: wget http://releases.ubuntu.com/16.04/ubuntu-16.04-desktop-amd64.iso
SegvAnalysis:
- Segfault happened at: 0x7f4eac3b7328 <__memset_avx2+392>: rep stos %al,%es:(%rdi)
- PC (0x7f4eac3b7328) ok
- source "%al" ok
- destination "%es:(%rdi)" (0x562969134000) not located in a known VMA region (needed writable region)!
+ Segfault happened at: 0x7f4eac3b7328 <__memset_avx2+392>: rep stos %al,%es:(%rdi)
+ PC (0x7f4eac3b7328) ok
+ source "%al" ok
+ destination "%es:(%rdi)" (0x562969134000) not located in a known VMA region (needed writable region)!
SegvReason: writing unknown VMA
Signal: 11
SourcePackage: wget
StacktraceTop:
- __memset_avx2 () at ../sysdeps/x86_64/multiarch/memset-avx2.S:161
- ?? ()
- ?? ()
- ?? ()
- ?? ()
+ __memset_avx2 () at ../sysdeps/x86_64/multiarch/memset-avx2.S:161
+ ?? ()
+ ?? ()
+ ?? ()
+ ?? ()
Title: wget crashed with SIGSEGV in __memset_avx2()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to wget in Ubuntu.
https://bugs.launchpad.net/bugs/1573307
Title:
wget crashed with SIGSEGV in __memset_avx2()
Status in wget package in Ubuntu:
Fix Released
Status in wget source package in Xenial:
In Progress
Bug description:
[Impact]
* wget will crash while displaying progress bar under narrow terminal
* Upstream already has fixed this issue in commit 7099f489 and 7cb9efa6
Steps to reproduce:
1. execute "wget http://old-releases.ubuntu.com/releases/16.04.0/ubuntu-16.04-desktop-amd64.manifest" under a narrow terminal (such as width less than 40 characters)
Problems:
1. The wget crash with segmentation fault
Expected behavior:
1. wget will not crash
[Test Case]
After upgrading to the new version, the repeating the above steps should give expected behavior.
[Regression Potential]
Potential of causing regression is relatively small for a two line change for assertion check
[Other Info]
EDIT(other user): The crash actually happens when the terminal window
is too small.
When I try to download a big file with wget on Ubuntu 16.04 it crashes
after a couple seconds.
To reproduce the bug try the following:
wget http://releases.ubuntu.com/16.04/ubuntu-16.04-desktop-amd64.iso
I've asked another guy on IRC on channel #ubuntu-it to try and reproduce this bug
and he said it was crashing also on his machine.
evan at HPPC:~$ lsb_release -rd
Description: Ubuntu 16.04 LTS
Release: 16.04
evan at HPPC:~$ apt-cache policy wget
wget:
Installato: 1.17.1-1ubuntu1
Candidato: 1.17.1-1ubuntu1
Tabella versione:
*** 1.17.1-1ubuntu1 500
500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
100 /var/lib/dpkg/status
ProblemType: Crash
DistroRelease: Ubuntu 16.04
Package: wget 1.17.1-1ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
Uname: Linux 4.4.0-21-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Apr 22 01:34:10 2016
ExecutablePath: /usr/bin/wget
InstallationDate: Installed on 2016-04-21 (0 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
ProcCmdline: wget http://releases.ubuntu.com/16.04/ubuntu-16.04-desktop-amd64.iso
SegvAnalysis:
Segfault happened at: 0x7f4eac3b7328 <__memset_avx2+392>: rep stos %al,%es:(%rdi)
PC (0x7f4eac3b7328) ok
source "%al" ok
destination "%es:(%rdi)" (0x562969134000) not located in a known VMA region (needed writable region)!
SegvReason: writing unknown VMA
Signal: 11
SourcePackage: wget
StacktraceTop:
__memset_avx2 () at ../sysdeps/x86_64/multiarch/memset-avx2.S:161
?? ()
?? ()
?? ()
?? ()
Title: wget crashed with SIGSEGV in __memset_avx2()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wget/+bug/1573307/+subscriptions
More information about the foundations-bugs
mailing list