that started in 6.0.648, I thought i'd give this version a try. Its somehow even worse. The sequence of events was ...
The following output keeps repeating in the system log.
Code: Select all
Mar 11 21:10:54 terra TOSDaemon[14561]: panic: runtime error: invalid memory address or nil pointer dereference
Mar 11 21:10:54 terra TOSDaemon[14561]: [signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0x7fe8b05f4c20]
Mar 11 21:10:54 terra TOSDaemon[14561]: goroutine 274 [running]:
Mar 11 21:10:54 terra TOSDaemon[14561]: github.com/oiweiwei/go-msrpc/ssp/gssapi.InitSecurityContext({0x67a3740, 0xc001965b00}, 0xc001da6210, {0xc001588068, 0x1, 0xc001818360?})
Mar 11 21:10:54 terra TOSDaemon[14561]: /home/test/go/pkg/mod/github.com/oiweiwei/[email protected]/ssp/gssapi/context.go:223 +0x2c0
Mar 11 21:10:54 terra TOSDaemon[14561]: github.com/oiweiwei/go-msrpc/smb2.(*Initiator).InitSecContext(0xc001818330)
Mar 11 21:10:54 terra TOSDaemon[14561]: /home/test/go/pkg/mod/github.com/oiweiwei/[email protected]/smb2/initiator.go:35 +0x8f
Mar 11 21:10:54 terra TOSDaemon[14561]: github.com/oiweiwei/go-smb2%2efork.sessionSetup(0xc0039d0410, {0x7fe8b27e8640, 0xc001818330}, {0x67a3740, 0xc0019649f0})
Mar 11 21:10:54 terra TOSDaemon[14561]: /home/test/go/pkg/mod/github.com/oiweiwei/[email protected]/session.go:29 +0xd8
Mar 11 21:10:54 terra TOSDaemon[14561]: github.com/oiweiwei/go-smb2%2efork.(*Dialer).DialContext(0xc001818300, {0x67a3740, 0xc0019649f0}, {0x67b58f0, 0xc000e7a240})
Mar 11 21:10:54 terra TOSDaemon[14561]: /home/test/go/pkg/mod/github.com/oiweiwei/[email protected]/client.go:67 +0x1af
Mar 11 21:10:54 terra TOSDaemon[14561]: github.com/oiweiwei/go-msrpc/smb2.(*NamedPipe).Connect(0xc00158a340, {0x67a3740, 0xc0019649f0})
Mar 11 21:10:54 terra TOSDaemon[14561]: /home/test/go/pkg/mod/github.com/oiweiwei/[email protected]/smb2/smb2.go:118 +0x1f1
Mar 11 21:10:54 terra TOSDaemon[14561]: github.com/oiweiwei/go-msrpc/dcerpc.(*conn).dialConn(0xc0014f0840, {0x67a3740, 0xc0019649f0}, {{0x0, 0x0}, {0x0, 0x0}, 0x0, 0x3, {0x0, ...}, ...})
Mar 11 21:10:54 terra TOSDaemon[14561]: /home/test/go/pkg/mod/github.com/oiweiwei/[email protected]/dcerpc/conn.go:453 +0xcd3
Mar 11 21:10:54 terra TOSDaemon[14561]: github.com/oiweiwei/go-msrpc/dcerpc.(*conn).dial(0xc0014f0840, {0x67a3740?, 0xc0019649f0?}, {{0x0, 0x0}, {0x0, 0x0}, 0x0, 0x3, {0x0, ...}, ...})
Mar 11 21:10:54 terra TOSDaemon[14561]: /home/test/go/pkg/mod/github.com/oiweiwei/[email protected]/dcerpc/conn.go:371 +0x65
Mar 11 21:10:54 terra TOSDaemon[14561]: github.com/oiweiwei/go-msrpc/dcerpc.(*conn).Bind(0xc0014f0840, {0x67a3740, 0xc0019649f0}, {0xc0014bad60, 0x2, 0x0?})
Mar 11 21:10:54 terra TOSDaemon[14561]: /home/test/go/pkg/mod/github.com/oiweiwei/[email protected]/dcerpc/conn.go:336 +0xd3c
Mar 11 21:10:54 terra TOSDaemon[14561]: github.com/oiweiwei/go-msrpc/msrpc/nrpc/logon/v1.NewLogonClient({0x67a3740, 0xc0019649f0}, {0x7fe8b27eda50, 0xc0014f0840}, {0xc0015d02b0, 0x1, 0x1})
Mar 11 21:10:54 terra TOSDaemon[14561]: /home/test/go/pkg/mod/github.com/oiweiwei/[email protected]/msrpc/nrpc/logon/v1/v1.go:19343 +0x139
Mar 11 21:10:54 terra TOSDaemon[14561]: gitlab.local/DO-module/domain-module/service/domain.GetWorkGroupByNetlogon({0xc003e1c2d0, 0xd}, {0xc00274ceb1?, 0xd?}, {0xc00274d1c0?, 0x0?})
Mar 11 21:10:54 terra TOSDaemon[14561]: /home/test/go/pkg/mod/gitlab.local/!d!o-module/[email protected]/service/domain/domain_model.go:674 +0x1f9
Mar 11 21:10:54 terra TOSDaemon[14561]: gitlab.local/DO-module/domain-module/service/domain.joinAdDomain({{0xc00274ce71, 0xd}, {0xc00274ce81, 0xd}, 0x0, 0x1, 0x0, {0x0, 0x0}, {0x0, ...}, ...}, ...)
Mar 11 21:10:54 terra TOSDaemon[14561]: /home/test/go/pkg/mod/gitlab.local/!d!o-module/[email protected]/service/domain/ad_model.go:133 +0x4ad
Mar 11 21:10:54 terra TOSDaemon[14561]: gitlab.local/DO-module/domain-module/service/domain.(*Service).ConnectToAdServer.func1()
Mar 11 21:10:54 terra TOSDaemon[14561]: /home/test/go/pkg/mod/gitlab.local/!d!o-module/[email protected]/service/domain/domain_model.go:240 +0x2f3
Mar 11 21:10:54 terra TOSDaemon[14561]: gitlab.local/TerraMaster/tos-modules/domain/domain_commom.(*Once).Do(...)
Mar 11 21:10:54 terra TOSDaemon[14561]: /home/test/go/pkg/mod/gitlab.local/!terra!master/[email protected]/domain/domain_commom/once.go:21
Mar 11 21:10:54 terra TOSDaemon[14561]: gitlab.local/DO-module/domain-module/service/domain.(*Service).ConnectToAdServer(0xc0028edc00, {{0xc00274ce71, 0xd}, {0xc00274ce81, 0xd}, 0x0, 0x1, 0x0, {0x0, 0x0}, ...})
Mar 11 21:10:54 terra TOSDaemon[14561]: /home/test/go/pkg/mod/gitlab.local/!d!o-module/[email protected]/service/domain/domain_model.go:189 +0x135
Mar 11 21:10:54 terra TOSDaemon[14561]: gitlab.local/DO-module/domain-module/service/domain.(*Service).recoveryConnect(0xc0028edc00)
Mar 11 21:10:54 terra TOSDaemon[14561]: /home/test/go/pkg/mod/gitlab.local/!d!o-module/[email protected]/service/domain/domain_cron.go:75 +0x2ca
Mar 11 21:10:54 terra TOSDaemon[14561]: gitlab.local/DO-module/domain-module/service/domain.(*Service).AutoUpdate(0xc0028edc00)
Mar 11 21:10:54 terra TOSDaemon[14561]: /home/test/go/pkg/mod/gitlab.local/!d!o-module/[email protected]/service/domain/domain_cron.go:102 +0x27
Mar 11 21:10:54 terra TOSDaemon[14561]: created by gitlab.local/DO-module/domain-module/controller.(*DomainController).Router in goroutine 1
Mar 11 21:10:54 terra TOSDaemon[14561]: /home/test/go/pkg/mod/gitlab.local/!d!o-module/[email protected]/controller/DomainController.go:20 +0xcb
Mar 11 21:10:54 terra systemd[1]: TOSDaemon.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Mar 11 21:10:54 terra systemd[1]: TOSDaemon.service: Failed with result 'exit-code'.
Looks very much related to domains in some way to me.
I have again re-tested domain joining from other clients, including Windows, Linux and Mac. All fine. I am also now evaluating TrueNAS and Unraid. Both of these also join the domain with no issues.