pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

syncthing crashing on macOS 10.13



I have pkgsrc on macOS 10.13, and just did a cvs update along 2021Q3
and pkg_rr.  I rebuilt syncthing just in case it was troubled by some
previous update.  I have:

  go117-1.17.1
  syncthing-1.18.1nb2

When starting syncthing I get a crash, and this feels more like a go
compiler prblem than a syncthing problem.

I have been running syncthing for years with peers on Android and
NetBSD.   The last success seems to be September 9, and it looks like I
did an update (along current probably) and pkg_rr then, notably
including openssl-1.1.1l.

hugo seems to run, at least correctly complaining that it can't read the
config file.

Any clues appreciated.

----------------------------------------
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0xb01dfacedebac1e pc=0x7fff69dde30a]

runtime stack:
runtime: unexpected return pc for runtime.sigpanic called from 0x7fff69dde30a
stack: frame={sp:0x7ffeefbff708, fp:0x7ffeefbff758} stack=[0x7ffeefb807a8,0x7ffeefbff810)
0x00007ffeefbff608:  0x01007ffeefbff628  0x0000000000000004 
0x00007ffeefbff618:  0x000000000000001f  0x00007fff69dde30a 
0x00007ffeefbff628:  0x0b01dfacedebac1e  0x0000000000000001 
0x00007ffeefbff638:  0x0000000004035b31 <runtime.throw+0x0000000000000071>  0x00007ffeefbff6d8 
0x00007ffeefbff648:  0x00000000049cb008  0x00007ffeefbff690 
0x00007ffeefbff658:  0x0000000004035de8 <runtime.fatalthrow.func1+0x0000000000000048>  0x00000000052d0f40 
0x00007ffeefbff668:  0x0000000000000001  0x0000000000000001 
0x00007ffeefbff678:  0x00007ffeefbff6d8  0x0000000004035b31 <runtime.throw+0x0000000000000071> 
0x00007ffeefbff688:  0x00000000052d0f40  0x00007ffeefbff6c8 
0x00007ffeefbff698:  0x0000000004035d70 <runtime.fatalthrow+0x0000000000000050>  0x00007ffeefbff6a8 
0x00007ffeefbff6a8:  0x0000000004035da0 <runtime.fatalthrow.func1+0x0000000000000000>  0x00000000052d0f40 
0x00007ffeefbff6b8:  0x0000000004035b31 <runtime.throw+0x0000000000000071>  0x00007ffeefbff6d8 
0x00007ffeefbff6c8:  0x00007ffeefbff6f8  0x0000000004035b31 <runtime.throw+0x0000000000000071> 
0x00007ffeefbff6d8:  0x00007ffeefbff6e0  0x0000000004035b60 <runtime.throw.func1+0x0000000000000000> 
0x00007ffeefbff6e8:  0x00000000049d7dde  0x000000000000002a 
0x00007ffeefbff6f8:  0x00007ffeefbff748  0x000000000404c3b6 <runtime.sigpanic+0x0000000000000396> 
0x00007ffeefbff708: <0x00000000049d7dde  0x0000000005075eb0 
0x00007ffeefbff718:  0x00007ffeefbff788  0x0000000004026ea6 <runtime.(*mheap).allocSpan+0x0000000000000546> 
0x00007ffeefbff728:  0x000000c0001d2000  0x0000000000002000 
0x00007ffeefbff738:  0x000000c000000008  0x00000000052d0f40 
0x00007ffeefbff748:  0x00007ffeefbff790 !0x00007fff69dde30a 
0x00007ffeefbff758: >0x00007ffeefbff790  0x0000000005250008 
0x00007ffeefbff768:  0x0000000000000ca5  0x000000000440d185 <github.com/syncthing/syncthing/vendor/golang.org/x/sys/unix.libc_socket_trampoline+0x0000000000000005> 
0x00007ffeefbff778:  0x000000000406b35f <runtime.syscall+0x000000000000001f>  0x000000c000185870 
0x00007ffeefbff788:  0x00007ffeefbff7d0  0x000000c000185840 
0x00007ffeefbff798:  0x00000000040691b0 <runtime.asmcgocall+0x0000000000000070>  0x0000000000000001 
0x00007ffeefbff7a8:  0x0000000004003900 <runtime.c128equal+0x0000000000000000>  0x3900000000000030 
0x00007ffeefbff7b8:  0x00007ffeefbff7d0  0x000000000530f1a0 
0x00007ffeefbff7c8:  0x00000000000007e8  0x000000c0000001a0 
0x00007ffeefbff7d8:  0x00000000040672c9 <runtime.systemstack+0x0000000000000049>  0x0000000000000004 
0x00007ffeefbff7e8:  0x0000000004c73c58  0x00000000052d0f40 
0x00007ffeefbff7f8:  0x00007ffeefbff840  0x00000000040671c5 <runtime.mstart+0x0000000000000005> 
0x00007ffeefbff808:  0x000000000406717d <runtime.rt0_go+0x000000000000013d> 
runtime.throw({0x49d7dde, 0x5075eb0})
	runtime/panic.go:1198 +0x71
runtime: unexpected return pc for runtime.sigpanic called from 0x7fff69dde30a
stack: frame={sp:0x7ffeefbff708, fp:0x7ffeefbff758} stack=[0x7ffeefb807a8,0x7ffeefbff810)
0x00007ffeefbff608:  0x01007ffeefbff628  0x0000000000000004 
0x00007ffeefbff618:  0x000000000000001f  0x00007fff69dde30a 
0x00007ffeefbff628:  0x0b01dfacedebac1e  0x0000000000000001 
0x00007ffeefbff638:  0x0000000004035b31 <runtime.throw+0x0000000000000071>  0x00007ffeefbff6d8 
0x00007ffeefbff648:  0x00000000049cb008  0x00007ffeefbff690 
0x00007ffeefbff658:  0x0000000004035de8 <runtime.fatalthrow.func1+0x0000000000000048>  0x00000000052d0f40 
0x00007ffeefbff668:  0x0000000000000001  0x0000000000000001 
0x00007ffeefbff678:  0x00007ffeefbff6d8  0x0000000004035b31 <runtime.throw+0x0000000000000071> 
0x00007ffeefbff688:  0x00000000052d0f40  0x00007ffeefbff6c8 
0x00007ffeefbff698:  0x0000000004035d70 <runtime.fatalthrow+0x0000000000000050>  0x00007ffeefbff6a8 
0x00007ffeefbff6a8:  0x0000000004035da0 <runtime.fatalthrow.func1+0x0000000000000000>  0x00000000052d0f40 
0x00007ffeefbff6b8:  0x0000000004035b31 <runtime.throw+0x0000000000000071>  0x00007ffeefbff6d8 
0x00007ffeefbff6c8:  0x00007ffeefbff6f8  0x0000000004035b31 <runtime.throw+0x0000000000000071> 
0x00007ffeefbff6d8:  0x00007ffeefbff6e0  0x0000000004035b60 <runtime.throw.func1+0x0000000000000000> 
0x00007ffeefbff6e8:  0x00000000049d7dde  0x000000000000002a 
0x00007ffeefbff6f8:  0x00007ffeefbff748  0x000000000404c3b6 <runtime.sigpanic+0x0000000000000396> 
0x00007ffeefbff708: <0x00000000049d7dde  0x0000000005075eb0 
0x00007ffeefbff718:  0x00007ffeefbff788  0x0000000004026ea6 <runtime.(*mheap).allocSpan+0x0000000000000546> 
0x00007ffeefbff728:  0x000000c0001d2000  0x0000000000002000 
0x00007ffeefbff738:  0x000000c000000008  0x00000000052d0f40 
0x00007ffeefbff748:  0x00007ffeefbff790 !0x00007fff69dde30a 
0x00007ffeefbff758: >0x00007ffeefbff790  0x0000000005250008 
0x00007ffeefbff768:  0x0000000000000ca5  0x000000000440d185 <github.com/syncthing/syncthing/vendor/golang.org/x/sys/unix.libc_socket_trampoline+0x0000000000000005> 
0x00007ffeefbff778:  0x000000000406b35f <runtime.syscall+0x000000000000001f>  0x000000c000185870 
0x00007ffeefbff788:  0x00007ffeefbff7d0  0x000000c000185840 
0x00007ffeefbff798:  0x00000000040691b0 <runtime.asmcgocall+0x0000000000000070>  0x0000000000000001 
0x00007ffeefbff7a8:  0x0000000004003900 <runtime.c128equal+0x0000000000000000>  0x3900000000000030 
0x00007ffeefbff7b8:  0x00007ffeefbff7d0  0x000000000530f1a0 
0x00007ffeefbff7c8:  0x00000000000007e8  0x000000c0000001a0 
0x00007ffeefbff7d8:  0x00000000040672c9 <runtime.systemstack+0x0000000000000049>  0x0000000000000004 
0x00007ffeefbff7e8:  0x0000000004c73c58  0x00000000052d0f40 
0x00007ffeefbff7f8:  0x00007ffeefbff840  0x00000000040671c5 <runtime.mstart+0x0000000000000005> 
0x00007ffeefbff808:  0x000000000406717d <runtime.rt0_go+0x000000000000013d> 
runtime.sigpanic()
	runtime/signal_unix.go:719 +0x396

goroutine 1 [running, locked to thread]:
runtime.systemstack_switch()
	runtime/asm_amd64.s:350 fp=0xc000185820 sp=0xc000185818 pc=0x4067260
runtime.libcCall(0xc000185868, 0x42e0ee6)
	runtime/sys_libc.go:49 +0x66 fp=0xc000185850 sp=0xc000185820 pc=0x4055466
syscall.rawSyscall(0x440d180, 0x2, 0x1, 0x0)
	runtime/sys_darwin.go:77 +0x47 fp=0xc000185870 sp=0xc000185850 pc=0x4066087
syscall.rawSyscall(0x8, 0x10, 0x62005b8, 0x10)
	<autogenerated>:1 +0x26 fp=0xc0001858b8 sp=0xc000185870 pc=0x406bd86
github.com/syncthing/syncthing/vendor/golang.org/x/sys/unix.socket(0x530b3d0, 0xc000185920, 0x400ddc7)
	github.com/syncthing/syncthing/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:106 +0x39 fp=0xc0001858f0 sp=0xc0001858b8 pc=0x440c919
github.com/syncthing/syncthing/vendor/golang.org/x/sys/unix.Socket(...)
	github.com/syncthing/syncthing/vendor/golang.org/x/sys/unix/syscall_unix.go:373
github.com/syncthing/syncthing/lib/dialer.init.0()
	github.com/syncthing/syncthing/lib/dialer/control_unix.go:20 +0x3b fp=0xc000185968 sp=0xc0001858f0 pc=0x458ad7b
runtime.doInit(0x525bb60)
	runtime/proc.go:6498 +0x123 fp=0xc000185aa0 sp=0xc000185968 pc=0x4045443
runtime.doInit(0x525bfe0)
	runtime/proc.go:6475 +0x71 fp=0xc000185bd8 sp=0xc000185aa0 pc=0x4045391
runtime.doInit(0x52638c0)
	runtime/proc.go:6475 +0x71 fp=0xc000185d10 sp=0xc000185bd8 pc=0x4045391
runtime.doInit(0x525ee80)
	runtime/proc.go:6475 +0x71 fp=0xc000185e48 sp=0xc000185d10 pc=0x4045391
runtime.doInit(0x5261360)
	runtime/proc.go:6475 +0x71 fp=0xc000185f80 sp=0xc000185e48 pc=0x4045391
runtime.main()
	runtime/proc.go:238 +0x1e6 fp=0xc000185fe0 sp=0xc000185f80 pc=0x4038186
runtime.goexit()
	runtime/asm_amd64.s:1581 +0x1 fp=0xc000185fe8 sp=0xc000185fe0 pc=0x40694a1

goroutine 19 [chan receive]:
github.com/syncthing/syncthing/vendor/github.com/syncthing/notify.(*recursiveTree).dispatch(0xc000116690)
	github.com/syncthing/syncthing/vendor/github.com/syncthing/notify/tree_recursive.go:125 +0x4d
created by github.com/syncthing/syncthing/vendor/github.com/syncthing/notify.newRecursiveTree
	github.com/syncthing/syncthing/vendor/github.com/syncthing/notify/tree_recursive.go:119 +0x15b

goroutine 20 [syscall, locked to thread]:
github.com/syncthing/syncthing/vendor/github.com/syncthing/notify._Cfunc_CFRunLoopRun()
	_cgo_gotypes.go:229 +0x45
github.com/syncthing/syncthing/vendor/github.com/syncthing/notify.init.1.func1()
	github.com/syncthing/syncthing/vendor/github.com/syncthing/notify/watcher_fsevents_cgo.go:72 +0x45
created by github.com/syncthing/syncthing/vendor/github.com/syncthing/notify.init.1
	github.com/syncthing/syncthing/vendor/github.com/syncthing/notify/watcher_fsevents_cgo.go:64 +0x33

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index