Syncthing-inotify crashes

Debian Testing X64

This is what I am able to catch

goroutine 163 [select, 1 minutes]: [148/1964] main.accumulateChanges(0x1dcd6500, 0xc820205220, 0xb, 0xc82020f7e0, 0x1a, 0x80, 0xc8201909c0, 0xc820191c20, 0x86f3e8, 0x0)
/Volumes/Priv/tmp/go/src/ +0x2c15
created by main.watchFolder
/Volumes/Priv/tmp/go/src/ +0xdb1

goroutine 43 [select, 1 minutes]:
main.accumulateChanges(0x1dcd6500, 0xc820205b70, 0x9, 0xc8202bf020, 0x18, 0x80, 0xc820190a80, 0xc8202f8120, 0x86f3e8, 0x0)
/Volumes/Priv/tmp/go/src/ +0x2c15
created by main.watchFolder
/Volumes/Priv/tmp/go/src/ +0xdb1

goroutine 213 [select]:
main.accumulateChanges(0x1dcd6500, 0xc8202038c0, 0x11, 0xc82034df00, 0x20, 0x80, 0xc820190ba0, 0xc8203ae000, 0x86f3e8, 0x0)
/Volumes/Priv/tmp/go/src/ +0x2c15
created by main.watchFolder
/Volumes/Priv/tmp/go/src/ +0xdb1

goroutine 171 [select, 1 minutes]:
main.accumulateChanges(0x1dcd6500, 0xc8202033c0, 0x14, 0xc820011b30, 0x23, 0x80, 0xc820190ae0, 0xc8202f82a0, 0x86f3e8, 0x0)
/Volumes/Priv/tmp/go/src/ +0x2c15 created by main.watchFolder
/Volumes/Priv/tmp/go/src/ +0xdb1

goroutine 118 [select, 1 minutes]:
main.accumulateChanges(0x1dcd6500, 0xc820196340, 0x9, 0xc820313000, 0x1d, 0x80, 0xc820190360, 0xc820301a40, 0x86f3e8, 0xc820196110) /Volumes/Priv/tmp/go/src/ +0x2c15 created by main.watchFolder
/Volumes/Priv/tmp/go/src/ +0xdb1

goroutine 122 [select]:
main.accumulateChanges(0x1dcd6500, 0xc820203640, 0x14, 0xc820011d70, 0x23, 0x80, 0xc820190b40, 0xc820379e60, 0x86f3e8, 0x0) /Volumes/Priv/tmp/go/src/ +0x2c15 created by main.watchFolder
/Volumes/Priv/tmp/go/src/ +0xdb1

goroutine 175 [select, 1 minutes]: main.accumulateChanges(0x1dcd6500, 0xc82020d710, 0xa, 0xc820213b00, 0x29, 0x80, 0xc820190cc0, 0xc8203012c0, 0x86f3e8, 0x0) /Volumes/Priv/tmp/go/src/ +0x2c15 created by main.watchFolder /Volumes/Priv/tmp/go/src/ +0xdb1

goroutine 179 [select, 1 minutes]: main.accumulateChanges(0x1dcd6500, 0xc8202104f0, 0x3, 0xc820312d80, 0x17, 0x80, 0xc820190de0, 0xc820301740, 0x86f3e8, 0x0) /Volumes/Priv/tmp/go/src/ +0x2c15 created by main.watchFolder /Volumes/Priv/tmp/go/src/ +0xdb1

goroutine 199 [select]: main.accumulateChanges(0x1dcd6500, 0xc820196800, 0xd, 0xc820313100, 0x1e, 0x80, 0xc8201903c0, 0xc820301bc0, 0x86f3e8, 0x10000c820196050) /Volumes/Priv/tmp/go/src/ +0x2c15 created by main.watchFolder /Volumes/Priv/tmp/go/src/ +0xdb1

goroutine 87 [select]: main.accumulateChanges(0x1dcd6500, 0xc8201fc880, 0xb, 0xc82017fe60, 0x1a, 0x80, 0xc820190660, 0xc820301ce0, 0x86f3e8, 0x0) /Volumes/Priv/tmp/go/src/ +0x2c15 created by main.watchFolder /Volumes/Priv/tmp/go/src/ +0xdb1

panic: runtime error: index out of range

goroutine 93 [running]: panic(0x670280, 0xc420010120) /home/pi/dev/tools/go/src/runtime/panic.go:500 +0x1a1 main.watchSTEvents(0xc4202285d0, 0xc42022a000, 0x1d, 0x2a) /home/pi/dev/src/ +0x15c created by main.main /home/pi/dev/src/ +0x396

What version are you on (syncthing-inotify -version)?

This is most likely

syncthing-inotify v0.8.4 (go1.7.1 linux-amd64)

Ok, then it is The fix is pending as a PR and then a new release is probably due (@Zillode).

I hope that this is fixed soon , it crashes 5 min after it starts so it is useless to me atm

In case you didn’t notice:

Thanks @Zillode.

Also published as Debian package.

1 Like

Thanks for the release guys! I am testing it now.

Is it possible that inotify has issues with paused folders? Not sure if this is an important error or not. That folder in the message is paused.

[WARNING] 09:38:47 [WARNING] 09:38:47 Error: Status 500 != 200 for POST: SYNC, no such folder

[WARNING] 09:38:47 Request to delay scanning of SYNC failed

That sounds plausible. No harm done though apart from ugly log output.

I am fine with that as long goes it does not hinder my sync

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.