Golang 中国
fatal: morestack on g0
SIGTRAP: trace trap
PC=0x45a6f2 m=2 sigcode=128

goroutine 0 [idle]:
runtime.morestack()
    /opt/go/src/runtime/asm_amd64.s:368 +0x22

goroutine 1 [select, 16 minutes]:
github.com/facebookgo/grace/gracehttp.Serve(0xc42034aa20, 0x1, 0x1, 0x13be6a0, 0xc42044a380)
    /dbdata/goworkspace/src/github.com/facebookgo/grace/gracehttp/http.go:162 +0x5e6
main.main()
    /dbdata/goworkspace/src/coding.net/wawa/main.go:33 +0x9e

goroutine 17 [syscall, 16 minutes, locked to thread]:
runtime.goexit()
    /opt/go/src/runtime/asm_amd64.s:2197 +0x1

goroutine 5 [chan receive, 16 minutes]:
database/sql.(*DB).connectionOpener(0xc420120000)
    /opt/go/src/database/sql/sql.go:837 +0x4a
created by database/sql.Open
    /opt/go/src/database/sql/sql.go:582 +0x212

goroutine 6 [select, 16 minutes]:
github.com/blevesearch/bleve/index.AnalysisWorker(0xc42006fb60, 0xc42006fbc0)
    /dbdata/goworkspace/src/github.com/blevesearch/bleve/index/analysis.go:75 +0x13a
created by github.com/blevesearch/bleve/index.NewAnalysisQueue
    /dbdata/goworkspace/src/github.com/blevesearch/bleve/index/analysis.go:67 +0xdf

goroutine 7 [select, 16 minutes]:
github.com/blevesearch/bleve/index.AnalysisWorker(0xc42006fb60, 0xc42006fbc0)
    /dbdata/goworkspace/src/github.com/blevesearch/bleve/index/analysis.go:75 +0x13a
created by github.com/blevesearch/bleve/index.NewAnalysisQueue
    /dbdata/goworkspace/src/github.com/blevesearch/bleve/index/analysis.go:67 +0xdf

goroutine 8 [select, 16 minutes]:
github.com/blevesearch/bleve/index.AnalysisWorker(0xc42006fb60, 0xc42006fbc0)
    /dbdata/goworkspace/src/github.com/blevesearch/bleve/index/analysis.go:75 +0x13a
created by github.com/blevesearch/bleve/index.NewAnalysisQueue
    /dbdata/goworkspace/src/github.com/blevesearch/bleve/index/analysis.go:67 +0xdf

goroutine 9 [select, 16 minutes]:
github.com/blevesearch/bleve/index.AnalysisWorker(0xc42006fb60, 0xc42006fbc0)
    /dbdata/goworkspace/src/github.com/blevesearch/bleve/index/analysis.go:75 +0x13a
created by github.com/blevesearch/bleve/index.NewAnalysisQueue
    /dbdata/goworkspace/src/github.com/blevesearch/bleve/index/analysis.go:67 +0xdf

goroutine 34 [syscall, 16 minutes]:
os/signal.signal_recv(0x435708)
    /opt/go/src/runtime/sigqueue.go:116 +0x104
os/signal.loop()
    /opt/go/src/os/signal/signal_unix.go:22 +0x22
created by os/signal.init.1
    /opt/go/src/os/signal/signal_unix.go:28 +0x41

goroutine 19 [select, 16 minutes]:
github.com/jakecoffman/cron.(*Cron).run(0xc420225fc0)
    /dbdata/goworkspace/src/github.com/jakecoffman/cron/cron.go:185 +0xa63
created by github.com/jakecoffman/cron.(*Cron).Start
    /dbdata/goworkspace/src/github.com/jakecoffman/cron/cron.go:160 +0x43

goroutine 35 [select]:
github.com/facebookgo/httpdown.(*server).manage(0xc4203c8210)
    /dbdata/goworkspace/src/github.com/facebookgo/httpdown/httpdown.go:204 +0xa2b
created by github.com/facebookgo/httpdown.HTTP.Serve
    /dbdata/goworkspace/src/github.com/facebookgo/httpdown/httpdown.go:96 +0x3df

goroutine 36 [IO wait]:
net.runtime_pollWait(0x7ff519553078, 0x72, 0x0)
    /opt/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc420448a78, 0x72, 0x0, 0xc4206fc480)
    /opt/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc420448a78, 0xffffffffffffffff, 0x0)
    /opt/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).accept(0xc420448a10, 0x0, 0x13c0660, 0xc4206fc480)
    /opt/go/src/net/fd_unix.go:430 +0x1e5
net.(*TCPListener).accept(0xc42034aa28, 0xc420321eb0, 0x6c38ee, 0x459870)
    /opt/go/src/net/tcpsock_posix.go:136 +0x2e
net.(*TCPListener).Accept(0xc42034aa28, 0xddb9b8, 0xc4208e23c0, 0x13c7320, 0xc420317110)
    /opt/go/src/net/tcpsock.go:228 +0x49
net/http.(*Server).Serve(0xc4203c80b0, 0x13c64a0, 0xc42034aa28, 0x0, 0x0)
    /opt/go/src/net/http/server.go:2643 +0x228
github.com/facebookgo/httpdown.(*server).serve(0xc4203c8210)
    /dbdata/goworkspace/src/github.com/facebookgo/httpdown/httpdown.go:277 +0x83
created by github.com/facebookgo/httpdown.HTTP.Serve
    /dbdata/goworkspace/src/github.com/facebookgo/httpdown/httpdown.go:97 +0x401

goroutine 37 [semacquire, 16 minutes]:
sync.runtime_Semacquire(0xc420442c4c)
    /opt/go/src/runtime/sema.go:47 +0x34
sync.(*WaitGroup).Wait(0xc420442c40)
    /opt/go/src/sync/waitgroup.go:131 +0x7a
github.com/facebookgo/grace/gracehttp.(*app).wait(0xc42033c2a0)
    /dbdata/goworkspace/src/github.com/facebookgo/grace/gracehttp/http.go:85 +0x115
github.com/facebookgo/grace/gracehttp.Serve.func1(0xc42033c600, 0xc42033c2a0)
    /dbdata/goworkspace/src/github.com/facebookgo/grace/gracehttp/http.go:159 +0x51
created by github.com/facebookgo/grace/gracehttp.Serve
    /dbdata/goworkspace/src/github.com/facebookgo/grace/gracehttp/http.go:160 +0x3af

goroutine 38 [chan receive, 16 minutes]:
github.com/facebookgo/grace/gracehttp.(*app).signalHandler(0xc42033c2a0, 0xc420442c40)
    /dbdata/goworkspace/src/github.com/facebookgo/grace/gracehttp/http.go:103 +0x121
created by github.com/facebookgo/grace/gracehttp.(*app).wait
    /dbdata/goworkspace/src/github.com/facebookgo/grace/gracehttp/http.go:76 +0x81

goroutine 39 [chan receive, 16 minutes]:
github.com/facebookgo/httpdown.(*server).Wait(0xc4203c8210, 0xddc148, 0xc420442c40)
    /dbdata/goworkspace/src/github.com/facebookgo/httpdown/httpdown.go:283 +0x5b
github.com/facebookgo/grace/gracehttp.(*app).wait.func1(0xc420442c40, 0xc42033c2a0, 0x13c3660, 0xc4203c8210)
    /dbdata/goworkspace/src/github.com/facebookgo/grace/gracehttp/http.go:80 +0x5b
created by github.com/facebookgo/grace/gracehttp.(*app).wait
    /dbdata/goworkspace/src/github.com/facebookgo/grace/gracehttp/http.go:83 +0xdc

goroutine 40 [select, 16 minutes, locked to thread]:
runtime.gopark(0xddc018, 0x0, 0xd857ef, 0x6, 0x18, 0x2)
    /opt/go/src/runtime/proc.go:271 +0x13a
runtime.selectgoImpl(0xc4203adf50, 0x0, 0x18)
    /opt/go/src/runtime/select.go:423 +0x1364
runtime.selectgo(0xc4203adf50)
    /opt/go/src/runtime/select.go:238 +0x1c
runtime.ensureSigM.func1()
    /opt/go/src/runtime/signal_unix.go:434 +0x2dd
runtime.goexit()
    /opt/go/src/runtime/asm_amd64.s:2197 +0x1

goroutine 63028 [IO wait]:
net.runtime_pollWait(0x7ff519552178, 0x72, 0x18)
    /opt/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc420233878, 0x72, 0x13c2420, 0x13bc258)
    /opt/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc420233878, 0xc4204ba400, 0x400)
    /opt/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc420233810, 0xc4204ba400, 0x400, 0x400, 0x0, 0x13c2420, 0x13bc258)
    /opt/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc42000e5a0, 0xc4204ba400, 0x400, 0x400, 0x0, 0x0, 0x0)
    /opt/go/src/net/net.go:181 +0x70
crypto/tls.(*block).readFromUntil(0xc42068a180, 0x7ff51950d4a8, 0xc42000e5a0, 0x5, 0xc42000e5a0, 0x28)
    /opt/go/src/crypto/tls/conn.go:488 +0x98
crypto/tls.(*Conn).readRecord(0xc420646e00, 0xddc117, 0xc420646f20, 0x459110)
    /opt/go/src/crypto/tls/conn.go:590 +0xc4
crypto/tls.(*Conn).Read(0xc420646e00, 0xc4205fd000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    /opt/go/src/crypto/tls/conn.go:1134 +0x11d
net/http.(*persistConn).Read(0xc42038cb40, 0xc4205fd000, 0x1000, 0x1000, 0x5, 0x457210, 0xc4208c8cc0)
    /opt/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc4208c8b40)
    /opt/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc4208c8b40, 0x1, 0xc42031dbe5, 0x1, 0x0, 0xc4208c8ba0, 0x0)
    /opt/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc42038cb40)
    /opt/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
    /opt/go/src/net/http/transport.go:1117 +0xa35

goroutine 63029 [select]:
net/http.(*persistConn).writeLoop(0xc42038cb40)
    /opt/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
    /opt/go/src/net/http/transport.go:1118 +0xa5a

goroutine 59763 [IO wait]:
net.runtime_pollWait(0x7ff51956e8b0, 0x72, 0x13)
    /opt/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4201bde98, 0x72, 0x13c2420, 0x13bc258)
    /opt/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4201bde98, 0xc420671000, 0x1000)
    /opt/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4201bde30, 0xc420671000, 0x1000, 0x1000, 0x0, 0x13c2420, 0x13bc258)
    /opt/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc42000ec68, 0xc420671000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    /opt/go/src/net/net.go:181 +0x70
net/http.(*connReader).Read(0xc42054cac0, 0xc420671000, 0x1000, 0x1000, 0x0, 0x2, 0x0)
    /opt/go/src/net/http/server.go:754 +0x140
bufio.(*Reader).fill(0xc4208c9740)
    /opt/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).ReadSlice(0xc4208c9740, 0xa, 0x2, 0x0, 0x504827, 0xc420a08100, 0x13bbe12)
    /opt/go/src/bufio/bufio.go:338 +0xbb
bufio.(*Reader).ReadLine(0xc4208c9740, 0xc42006d200, 0x100, 0xf8, 0xd6f920, 0x2, 0x471e82)
    /opt/go/src/bufio/bufio.go:367 +0x37
net/textproto.(*Reader).readLineSlice(0xc420616060, 0xc42079dac8, 0xc42079dac8, 0x413388, 0x100, 0xd6f920)
    /opt/go/src/net/textproto/reader.go:55 +0x5f
net/textproto.(*Reader).ReadLine(0xc420616060, 0xc42006d200, 0x72, 0x8000000000000000, 0x0)
    /opt/go/src/net/textproto/reader.go:36 +0x2f
net/http.readRequest(0xc4208c9740, 0x0, 0xc42006d200, 0x0, 0x0)
    /opt/go/src/net/http/request.go:918 +0xa5
net/http.(*conn).readRequest(0xc420673180, 0x13c7260, 0xc42054ca00, 0x0, 0x0, 0x0)
    /opt/go/src/net/http/server.go:934 +0x213
net/http.(*conn).serve(0xc420673180, 0x13c7260, 0xc42054ca00)
    /opt/go/src/net/http/server.go:1763 +0x49a
created by net/http.(*Server).Serve
    /opt/go/src/net/http/server.go:2668 +0x2ce

rax    0x17
rbx    0xc42002a400
rcx    0x45e155
rdx    0x17
rdi    0x2
rsi    0xd9a722
rbp    0x7ff4e8012850
rsp    0x7ff506bfc698
r8     0x7ff506bfc4f0
r9     0x7ff4e8012850
r10    0x8
r11    0x212
r12    0x7ff5193da678
r13    0x0
r14    0x7ff506bfca6e
r15    0x0
rip    0x45a6f2
rflags 0x216
cs     0x33
fs     0x0
gs     0x0

jimmykuu 于 2018-02-12 10:56 修改
3 回复
Dove_metis
#1 Dove_metis • 2018-02-10 22:34

我知道!!!!可以给我说说1172481725

elvindu
#2 elvindu • 2018-02-11 10:55

是不是死锁啦?

jong1985
#3 jong1985 • 2018-02-27 18:04
需要 登录 后方可回复, 如果你还没有账号你可以 注册 一个帐号。