[haiku-bugs] Re: [Haiku] #12182: Interrupted system call messages / read errors during peak network traffic

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Tue, 05 Jul 2016 05:10:51 -0000

#12182: Interrupted system call messages / read errors during peak network 
traffic
--------------------------------+----------------------------
   Reporter:  kallisti5         |      Owner:  axeld
       Type:  bug               |     Status:  new
   Priority:  normal            |  Milestone:  R1/beta1
  Component:  Kits/Network Kit  |    Version:  R1/Development
 Resolution:                    |   Keywords:
 Blocked By:                    |   Blocking:
Has a Patch:  0                 |   Platform:  All
--------------------------------+----------------------------

Comment (by pulkomandy):

 This is a feature: resizing a terminal window (also in xterm) sends the
 SIGWINCH signal ("window changed"). This allows ncurses apps to adjust
 their size to the terminal when it is resized.

 wget uses SIGWINCH to resize its progress bar (see
 https://github.com/juaristi/wget/blob/master/src/progress.c).

 We should be using
 https://github.com/cooljeanius/wget/blob/master/gnulib/lib/safe-read.c
 which protects against this by using IS_EINTR (not sure where that comes
 from).

 Sounds like a bug in how we configure and build wget, and nothing wrong on
 Haiku side?

--
Ticket URL: <https://dev.haiku-os.org/ticket/12182#comment:7>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: