[Bug 1576350] Re: wget crashes when terminal becomes too small

Launchpad Bug Tracker 1576350 at bugs.launchpad.net
Wed Jun 29 09:49:32 UTC 2016


Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: wget (Ubuntu)
       Status: New => Confirmed

-- 
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/1576350

Title:
  wget crashes when terminal becomes too small

Status in wget package in Ubuntu:
  Confirmed

Bug description:
  If started in a terminal which is too small, it crashes right away.
  If started in a bigger terminal which then gets resized, it crashes on resize:

  ```
  ft {0, 947927})
  read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\\0\0\0\0\0\0\0\0\0"..., 8192) = 4344
  write(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\00\0\0\0\0\0\0\0\0\0"..., 4096) = 4096
  write(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\00\0\0\0\0\0\0\0\0\0"..., 248) = 248
  select(4, [3], NULL, NULL, {0, 950000}) = 1 (in [3ft {0, 949783})
  read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\\0\0\0\0\0\0\0\0\0"..., 8192) = 2896
  write(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\00\0\0\0\0\0\0\0\0\0"..., 2896) = 2896
  select(4, [3], NULL, NULL, {0, 950000}) = ? ERESTARTNOHAND (To be restarted if no handler)
  --- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---
  rt_sigaction(SIGWINCH, {0x55fd9fdccb50, [WINCH], SA_RESTORER|SA_RESTART, 0x7fc6eb3844a0}, {0x55fd9fdccb50, [WINCH], SA_RESTORER|SA_RESTART, 0x7fc6eb3844a0}, 8) = 0
  rt_sigreturn({mask=[]})                 = -1 EINTR (Interrupted system call)
  select(4, [3], NULL, NULL, {0, 923204}) = 1 (in [3], left {0, 916417})
  read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192) = 2896
  write(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 2896) = 2896
  ioctl(2, TIOCGWINSZ, {ws_row=49, ws_col=50, ws_xpixel=819, ws_ypixel=1542}) = 0
  --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x55fda0a43000} ---
  +++ killed by SIGSEGV (core dumped) +++
  Segmentation fault (core dumped)
  ```

  Here is a little screencast demoing it: http://5pi.de/wget-crash.gif

  - Ubuntu 16.04 LTS
  - wget 1.17.1-1ubuntu1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wget/+bug/1576350/+subscriptions



More information about the foundations-bugs mailing list