Skip to content

Instantly share code, notes, and snippets.

@pciet
Last active November 20, 2017 21:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pciet/8ad292c81bdae9046bf5484797b333f2 to your computer and use it in GitHub Desktop.
Save pciet/8ad292c81bdae9046bf5484797b333f2 to your computer and use it in GitHub Desktop.
debuggo22781 TruncatedAbsPathsForKind crash
runtime: nelems=170 nalloc=2 previous allocCount=1 nfreed=65535
fatal error: sweep increased allocation count
runtime stack:
runtime.throw(0x11305ff, 0x20)
/usr/local/go/src/runtime/panic.go:605 +0x95 fp=0x700002848ba8 sp=0x700002848b88 pc=0x10543b5
runtime.(*mspan).sweep(0x1fc3900, 0x1fc3900, 0x32c8ffffffff)
/usr/local/go/src/runtime/mgcsweep.go:298 +0xa6a fp=0x700002848cc0 sp=0x700002848ba8 pc=0x1049cfa
runtime.sweepone(0x11cafd0)
/usr/local/go/src/runtime/mgcsweep.go:113 +0x123 fp=0x700002848d28 sp=0x700002848cc0 pc=0x1048eb3
runtime.gosweepone.func1()
/usr/local/go/src/runtime/mgcsweep.go:137 +0x2b fp=0x700002848d48 sp=0x700002848d28 pc=0x107c99b
runtime.systemstack(0x700002848d60)
/usr/local/go/src/runtime/asm_amd64.s:360 +0xab fp=0x700002848d50 sp=0x700002848d48 pc=0x107e4cb
runtime.gosweepone(0x1ca3928)
/usr/local/go/src/runtime/mgcsweep.go:136 +0x4a fp=0x700002848d80 sp=0x700002848d50 pc=0x104917a
runtime.deductSweepCredit(0x2000, 0x0)
/usr/local/go/src/runtime/mgcsweep.go:407 +0x76 fp=0x700002848da8 sp=0x700002848d80 pc=0x1049e66
runtime.(*mcentral).cacheSpan(0x11d2ef0, 0x20800027efd9ec)
/usr/local/go/src/runtime/mcentral.go:43 +0x6b fp=0x700002848df0 sp=0x700002848da8 pc=0x103eb4b
runtime.(*mcache).refill(0x1c506c8, 0xc42002ea0c, 0xc420086480)
/usr/local/go/src/runtime/mcache.go:123 +0xa4 fp=0x700002848e20 sp=0x700002848df0 pc=0x103e914
runtime.(*mcache).nextFree.func1()
/usr/local/go/src/runtime/malloc.go:557 +0x32 fp=0x700002848e48 sp=0x700002848e20 pc=0x107bb12
runtime.systemstack(0xc420020000)
/usr/local/go/src/runtime/asm_amd64.s:344 +0x79 fp=0x700002848e50 sp=0x700002848e48 pc=0x107e499
runtime.mstart()
/usr/local/go/src/runtime/proc.go:1135 fp=0x700002848e58 sp=0x700002848e50 pc=0x1058620
goroutine 21 [running]:
runtime.systemstack_switch()
/usr/local/go/src/runtime/asm_amd64.s:298 fp=0xc42036ec48 sp=0xc42036ec40 pc=0x107e410
runtime.(*mcache).nextFree(0x1c506c8, 0xc, 0x0, 0x1, 0xc42036ed28)
/usr/local/go/src/runtime/malloc.go:556 +0xa9 fp=0xc42036eca8 sp=0xc42036ec48 pc=0x1039559
runtime.mallocgc(0x50, 0x111ae20, 0x1, 0xc42036ed88)
/usr/local/go/src/runtime/malloc.go:711 +0x6c6 fp=0xc42036ed50 sp=0xc42036eca8 pc=0x1039e16
runtime.newarray(0x111ae20, 0x1, 0xe0e05a7eaf9490e1)
/usr/local/go/src/runtime/malloc.go:853 +0x6a fp=0xc42036ed80 sp=0xc42036ed50 pc=0x103a27a
runtime.mapassign_fast64(0x11130e0, 0xc4204dc120, 0xc4200c2000, 0xc42013e000)
/usr/local/go/src/runtime/hashmap_fast.go:527 +0x538 fp=0xc42036ee10 sp=0xc42036ed80 pc=0x1035f68
github.com/pciet/debuggo22781/wichessing.TruncatedAbsPathsForKind(0x6, 0x100, 0x0, 0xc4204dc000)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/path.go:43 +0x467 fp=0xc42036efb0 sp=0xc42036ee10 pc=0x10ef487
main.main.func1()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:17 +0x48 fp=0xc42036efe0 sp=0xc42036efb0 pc=0x10f7918
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2337 +0x1 fp=0xc42036efe8 sp=0xc42036efe0 pc=0x1080ad1
created by main.main
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:14 +0x4c
goroutine 1 [select (no cases), 2 minutes]:
runtime.gopark(0x0, 0x0, 0x112dab5, 0x11, 0xc42004df10, 0x1)
/usr/local/go/src/runtime/proc.go:287 +0xfd fp=0xc42003af20 sp=0xc42003aef0 pc=0x1055ecd
runtime.block()
/usr/local/go/src/runtime/select.go:192 +0x56 fp=0xc42003af60 sp=0xc42003af20 pc=0x1065236
main.main()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:21 +0x5f fp=0xc42003af88 sp=0xc42003af60 pc=0x10f78bf
runtime.main()
/usr/local/go/src/runtime/proc.go:195 +0x1c4 fp=0xc42003afe0 sp=0xc42003af88 pc=0x1055a84
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2337 +0x1 fp=0xc42003afe8 sp=0xc42003afe0 pc=0x1080ad1
goroutine 2 [force gc (idle), 2 minutes]:
runtime.gopark(0x11330e0, 0x11cabf0, 0x112d4a1, 0xf, 0x1132f14, 0x1)
/usr/local/go/src/runtime/proc.go:287 +0xfd fp=0xc42002a768 sp=0xc42002a738 pc=0x1055ecd
runtime.goparkunlock(0x11cabf0, 0x112d4a1, 0xf, 0x14, 0x1)
/usr/local/go/src/runtime/proc.go:293 +0x5e fp=0xc42002a7a8 sp=0xc42002a768 pc=0x1055fae
runtime.forcegchelper()
/usr/local/go/src/runtime/proc.go:245 +0xcc fp=0xc42002a7e0 sp=0xc42002a7a8 pc=0x1055d1c
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2337 +0x1 fp=0xc42002a7e8 sp=0xc42002a7e0 pc=0x1080ad1
created by runtime.init.4
/usr/local/go/src/runtime/proc.go:234 +0x35
goroutine 3 [runnable]:
runtime.gopark(0x11330e0, 0x11cace0, 0x112d0af, 0xd, 0x107c914, 0x1)
/usr/local/go/src/runtime/proc.go:287 +0xfd fp=0xc42002af58 sp=0xc42002af28 pc=0x1055ecd
runtime.goparkunlock(0x11cace0, 0x112d0af, 0xd, 0x14, 0x1)
/usr/local/go/src/runtime/proc.go:293 +0x5e fp=0xc42002af98 sp=0xc42002af58 pc=0x1055fae
runtime.bgsweep(0xc42005a000)
/usr/local/go/src/runtime/mgcsweep.go:71 +0x13e fp=0xc42002afd8 sp=0xc42002af98 pc=0x1048d4e
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2337 +0x1 fp=0xc42002afe0 sp=0xc42002afd8 pc=0x1080ad1
created by runtime.gcenable
/usr/local/go/src/runtime/mgc.go:216 +0x58
goroutine 18 [finalizer wait, 2 minutes]:
runtime.gopark(0x11330e0, 0x11e8f70, 0x112d2d8, 0xe, 0x14, 0x1)
/usr/local/go/src/runtime/proc.go:287 +0xfd fp=0xc420026700 sp=0xc4200266d0 pc=0x1055ecd
runtime.goparkunlock(0x11e8f70, 0x112d2d8, 0xe, 0x14, 0x1)
/usr/local/go/src/runtime/proc.go:293 +0x5e fp=0xc420026740 sp=0xc420026700 pc=0x1055fae
runtime.runfinq()
/usr/local/go/src/runtime/mfinal.go:175 +0xb8 fp=0xc4200267e0 sp=0xc420026740 pc=0x103faf8
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2337 +0x1 fp=0xc4200267e8 sp=0xc4200267e0 pc=0x1080ad1
created by runtime.createfing
/usr/local/go/src/runtime/mfinal.go:156 +0x62
goroutine 19 [runnable]:
runtime.gopark(0x11330e0, 0x11cb540, 0x112d230, 0xe, 0xc42002ea2a, 0x2)
/usr/local/go/src/runtime/proc.go:287 +0xfd fp=0xc420370bc8 sp=0xc420370b98 pc=0x1055ecd
runtime.goparkunlock(0x11cb540, 0x112d230, 0xe, 0xc42008622a, 0x2)
/usr/local/go/src/runtime/proc.go:293 +0x5e fp=0xc420370c08 sp=0xc420370bc8 pc=0x1055fae
runtime.gcParkAssist(0xc420086208)
/usr/local/go/src/runtime/mgcmark.go:651 +0x161 fp=0xc420370c58 sp=0xc420370c08 pc=0x10462a1
runtime.gcAssistAlloc(0xc420086180)
/usr/local/go/src/runtime/mgcmark.go:501 +0x1b0 fp=0xc420370ca8 sp=0xc420370c58 pc=0x1045b90
runtime.mallocgc(0x50, 0x111ae20, 0x1, 0xc420370d88)
/usr/local/go/src/runtime/malloc.go:615 +0x7e8 fp=0xc420370d50 sp=0xc420370ca8 pc=0x1039f38
runtime.newarray(0x111ae20, 0x1, 0x8a58b825f68b9847)
/usr/local/go/src/runtime/malloc.go:853 +0x6a fp=0xc420370d80 sp=0xc420370d50 pc=0x103a27a
runtime.mapassign_fast64(0x11130e0, 0xc4204b1230, 0xc4202e5de0, 0xc42007b3a8)
/usr/local/go/src/runtime/hashmap_fast.go:527 +0x538 fp=0xc420370e10 sp=0xc420370d80 pc=0x1035f68
github.com/pciet/debuggo22781/wichessing.TruncatedAbsPathsForKind(0x6, 0x100, 0x0, 0xc4200d6240)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/path.go:43 +0x467 fp=0xc420370fb0 sp=0xc420370e10 pc=0x10ef487
main.main.func1()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:17 +0x48 fp=0xc420370fe0 sp=0xc420370fb0 pc=0x10f7918
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2337 +0x1 fp=0xc420370fe8 sp=0xc420370fe0 pc=0x1080ad1
created by main.main
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:14 +0x4c
goroutine 20 [runnable]:
runtime.gopark(0x11330e0, 0x11cb540, 0x112d230, 0xe, 0xc42002ea2a, 0x2)
/usr/local/go/src/runtime/proc.go:287 +0xfd fp=0xc420038bc8 sp=0xc420038b98 pc=0x1055ecd
runtime.goparkunlock(0x11cb540, 0x112d230, 0xe, 0xc42008632a, 0x2)
/usr/local/go/src/runtime/proc.go:293 +0x5e fp=0xc420038c08 sp=0xc420038bc8 pc=0x1055fae
runtime.gcParkAssist(0xc420086388)
/usr/local/go/src/runtime/mgcmark.go:651 +0x161 fp=0xc420038c58 sp=0xc420038c08 pc=0x10462a1
runtime.gcAssistAlloc(0xc420086300)
/usr/local/go/src/runtime/mgcmark.go:501 +0x1b0 fp=0xc420038ca8 sp=0xc420038c58 pc=0x1045b90
runtime.mallocgc(0x50, 0x111ae20, 0x1, 0xc420038d88)
/usr/local/go/src/runtime/malloc.go:615 +0x7e8 fp=0xc420038d50 sp=0xc420038ca8 pc=0x1039f38
runtime.newarray(0x111ae20, 0x1, 0x58c7e24ed5af8503)
/usr/local/go/src/runtime/malloc.go:853 +0x6a fp=0xc420038d80 sp=0xc420038d50 pc=0x103a27a
runtime.mapassign_fast64(0x11130e0, 0xc4200dbc80, 0xc420335980, 0xc42013f0b6)
/usr/local/go/src/runtime/hashmap_fast.go:527 +0x538 fp=0xc420038e10 sp=0xc420038d80 pc=0x1035f68
github.com/pciet/debuggo22781/wichessing.TruncatedAbsPathsForKind(0x6, 0x100, 0x0, 0xc4200dbb00)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/path.go:43 +0x467 fp=0xc420038fb0 sp=0xc420038e10 pc=0x10ef487
main.main.func1()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:17 +0x48 fp=0xc420038fe0 sp=0xc420038fb0 pc=0x10f7918
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2337 +0x1 fp=0xc420038fe8 sp=0xc420038fe0 pc=0x1080ad1
created by main.main
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:14 +0x4c
goroutine 22 [runnable]:
runtime.makeslice(0x111ad60, 0x0, 0x2, 0x0, 0xc4200c4000, 0x2)
/usr/local/go/src/runtime/slice.go:39 +0xdd fp=0xc42003ee10 sp=0xc42003ee08 pc=0x106a0cd
github.com/pciet/debuggo22781/wichessing.TruncatedAbsPathsForKind(0x6, 0x100, 0x0, 0xc420337e90)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/path.go:20 +0x395 fp=0xc42003efb0 sp=0xc42003ee10 pc=0x10ef3b5
main.main.func1()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:17 +0x48 fp=0xc42003efe0 sp=0xc42003efb0 pc=0x10f7918
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2337 +0x1 fp=0xc42003efe8 sp=0xc42003efe0 pc=0x1080ad1
created by main.main
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:14 +0x4c
goroutine 23 [runnable]:
runtime.newobject(0x1119060, 0xc42006e300)
/usr/local/go/src/runtime/malloc.go:839 +0x51 fp=0xc42036fe10 sp=0xc42036fe08 pc=0x103a1b1
github.com/pciet/debuggo22781/wichessing.TruncatedAbsPathsForKind(0x6, 0x100, 0x0, 0xc4204b10e0)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/path.go:21 +0x34a fp=0xc42036ffb0 sp=0xc42036fe10 pc=0x10ef36a
main.main.func1()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:17 +0x48 fp=0xc42036ffe0 sp=0xc42036ffb0 pc=0x10f7918
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2337 +0x1 fp=0xc42036ffe8 sp=0xc42036ffe0 pc=0x1080ad1
created by main.main
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:14 +0x4c
goroutine 24 [runnable]:
runtime.newobject(0x1119060, 0xc42006e360)
/usr/local/go/src/runtime/malloc.go:839 +0x51 fp=0xc42003fe10 sp=0xc42003fe08 pc=0x103a1b1
github.com/pciet/debuggo22781/wichessing.TruncatedAbsPathsForKind(0x6, 0x100, 0x0, 0xc4204de300)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/path.go:21 +0x34a fp=0xc42003ffb0 sp=0xc42003fe10 pc=0x10ef36a
main.main.func1()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:17 +0x48 fp=0xc42003ffe0 sp=0xc42003ffb0 pc=0x10f7918
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2337 +0x1 fp=0xc42003ffe8 sp=0xc42003ffe0 pc=0x1080ad1
created by main.main
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:14 +0x4c
goroutine 25 [GC worker (idle)]:
runtime.gopark(0x1132f20, 0xc4203f4c00, 0x112d611, 0x10, 0xc42008a014, 0x0)
/usr/local/go/src/runtime/proc.go:287 +0xfd fp=0xc420027f40 sp=0xc420027f10 pc=0x1055ecd
runtime.gcBgMarkWorker(0xc420020000)
/usr/local/go/src/runtime/mgc.go:1710 +0x14c fp=0xc420027fd8 sp=0xc420027f40 pc=0x104337c
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2337 +0x1 fp=0xc420027fe0 sp=0xc420027fd8 pc=0x1080ad1
created by runtime.gcBgMarkStartWorkers
/usr/local/go/src/runtime/mgc.go:1658 +0x7e
goroutine 29 [GC worker (idle)]:
runtime.gopark(0x1132f20, 0xc42004af90, 0x112d611, 0x10, 0xc42008a014, 0x0)
/usr/local/go/src/runtime/proc.go:287 +0xfd fp=0xc42002bf40 sp=0xc42002bf10 pc=0x1055ecd
runtime.gcBgMarkWorker(0xc420021300)
/usr/local/go/src/runtime/mgc.go:1710 +0x14c fp=0xc42002bfd8 sp=0xc42002bf40 pc=0x104337c
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2337 +0x1 fp=0xc42002bfe0 sp=0xc42002bfd8 pc=0x1080ad1
created by runtime.gcBgMarkStartWorkers
/usr/local/go/src/runtime/mgc.go:1658 +0x7e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment