Panic after upgrade to v1.1.0 (Windows XP; Windows 2003; Windows Home Server)

(Gluzer) #1

Version 1.0.1 stable work, renovation on 1.1.1 Critical error … Panic at 2019-03-05T20:23:51+03:00 panic: Failed to find GetFileInformationByHandleEx procedure in kernel32.dll: Не найдена указанная процедура.

(Audrius Butkevicius) #2

OS? Full logs?

(Evgeny Kuznetsov) #3

Looks Windows to me. Which version?

(Audrius Butkevicius) #4

I suspect this is Windows XP which is not supported (and probably worked by accident before).

(Gluzer) #5

OS > WinXP SP3 x86

goroutine 1 [running]:
syscall.(*LazyProc).mustFind(0x11c479e0)
	C:/Go/src/syscall/dll_windows.go:287 +0x42
syscall.(*LazyProc).Addr(0x11c479e0, 0x1240e60)
	C:/Go/src/syscall/dll_windows.go:294 +0x21
internal/syscall/windows.GetFileInformationByHandleEx(0x760, 0x9, 0x11cef0b4, 0x8, 0x3, 0x11c2e648)
	C:/Go/src/internal/syscall/windows/zsyscall_windows.go:353 +0x27
os.newFileStatFromGetFileInformationByHandle(0x11c227e0, 0x58, 0x760, 0x0, 0x11c227e0, 0x58)
	C:/Go/src/os/types_windows.go:52 +0x135
os.(*File).Stat(0x11cf8368, 0xc9fa9c, 0x11cf8368, 0x0, 0x11cf8368)
	C:/Go/src/os/stat_windows.go:55 +0x133
io/ioutil.ReadFile(0x11c227e0, 0x58, 0x0, 0x0, 0x0, 0x0, 0x0)
	C:/Go/src/io/ioutil/ioutil.go:62 +0xac
crypto/tls.LoadX509KeyPair(0x11c227e0, 0x58, 0x11c221e0, 0x57, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	C:/Go/src/crypto/tls/tls.go:189 +0x48
main.syncthingMain(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x11c22c60, 0x5d, 0x0, ...)
	C:/BuildAgent/work/174e136266f8a219/cmd/syncthing/main.go:583 +0x299
main.main()
	C:/BuildAgent/work/174e136266f8a219/cmd/syncthing/main.go:388 +0x245

goroutine 6 [select]:
github.com/syncthing/syncthing/lib/events.(*Logger).Serve(0x11c76090)
	C:/BuildAgent/work/174e136266f8a219/lib/events/events.go:260 +0xde
created by github.com/syncthing/syncthing/lib/events.init.1
	C:/BuildAgent/work/174e136266f8a219/lib/events/events.go:234 +0x4e

goroutine 7 [chan receive]:
github.com/syncthing/notify.(*recursiveTree).dispatch(0x11c49140)
	C:/BuildAgent/work/pkg/mod/github.com/syncthing/notify@v0.0.0-20181107104724-4e389ea6c0d8/tree_recursive.go:125 +0xa7
created by github.com/syncthing/notify.newRecursiveTree
	C:/BuildAgent/work/pkg/mod/github.com/syncthing/notify@v0.0.0-20181107104724-4e389ea6c0d8/tree_recursive.go:119 +0x115

goroutine 11 [sleep]:
runtime.goparkunlock(...)
	C:/Go/src/runtime/proc.go:307
time.Sleep(0x1dcd6500, 0x0)
	C:/Go/src/runtime/time.go:105 +0x15b
github.com/syncthing/syncthing/lib/dialer.init.0.func2()
	C:/BuildAgent/work/174e136266f8a219/lib/dialer/internal.go:55 +0x2d
created by github.com/syncthing/syncthing/lib/dialer.init.0
	C:/BuildAgent/work/174e136266f8a219/lib/dialer/internal.go:54 +0x1ff

goroutine 35 [syscall]:
os/signal.signal_recv(0x0)
	C:/Go/src/runtime/sigqueue.go:139 +0x12f
os/signal.loop()
	C:/Go/src/os/signal/signal_unix.go:23 +0x1a
created by os/signal.init.0
	C:/Go/src/os/signal/signal_unix.go:29 +0x37

goroutine 36 [chan receive]:
main.setupSignalHandling.func1(0x11ed85c0)
	C:/BuildAgent/work/174e136266f8a219/cmd/syncthing/main.go:881 +0x29
created by main.setupSignalHandling
	C:/BuildAgent/work/174e136266f8a219/cmd/syncthing/main.go:880 +0x9f

goroutine 37 [chan receive]:
main.setupSignalHandling.func2(0x11ed8600)
	C:/BuildAgent/work/174e136266f8a219/cmd/syncthing/main.go:891 +0x29
created by main.setupSignalHandling
	C:/BuildAgent/work/174e136266f8a219/cmd/syncthing/main.go:890 +0x149

goroutine 38 [select]:
github.com/thejerf/suture.(*Supervisor).Serve(0x11ca4000)
	C:/BuildAgent/work/pkg/mod/github.com/thejerf/suture@v3.0.2+incompatible/supervisor.go:454 +0x2d9
created by github.com/thejerf/suture.(*Supervisor).ServeBackground
	C:/BuildAgent/work/pkg/mod/github.com/thejerf/suture@v3.0.2+incompatible/supervisor.go:407 +0x33

goroutine 40 [chan receive]:
github.com/syncthing/syncthing/lib/events.(*bufferedSubscription).pollingLoop(0x11cc0330)
	C:/BuildAgent/work/174e136266f8a219/lib/events/events.go:441 +0x56
created by github.com/syncthing/syncthing/lib/events.NewBufferedSubscription
	C:/BuildAgent/work/174e136266f8a219/lib/events/events.go:436 +0x125

goroutine 41 [chan receive]:
github.com/syncthing/syncthing/lib/events.(*bufferedSubscription).pollingLoop(0x11cc0390)
	C:/BuildAgent/work/174e136266f8a219/lib/events/events.go:441 +0x56
created by github.com/syncthing/syncthing/lib/events.NewBufferedSubscription
	C:/BuildAgent/work/174e136266f8a219/lib/events/events.go:436 +0x125 
(Audrius Butkevicius) #6

Right, Windows XP as I suspected. Sadly, you are out of luck, as even Go itself no longer supports it.

Upgrade your OS.

(Gluzer) #7

Move to Win7 until can so shall use version 1.0.1

#8

Windows 2003 sp2 x64 got this error too. Had to disable autoupgrades untile I’ll have chance to upgrade old server.

(Jakob Borg) #9

Mmm. XP, 2003, Home Server (which is 2003-based) are all dead in the water as of Go 1.12 / Syncthing 1.1.0. (I clarified the topic title for searchers)

1 Like
(Vladimir) #10

Guys, return support for Windows XP, and this is famous for your synchronization that works everywhere!

(Audrius Butkevicius) #11

We will not compromise on security patches landing in Go to support an unsupported (by anyone) operating system.

If you want, build it and maintain it yourself.

(system) closed #12

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