mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #5082] frpc deadlocking in certain scenarios #3992
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3992
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @singlatushar07 on GitHub (Dec 1, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/5082
Bug Description
So this happens when tcp connection closes. Currently we construct message transporter using transport.NewMessageTransporter(ctl.msgDispatcher.SendChannel())
And directly call Send(). If the Handler has stopped due to dropped TCP connection we still try to write to same channel while holding the lock as shown in stacktrace and eventually get stuck here.
frpc Version
0.65
frps Version
0.65
System Architecture
linux/x86
Configurations
..
Logs
Steps to reproduce
...
Affected area
@fatedier commented on GitHub (Dec 2, 2025):
What was the first error message?