kingToolbox / kingToolbox/WindTerm

stuck when closing a serial session

Open
#2,851 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
32.3k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

the serial session may randomly stuck,
when try to close the sessiobor restart it, it will fall into a infinate loop and stuck the whole program.

note: the serial session has 70k+ lines of log history.

![image](https://github.com/user-attachments/assets/8e619948-d537-4044-9180-3466d46ea8e5)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the hang with a serial session containing 70k+ lines of log history, then compare closing and restarting the session. Trace the path that loops during the hang and verify that both actions complete without freezing the program.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.