pgfutter
pgfutter copied to clipboard
Not compatible with go1.8
Got these error for go1.8
31.77 MB / 395.06 MB [=============>----------------------------------------------------------------------------------------------------------------------------------------------------------------] 8.04% 18sfailed MSpanList_Insert 0x5e4e38 0x134391768dc45 0x0
fatal error: MSpanList_Insert
runtime stack:
runtime.MSpanList_Insert(0x578850, 0x5e4e38)
/goroot/src/runtime/mheap.c:692 +0x8f
runtime.MHeap_Free(0x5787e0, 0x5e4e38, 0x0)
/goroot/src/runtime/mheap.c:500 +0x5b
runtime.MCentral_FreeSpan(0x57ffb8, 0x5e4e38, 0x3, 0xc20817c000, 0xc20817c180, 0x0, 0x64)
/goroot/src/runtime/mcentral.c:181 +0x1bb
runtime.MSpan_Sweep(0x5e4e38, 0x4bb00000400, 0x1)
/goroot/src/runtime/mgc0.c:1099 +0x477
runtime.MHeap_Alloc(0x5787e0, 0x1, 0x10000000017, 0x15159)
/goroot/src/runtime/mheap.c:240 +0x66
runtime.MCentral_CacheSpan(0x580af8, 0xc2080f4980)
/goroot/src/runtime/mcentral.c:85 +0x167
runtime.MCache_Refill(0x5e0000, 0xc200000017, 0x5e5998)
/goroot/src/runtime/mcache.c:90 +0xa0
goroutine 1 [running]:
runtime.switchtoM()
/goroot/src/runtime/asm_amd64.s:198 fp=0xc2080f4970 sp=0xc2080f4968
runtime.mallocgc(0x1c0, 0x0, 0xc200000003, 0x0)
/goroot/src/runtime/malloc.go:178 +0x849 fp=0xc2080f4a20 sp=0xc2080f4970
runtime.rawstring(0x1a2, 0x0, 0x0, 0x0, 0x0, 0x0)
/goroot/src/runtime/string.go:195 +0x93 fp=0xc2080f4a50 sp=0xc2080f4a20
runtime.slicebytetostring(0xc208133dc0, 0x1a2, 0x1a2, 0x0, 0x0)
/goroot/src/runtime/string.go:69 +0x4b fp=0xc2080f4ae0 sp=0xc2080f4a50
main.copyJSONRows(0xc208032b40, 0xc2080923c0, 0xc208092300, 0x0, 0x0, 0x38efd0, 0x4)
/usr/src/pgfutter/json.go:52 +0x68b fp=0xc2080f4c40 sp=0xc2080f4ae0
main.importJSON(0x7fff5fbff9a8, 0x14, 0xc2080ee230, 0x64, 0xc208033396, 0x6, 0xc20801ebc0, 0x14, 0x100, 0x393cf0, ...)
/usr/src/pgfutter/json.go:133 +0xd25 fp=0xc2080f4e60 sp=0xc2080f4c40
main.func·001(0xc208048a00)
/usr/src/pgfutter/pgfutter.go:119 +0x282 fp=0xc2080f4f60 sp=0xc2080f4e60
runtime.call16(0x440258, 0xc2080360b0, 0x800000008)
/goroot/src/runtime/asm_amd64.s:401 +0x45 fp=0xc2080f4f78 sp=0xc2080f4f60
reflect.Value.call(0x29e880, 0x440258, 0x13, 0x382790, 0x4, 0xc2080f53d0, 0x1, 0x1, 0x0, 0x0, ...)
/goroot/src/reflect/value.go:419 +0x10e5 fp=0xc2080f5290 sp=0xc2080f4f78
reflect.Value.Call(0x29e880, 0x440258, 0x13, 0xc2080f53d0, 0x1, 0x1, 0x0, 0x0, 0x0)
/goroot/src/reflect/value.go:296 +0xbc fp=0xc2080f52f0 sp=0xc2080f5290
github.com/codegangsta/cli.HandleAction(0x29e880, 0x440258, 0xc208048a00, 0x0, 0x0)
/gopath/src/github.com/codegangsta/cli/app.go:487 +0x2b1 fp=0xc2080f5420 sp=0xc2080f52f0
github.com/codegangsta/cli.Command.Run(0x393cf0, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x40ed30, 0x33, 0x0, ...)
/gopath/src/github.com/codegangsta/cli/command.go:191 +0x10a5 fp=0xc2080f5998 sp=0xc2080f5420
github.com/codegangsta/cli.(*App).Run(0xc2080f0000, 0xc20800a000, 0x3, 0x3, 0x0, 0x0)
/gopath/src/github.com/codegangsta/cli/app.go:240 +0xa76 fp=0xc2080f5c10 sp=0xc2080f5998
main.main()
/usr/src/pgfutter/pgfutter.go:178 +0xcd3 fp=0xc2080f5f98 sp=0xc2080f5c10
runtime.main()
/goroot/src/runtime/proc.go:63 +0xf3 fp=0xc2080f5fe0 sp=0xc2080f5f98
runtime.goexit()
/goroot/src/runtime/asm_amd64.s:2232 +0x1 fp=0xc2080f5fe8 sp=0xc2080f5fe0
goroutine 5 [syscall]:
os/signal.loop()
/goroot/src/os/signal/signal_unix.go:21 +0x1f
created by os/signal.init·1
/goroot/src/os/signal/signal_unix.go:27 +0x35
goroutine 6 [chan receive]:
database/sql.(*DB).connectionOpener(0xc20803b720)
/goroot/src/database/sql/sql.go:589 +0x4c
created by database/sql.Open
/goroot/src/database/sql/sql.go:452 +0x31c
goroutine 9 [IO wait]:
net.(*pollDesc).Wait(0xc2080ee060, 0x72, 0x0, 0x0)
/goroot/src/net/fd_poll_runtime.go:84 +0x47
net.(*pollDesc).WaitRead(0xc2080ee060, 0x0, 0x0)
/goroot/src/net/fd_poll_runtime.go:89 +0x43
net.(*netFD).Read(0xc2080ee000, 0xc2080c8000, 0x1000, 0x1000, 0x0, 0x5f1cc0, 0xc208032cb8)
/goroot/src/net/fd_unix.go:242 +0x40f
net.(*conn).Read(0xc208036018, 0xc2080c8000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/goroot/src/net/net.go:121 +0xdc
bufio.(*Reader).fill(0xc208092060)
/goroot/src/bufio/bufio.go:97 +0x1ce
bufio.(*Reader).Read(0xc208092060, 0xc208058f20, 0x5, 0x200, 0x0, 0x0, 0x0)
/goroot/src/bufio/bufio.go:174 +0x26c
io.ReadAtLeast(0x5f3348, 0xc208092060, 0xc208058f20, 0x5, 0x200, 0x5, 0x0, 0x0, 0x0)
/goroot/src/io/io.go:298 +0xf1
io.ReadFull(0x5f3348, 0xc208092060, 0xc208058f20, 0x5, 0x200, 0x0, 0x0, 0x0)
/goroot/src/io/io.go:316 +0x6d
github.com/lib/pq.(*conn).recvMessage(0xc208058f00, 0xc20801ef00, 0x0, 0x0, 0x0)
/gopath/src/github.com/lib/pq/conn.go:892 +0x17a
github.com/lib/pq.(*copyin).resploop(0xc2080381e0)
/gopath/src/github.com/lib/pq/copy.go:143 +0x55
created by github.com/lib/pq.(*conn).prepareCopyIn
/gopath/src/github.com/lib/pq/copy.go:90 +0xae5
goroutine 10 [select]:
github.com/cheggaaa/pb.(*ProgressBar).refresher(0xc208048000)
/gopath/src/github.com/cheggaaa/pb/pb.go:423 +0xff
created by github.com/cheggaaa/pb.(*ProgressBar).Start
/gopath/src/github.com/cheggaaa/pb/pb.go:123 +0xcd