Closed lakb closed 7 years ago
Unfortunately, Go 1.4 is no longer supported. The garbage collector has been completely rewritten, so there is no particular reason to think that the same problem exists in current Go. That said, if possible please try your program with Go 1.6.2.
I would suggest running your program under the race detector.
Please answer these questions before submitting your issue. Thanks!
go version
)? go 1.4go env
)? Linux txslhpcscf2172 2.6.32-431.56.1.el6.x86_64 #1 SMP Mon Apr 20 17:00:51 EDT 2015 x86_64 x86_64 x86_64 GNU/LinuxNo panic should happen
runtime stack: runtime.MSpan_Sweep(0x7fa08d904d00, 0xe100000000, 0x100000001) /usr/local/go/src/runtime/mgc0.c:960 +0x14a
goroutine 3 [running]: runtime.switchtoM() /usr/local/go/src/runtime/asm_amd64.s:198 fp=0xc20801dfa8 sp=0xc20801dfa0 runtime.gosweepone(0x0) /usr/local/go/src/runtime/mgc0.c:1165 +0x1e fp=0xc20801dfc0 sp=0xc20801dfa8 runtime.bgsweep() /usr/local/go/src/runtime/mgc0.go:85 +0x36 fp=0xc20801dfe0 sp=0xc20801dfc0 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:2232 +0x1 fp=0xc20801dfe8 sp=0xc20801dfe0 created by gc /usr/local/go/src/runtime/mgc0.c:1383
goroutine 1 [select (no cases), 39 minutes]: main.main() /imsgit_local2/work/CMREPO_APS/repos/ims_cmrepo/src/swrepo/swrepo.go:116 +0x5da
goroutine 5 [chan receive, 39 minutes]: code.google.com/p/log4go.ConsoleLogWriter.run(0xc20805a060, 0x7fa08d911c18, 0xc208036008) /imsgit_local2/work/CMREPO_APS/repos/ims_cmrepo/src/code.google.com/p/log4go/termlog.go:27 +0x7a created by code.google.com/p/log4go.NewConsoleLogWriter /imsgit_local2/work/CMREPO_APS/repos/ims_cmrepo/src/code.google.com/p/log4go/termlog.go:19 +0x6b
goroutine 11 [IO wait]: net.(_pollDesc).Wait(0xc2080d0060, 0x72, 0x0, 0x0) /imsgit/Tools/go_14/go_64/src/net/fd_poll_runtime.go:84 +0x47 net.(_pollDesc).WaitRead(0xc2080d0060, 0x0, 0x0) /imsgit/Tools/go_14/go_64/src/net/fd_poll_runtime.go:89 +0x43 net.(_netFD).Read(0xc2080d0000, 0xc208178000, 0x8000, 0x8000, 0x0, 0x7fa08d911ba0, 0xc20802b018) /imsgit/Tools/go_14/go_64/src/net/fd_unix.go:242 +0x40f net.(_conn).Read(0xc208036030, 0xc208178000, 0x8000, 0x8000, 0x0, 0x0, 0x0) /imsgit/Tools/go_14/go_64/src/net/net.go:121 +0xdc crypto/tls.(_block).readFromUntil(0xc2080d3560, 0x7fa08d916bc0, 0xc208036030, 0x5, 0x0, 0x0) /imsgit/Tools/go_14/go_64/src/crypto/tls/conn.go:454 +0xe6 crypto/tls.(_Conn).readRecord(0xc208100000, 0x17, 0x0, 0x0) /imsgit/Tools/go_14/go_64/src/crypto/tls/conn.go:539 +0x2da crypto/tls.(_Conn).Read(0xc208100000, 0xc2080e7000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /imsgit/Tools/go_14/go_64/src/crypto/tls/conn.go:904 +0x166 net/http.noteEOFReader.Read(0x7fa08d916af8, 0xc208100000, 0xc2080a01b8, 0xc2080e7000, 0x1000, 0x1000, 0x752ee0, 0x0, 0x0) /imsgit/Tools/go_14/go_64/src/net/http/transport.go:1270 +0x6e net/http.(_noteEOFReader).Read(0xc2080f7a00, 0xc2080e7000, 0x1000, 0x1000, 0xc208012000, 0x0, 0x0)