Repository navigation
Closed
Labels
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
Description
Happened after waking up from standby (option to restart after this disabled)
[BEIYA] 08:08:20 INFO: syncthing v0.14.7 "Dysprosium Dragonfly" (go1.7.1 linux-amd64) [email protected] 2016-09-18 19:02:42 UTC
[BEIYA] 08:08:20 INFO: My ID: BEIYAY2
[BEIYA] 08:08:20 INFO: Single thread hash performance is ~28 MB/s
[BEIYA] 08:08:38 INFO: Ready to synchronize musik-android (readwrite)
[BEIYA] 08:08:38 INFO: Ready to synchronize umatrix-rules (readwrite)
[BEIYA] 08:09:07 INFO: Ready to synchronize archiv (readwrite)
[BEIYA] 08:09:10 INFO: Ready to synchronize cloud (readwrite)
[BEIYA] 08:09:10 INFO: Ready to synchronize encfs (readwrite)
[BEIYA] 08:09:16 INFO: Ready to synchronize musik (readwrite)
[BEIYA] 08:09:16 INFO: Ready to synchronize syncthing-builds (readwrite)
...
[BEIYA] 08:09:32 INFO: Ready to synchronize bilder (readwrite)
[BEIYA] 08:09:33 INFO: Ready to synchronize default (readwrite)
[BEIYA] 08:09:42 INFO: Ready to synchronize go-src (readwrite)
[BEIYA] 08:09:42 INFO: Ready to synchronize public (readwrite)
[BEIYA] 08:09:42 INFO: Ready to synchronize uberspace-agraf (readwrite)
[BEIYA] 08:09:43 INFO: Ready to synchronize arduino (readwrite)
[BEIYA] 08:09:45 INFO: Ready to synchronize uni (readwrite)
[BEIYA] 08:09:45 INFO: Using discovery server https://discovery-v4-2.syncthing.net/v2/?id=DVU36WY-H3LVZHW-E6LLFRE-YAFN5EL-HILWRYP-OC2M47J-Z4PE62Y-ADIBDQC
[BEIYA] 08:09:45 INFO: Using discovery server https://discovery-v4-3.syncthing.net/v2/?id=VK6HNJ3-VVMM66S-HRVWSCR-IXEHL2H-U4AQ4MW-UCPQBWX-J2L2UBK-NVZRDQZ
[BEIYA] 08:09:45 INFO: Using discovery server https://discovery-v4-4.syncthing.net/v2/?id=LYXKCHX-VI3NYZR-ALCJBHF-WMZYSPK-QG6QJA3-MPFYMSO-U56GTUK-NA2MIAW
[BEIYA] 08:09:45 INFO: TCP listener ([::]:22002) starting
[BEIYA] 08:09:46 INFO: Completed initial scan (rw) of folder umatrix-rules
[BEIYA] 08:09:46 INFO: Completed initial scan (rw) of folder syncthing-builds
[BEIYA] 08:09:46 INFO: Completed initial scan (rw) of folder uberspace-agraf
[BEIYA] 08:09:47 INFO: Completed initial scan (rw) of folder public
[BEIYA] 08:09:47 INFO: Device 7TQSWGR is "laptop" at [dynamic]
[BEIYA] 08:09:47 INFO: Device AC5PIYS is "desktop" at [dynamic]
[BEIYA] 08:09:47 INFO: Device AGR6NY2 is "raspberrypi2" at [ dynamic]
[BEIYA] 08:09:47 INFO: Device BEIYAY2 is "netbook" at [dynamic]
[BEIYA] 08:09:47 INFO: Device S44AE6E is "caelum.uberspace.de" at [tcp://caelum.uberspace.de:61232]
[BEIYA] 08:09:47 INFO: Device VGJGIR2 is "laptop-windows" at [dynamic]
[BEIYA] 08:09:47 INFO: Device WHDJVNU is "raspberrypi" at [tcp://192.168.2.10:22000 tcp://pihost1.mooo.com:22000 dynamic]
[BEIYA] 08:09:47 INFO: Starting usage reporting
[BEIYA] 08:09:48 INFO: GUI and API listening on 127.0.0.1:8384
[BEIYA] 08:09:48 INFO: Access the GUI via the following URL: http://127.0.0.1:8384/
[BEIYA] 08:09:48 INFO: Completed initial scan (rw) of folder encfs
[BEIYA] 08:09:51 INFO: Completed initial scan (rw) of folder musik-android
[BEIYA] 08:09:53 INFO: Completed initial scan (rw) of folder arduino
[BEIYA] 08:09:55 INFO: Completed initial scan (rw) of folder default
[BEIYA] 08:10:01 INFO: Completed initial scasyncthing v0.14.7 "Dysprosium Dragonfly" (go1.7.1 linux-amd64) [email protected] 2016-09-18 19:02:42 UTCn (rw) of folder cloud
[BEIYA] 08:10:02 INFO: Completed initial scan (rw) of folder musik
[BEIYA] 08:10:02 INFO: Completed initial scan (rw) of folder uni
[BEIYA] 08:10:05 INFO: Completed initial scan (rw) of folder bilder
[BEIYA] 08:10:05 INFO: Established secure connection to AGR6NY2 at 134.34.209.144:47396-46.223.251.4:22000 (TCP (Client))
[BEIYA] 08:10:05 INFO: Device AGR6NY2 client is "syncthing v0.14.7" named "raspberrypi2"
[BEIYA] 08:10:05 INFO: Device AGR6NY2 folder "default" is delta index compatible (mlv=132255)
[BEIYA] 08:10:05 INFO: Device AGR6NY2 folder "musik" is delta index compatible (mlv=132381)
[BEIYA] 08:10:05 INFO: Device AGR6NY2 folder "bilder" is delta index compatible (mlv=116946)
[BEIYA] 08:10:05 INFO: Device AGR6NY2 folder "go-src" is delta index compatible (mlv=133113)
[BEIYA] 08:10:05 INFO: Device AGR6NY2 folder "public" is delta index compatible (mlv=89367)
[BEIYA] 08:10:05 INFO: Device AGR6NY2 folder "uni" is delta index compatible (mlv=137059)
[BEIYA] 08:10:05 INFO: Device AGR6NY2 folder "archiv" is delta index compatible (mlv=132513)
[BEIYA] 08:10:05 INFO: Device AGR6NY2 folder "encfs" is delta index compatible (mlv=132338)
[BEIYA] 08:10:05 INFO: Device AGR6NY2 folder "musik-android" is delta index compatible (mlv=98239)
[BEIYA] 08:10:05 INFO: Device AGR6NY2 folder "uberspace-agraf" is delta index compatible (mlv=89395)
[BEIYA] 08:10:05 INFO: Device AGR6NY2 folder "cloud" is delta index compatible (mlv=133219)
[BEIYA] 08:10:05 INFO: Established secure connection to S44AE6E at 134.34.209.144:35584-95.143.172.212:61232 (TCP (Client))
[BEIYA] 08:10:05 INFO: Device S44AE6E client is "syncthing v0.14.7" named "caelum.uberspace.de"
[BEIYA] 08:10:05 INFO: Device S44AE6E folder "cloud" is delta index compatible (mlv=133219)
[BEIYA] 19:04:38 INFO: Failed to exchange Hello messages with AGR6NY2 (192.168.1.10:22000): read tcp 192.168.1.72:48814->192.168.1.10:2200syncthing v0.14.7 "Dysprosium Dragonfly" (go1.7.1 linux-amd64) [email protected] 2016-09-18 19:02:42 UTC0: i/o timeout
Panic at 2016-09-28T19:07:22+02:00
panic: bug: ClusterConfig called on closed or nonexistent connection
goroutine 51236 [running]:
panic(0x97a520, 0xc420c5a730)
/usr/local/go/src/runtime/panic.go:500 +0x1a1
github.com/syncthing/syncthing/lib/model.(*Model).ClusterConfig(0xc42109ea00, 0x3765f742e3e6a301, 0xd8ecb2a4aebd2662, 0x242747efbe6a9a4, 0xd95157a20367f5e3, 0xc4228e8800, 0xb, 0x10)
/home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/lib/model/model.go:764 +0x2892
github.com/syncthing/syncthing/lib/protocol.(*nativeModel).ClusterConfig(0xc422e72760, 0x3765f742e3e6a301, 0xd8ecb2a4aebd2662, 0x242747efbe6a9a4, 0xd95157a20367f5e3, 0xc4228e8800, 0xb, 0x10)
<autogenerated>:74 +0x8e
github.com/syncthing/syncthing/lib/protocol.(*rawConnection).readerLoop(0xc423678180, 0x0, 0x0)
/home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/lib/protocol/protocol.go:305 +0xf5c
created by github.com/syncthing/syncthing/lib/protocol.(*rawConnection).Start
/home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/lib/protocol/protocol.go:170 +0x43
Version Information
syncthing v0.14.7 "Dysprosium Dragonfly" (go1.7.1 linux-amd64) [email protected] 2016-09-18 19:02:42 UTC
Metadata
Metadata
Assignees
Labels
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
abs0 commentedon Oct 7, 2016
Have seen what is probably just another case of this
Long backtrace
ProactiveServices commentedon Nov 5, 2016
syncthing v0.14.9 "Dysprosium Dragonfly" (go1.7.1 linux-arm)
Another "ClusterConfig called on closed or nonexistent connection" just after a "write: connection reset by peer"
Long backtrace
blindchimp commentedon Nov 16, 2016
panic: bug: ClusterConfig called on closed or nonexistent connection
syncthing v0.14.11 "Dysprosium Dragonfly" (go1.7.3 linux-
amd64) [email protected] 2016-11-15 06:23:48 UTC
I'll keep the panic log and if it would be of any help I'll post it.
What I was doing at the time was testing a larger folder with about 1.7million small files. It partially synced to two other machines, but since it was taking too long, I removed all the files on the initial machine and was going to let the deletes propagate to the partially synced machines. That too was taking too long, so I "removed" the folders using the syncthing GUI on all the machines.
calmh commentedon Nov 17, 2016
I've created a build that contains some more debug info when this happens, hopefully enough to narrow it down. Can you who see this, perhaps even able to reproduce it run:
https://build.syncthing.net/job/syncthing-branch/304/artifact/ (unixes)
https://build.syncthing.net/job/syncthing-windows-branch/76/ (Windows)
and post the resulting trace if it happens again? There will be a few lines of very relevant INFO output above the "panic" one.
[-]panic: bug: ClusterConfig called on closed or nonexistent connection[/-][+]lib/model: panic: bug: ClusterConfig called on closed or nonexistent connection[/+]scienmind commentedon Dec 22, 2016
Have few of similar crashes today on 0.14.16:
Log 1:
https://gist.github.com/anonymous/8a1046786813bfadaf299669dfc8bb1a
Log 2:
https://gist.github.com/anonymous/b896a15fdfb47e54250296adfa72ad5d
Does it belong here?
scienmind commentedon Dec 22, 2016
Aslo, not sure if related, but at about the same as I started to get crashes, I've started getting some kind-of dead-locks after startup (not consistently):
The UI wold stay like this forever (>30min.) At this point restarting from the ST menu won't work (although purple "Restarting..." appears, nothing happens), only manually restarting the process (via wrapper or task manager) will revive it again...
calmh commentedon Mar 28, 2017
I'm downgrading the urgency of this as we've so far not managed to nail it down and the reports have ceased coming in...
agattis commentedon Apr 1, 2017
I saw the same thing just now. Leading up to it, I paused all shares, unpaused them after 10 min, noticed some of the shares stayed 'unknown' and then a few min later the web gui couldn't connect to the process anymore. In the logs, synthing had restarted and there was some messages like about ClusterConfig called on closed or nonexistent connection
Here's a pruned sample of a very log syslog. Let me know and I'll tar them up
Mar 31 19:31:20 gargoyle syncthing[2905]: [CREQS] INFO: Restarted folder "Folder1" (.....-.....) (readonly)
Mar 31 19:31:20 gargoyle syncthing[2905]: [CREQS] INFO: Relay write: tls: use of closed connection
Mar 31 19:31:20 gargoyle syncthing[2905]: [CREQS] INFO: Disconnected from relay
...: write: broken pipe
Mar 31 19:31:20 gargoyle syncthing[2905]: [CREQS] INFO: Failed to exchange Hello messages with ..
Mar 31 19:31:20 gargoyle syncthing[2905]: [CREQS] INFO: TLS handshake (BEP/tcp): write tcp ...: write: connection reset by peer
...
...
Mar 31 19:32:11 gargoyle syncthing[2905]: [CREQS] INFO: Restarted folder "Folder1" ....-....) (readonly)
Mar 31 19:32:14 gargoyle syncthing[2905]: [CREQS] INFO: Established secure connection to .....
Mar 31 19:38:24 gargoyle syncthing[2905]: [CREQS] INFO: Failed to exchange Hello messages with...
Mar 31 19:45:04 gargoyle syncthing[2905]: panic: bug: ClusterConfig called on closed or nonexistent connection
Mar 31 19:45:04 gargoyle syncthing[2905]: goroutine 37213 [running]:
Mar 31 19:45:04 gargoyle syncthing[2905]: github.com/syncthing/syncthing/lib/model.(*Model).ClusterConfig(0xc42008b540, 0x949289bad57538ee, 0x9f5c27e2b125be47, 0x598c6fa456249c6e, 0xb3272a3064176890, 0xc420090c00, 0x4, 0x4)
Mar 31 19:45:04 gargoyle syncthing[2905]: #11/home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/lib/model/model.go:790 +0x21c5
Mar 31 19:45:04 gargoyle syncthing[2905]: github.com/syncthing/syncthing/lib/protocol.(*nativeModel).ClusterConfig(0xc424e720d0, 0x949289bad57538ee, 0x9f5c27e2b125be47, 0x598c6fa456249c6e, 0xb3272a3064176890, 0xc420090c00, 0x4, 0x4)
Mar 31 19:45:04 gargoyle syncthing[2905]: #11:78 +0x8e
lkwg82 commentedon Jan 31, 2018
Seems a duplicate of #4170?
AudriusButkevicius commentedon Jan 31, 2018
Yeah.