Skip to content

lib/model: panic: bug: ClusterConfig called on closed or nonexistent connection #3633

@alex2108

Description

@alex2108

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) jenkins@build.syncthing.net 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) jenkins@build.syncthing.net 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) jenkins@build.syncthing.net 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) jenkins@build.syncthing.net 2016-09-18 19:02:42 UTC

Metadata

Metadata

Assignees

No one assigned

    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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions