You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
protocol: We somehow leak state between connections #3906
bugA problem with current functionality, as opposed to missing functionality (enhancement)frozen-due-to-ageIssues closed and untouched for a long time, together with being locked for discussion
I don't think it's so much that we're leaking, more that connections can get stuck in some state and the callbacks from protocol to model just identify the source device, not the actual connection. It's somewhere far down on my mental todo list to refactor a bunch of stuff out from model into a something that has an actual instance per connection instead.
The changes done a while ago on locking around restarting folders and handling connections made this panic impossible. And there's no panics like this anymore reported to sentry since 1.2.0.
bugA problem with current functionality, as opposed to missing functionality (enhancement)frozen-due-to-ageIssues closed and untouched for a long time, together with being locked for discussion
Activity
aquatix commentedon Jan 22, 2017
This seems to happen to me too with the latest Android client (0.9.4) that uses v0.14.19 of syncthing too, preventing synchronisation.
AudriusButkevicius commentedon Jan 22, 2017
Define "this". What exactly are you seeing?
calmh commentedon Jan 23, 2017
I don't think it's so much that we're leaking, more that connections can get stuck in some state and the callbacks from protocol to model just identify the source device, not the actual connection. It's somewhere far down on my mental todo list to refactor a bunch of stuff out from model into a something that has an actual instance per connection instead.
calmh commentedon Feb 7, 2017
Will probably require significant refactoring to solve.
scienmind commentedon Jul 6, 2017
Since the exact issue was closed as duplicate:
Happens not that rarely (no crash, just the warning message):
ST v.0.14.31
AudriusButkevicius commentedon Jul 6, 2017
This is just a race I guess.
imsodin commentedon May 14, 2020
The changes done a while ago on locking around restarting folders and handling connections made this panic impossible. And there's no panics like this anymore reported to sentry since 1.2.0.