Ticket #39667

xmodem and ymodem repeat initial block

Open Date: 2019-10-10 22:50 Last Update: 2022-04-19 23:57

Reporter:
(Anonymous)
Owner:
Type:
Status:
Closed
Component:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
1
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Details

Both xmodem and ymodem repeat the initial packet of a transfer even though the initial packet is acknowledged. In the case of xmodem, packet sequence 1 is sent, acknowledged by the receiver, and then sent again by tera term. In the case of ymodem it will be packet sequence 0 with all the file info that is sent, acknowledged by the receiver, and then sent again as if the receiver had NAK'd it.

Ticket History (3/9 Histories)

2019-10-10 22:50 Updated by: None
  • New Ticket "xmodem and ymodem repeat initial block" created
2019-11-29 22:29 Updated by: pavel-a
Comment

Root cause found - see #37456 and workaround proposed.

(Edited, 2019-11-29 22:30 Updated by: pavel-a)
2021-12-30 02:11 Updated by: zmatsuo
Comment

Received patch (ticket #43221) and adapted patch (r9654).

The xmodem problem has been fixed.

The ymodem problem still exists.

2022-04-12 21:44 Updated by: mtbottrill
Comment

I was able to build and run the Tera Term source code for Tag 4.106 and came up with a potential fix for this ymodem bug. The issue is that if the user takes a while to use the file dialog to select the file to send, multiple 0x43 ('C') will be received from the remote device and Tera Term will respond to all of them (causing remote device to send a NAK) when it should only respond to a 0x43 once for start of transfer. The fix is very simple and stops Tera Term from responding to more than one 'C' in a row. I tested it with my embedded system and the fix seems to work well. Feel free to use it if it's acceptable.

2022-04-15 00:18 Updated by: zmatsuo
Comment

Thanks for sending patch. This patch seems to solve problem.

Merged r9860 and built.

https://osdn.net/projects/ttssh2/storage/snapshot/snapshot-teraterm4-r9860-20220414-zmatsuo.zip

2022-04-15 00:18 Updated by: zmatsuo
  • Status Update from Open to Closed
  • Owner Update from (None) to zmatsuo
  • Resolution Update from None to Fixed
  • Milestone Update from (None) to Tera Term 4.107
2022-04-15 06:14 Updated by: nmaya
Comment

trunk へマージ予定

2022-04-19 23:57 Updated by: zmatsuo
  • Status Update from Open to Closed
Comment

トランクにも修正を入れました。

Merged r9867 .Thank you.

Attachment File List

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login