Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runtime: fatal error: g already has stack barriers #11210

Closed
reusee opened this issue Jun 14, 2015 · 4 comments
Closed

runtime: fatal error: g already has stack barriers #11210

reusee opened this issue Jun 14, 2015 · 4 comments
Milestone

Comments

@reusee
Copy link

reusee commented Jun 14, 2015

go version
go version devel +a1fe3b5 Sat Jun 13 04:33:26 2015 +0000 linux/amd64

stack trace

stkbarPos=3 len(stkbar)=3 goid=25840 gcphase=2
fatal error: g already has stack barriers

runtime stack:
runtime.throw(0x89e8f0, 0x1c)
    /home/reus/langs/go/src/runtime/panic.go:527 +0x96
runtime.scanstack(0xc2084b14a0)
    /home/reus/langs/go/src/runtime/mgcmark.go:334 +0x4f4
runtime.gcphasework(0xc2084b14a0)
    /home/reus/langs/go/src/runtime/mgcmark.go:273 +0x6d
runtime.stopg(0xc2084b14a0, 0x3)
    /home/reus/langs/go/src/runtime/proc1.go:395 +0x8e
runtime.markroot(0xc208018000, 0x7ff40000004a)
    /home/reus/langs/go/src/runtime/mgcmark.go:138 +0x1ef
runtime.parfordo(0xc208018000)
    /home/reus/langs/go/src/runtime/parfor.go:95 +0x12a
runtime.gcscan_m()
    /home/reus/langs/go/src/runtime/mgcmark.go:37 +0xde
runtime.gc.func1()
    /home/reus/langs/go/src/runtime/mgc.go:876 +0x5c
runtime.systemstack(0xc20801a000)
    /home/reus/langs/go/src/runtime/asm_amd64.s:262 +0x7c
runtime.mstart()
    /home/reus/langs/go/src/runtime/proc1.go:656

goroutine 18 [garbage collection scan]:
runtime.systemstack_switch()
    /home/reus/langs/go/src/runtime/asm_amd64.s:216 fp=0xc2080224e8 sp=0xc2080224e0
runtime.gc(0x0)
    /home/reus/langs/go/src/runtime/mgc.go:887 +0x1d9 fp=0xc208022790 sp=0xc2080224e8
runtime.backgroundgc()
    /home/reus/langs/go/src/runtime/mgc.go:783 +0x3d fp=0xc2080227c0 sp=0xc208022790
runtime.goexit()
    /home/reus/langs/go/src/runtime/asm_amd64.s:1700 +0x1 fp=0xc2080227c8 sp=0xc2080227c0
created by runtime.startGC
    /home/reus/langs/go/src/runtime/mgc.go:756 +0x147

goroutine 1 [chan receive]:
main.main()
    /home/reus/src/github.com/reusee/taobao/main.go:110 +0xf7f

goroutine 17 [syscall, 61 minutes, locked to thread]:
runtime.goexit()
    /home/reus/langs/go/src/runtime/asm_amd64.s:1700 +0x1

goroutine 5 [chan receive, 61 minutes]:
database/sql.(*DB).connectionOpener(0xc2080a8dc0)
    /home/reus/langs/go/src/database/sql/sql.go:623 +0x45
created by database/sql.Open
    /home/reus/langs/go/src/database/sql/sql.go:470 +0x30a

goroutine 25841 [select]:
net/http.(*persistConn).roundTrip(0xc208406370, 0xc20813e630, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/transport.go:1165 +0x8de
net/http.(*Transport).RoundTrip(0xc208096750, 0xc2082e6410, 0xc2082ea160, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/transport.go:235 +0x530
net/http.send(0xc2082e6410, 0x7ff4e1741468, 0xc208096750, 0x45, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/client.go:220 +0x4de
net/http.(*Client).send(0xc208015c80, 0xc2082e6410, 0x45, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/client.go:143 +0x15a
net/http.(*Client).doFollowingRedirects(0xc208015c80, 0xc2082e6410, 0x8fb388, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/client.go:380 +0xbc0
net/http.(*Client).Get(0xc208015c80, 0xc2086b4230, 0x45, 0x1, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/client.go:306 +0xaa
github.com/reusee/hcutil.GetBytes(0xc208015c80, 0xc2086b4230, 0x45, 0x0, 0x0, 0x0, 0x0, 0x0)
    /home/reus/src/github.com/reusee/hcutil/hcutil.go:39 +0x82
main.main.func1(0xc2080183c0, 0xc208015c80, 0xc208379000, 0x301fd44, 0x7, 0xc2080155f0, 0xc208310df0, 0xd, 0xc20810b840, 0xd)
    /home/reus/src/github.com/reusee/taobao/main.go:118 +0x211
created by main.main
    /home/reus/src/github.com/reusee/taobao/main.go:159 +0x1029

goroutine 24925 [select]:
net/http.(*persistConn).readLoop(0xc2082ea6e0)
    /home/reus/langs/go/src/net/http/transport.go:980 +0xa54
created by net/http.(*Transport).dialConn
    /home/reus/langs/go/src/net/http/transport.go:684 +0xc5b

goroutine 25819 [select]:
net/http.(*persistConn).roundTrip(0xc2082ea370, 0xc20810a0d0, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/transport.go:1165 +0x8de
net/http.(*Transport).RoundTrip(0xc208096b40, 0xc20807a8f0, 0xc2080dc000, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/transport.go:235 +0x530
net/http.send(0xc20807a8f0, 0x7ff4e1741468, 0xc208096b40, 0x45, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/client.go:220 +0x4de
net/http.(*Client).send(0xc208015dd0, 0xc20807a8f0, 0x45, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/client.go:143 +0x15a
net/http.(*Client).doFollowingRedirects(0xc208015dd0, 0xc20807a8f0, 0x8fb388, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/client.go:380 +0xbc0
net/http.(*Client).Get(0xc208015dd0, 0xc208372050, 0x45, 0x3, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/client.go:306 +0xaa
github.com/reusee/hcutil.GetBytes(0xc208015dd0, 0xc208372050, 0x45, 0x0, 0x0, 0x0, 0x0, 0x0)
    /home/reus/src/github.com/reusee/hcutil/hcutil.go:39 +0x82
main.main.func1(0xc2080183c0, 0xc208015dd0, 0xc208379000, 0x3023bc1, 0x4, 0xc2080155f0, 0xc208310df0, 0xd, 0xc20810b840, 0xd)
    /home/reus/src/github.com/reusee/taobao/main.go:118 +0x211
created by main.main
    /home/reus/src/github.com/reusee/taobao/main.go:159 +0x1029

goroutine 25753 [select]:
net/http.(*persistConn).writeLoop(0xc2080dc210)
    /home/reus/langs/go/src/net/http/transport.go:1011 +0x40c
created by net/http.(*Transport).dialConn
    /home/reus/langs/go/src/net/http/transport.go:685 +0xc80

goroutine 25818 [IO wait]:
net.runtime_pollWait(0x7ff4e1742088, 0x72, 0xc20800a1d0)
    /home/reus/langs/go/src/runtime/netpoll.go:157 +0x60
net.(*pollDesc).Wait(0xc208498d10, 0x72, 0x0, 0x0)
    /home/reus/langs/go/src/net/fd_poll_runtime.go:73 +0x3a
net.(*pollDesc).WaitRead(0xc208498d10, 0x0, 0x0)
    /home/reus/langs/go/src/net/fd_poll_runtime.go:78 +0x36
net.(*netFD).Read(0xc208498cb0, 0xc20894a000, 0x1000, 0x1000, 0x0, 0x7ff4e173d050, 0xc20800a1d0)
    /home/reus/langs/go/src/net/fd_unix.go:233 +0x23a
net.(*conn).Read(0xc20835a030, 0xc20894a000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/net/net.go:124 +0xe4
net/http.noteEOFReader.Read(0x7ff4e1742748, 0xc20835a030, 0xc2082ea738, 0xc20894a000, 0x1000, 0x1000, 0xbaf, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/transport.go:1352 +0x67
net/http.(*noteEOFReader).Read(0xc2084d27c0, 0xc20894a000, 0x1000, 0x1000, 0xbaf, 0x0, 0x0)
    <autogenerated>:125 +0xd0
bufio.(*Reader).fill(0xc2086b2120)
    /home/reus/langs/go/src/bufio/bufio.go:97 +0x1e9
bufio.(*Reader).Read(0xc2086b2120, 0xc20864bd60, 0x2a0, 0x2a0, 0xbaf, 0x0, 0x0)
    /home/reus/langs/go/src/bufio/bufio.go:207 +0x260
net/http/internal.(*chunkedReader).Read(0xc2087881e0, 0xc20864bd60, 0x2a0, 0x2a0, 0xd60, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/internal/chunked.go:88 +0x139
net/http.(*body).readLocked(0xc20840e140, 0xc20864b000, 0x1000, 0x1000, 0x1000, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/transfer.go:590 +0x70
net/http.(*body).Read(0xc20840e140, 0xc20864b000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/transfer.go:585 +0x110
bufio.(*Reader).fill(0xc208350780)
    /home/reus/langs/go/src/bufio/bufio.go:97 +0x1e9
bufio.(*Reader).ReadByte(0xc208350780, 0xbb, 0x0, 0x0)
    /home/reus/langs/go/src/bufio/bufio.go:229 +0x7a
compress/flate.(*decompressor).moreBits(0xc208409200, 0x0, 0x0)
    /home/reus/langs/go/src/compress/flate/inflate.go:680 +0x4d
compress/flate.(*decompressor).huffSym(0xc208409200, 0xc208409230, 0x6f, 0x0, 0x0)
    /home/reus/langs/go/src/compress/flate/inflate.go:698 +0x5b
compress/flate.(*decompressor).huffmanBlock(0xc208409200)
    /home/reus/langs/go/src/compress/flate/inflate.go:455 +0x46
compress/flate.(*decompressor).copyHuff(0xc208409200)
    /home/reus/langs/go/src/compress/flate/inflate.go:605 +0x3e
compress/flate.(*decompressor).Read(0xc208409200, 0xc20817c000, 0x7e00, 0x7e00, 0x8000, 0x0, 0x0)
    /home/reus/langs/go/src/compress/flate/inflate.go:335 +0x1ae
compress/gzip.(*Reader).Read(0xc2080d8580, 0xc20817c000, 0x7e00, 0x7e00, 0xffffffff, 0x0, 0x0)
    /home/reus/langs/go/src/compress/gzip/gunzip.go:250 +0xef
net/http.(*gzipReader).Read(0xc208102140, 0xc20817c000, 0x7e00, 0x7e00, 0x8000, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/transport.go:1328 +0x14a
net/http.(*bodyEOFSignal).Read(0xc20840e1c0, 0xc20817c000, 0x7e00, 0x7e00, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/transport.go:1278 +0x26a
net/http.(*cancelTimerBody).Read(0xc208102180, 0xc20817c000, 0x7e00, 0x7e00, 0x8000, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/client.go:541 +0x77
bytes.(*Buffer).ReadFrom(0xc208049af8, 0x7ff4de915348, 0xc208102180, 0x18000, 0x0, 0x0)
    /home/reus/langs/go/src/bytes/buffer.go:173 +0x23f
io/ioutil.readAll(0x7ff4de915348, 0xc208102180, 0x200, 0x0, 0x0, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/io/ioutil/ioutil.go:33 +0x154
io/ioutil.ReadAll(0x7ff4de915348, 0xc208102180, 0x0, 0x0, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/io/ioutil/ioutil.go:42 +0x51
github.com/reusee/hcutil.GetBytes(0xc208015ce0, 0xc2086b4000, 0x45, 0x0, 0x0, 0x0, 0x0, 0x0)
    /home/reus/src/github.com/reusee/hcutil/hcutil.go:50 +0x3e9
main.main.func1(0xc2080183c0, 0xc208015ce0, 0xc208379000, 0x3023bca, 0x5, 0xc2080155f0, 0xc208310df0, 0xd, 0xc20810b840, 0xd)
    /home/reus/src/github.com/reusee/taobao/main.go:118 +0x211
created by main.main
    /home/reus/src/github.com/reusee/taobao/main.go:159 +0x1029

goroutine 25844 [IO wait]:
net.runtime_pollWait(0x7ff4e17419c8, 0x72, 0xc20800a1d0)
    /home/reus/langs/go/src/runtime/netpoll.go:157 +0x60
net.(*pollDesc).Wait(0xc208499100, 0x72, 0x0, 0x0)
    /home/reus/langs/go/src/net/fd_poll_runtime.go:73 +0x3a
net.(*pollDesc).WaitRead(0xc208499100, 0x0, 0x0)
    /home/reus/langs/go/src/net/fd_poll_runtime.go:78 +0x36
net.(*netFD).Read(0xc2084990a0, 0xc20877c000, 0x1000, 0x1000, 0x0, 0x7ff4e173d050, 0xc20800a1d0)
    /home/reus/langs/go/src/net/fd_unix.go:233 +0x23a
net.(*conn).Read(0xc2082fe030, 0xc20877c000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/net/net.go:124 +0xe4
bufio.(*Reader).fill(0xc20863bf80)
    /home/reus/langs/go/src/bufio/bufio.go:97 +0x1e9
bufio.(*Reader).Read(0xc20863bf80, 0xc20853ab08, 0x5, 0x80, 0xc208064000, 0x0, 0x0)
    /home/reus/langs/go/src/bufio/bufio.go:207 +0x260
io.ReadAtLeast(0x7ff4e1742770, 0xc20863bf80, 0xc20853ab08, 0x5, 0x80, 0x5, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/io/io.go:298 +0xe6
io.ReadFull(0x7ff4e1742770, 0xc20863bf80, 0xc20853ab08, 0x5, 0x80, 0xc208587938, 0x0, 0x0)
    /home/reus/langs/go/src/io/io.go:316 +0x62
github.com/jackc/pgx.(*msgReader).rxMsg(0xc20853ab00, 0x3, 0x0, 0x0)
    /home/reus/src/github.com/jackc/pgx/msg_reader.go:40 +0x125
github.com/jackc/pgx.(*Conn).rxMsg(0xc20853a600, 0xc208096510, 0x8c, 0x0, 0x0)
    /home/reus/src/github.com/jackc/pgx/conn.go:765 +0x7d
github.com/jackc/pgx.(*Conn).Exec(0xc20853a600, 0xc208096510, 0x8c, 0xc20879bd40, 0x3, 0x3, 0x0, 0x0, 0x0, 0x0)
    /home/reus/src/github.com/jackc/pgx/conn.go:716 +0x1a3
github.com/jackc/pgx/stdlib.(*Conn).Exec(0xc208308a60, 0xc208096510, 0x8c, 0xc20879bd10, 0x3, 0x3, 0x0, 0x0, 0x0, 0x0)
    /home/reus/src/github.com/jackc/pgx/stdlib/sql.go:187 +0x11f
database/sql.(*DB).exec(0xc2080a8dc0, 0xc208096510, 0x8c, 0xc208587ea8, 0x3, 0x3, 0x44f901, 0x0, 0x0, 0x0, ...)
    /home/reus/langs/go/src/database/sql/sql.go:908 +0x2c2
database/sql.(*DB).Exec(0xc2080a8dc0, 0xc208096510, 0x8c, 0xc208587ea8, 0x3, 0x3, 0x0, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/database/sql/sql.go:882 +0xbe
main.main.func1(0xc2080183c0, 0xc208015da0, 0xc208379000, 0x30214c1, 0x7, 0xc2080155f0, 0xc208310df0, 0xd, 0xc20810b840, 0xd)
    /home/reus/src/github.com/reusee/taobao/main.go:132 +0x9d2
created by main.main
    /home/reus/src/github.com/reusee/taobao/main.go:159 +0x1029

goroutine 25809 [runnable]:
syscall.Syscall(0x0, 0xc, 0xc208434000, 0x1000, 0x5b4, 0x1000, 0x0)
    /home/reus/langs/go/src/syscall/asm_linux_amd64.s:18 +0x5
syscall.read(0xc, 0xc208434000, 0x1000, 0x1000, 0x72, 0x0, 0x0)
    /home/reus/langs/go/src/syscall/zsyscall_linux_amd64.go:783 +0x5f
syscall.Read(0xc, 0xc208434000, 0x1000, 0x1000, 0xffffffffffffff01, 0x0, 0x0)
    /home/reus/langs/go/src/syscall/syscall_unix.go:160 +0x4d
net.(*netFD).Read(0xc208498540, 0xc208434000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/net/fd_unix.go:229 +0x18b
net.(*conn).Read(0xc20835a028, 0xc208434000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/net/net.go:124 +0xe4
net/http.noteEOFReader.Read(0x7ff4e1742748, 0xc20835a028, 0xc208406268, 0xc208434000, 0x1000, 0x1000, 0x238, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/transport.go:1352 +0x67
net/http.(*noteEOFReader).Read(0xc2086f4ba0, 0xc208434000, 0x1000, 0x1000, 0x238, 0x0, 0x0)
    <autogenerated>:125 +0xd0
bufio.(*Reader).fill(0xc2084efbc0)
    /home/reus/langs/go/src/bufio/bufio.go:97 +0x1e9
bufio.(*Reader).Read(0xc2084efbc0, 0xc20877dea6, 0x15a, 0x15a, 0x238, 0x0, 0x0)
    /home/reus/langs/go/src/bufio/bufio.go:207 +0x260
net/http/internal.(*chunkedReader).Read(0xc208360b40, 0xc20877dea6, 0x15a, 0x15a, 0xea6, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/internal/chunked.go:88 +0x139
net/http.(*body).readLocked(0xc2086cf880, 0xc20877d000, 0x1000, 0x1000, 0x38a, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/transfer.go:590 +0x70
net/http.(*body).Read(0xc2086cf880, 0xc20877d000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/transfer.go:585 +0x110
bufio.(*Reader).fill(0xc208350ea0)
    /home/reus/langs/go/src/bufio/bufio.go:97 +0x1e9
bufio.(*Reader).ReadByte(0xc208350ea0, 0xda, 0x0, 0x0)
    /home/reus/langs/go/src/bufio/bufio.go:229 +0x7a
compress/flate.(*decompressor).moreBits(0xc208305600, 0x0, 0x0)
    /home/reus/langs/go/src/compress/flate/inflate.go:680 +0x4d
compress/flate.(*decompressor).huffSym(0xc208305600, 0xc208305e58, 0x105, 0x0, 0x0)
    /home/reus/langs/go/src/compress/flate/inflate.go:698 +0x5b
compress/flate.(*decompressor).huffmanBlock(0xc208305600)
    /home/reus/langs/go/src/compress/flate/inflate.go:523 +0x890
compress/flate.(*decompressor).copyHuff(0xc208305600)
    /home/reus/langs/go/src/compress/flate/inflate.go:605 +0x3e
compress/flate.(*decompressor).Read(0xc208305600, 0xc2083a2000, 0x17e00, 0x17e00, 0x8000, 0x0, 0x0)
    /home/reus/langs/go/src/compress/flate/inflate.go:335 +0x1ae
compress/gzip.(*Reader).Read(0xc2080d9b80, 0xc2083a2000, 0x17e00, 0x17e00, 0xffffffff, 0x0, 0x0)
    /home/reus/langs/go/src/compress/gzip/gunzip.go:250 +0xef
net/http.(*gzipReader).Read(0xc20812bd20, 0xc2083a2000, 0x17e00, 0x17e00, 0x8000, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/transport.go:1328 +0x14a
net/http.(*bodyEOFSignal).Read(0xc2086cf8c0, 0xc2083a2000, 0x17e00, 0x17e00, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/transport.go:1278 +0x26a
net/http.(*cancelTimerBody).Read(0xc20812bd60, 0xc2083a2000, 0x17e00, 0x17e00, 0x8000, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/client.go:541 +0x77
bytes.(*Buffer).ReadFrom(0xc208955af8, 0x7ff4de915348, 0xc20812bd60, 0x28000, 0x0, 0x0)
    /home/reus/langs/go/src/bytes/buffer.go:173 +0x23f
io/ioutil.readAll(0x7ff4de915348, 0xc20812bd60, 0x200, 0x0, 0x0, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/io/ioutil/ioutil.go:33 +0x154
io/ioutil.ReadAll(0x7ff4de915348, 0xc20812bd60, 0x0, 0x0, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/io/ioutil/ioutil.go:42 +0x51
github.com/reusee/hcutil.GetBytes(0xc208015c50, 0xc208100050, 0x45, 0x0, 0x0, 0x0, 0x0, 0x0)
    /home/reus/src/github.com/reusee/hcutil/hcutil.go:50 +0x3e9
main.main.func1(0xc2080183c0, 0xc208015c50, 0xc208379000, 0x30233fd, 0x5, 0xc2080155f0, 0xc208310df0, 0xd, 0xc20810b840, 0xd)
    /home/reus/src/github.com/reusee/taobao/main.go:118 +0x211
created by main.main
    /home/reus/src/github.com/reusee/taobao/main.go:159 +0x1029

goroutine 25754 [IO wait]:
net.runtime_pollWait(0x7ff4e1742148, 0x72, 0xc20800a1d0)
    /home/reus/langs/go/src/runtime/netpoll.go:157 +0x60
net.(*pollDesc).Wait(0xc208510530, 0x72, 0x0, 0x0)
    /home/reus/langs/go/src/net/fd_poll_runtime.go:73 +0x3a
net.(*pollDesc).WaitRead(0xc208510530, 0x0, 0x0)
    /home/reus/langs/go/src/net/fd_poll_runtime.go:78 +0x36
net.(*netFD).Read(0xc2085104d0, 0xc208812000, 0x1000, 0x1000, 0x0, 0x7ff4e173d050, 0xc20800a1d0)
    /home/reus/langs/go/src/net/fd_unix.go:233 +0x23a
net.(*conn).Read(0xc2082fe040, 0xc208812000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/net/net.go:124 +0xe4
net/http.noteEOFReader.Read(0x7ff4e1742748, 0xc2082fe040, 0xc2084063c8, 0xc208812000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/transport.go:1352 +0x67
net/http.(*noteEOFReader).Read(0xc2084d2100, 0xc208812000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    <autogenerated>:125 +0xd0
bufio.(*Reader).fill(0xc208700000)
    /home/reus/langs/go/src/bufio/bufio.go:97 +0x1e9
bufio.(*Reader).Peek(0xc208700000, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/bufio/bufio.go:132 +0xcc
net/http.(*persistConn).readLoop(0xc208406370)
    /home/reus/langs/go/src/net/http/transport.go:887 +0xf7
created by net/http.(*Transport).dialConn
    /home/reus/langs/go/src/net/http/transport.go:684 +0xc5b

goroutine 25160 [select]:
net/http.(*persistConn).readLoop(0xc2082ea210)
    /home/reus/langs/go/src/net/http/transport.go:980 +0xa54
created by net/http.(*Transport).dialConn
    /home/reus/langs/go/src/net/http/transport.go:684 +0xc5b

goroutine 25842 [IO wait]:
net.runtime_pollWait(0x7ff4e1742388, 0x72, 0xc20800a1d0)
    /home/reus/langs/go/src/runtime/netpoll.go:157 +0x60
net.(*pollDesc).Wait(0xc2084995d0, 0x72, 0x0, 0x0)
    /home/reus/langs/go/src/net/fd_poll_runtime.go:73 +0x3a
net.(*pollDesc).WaitRead(0xc2084995d0, 0x0, 0x0)
    /home/reus/langs/go/src/net/fd_poll_runtime.go:78 +0x36
net.(*netFD).Read(0xc208499570, 0xc20862f000, 0x1000, 0x1000, 0x0, 0x7ff4e173d050, 0xc20800a1d0)
    /home/reus/langs/go/src/net/fd_unix.go:233 +0x23a
net.(*conn).Read(0xc2082fe070, 0xc20862f000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/net/net.go:124 +0xe4
bufio.(*Reader).fill(0xc208018840)
    /home/reus/langs/go/src/bufio/bufio.go:97 +0x1e9
bufio.(*Reader).Read(0xc208018840, 0xc208011d08, 0x5, 0x80, 0xc208064400, 0x0, 0x0)
    /home/reus/langs/go/src/bufio/bufio.go:207 +0x260
io.ReadAtLeast(0x7ff4e1742770, 0xc208018840, 0xc208011d08, 0x5, 0x80, 0x5, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/io/io.go:298 +0xe6
io.ReadFull(0x7ff4e1742770, 0xc208018840, 0xc208011d08, 0x5, 0x80, 0xc208191938, 0x0, 0x0)
    /home/reus/langs/go/src/io/io.go:316 +0x62
github.com/jackc/pgx.(*msgReader).rxMsg(0xc208011d00, 0x3, 0x0, 0x0)
    /home/reus/src/github.com/jackc/pgx/msg_reader.go:40 +0x125
github.com/jackc/pgx.(*Conn).rxMsg(0xc208011800, 0xc20835ccf0, 0x8c, 0x0, 0x0)
    /home/reus/src/github.com/jackc/pgx/conn.go:765 +0x7d
github.com/jackc/pgx.(*Conn).Exec(0xc208011800, 0xc20835ccf0, 0x8c, 0xc20880ef60, 0x3, 0x3, 0x0, 0x0, 0x0, 0x0)
    /home/reus/src/github.com/jackc/pgx/conn.go:716 +0x1a3
github.com/jackc/pgx/stdlib.(*Conn).Exec(0xc20810db80, 0xc20835ccf0, 0x8c, 0xc20880eed0, 0x3, 0x3, 0x0, 0x0, 0x0, 0x0)
    /home/reus/src/github.com/jackc/pgx/stdlib/sql.go:187 +0x11f
database/sql.(*DB).exec(0xc2080a8dc0, 0xc20835ccf0, 0x8c, 0xc208191ea8, 0x3, 0x3, 0x44f901, 0x0, 0x0, 0x0, ...)
    /home/reus/langs/go/src/database/sql/sql.go:908 +0x2c2
database/sql.(*DB).Exec(0xc2080a8dc0, 0xc20835ccf0, 0x8c, 0xc208191ea8, 0x3, 0x3, 0x0, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/database/sql/sql.go:882 +0xbe
main.main.func1(0xc2080183c0, 0xc208015d70, 0xc208379000, 0x301fd44, 0x6, 0xc2080155f0, 0xc208310df0, 0xd, 0xc20810b840, 0xd)
    /home/reus/src/github.com/reusee/taobao/main.go:132 +0x9d2
created by main.main
    /home/reus/src/github.com/reusee/taobao/main.go:159 +0x1029

goroutine 24926 [select]:
net/http.(*persistConn).writeLoop(0xc2082ea6e0)
    /home/reus/langs/go/src/net/http/transport.go:1011 +0x40c
created by net/http.(*Transport).dialConn
    /home/reus/langs/go/src/net/http/transport.go:685 +0xc80

goroutine 25840 [syscall]:
syscall.Syscall(0x1, 0xb, 0xc208535f80, 0x23, 0x23, 0x23, 0x0)
    /home/reus/langs/go/src/syscall/asm_linux_amd64.s:18 +0x5
syscall.write(0xb, 0xc208535f80, 0x23, 0x80, 0x77, 0x0, 0x0)
    /home/reus/langs/go/src/syscall/zsyscall_linux_amd64.go:1064 +0x5f
syscall.Write(0xb, 0xc208535f80, 0x23, 0x80, 0xa3c020, 0x0, 0x0)
    /home/reus/langs/go/src/syscall/syscall_unix.go:176 +0x4d
net.(*netFD).Write(0xc208511c00, 0xc208535f80, 0x23, 0x80, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/net/fd_unix.go:338 +0x1c7
net.(*conn).Write(0xc2082fe018, 0xc208535f80, 0x23, 0x80, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/net/net.go:136 +0xe4
github.com/jackc/pgx.(*Conn).txStartupMessage(0xc208011200, 0xc20858b580, 0x0, 0x0)
    /home/reus/src/github.com/jackc/pgx/conn.go:929 +0x87
github.com/jackc/pgx.Connect(0x8b4bc0, 0x9, 0x0, 0x8b4bca, 0x6, 0x8b4bbb, 0x4, 0x0, 0x0, 0x0, ...)
    /home/reus/src/github.com/jackc/pgx/conn.go:178 +0x13f5
github.com/jackc/pgx/stdlib.(*Driver).Open(0xc20802a078, 0x8b4bb0, 0x20, 0x0, 0x0, 0x0, 0x0)
    /home/reus/src/github.com/jackc/pgx/stdlib/sql.go:96 +0x26e
database/sql.(*DB).conn(0xc2080a8dc0, 0x1, 0xc20802c800, 0x0, 0x0)
    /home/reus/langs/go/src/database/sql/sql.go:699 +0x451
database/sql.(*DB).exec(0xc2080a8dc0, 0xc2084be000, 0x8c, 0xc20858bea8, 0x3, 0x3, 0x44f901, 0x0, 0x0, 0x0, ...)
    /home/reus/langs/go/src/database/sql/sql.go:894 +0x87
database/sql.(*DB).Exec(0xc2080a8dc0, 0xc2084be000, 0x8c, 0xc20858bea8, 0x3, 0x3, 0x0, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/database/sql/sql.go:882 +0xbe
main.main.func1(0xc2080183c0, 0xc208015cb0, 0xc208379000, 0x3023bca, 0x6, 0xc2080155f0, 0xc208310df0, 0xd, 0xc20810b840, 0xd)
    /home/reus/src/github.com/reusee/taobao/main.go:132 +0x9d2
created by main.main
    /home/reus/src/github.com/reusee/taobao/main.go:159 +0x1029

goroutine 25496 [IO wait]:
net.runtime_pollWait(0x7ff4e1741848, 0x72, 0xc20800a1d0)
    /home/reus/langs/go/src/runtime/netpoll.go:157 +0x60
net.(*pollDesc).Wait(0xc2084984c0, 0x72, 0x0, 0x0)
    /home/reus/langs/go/src/net/fd_poll_runtime.go:73 +0x3a
net.(*pollDesc).WaitRead(0xc2084984c0, 0x0, 0x0)
    /home/reus/langs/go/src/net/fd_poll_runtime.go:78 +0x36
net.(*netFD).Read(0xc208498460, 0xc20894c000, 0x1000, 0x1000, 0x0, 0x7ff4e173d050, 0xc20800a1d0)
    /home/reus/langs/go/src/net/fd_unix.go:233 +0x23a
net.(*conn).Read(0xc2082fe058, 0xc20894c000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/net/net.go:124 +0xe4
net/http.noteEOFReader.Read(0x7ff4e1742748, 0xc2082fe058, 0xc208406108, 0xc20894c000, 0x1000, 0x1000, 0xa40400, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/transport.go:1352 +0x67
net/http.(*noteEOFReader).Read(0xc2086f4da0, 0xc20894c000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    <autogenerated>:125 +0xd0
bufio.(*Reader).fill(0xc2082a9500)
    /home/reus/langs/go/src/bufio/bufio.go:97 +0x1e9
bufio.(*Reader).Peek(0xc2082a9500, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/bufio/bufio.go:132 +0xcc
net/http.(*persistConn).readLoop(0xc2084060b0)
    /home/reus/langs/go/src/net/http/transport.go:887 +0xf7
created by net/http.(*Transport).dialConn
    /home/reus/langs/go/src/net/http/transport.go:684 +0xc5b

goroutine 25834 [IO wait]:
net.runtime_pollWait(0x7ff4e1741908, 0x72, 0xc20800a1d0)
    /home/reus/langs/go/src/runtime/netpoll.go:157 +0x60
net.(*pollDesc).Wait(0xc2085116b0, 0x72, 0x0, 0x0)
    /home/reus/langs/go/src/net/fd_poll_runtime.go:73 +0x3a
net.(*pollDesc).WaitRead(0xc2085116b0, 0x0, 0x0)
    /home/reus/langs/go/src/net/fd_poll_runtime.go:78 +0x36
net.(*netFD).Read(0xc208511650, 0xc2080da000, 0x1000, 0x1000, 0x0, 0x7ff4e173d050, 0xc20800a1d0)
    /home/reus/langs/go/src/net/fd_unix.go:233 +0x23a
net.(*conn).Read(0xc20802a0f0, 0xc2080da000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/net/net.go:124 +0xe4
net/http.noteEOFReader.Read(0x7ff4e1742748, 0xc20802a0f0, 0xc2080dc268, 0xc2080da000, 0x1000, 0x1000, 0x4a9500, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/transport.go:1352 +0x67
net/http.(*noteEOFReader).Read(0xc20812bc00, 0xc2080da000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    <autogenerated>:125 +0xd0
bufio.(*Reader).fill(0xc2086ca5a0)
    /home/reus/langs/go/src/bufio/bufio.go:97 +0x1e9
bufio.(*Reader).ReadSlice(0xc2086ca5a0, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/bufio/bufio.go:328 +0x21a
net/http/internal.readLine(0xc2086ca5a0, 0x0, 0x0, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/internal/chunked.go:110 +0x4b
net/http/internal.(*chunkedReader).beginChunk(0xc20880e780)
    /home/reus/langs/go/src/net/http/internal/chunked.go:47 +0x39
net/http/internal.(*chunkedReader).Read(0xc20880e780, 0xc208017000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/internal/chunked.go:77 +0xb7
net/http.(*body).readLocked(0xc20866df00, 0xc208017000, 0x1000, 0x1000, 0xeea, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/transfer.go:590 +0x70
net/http.(*body).Read(0xc20866df00, 0xc208017000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/transfer.go:585 +0x110
bufio.(*Reader).fill(0xc208700300)
    /home/reus/langs/go/src/bufio/bufio.go:97 +0x1e9
bufio.(*Reader).ReadByte(0xc208700300, 0x6, 0x0, 0x0)
    /home/reus/langs/go/src/bufio/bufio.go:229 +0x7a
compress/flate.(*decompressor).moreBits(0xc208304400, 0x0, 0x0)
    /home/reus/langs/go/src/compress/flate/inflate.go:680 +0x4d
compress/flate.(*decompressor).huffmanBlock(0xc208304400)
    /home/reus/langs/go/src/compress/flate/inflate.go:540 +0x795
compress/flate.(*decompressor).copyHuff(0xc208304400)
    /home/reus/langs/go/src/compress/flate/inflate.go:605 +0x3e
compress/flate.(*decompressor).Read(0xc208304400, 0xc208500000, 0xfe00, 0xfe00, 0x200, 0x0, 0x0)
    /home/reus/langs/go/src/compress/flate/inflate.go:335 +0x1ae
compress/gzip.(*Reader).Read(0xc2080d8dc0, 0xc208500000, 0xfe00, 0xfe00, 0xffffffff, 0x0, 0x0)
    /home/reus/langs/go/src/compress/gzip/gunzip.go:250 +0xef
net/http.(*gzipReader).Read(0xc2083095a0, 0xc208500000, 0xfe00, 0xfe00, 0x200, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/transport.go:1328 +0x14a
net/http.(*bodyEOFSignal).Read(0xc20866df40, 0xc208500000, 0xfe00, 0xfe00, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/transport.go:1278 +0x26a
net/http.(*cancelTimerBody).Read(0xc2083095e0, 0xc208500000, 0xfe00, 0xfe00, 0x200, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/client.go:541 +0x77
bytes.(*Buffer).ReadFrom(0xc208957af8, 0x7ff4de915348, 0xc2083095e0, 0x10000, 0x0, 0x0)
    /home/reus/langs/go/src/bytes/buffer.go:173 +0x23f
io/ioutil.readAll(0x7ff4de915348, 0xc2083095e0, 0x200, 0x0, 0x0, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/io/ioutil/ioutil.go:33 +0x154
io/ioutil.ReadAll(0x7ff4de915348, 0xc2083095e0, 0x0, 0x0, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/io/ioutil/ioutil.go:42 +0x51
github.com/reusee/hcutil.GetBytes(0xc208015d10, 0xc2086b54f0, 0x44, 0x0, 0x0, 0x0, 0x0, 0x0)
    /home/reus/src/github.com/reusee/hcutil/hcutil.go:50 +0x3e9
main.main.func1(0xc2080183c0, 0xc208015d10, 0xc208379000, 0x301fd44, 0x1, 0xc2080155f0, 0xc208310df0, 0xd, 0xc20810b840, 0xd)
    /home/reus/src/github.com/reusee/taobao/main.go:118 +0x211
created by main.main
    /home/reus/src/github.com/reusee/taobao/main.go:159 +0x1029

goroutine 25008 [IO wait]:
net.runtime_pollWait(0x7ff4e1741c08, 0x72, 0xc20800a1d0)
    /home/reus/langs/go/src/runtime/netpoll.go:157 +0x60
net.(*pollDesc).Wait(0xc208498bc0, 0x72, 0x0, 0x0)
    /home/reus/langs/go/src/net/fd_poll_runtime.go:73 +0x3a
net.(*pollDesc).WaitRead(0xc208498bc0, 0x0, 0x0)
    /home/reus/langs/go/src/net/fd_poll_runtime.go:78 +0x36
net.(*netFD).Read(0xc208498b60, 0xc208356000, 0x1000, 0x1000, 0x0, 0x7ff4e173d050, 0xc20800a1d0)
    /home/reus/langs/go/src/net/fd_unix.go:233 +0x23a
net.(*conn).Read(0xc20835a098, 0xc208356000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/net/net.go:124 +0xe4
net/http.noteEOFReader.Read(0x7ff4e1742748, 0xc20835a098, 0xc208406738, 0xc208356000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/transport.go:1352 +0x67
net/http.(*noteEOFReader).Read(0xc208308b20, 0xc208356000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    <autogenerated>:125 +0xd0
bufio.(*Reader).fill(0xc2081ac4e0)
    /home/reus/langs/go/src/bufio/bufio.go:97 +0x1e9
bufio.(*Reader).Peek(0xc2081ac4e0, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/bufio/bufio.go:132 +0xcc
net/http.(*persistConn).readLoop(0xc2084066e0)
    /home/reus/langs/go/src/net/http/transport.go:887 +0xf7
created by net/http.(*Transport).dialConn
    /home/reus/langs/go/src/net/http/transport.go:684 +0xc5b

goroutine 25009 [select]:
net/http.(*persistConn).writeLoop(0xc2084066e0)
    /home/reus/langs/go/src/net/http/transport.go:1011 +0x40c
created by net/http.(*Transport).dialConn
    /home/reus/langs/go/src/net/http/transport.go:685 +0xc80

goroutine 25802 [IO wait]:
net.runtime_pollWait(0x7ff4e1741b48, 0x72, 0xc20800a1d0)
    /home/reus/langs/go/src/runtime/netpoll.go:157 +0x60
net.(*pollDesc).Wait(0xc208510220, 0x72, 0x0, 0x0)
    /home/reus/langs/go/src/net/fd_poll_runtime.go:73 +0x3a
net.(*pollDesc).WaitRead(0xc208510220, 0x0, 0x0)
    /home/reus/langs/go/src/net/fd_poll_runtime.go:78 +0x36
net.(*netFD).Read(0xc2085101c0, 0xc20834d000, 0x1000, 0x1000, 0x0, 0x7ff4e173d050, 0xc20800a1d0)
    /home/reus/langs/go/src/net/fd_unix.go:233 +0x23a
net.(*conn).Read(0xc208512038, 0xc20834d000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/net/net.go:124 +0xe4
net/http.noteEOFReader.Read(0x7ff4e1742748, 0xc208512038, 0xc2082ea268, 0xc20834d000, 0x1000, 0x1000, 0x200, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/transport.go:1352 +0x67
net/http.(*noteEOFReader).Read(0xc2084d2180, 0xc20834d000, 0x1000, 0x1000, 0x200, 0x0, 0x0)
    <autogenerated>:125 +0xd0
bufio.(*Reader).fill(0xc208446240)
    /home/reus/langs/go/src/bufio/bufio.go:97 +0x1e9
bufio.(*Reader).Read(0xc208446240, 0xc208192255, 0xc95, 0xdab, 0x200, 0x0, 0x0)
    /home/reus/langs/go/src/bufio/bufio.go:207 +0x260
net/http/internal.(*chunkedReader).Read(0xc20880f0e0, 0xc208192255, 0xdab, 0xdab, 0x255, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/internal/chunked.go:88 +0x139
net/http.(*body).readLocked(0xc208163e80, 0xc208192000, 0x1000, 0x1000, 0xc208192000, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/transfer.go:590 +0x70
net/http.(*body).Read(0xc208163e80, 0xc208192000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/transfer.go:585 +0x110
bufio.(*Reader).fill(0xc208350d80)
    /home/reus/langs/go/src/bufio/bufio.go:97 +0x1e9
bufio.(*Reader).ReadByte(0xc208350d80, 0x5, 0x0, 0x0)
    /home/reus/langs/go/src/bufio/bufio.go:229 +0x7a
compress/flate.(*decompressor).moreBits(0xc208408000, 0x0, 0x0)
    /home/reus/langs/go/src/compress/flate/inflate.go:680 +0x4d
compress/flate.(*decompressor).huffmanBlock(0xc208408000)
    /home/reus/langs/go/src/compress/flate/inflate.go:540 +0x795
compress/flate.(*decompressor).copyHuff(0xc208408000)
    /home/reus/langs/go/src/compress/flate/inflate.go:605 +0x3e
compress/flate.(*decompressor).Read(0xc208408000, 0xc2087dc000, 0x1fe00, 0x1fe00, 0x200, 0x0, 0x0)
    /home/reus/langs/go/src/compress/flate/inflate.go:335 +0x1ae
compress/gzip.(*Reader).Read(0xc208465080, 0xc2087dc000, 0x1fe00, 0x1fe00, 0xffffffff, 0x0, 0x0)
    /home/reus/langs/go/src/compress/gzip/gunzip.go:250 +0xef
net/http.(*gzipReader).Read(0xc2086f2140, 0xc2087dc000, 0x1fe00, 0x1fe00, 0x200, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/transport.go:1328 +0x14a
net/http.(*bodyEOFSignal).Read(0xc208163ec0, 0xc2087dc000, 0x1fe00, 0x1fe00, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/transport.go:1278 +0x26a
net/http.(*cancelTimerBody).Read(0xc2086f2180, 0xc2087dc000, 0x1fe00, 0x1fe00, 0x200, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/client.go:541 +0x77
bytes.(*Buffer).ReadFrom(0xc20804daf8, 0x7ff4de915348, 0xc2086f2180, 0x20000, 0x0, 0x0)
    /home/reus/langs/go/src/bytes/buffer.go:173 +0x23f
io/ioutil.readAll(0x7ff4de915348, 0xc2086f2180, 0x200, 0x0, 0x0, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/io/ioutil/ioutil.go:33 +0x154
io/ioutil.ReadAll(0x7ff4de915348, 0xc2086f2180, 0x0, 0x0, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/io/ioutil/ioutil.go:42 +0x51
github.com/reusee/hcutil.GetBytes(0xc208015c20, 0xc20854c000, 0x45, 0x0, 0x0, 0x0, 0x0, 0x0)
    /home/reus/src/github.com/reusee/hcutil/hcutil.go:50 +0x3e9
main.main.func1(0xc2080183c0, 0xc208015c20, 0xc208379000, 0x30233fd, 0x2, 0xc2080155f0, 0xc208310df0, 0xd, 0xc20810b840, 0xd)
    /home/reus/src/github.com/reusee/taobao/main.go:118 +0x211
created by main.main
    /home/reus/src/github.com/reusee/taobao/main.go:159 +0x1029

goroutine 25497 [select]:
net/http.(*persistConn).writeLoop(0xc2084060b0)
    /home/reus/langs/go/src/net/http/transport.go:1011 +0x40c
created by net/http.(*Transport).dialConn
    /home/reus/langs/go/src/net/http/transport.go:685 +0xc80

goroutine 25561 [select]:
net/http.(*persistConn).writeLoop(0xc2082ea2c0)
    /home/reus/langs/go/src/net/http/transport.go:1011 +0x40c
created by net/http.(*Transport).dialConn
    /home/reus/langs/go/src/net/http/transport.go:685 +0xc80

goroutine 25161 [select]:
net/http.(*persistConn).writeLoop(0xc2082ea210)
    /home/reus/langs/go/src/net/http/transport.go:1011 +0x40c
created by net/http.(*Transport).dialConn
    /home/reus/langs/go/src/net/http/transport.go:685 +0xc80

goroutine 25839 [IO wait]:
net.runtime_pollWait(0x7ff4e1742688, 0x72, 0xc20800a1d0)
    /home/reus/langs/go/src/runtime/netpoll.go:157 +0x60
net.(*pollDesc).Wait(0xc208498060, 0x72, 0x0, 0x0)
    /home/reus/langs/go/src/net/fd_poll_runtime.go:73 +0x3a
net.(*pollDesc).WaitRead(0xc208498060, 0x0, 0x0)
    /home/reus/langs/go/src/net/fd_poll_runtime.go:78 +0x36
net.(*netFD).Read(0xc208498000, 0xc208581000, 0x1000, 0x1000, 0x0, 0x7ff4e173d050, 0xc20800a1d0)
    /home/reus/langs/go/src/net/fd_unix.go:233 +0x23a
net.(*conn).Read(0xc20802a000, 0xc208581000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/net/net.go:124 +0xe4
net/http.noteEOFReader.Read(0x7ff4e1742748, 0xc20802a000, 0xc2084061b8, 0xc208581000, 0x1000, 0x1000, 0x5b4, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/transport.go:1352 +0x67
net/http.(*noteEOFReader).Read(0xc2084d36a0, 0xc208581000, 0x1000, 0x1000, 0x5b4, 0x0, 0x0)
    <autogenerated>:125 +0xd0
bufio.(*Reader).fill(0xc20846b920)
    /home/reus/langs/go/src/bufio/bufio.go:97 +0x1e9
bufio.(*Reader).Read(0xc20846b920, 0xc2084e46a0, 0x84a, 0x960, 0x5b4, 0x0, 0x0)
    /home/reus/langs/go/src/bufio/bufio.go:207 +0x260
net/http/internal.(*chunkedReader).Read(0xc2087882d0, 0xc2084e46a0, 0x960, 0x960, 0x6a0, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/internal/chunked.go:88 +0x139
net/http.(*body).readLocked(0xc20840e280, 0xc2084e4000, 0x1000, 0x1000, 0x1000, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/transfer.go:590 +0x70
net/http.(*body).Read(0xc20840e280, 0xc2084e4000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/transfer.go:585 +0x110
bufio.(*Reader).fill(0xc208350c60)
    /home/reus/langs/go/src/bufio/bufio.go:97 +0x1e9
bufio.(*Reader).ReadByte(0xc208350c60, 0x3b, 0x0, 0x0)
    /home/reus/langs/go/src/bufio/bufio.go:229 +0x7a
compress/flate.(*decompressor).moreBits(0xc208306800, 0x0, 0x0)
    /home/reus/langs/go/src/compress/flate/inflate.go:680 +0x4d
compress/flate.(*decompressor).huffSym(0xc208306800, 0xc208307058, 0x118, 0x0, 0x0)
    /home/reus/langs/go/src/compress/flate/inflate.go:698 +0x5b
compress/flate.(*decompressor).huffmanBlock(0xc208306800)
    /home/reus/langs/go/src/compress/flate/inflate.go:523 +0x890
compress/flate.(*decompressor).copyHuff(0xc208306800)
    /home/reus/langs/go/src/compress/flate/inflate.go:605 +0x3e
compress/flate.(*decompressor).Read(0xc208306800, 0xc2085bc000, 0x17e00, 0x17e00, 0x8000, 0x0, 0x0)
    /home/reus/langs/go/src/compress/flate/inflate.go:335 +0x1ae
compress/gzip.(*Reader).Read(0xc2080d98c0, 0xc2085bc000, 0x17e00, 0x17e00, 0xffffffff, 0x0, 0x0)
    /home/reus/langs/go/src/compress/gzip/gunzip.go:250 +0xef
net/http.(*gzipReader).Read(0xc208102200, 0xc2085bc000, 0x17e00, 0x17e00, 0x8000, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/transport.go:1328 +0x14a
net/http.(*bodyEOFSignal).Read(0xc20840e600, 0xc2085bc000, 0x17e00, 0x17e00, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/transport.go:1278 +0x26a
net/http.(*cancelTimerBody).Read(0xc208102240, 0xc2085bc000, 0x17e00, 0x17e00, 0x8000, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/client.go:541 +0x77
bytes.(*Buffer).ReadFrom(0xc20880baf8, 0x7ff4de915348, 0xc208102240, 0x28000, 0x0, 0x0)
    /home/reus/langs/go/src/bytes/buffer.go:173 +0x23f
io/ioutil.readAll(0x7ff4de915348, 0xc208102240, 0x200, 0x0, 0x0, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/io/ioutil/ioutil.go:33 +0x154
io/ioutil.ReadAll(0x7ff4de915348, 0xc208102240, 0x0, 0x0, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/io/ioutil/ioutil.go:42 +0x51
github.com/reusee/hcutil.GetBytes(0xc208015d40, 0xc2080941e0, 0x44, 0x0, 0x0, 0x0, 0x0, 0x0)
    /home/reus/src/github.com/reusee/hcutil/hcutil.go:50 +0x3e9
main.main.func1(0xc2080183c0, 0xc208015d40, 0xc208379000, 0x2fed881, 0x1, 0xc2080155f0, 0xc208310df0, 0xd, 0xc20810b840, 0xd)
    /home/reus/src/github.com/reusee/taobao/main.go:118 +0x211
created by main.main
    /home/reus/src/github.com/reusee/taobao/main.go:159 +0x1029

goroutine 25788 [select]:
net/http.(*persistConn).writeLoop(0xc208406160)
    /home/reus/langs/go/src/net/http/transport.go:1011 +0x40c
created by net/http.(*Transport).dialConn
    /home/reus/langs/go/src/net/http/transport.go:685 +0xc80

goroutine 25752 [select]:
net/http.(*persistConn).readLoop(0xc2080dc210)
    /home/reus/langs/go/src/net/http/transport.go:980 +0xa54
created by net/http.(*Transport).dialConn
    /home/reus/langs/go/src/net/http/transport.go:684 +0xc5b

goroutine 25355 [IO wait]:
net.runtime_pollWait(0x7ff4e1742508, 0x72, 0xc20800a1d0)
    /home/reus/langs/go/src/runtime/netpoll.go:157 +0x60
net.(*pollDesc).Wait(0xc2085103e0, 0x72, 0x0, 0x0)
    /home/reus/langs/go/src/net/fd_poll_runtime.go:73 +0x3a
net.(*pollDesc).WaitRead(0xc2085103e0, 0x0, 0x0)
    /home/reus/langs/go/src/net/fd_poll_runtime.go:78 +0x36
net.(*netFD).Read(0xc208510380, 0xc208437000, 0x1000, 0x1000, 0x0, 0x7ff4e173d050, 0xc20800a1d0)
    /home/reus/langs/go/src/net/fd_unix.go:233 +0x23a
net.(*conn).Read(0xc208512048, 0xc208437000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/net/net.go:124 +0xe4
net/http.noteEOFReader.Read(0x7ff4e1742748, 0xc208512048, 0xc2082ea3c8, 0xc208437000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/transport.go:1352 +0x67
net/http.(*noteEOFReader).Read(0xc2084d2260, 0xc208437000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    <autogenerated>:125 +0xd0
bufio.(*Reader).fill(0xc2083504e0)
    /home/reus/langs/go/src/bufio/bufio.go:97 +0x1e9
bufio.(*Reader).Peek(0xc2083504e0, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/bufio/bufio.go:132 +0xcc
net/http.(*persistConn).readLoop(0xc2082ea370)
    /home/reus/langs/go/src/net/http/transport.go:887 +0xf7
created by net/http.(*Transport).dialConn
    /home/reus/langs/go/src/net/http/transport.go:684 +0xc5b

goroutine 25787 [select]:
net/http.(*persistConn).readLoop(0xc208406160)
    /home/reus/langs/go/src/net/http/transport.go:980 +0xa54
created by net/http.(*Transport).dialConn
    /home/reus/langs/go/src/net/http/transport.go:684 +0xc5b

goroutine 25560 [IO wait]:
net.runtime_pollWait(0x7ff4e17422c8, 0x72, 0xc20800a1d0)
    /home/reus/langs/go/src/runtime/netpoll.go:157 +0x60
net.(*pollDesc).Wait(0xc208498290, 0x72, 0x0, 0x0)
    /home/reus/langs/go/src/net/fd_poll_runtime.go:73 +0x3a
net.(*pollDesc).WaitRead(0xc208498290, 0x0, 0x0)
    /home/reus/langs/go/src/net/fd_poll_runtime.go:78 +0x36
net.(*netFD).Read(0xc208498230, 0xc20864a000, 0x1000, 0x1000, 0x0, 0x7ff4e173d050, 0xc20800a1d0)
    /home/reus/langs/go/src/net/fd_unix.go:233 +0x23a
net.(*conn).Read(0xc208512008, 0xc20864a000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/net/net.go:124 +0xe4
net/http.noteEOFReader.Read(0x7ff4e1742748, 0xc208512008, 0xc2082ea318, 0xc20864a000, 0x1000, 0x1000, 0xc20802c800, 0x0, 0x0)
    /home/reus/langs/go/src/net/http/transport.go:1352 +0x67
net/http.(*noteEOFReader).Read(0xc2082a62c0, 0xc20864a000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    <autogenerated>:125 +0xd0
bufio.(*Reader).fill(0xc2083505a0)
    /home/reus/langs/go/src/bufio/bufio.go:97 +0x1e9
bufio.(*Reader).Peek(0xc2083505a0, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)
    /home/reus/langs/go/src/bufio/bufio.go:132 +0xcc
net/http.(*persistConn).readLoop(0xc2082ea2c0)
    /home/reus/langs/go/src/net/http/transport.go:887 +0xf7
created by net/http.(*Transport).dialConn
    /home/reus/langs/go/src/net/http/transport.go:684 +0xc5b

goroutine 25755 [select]:
net/http.(*persistConn).writeLoop(0xc208406370)
    /home/reus/langs/go/src/net/http/transport.go:1011 +0x40c
created by net/http.(*Transport).dialConn
    /home/reus/langs/go/src/net/http/transport.go:685 +0xc80

goroutine 25356 [select]:
net/http.(*persistConn).writeLoop(0xc2082ea370)
    /home/reus/langs/go/src/net/http/transport.go:1011 +0x40c
created by net/http.(*Transport).dialConn
    /home/reus/langs/go/src/net/http/transport.go:685 +0xc80

goroutine 25551 [select]:
net/http.(*persistConn).readLoop(0xc208406210)
    /home/reus/langs/go/src/net/http/transport.go:980 +0xa54
created by net/http.(*Transport).dialConn
    /home/reus/langs/go/src/net/http/transport.go:684 +0xc5b

goroutine 25552 [select]:
net/http.(*persistConn).writeLoop(0xc208406210)
    /home/reus/langs/go/src/net/http/transport.go:1011 +0x40c
created by net/http.(*Transport).dialConn
    /home/reus/langs/go/src/net/http/transport.go:685 +0xc80

@ianlancetaylor ianlancetaylor added this to the Go1.5 milestone Jun 15, 2015
@ianlancetaylor
Copy link
Contributor

CC @aclements @RLH

@RLH
Copy link
Contributor

RLH commented Jun 15, 2015

Appears to be the same as #10941

@RLH RLH closed this as completed Jun 15, 2015
@aclements
Copy link
Member

@reusee, do you have a way to reproduce this failure that you can share? I think I know what the problem is, but I don't have a way to test my fix.

@reusee
Copy link
Author

reusee commented Jun 16, 2015

@aclements I don't know how to reproduce it. It's a long-running crawler program and the crash occurred only once.

@golang golang locked and limited conversation to collaborators Jun 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants