Opened 11 years ago

Closed 11 years ago

#1743 closed bug (fixed)

Ftp aborts download if terminal window is resized.

Reported by: bouncer Owned by: bonefish
Priority: normal Milestone: R1
Component: - General Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

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 (1)

screen2.png (81.8 KB) - added by bouncer 11 years ago.

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by bouncer

Attachment: screen2.png added

comment:1 Changed 11 years ago by bonefish

Owner: changed from axeld to bonefish
Status: newassigned

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...

comment:2 Changed 11 years ago by bonefish

Should be fixed in hrev23985. Please verify.

comment:3 Changed 11 years ago by bonefish

Resolution: fixed
Status: assignedclosed

Considered fixed.

Note: See TracTickets for help on using tickets.