Ticket #1743 (closed bug: fixed)

Opened 10 months ago

Last modified 8 months ago

Ftp aborts download if terminal window is resized.

Reported by: bouncer Owned by: bonefish
Priority: normal Milestone: R1
Component: - General Version: R1 development
Cc: Blocked By:
Platform: All Blocking:

Description

Was testing a previous ticket I had. (re: large file transfers) and during the download I casually resized the terminal window.

This caused the ftp download to exit with the following message. 'ftp: netin: Interrupted system call'

I have compiled and am running code release 23854. Am running on real hardware.

And - because possibly it may affect signal handling - am running on Intel Quad-core.

Attachments

screen2.png (81.8 kB) - added by bouncer 10 months ago.

Change History

Changed 10 months ago by bouncer

Changed 10 months ago by bonefish

  • owner changed from axeld to bonefish
  • status changed from new to assigned

I believe this problem is a result of Haiku not yet supporting transparent syscall restarts. Resizing the terminal window will cause a SIGWINCH to be sent to ftp, which interrupts a send() or recv().

Assigning this to myself for the time being, so that it is on my task list at least. If someone else wants to tackle it, feel free...

Changed 9 months ago by bonefish

Should be fixed in r23985. Please verify.

Changed 8 months ago by bonefish

  • status changed from assigned to closed
  • resolution set to fixed

Considered fixed.

Note: See TracTickets for help on using tickets.