Latest F-droid android version terminates before actual sync happens

The latest F-droid android version (0.14.50) just terminates / crashes(?) before any actual sync happens. Can’t see any E/… error log entries, it just goes away (web view stops responding and when leaving & returning, I get a connection refused error). It shows briefly up on the other side as a connected remote with 0B/s upload/download and I can see in both directions what is outdated respectively, and then boom it goes down until I manually issue a “restart”.

Syncthing log:

--------- beginning of main
10-14 12:12:12.976 W/SyncthingNativeCode(20431): /home/vagrant/build/com.nutomic.syncthingandroid/syncthing/src/github.com/syncthing/syncthing/lib/model/folder_sendrecv.go:1503 +0x2c
10-14 12:12:12.977 W/SyncthingNativeCode(20431): github.com/syncthing/syncthing/lib/model.(*sendReceiveFolder).pullerIteration.func4(0x95d76840, 0x95d34190, 0x96c662c0, 0x96c66300, 0x96c66200, 0xb6eeb088, 0x976d97a0)
10-14 12:12:12.985 W/SyncthingNativeCode(20431): /home/vagrant/build/com.nutomic.syncthingandroid/syncthing/src/github.com/syncthing/syncthing/lib/model/folder_sendrecv.go:256 +0x3c
10-14 12:12:12.986 W/SyncthingNativeCode(20431): created by github.com/syncthing/syncthing/lib/model.(*sendReceiveFolder).pullerIteration
10-14 12:12:12.988 W/SyncthingNativeCode(20431): /home/vagrant/build/com.nutomic.syncthingandroid/syncthing/src/github.com/syncthing/syncthing/lib/model/folder_sendrecv.go:255 +0x4a0
10-14 12:12:12.989 W/SyncthingNativeCode(20431):
10-14 12:12:12.991 W/SyncthingNativeCode(20431): goroutine 483 [chan receive]:
10-14 12:12:12.991 W/SyncthingNativeCode(20431): github.com/syncthing/syncthing/lib/model.(*sendReceiveFolder).pullerRoutine(0x95d76840, 0x96c66240, 0x96c662c0)
10-14 12:12:13.010 W/SyncthingNativeCode(20431): /home/vagrant/build/com.nutomic.syncthingandroid/syncthing/src/github.com/syncthing/syncthing/lib/model/folder_sendrecv.go:1296 +0x120
10-14 12:12:13.013 W/SyncthingNativeCode(20431): github.com/syncthing/syncthing/lib/model.(*sendReceiveFolder).pullerIteration.func3(0x95d76840, 0x96c66240, 0x96c662c0, 0xb6eeb088, 0x976d9770)
10-14 12:12:13.015 W/SyncthingNativeCode(20431): /home/vagrant/build/com.nutomic.syncthingandroid/syncthing/src/github.com/syncthing/syncthing/lib/model/folder_sendrecv.go:249 +0x2c
10-14 12:12:13.020 W/SyncthingNativeCode(20431): created by github.com/syncthing/syncthing/lib/model.(*sendReceiveFolder).pullerIteration
10-14 12:12:13.030 W/SyncthingNativeCode(20431): /home/vagrant/build/com.nutomic.syncthingandroid/syncthing/src/github.com/syncthing/syncthing/lib/model/folder_sendrecv.go:247 +0x434
10-14 12:12:13.033 W/SyncthingNativeCode(20431):
10-14 12:12:13.035 W/SyncthingNativeCode(20431): goroutine 1428 [IO wait]:
10-14 12:12:13.037 W/SyncthingNativeCode(20431): internal/poll.runtime_pollWait(0x85705d60, 0x72, 0x0)
10-14 12:12:13.043 W/SyncthingNativeCode(20431): /home/vagrant/build/com.nutomic.syncthingandroid/go/src/runtime/netpoll.go:173 +0x44
10-14 12:12:13.047 W/SyncthingNativeCode(20431): internal/poll.(*pollDesc).wait(0x9772a2e4, 0x72, 0xffffff00, 0xb6ee89e0, 0xb6ee62e4)
10-14 12:12:13.052 W/SyncthingNativeCode(20431): /home/vagrant/build/com.nutomic.syncthingandroid/go/src/internal/poll/fd_poll_runtime.go:85 +0xa0
10-14 12:12:13.057 W/SyncthingNativeCode(20431): internal/poll.(*pollDesc).waitRead(0x9772a2e4, 0x97f0c400, 0x400, 0x400)
10-14 12:12:13.062 W/SyncthingNativeCode(20431): /home/vagrant/build/com.nutomic.syncthingandroid/go/src/internal/poll/fd_poll_runtime.go:90 +0x2c
10-14 12:12:13.065 W/SyncthingNativeCode(20431): internal/poll.(*FD).Read(0x9772a2d0, 0x97f0c400, 0x400, 0x400, 0x0, 0x0, 0x0)
10-14 12:12:13.067 W/SyncthingNativeCode(20431): /home/vagrant/build/com.nutomic.syncthingandroid/go/src/internal/poll/fd_unix.go:126 +0x150
10-14 12:12:13.074 W/SyncthingNativeCode(20431): net.(*netFD).Read(0x9772a2d0, 0x97f0c400, 0x400, 0x400, 0xb6f2a974, 0x8570fc68, 0x0)
10-14 12:12:13.082 W/SyncthingNativeCode(20431): /home/vagrant/build/com.nutomic.syncthingandroid/go/src/net/fd_unix.go:202 +0x38
10-14 12:12:13.091 W/SyncthingNativeCode(20431): net.(*conn).Read(0x98109170, 0x97f0c400, 0x400, 0x400, 0x0, 0x0, 0x0)
10-14 12:12:13.094 W/SyncthingNativeCode(20431): /home/vagrant/build/com.nutomic.syncthingandroid/go/src/net/net.go:176 +0x58
10-14 12:12:13.106 W/SyncthingNativeCode(20431): github.com/syncthing/syncthing/lib/tlsutil.(*UnionedConnection).Read(0x95ecd000, 0x97f0c400, 0x400, 0x400, 0xb6c25b20, 0x96970400, 0x8570fc68)
10-14 12:12:13.110 W/SyncthingNativeCode(20431): /home/vagrant/build/com.nutomic.syncthingandroid/syncthing/src/github.com/syncthing/syncthing/lib/tlsutil/tlsutil.go:160 +0xc4
10-14 12:12:13.149 W/SyncthingNativeCode(20431): crypto/tls.(*block).readFromUntil(0x969704e0, 0x8570fc68, 0x95ecd000, 0x5, 0x95ecd000, 0x19)
10-14 12:12:13.150 W/SyncthingNativeCode(20431): /home/vagrant/build/com.nutomic.syncthingandroid/go/src/crypto/tls/conn.go:488 +0x78
10-14 12:12:13.153 W/SyncthingNativeCode(20431): crypto/tls.(*Conn).readRecord(0x95f48800, 0xb6c56a17, 0x95f488a0, 0x20000)
10-14 12:12:13.155 W/SyncthingNativeCode(20431): /home/vagrant/build/com.nutomic.syncthingandroid/go/src/crypto/tls/conn.go:590 +0xa0
10-14 12:12:13.156 W/SyncthingNativeCode(20431): crypto/tls.(*Conn).Read(0x95f48800, 0x9697054d, 0x1, 0x1, 0x0, 0x0, 0x0)
10-14 12:12:13.158 W/SyncthingNativeCode(20431): /home/vagrant/build/com.nutomic.syncthingandroid/go/src/crypto/tls/conn.go:1134 +0xd0
10-14 12:12:13.168 W/SyncthingNativeCode(20431): net/http.(*connReader).backgroundRead(0x96970540)
10-14 12:12:13.170 W/SyncthingNativeCode(20431): /home/vagrant/build/com.nutomic.syncthingandroid/go/src/net/http/server.go:660 +0x48
10-14 12:12:13.173 W/SyncthingNativeCode(20431): created by net/http.(*connReader).startBackgroundRead
10-14 12:12:13.174 W/SyncthingNativeCode(20431): /home/vagrant/build/com.nutomic.syncthingandroid/go/src/net/http/server.go:656 +0xbc
10-14 12:12:13.178 W/SyncthingNativeCode(20431):
10-14 12:12:13.194 W/SyncthingNativeCode(20431): goroutine 505 [IO wait]:
10-14 12:12:13.195 W/SyncthingNativeCode(20431): internal/poll.runtime_pollWait(0x857058b0, 0x72, 0x0)
10-14 12:12:13.196 W/SyncthingNativeCode(20431): /home/vagrant/build/com.nutomic.syncthingandroid/go/src/runtime/netpoll.go:173 +0x44
10-14 12:12:13.197 W/SyncthingNativeCode(20431): internal/poll.(*pollDesc).wait(0x971590a4, 0x72, 0xffffff00, 0xb6ee89e0, 0xb6ee62e4)
10-14 12:12:13.199 W/SyncthingNativeCode(20431): /home/vagrant/build/com.nutomic.syncthingandroid/go/src/internal/poll/fd_poll_runtime.go:85 +0xa0
10-14 12:12:13.201 W/SyncthingNativeCode(20431): internal/poll.(*pollDesc).waitRead(0x971590a4, 0x97c1f400, 0x400, 0x400)
10-14 12:12:13.202 W/SyncthingNativeCode(20431): /home/vagrant/build/com.nutomic.syncthingandroid/go/src/internal/poll/fd_poll_runtime.go:90 +0x2c
10-14 12:12:13.204 W/SyncthingNativeCode(20431): internal/poll.(*FD).Read(0x97159090, 0x97c1f400, 0x400, 0x400, 0x0, 0x0, 0x0)
10-14 12:12:13.205 W/SyncthingNativeCode(20431): /home/vagrant/build/com.nutomic.syncthingandroid/go/src/internal/poll/fd_unix.go:126 +0x150
10-14 12:12:13.206 W/SyncthingNativeCode(20431): net.(*netFD).Read(0x97159090, 0x97c1f400, 0x400, 0x400, 0x29, 0x0, 0x8)
10-14 12:12:13.207 W/SyncthingNativeCode(20431): /home/vagrant/build/com.nutomic.syncthingandroid/go/src/net/fd_unix.go:202 +0x38
10-14 12:12:13.211 W/SyncthingNativeCode(20431): net.(*conn).Read(0x982a75e8, 0x97c1f400, 0x400, 0x400, 0x0, 0x0, 0x0)
10-14 12:12:13.215 W/SyncthingNativeCode(20431): /home/vagrant/build/com.nutomic.syncthingandroid/go/src/net/net.go:176 +0x58
10-14 12:12:13.216 W/SyncthingNativeCode(20431): crypto/tls.(*block).readFromUntil(0x972322e0, 0x8570b390, 0x982a75e8, 0x5, 0x982a75e8, 0x0)
10-14 12:12:13.217 W/SyncthingNativeCode(20431): /home/vagrant/build/com.nutomic.syncthingandroid/go/src/crypto/tls/conn.go:488 +0x78
10-14 12:12:13.219 W/SyncthingNativeCode(20431): crypto/tls.(*Conn).readRecord(0x96ab7a00, 0xb6c56a17, 0x96ab7aa0, 0xb6131598)
10-14 12:12:13.222 W/SyncthingNativeCode(20431): /home/vagrant/build/com.nutomic.syncthingandroid/go/src/crypto/tls/conn.go:590 +0xa0
10-14 12:12:13.224 W/SyncthingNativeCode(20431): crypto/tls.(*Conn).Read(0x96ab7a00, 0x95c92450, 0xc, 0xc, 0x0, 0x0, 0x0)
10-14 12:12:13.231 W/SyncthingNativeCode(20431): /home/vagrant/build/com.nutomic.syncthingandroid/go/src/crypto/tls/conn.go:1134 +0xd0
10-14 12:12:13.232 W/SyncthingNativeCode(20431): io.ReadAtLeast(0xb6ee7138, 0x96ab7a00, 0x95c92450, 0xc, 0xc, 0xc, 0xb6bbab48, 0x1, 0x95c92450)
10-14 12:12:13.234 W/SyncthingNativeCode(20431): /home/vagrant/build/com.nutomic.syncthingandroid/go/src/io/io.go:309 +0x6c
10-14 12:12:13.235 W/SyncthingNativeCode(20431): io.ReadFull(0xb6ee7138, 0x96ab7a00, 0x95c92450, 0xc, 0xc, 0xc, 0x0, 0x0)
10-14 12:12:13.240 W/SyncthingNativeCode(20431): /home/vagrant/build/com.nutomic.syncthingandroid/go/src/io/io.go:327 +0x40
10-14 12:12:13.247 W/SyncthingNativeCode(20431): github.com/syncthing/syncthing/lib/relay/protocol.ReadMessage(0xb6ee7138, 0x96ab7a00, 0x96ab7a00, 0xb6ee7138, 0x96ab7a00, 0x0)
10-14 12:12:13.249 W/SyncthingNativeCode(20431): /home/vagrant/build/com.nutomic.syncthingandroid/syncthing/src/github.com/syncthing/syncthing/lib/relay/protocol/protocol.go:79 +0x7c
10-14 12:12:13.286 W/SyncthingNativeCode(20431): github.com/syncthing/syncthing/lib/relay/client.messageReader(0xb6eed390, 0x96ab7a00, 0x96fdbc40, 0x96196d40)
10-14 12:12:13.290 W/SyncthingNativeCode(20431): /home/vagrant/build/com.nutomic.syncthingandroid/syncthing/src/github.com/syncthing/syncthing/lib/relay/client/static.go:331 +0x64
10-14 12:12:13.303 W/SyncthingNativeCode(20431): created by github.com/syncthing/syncthing/lib/relay/client.(*staticClient).Serve
10-14 12:12:13.306 W/SyncthingNativeCode(20431): /home/vagrant/build/com.nutomic.syncthingandroid/syncthing/src/github.com/syncthing/syncthing/lib/relay/client/static.go:103 +0x794

Already tried clearing the database on both sides, doesn’t fix anything. The other side is 0.14.51 on Linux.

This is not the full log, so it’s hard to say what the cause is. You should potentially attach the phone to your pc and run adb to get the logs.

Sadly, it doesn’t give me more - sometimes after the crash/spontaneous shutdown(??), the log window is even completely empty…

That is why you need to capture the logs from the PC via adb.

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