Skip to content

ZMODEM send ダイアログで複数のファイルを選択すると不安定になる #9

Closed

Description

@nmaya

cf. https://osdn.net/projects/ttssh2/ticket/48870, TeraTermProject/osdn-download#30

File -> transfer -> ZMODEM -> Send

In the file dialog I select two files (left click on the 400kB one "02 something long filename like 80 chars.bin", ctrl+left click on small 300 byte one "00 something long filename like 80 chars.bin"). Giving TT back the "00.." file first and "02..." second.

Usually both files are successfully sent to the host (OK), although the progress bar dialog is weird.

Progress bar weird description (minor bug): the first ~300 byte transfer is very fast, so I don't see the dialog by eye (not sure if it displays or not at all). The progress dialog which I do manage to observe by eye has already name of the big "02" file. At this moment the host does not yet respond with "accept" answer, it is erasing the flash-rom chip for about 2-3 seconds, but the progress bar is filling up to 100% already (bug) (with 0 bytes sent reported = ok). Then host sends "accept" and progress bar restarts from zero (ok). Then the transfer proceeds correctly (ok).

When I select only single big file for transfer, the progress bar during flash-erase pause stays at zero and the TT is waiting (ok).

Unstable bug after selecting two files (main bug): Sometimes TT will "just close" right after the two file transfer, sometimes it will stay open and work as terminal (echoing text host sends over serial), but then when I select File/transfer/ZMODEM/Send again, it will close completely (instead of opening file dialog). I did open ttermpro.exe from powershell to see if there is some crash/error report on stdout/stderr, but there is no output, it "just closes" silently.

Feels to me like selecting more than one file will cause some internal memory corruption and depending on what exactly gets overwritten the TT crash/exit sooner or later. Maybe multi-file selection is enabled in ZMODEM by accident? (the ZMODEM protocol can process batch of files, so it would be nice-to-have feature, but not essential and limiting file dialog to single-file select (like File/Send) would probably work as quick fix, in case it's not obvious what is crashing and why).

Activity

  1. nmaya commented on Oct 29, 2023

    @nmaya
    MemberAuthor

    This issue did not reproduce in my environment.

  2. added a commit that references this issue on Mar 7, 2025
  3. nmaya commented on Nov 12, 2025

    @nmaya
    MemberAuthor

    MFC するかどうかトリアージして、ラベルを付けてもらえるでしょうか?
    https://github.com/TeraTermProject/teraterm/wiki/Issues

  4. added
    Needs MFCThe nature of this issue requires a merge into the stable branch
    and removed
    questionFurther information is requested
    on Nov 13, 2025
  5. nmaya commented on Nov 13, 2025

    @nmaya
    MemberAuthor

    変更履歴ですが、影響を受けていたほかのプロトコルも加えていただけるでしょうか。
    たぶん Quick-VAN は使ってる人いないと思いますが、KERMIT はいると思いますので…

  6. nmaya commented on Nov 13, 2025

    @nmaya
    MemberAuthor

    KERMIT の綴りは Kermit だと思います。
    https://www.kermitproject.org/

  7. zmatsuo commented on Nov 14, 2025

    @zmatsuo
    Member

    Kermit, Quick-VANも追記しました。

    KERMIT の綴りは Kermit だと思います。

    失礼しました。

    mainにマージします。

  8. nmaya commented on Nov 15, 2025

    @nmaya
    MemberAuthor

    修正ありがとうございました。

  9. added this to the 5.6.0 milestone on Nov 17, 2025
  10. added theissue type on Nov 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs ChangelogNeeds MFCThe nature of this issue requires a merge into the stable branch

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions