Skip to content

runtime: Invalid heap pointer on Windows 386 #9682

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

Closed
AudriusButkevicius opened this issue Jan 25, 2015 · 9 comments
Closed

runtime: Invalid heap pointer on Windows 386 #9682

AudriusButkevicius opened this issue Jan 25, 2015 · 9 comments

Comments

@AudriusButkevicius
Copy link
Contributor

This is using go1.4.1 windows-386

fatal error: invalid heap pointer

runtime stack:
runtime.throw(0xb98de3)
    c:/go/src/runtime/panic.go:491 +0x83 fp=0x3144fd1c sp=0x3144fd04
scanblock(0xbadb80, 0x9240, 0x3122c608)
    c:/go/src/runtime/mgc0.c:378 +0x48d fp=0x3144fdbc sp=0x3144fd1c
markroot(0x11214140, 0x1)
    c:/go/src/runtime/mgc0.c:496 +0x139 fp=0x3144fdf4 sp=0x3144fdbc
runtime.parfordo(0x11214140)
    c:/go/src/runtime/parfor.c:91 +0x115 fp=0x3144fe50 sp=0x3144fdf4
gc(0x3144ff8c)
    c:/go/src/runtime/mgc0.c:1439 +0x1fb fp=0x3144ff7c sp=0x3144fe50
runtime.gc_m()
    c:/go/src/runtime/mgc0.c:1368 +0xd2 fp=0x3144ff9c sp=0x3144ff7c
runtime.onM(0x11222500)
    c:/go/src/runtime/asm_386.s:266 +0x50 fp=0x3144ffa0 sp=0x3144ff9c
runtime.mstart()
    c:/go/src/runtime/proc.c:818 fp=0x3144ffa4 sp=0x3144ffa0

goroutine 1 [garbage collection]:
runtime.switchtoM()
    c:/go/src/runtime/asm_386.s:208 fp=0x112b6ab4 sp=0x112b6ab0
runtime.gogc(0x0)
    c:/go/src/runtime/malloc.go:469 +0x1aa fp=0x112b6ad4 sp=0x112b6ab4
runtime.mallocgc(0x477a000, 0x7a22c0, 0x1, 0x20)
    c:/go/src/runtime/malloc.go:341 +0x2c4 fp=0x112b6b2c sp=0x112b6ad4
runtime.newarray(0x7a22c0, 0x4779001, 0x0)
    c:/go/src/runtime/malloc.go:365 +0xb5 fp=0x112b6b4c sp=0x112b6b2c
runtime.makeslice(0x798040, 0x46e7b9b, 0x0, 0x4779001, 0x0, 0x0, 0x0, 0x0)
    c:/go/src/runtime/slice.go:32 +0x165 fp=0x112b6b7c sp=0x112b6b4c
github.com/syndtr/goleveldb/leveldb.(*Batch).grow(0x1216c040, 0xfb)
    C:/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/batch.go:64 +0x160 fp=0x112b6bcc sp=0x112b6b7c
github.com/syndtr/goleveldb/leveldb.(*Batch).appendRec(0x1216c040, 0x0, 0x112ba380, 0xf5, 0x1c0, 0x0, 0x0, 0x0)
    C:/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/batch.go:75 +0x49 fp=0x112b6c24 sp=0x112b6bcc
github.com/syndtr/goleveldb/leveldb.(*Batch).Delete(0x1216c040, 0x112ba380, 0xf5, 0x1c0)
    C:/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/batch.go:103 +0x60 fp=0x112b6c48 sp=0x112b6c24
github.com/syncthing/syncthing/internal/db.func·002(0x31492400, 0x113e8180, 0x31492418, 0x1216c040, 0x112fe2a0, 0xc, 0x10, 0x1216c360, 0x20, 0x20, ...)
    C:/src/github.com/syncthing/syncthing/internal/db/leveldb.go:302 +0x3d2 fp=0x112b6d00 sp=0x112b6c48
github.com/syncthing/syncthing/internal/db.ldbGenericReplace(0x112e41c0, 0x112fe2a0, 0xc, 0x10, 0x1216c360, 0x20, 0x20, 0x0, 0x0, 0x0, ...)
    C:/src/github.com/syncthing/syncthing/internal/db/leveldb.go:273 +0x15af fp=0x112b6f70 sp=0x112b6d00
github.com/syncthing/syncthing/internal/db.ldbReplace(0x112e41c0, 0x112fe2a0, 0xc, 0x10, 0x1216c360, 0x20, 0x20, 0x0, 0x0, 0x0, ...)
    C:/src/github.com/syncthing/syncthing/internal/db/leveldb.go:304 +0x79 fp=0x112b6fa8 sp=0x112b6f70
github.com/syncthing/syncthing/internal/db.(*FileSet).Replace(0x121d4ea0, 0x3c932dfc, 0x8f4dbf21, 0x98d29632, 0xed6e823e, 0xa7f302e3, 0x3ee1f3fc, 0x3dea7048, 0xcca7077e, 0x0, ...)
    C:/src/github.com/syncthing/syncthing/internal/db/set.go:91 +0x2aa fp=0x112b7048 sp=0x112b6fa8
github.com/syncthing/syncthing/internal/model.(*Model).Index(0x123fa4d0, 0x3c932dfc, 0x8f4dbf21, 0x98d29632, 0xed6e823e, 0xa7f302e3, 0x3ee1f3fc, 0x3dea7048, 0xcca7077e, 0x1121b690, ...)
    C:/src/github.com/syncthing/syncthing/internal/model/model.go:499 +0x89b fp=0x112b7158 sp=0x112b7048
main.syncthingMain()
    C:/src/github.com/syncthing/syncthing/cmd/syncthing/main.go:525 +0x260d fp=0x112b7b74 sp=0x112b7158
main.main()
    C:/src/github.com/syncthing/syncthing/cmd/syncthing/main.go:365 +0x1bfb fp=0x112b7fcc sp=0x112b7b74
runtime.main()
    c:/go/src/runtime/proc.go:63 +0xcc fp=0x112b7ff0 sp=0x112b7fcc
runtime.goexit()
    c:/go/src/runtime/asm_386.s:2287 +0x1 fp=0x112b7ff4 sp=0x112b7ff0

goroutine 2 [force gc (idle), 2 minutes]:
runtime.gopark(0x44ede0, 0xbae8e0, 0x8bfa08, 0xf)
    c:/go/src/runtime/proc.go:130 +0xde fp=0x1122afcc sp=0x1122afb4
runtime.goparkunlock(0xbae8e0, 0x8bfa08, 0xf)
    c:/go/src/runtime/proc.go:136 +0x42 fp=0x1122afe0 sp=0x1122afcc
runtime.forcegchelper()
    c:/go/src/runtime/proc.go:99 +0xa3 fp=0x1122aff0 sp=0x1122afe0
runtime.goexit()
    c:/go/src/runtime/asm_386.s:2287 +0x1 fp=0x1122aff4 sp=0x1122aff0
created by runtime.init·4
    c:/go/src/runtime/proc.go:87 +0x25

goroutine 3 [GC sweep wait]:
runtime.gopark(0x44ede0, 0xbb7520, 0x8b8f48, 0xd)
    c:/go/src/runtime/proc.go:130 +0xde fp=0x1122cfcc sp=0x1122cfb4
runtime.goparkunlock(0xbb7520, 0x8b8f48, 0xd)
    c:/go/src/runtime/proc.go:136 +0x42 fp=0x1122cfe0 sp=0x1122cfcc
runtime.bgsweep()
    c:/go/src/runtime/mgc0.go:98 +0x97 fp=0x1122cff0 sp=0x1122cfe0
runtime.goexit()
    c:/go/src/runtime/asm_386.s:2287 +0x1 fp=0x1122cff4 sp=0x1122cff0
created by gc
    c:/go/src/runtime/mgc0.c:1383

goroutine 4 [finalizer wait, 2 minutes]:
runtime.gopark(0x44ede0, 0xbb751c, 0x8bf4c8, 0xe)
    c:/go/src/runtime/proc.go:130 +0xde fp=0x11227f98 sp=0x11227f80
runtime.goparkunlock(0xbb751c, 0x8bf4c8, 0xe)
    c:/go/src/runtime/proc.go:136 +0x42 fp=0x11227fac sp=0x11227f98
runtime.runfinq()
    c:/go/src/runtime/malloc.go:727 +0x9c fp=0x11227ff0 sp=0x11227fac
runtime.goexit()
    c:/go/src/runtime/asm_386.s:2287 +0x1 fp=0x11227ff4 sp=0x11227ff0
created by runtime.createfing
    c:/go/src/runtime/malloc.go:707 +0x59

goroutine 5 [syscall, 2 minutes]:
runtime.notetsleepg(0xbb9ca0, 0xffffffff, 0xffffffff, 0xbaf401)
    c:/go/src/runtime/lock_sema.go:266 +0x6f fp=0x1122dfb0 sp=0x1122df88
runtime.signal_recv(0x0)
    c:/go/src/runtime/sigqueue.go:109 +0x11f fp=0x1122dfd0 sp=0x1122dfb0
os/signal.loop()
    c:/go/src/os/signal/signal_unix.go:21 +0x21 fp=0x1122dff0 sp=0x1122dfd0
runtime.goexit()
    c:/go/src/runtime/asm_386.s:2287 +0x1 fp=0x1122dff4 sp=0x1122dff0
created by os/signal.init·1
    c:/go/src/os/signal/signal_unix.go:27 +0x34

goroutine 9 [syscall]:
runtime.notetsleepg(0xbaeafc, 0x373d33a8, 0x0, 0x0)
    c:/go/src/runtime/lock_sema.go:266 +0x6f fp=0x11253f90 sp=0x11253f68
runtime.timerproc()
    c:/go/src/runtime/time.go:207 +0xf6 fp=0x11253ff0 sp=0x11253f90
runtime.goexit()
    c:/go/src/runtime/asm_386.s:2287 +0x1 fp=0x11253ff4 sp=0x11253ff0
created by runtime.addtimerLocked
    c:/go/src/runtime/time.go:113 +0x185

goroutine 7 [select]:
runtime.gopark(0x435ef0, 0x1122bf00, 0x898b98, 0x6)
    c:/go/src/runtime/proc.go:130 +0xde fp=0x1122bd5c sp=0x1122bd44
runtime.selectgoImpl(0x1122bf00, 0x0, 0xc)
    c:/go/src/runtime/select.go:366 +0x9c1 fp=0x1122be3c sp=0x1122bd5c
runtime.selectgo(0x1122bf00)
    c:/go/src/runtime/select.go:183 +0xf fp=0x1122be4c sp=0x1122be3c
github.com/syncthing/syncthing/internal/events.(*Subscription).Poll(0x1128aa00, 0xf8475800, 0xd, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    C:/src/github.com/syncthing/syncthing/internal/events/events.go:179 +0x33f fp=0x1122bf54 sp=0x1122be4c
github.com/syncthing/syncthing/internal/events.(*BufferedSubscription).pollingLoop(0x112186f0)
    C:/src/github.com/syncthing/syncthing/internal/events/events.go:215 +0x44 fp=0x1122bfe8 sp=0x1122bf54
runtime.goexit()
    c:/go/src/runtime/asm_386.s:2287 +0x1 fp=0x1122bfec sp=0x1122bfe8
created by github.com/syncthing/syncthing/internal/events.NewBufferedSubscription
    C:/src/github.com/syncthing/syncthing/internal/events/events.go:209 +0x175

goroutine 8 [chan receive]:
runtime.gopark(0x44ede0, 0x112132f0, 0x8bdaa8, 0xc)
    c:/go/src/runtime/proc.go:130 +0xde fp=0x11226e68 sp=0x11226e50
runtime.goparkunlock(0x112132f0, 0x8bdaa8, 0xc)
    c:/go/src/runtime/proc.go:136 +0x42 fp=0x11226e7c sp=0x11226e68
runtime.chanrecv(0x798380, 0x112132c0, 0x11226fcc, 0xc0000001, 0xc0000000)
    c:/go/src/runtime/chan.go:467 +0x6fc fp=0x11226ed4 sp=0x11226e7c
runtime.chanrecv2(0x798380, 0x112132c0, 0x11226fcc, 0xbaebc0)
    c:/go/src/runtime/chan.go:316 +0x24 fp=0x11226eec sp=0x11226ed4
main.trackCPUUsage()
    C:/src/github.com/syncthing/syncthing/cmd/syncthing/gui_windows.go:46 +0x45d fp=0x11226ff0 sp=0x11226eec
runtime.goexit()
    c:/go/src/runtime/asm_386.s:2287 +0x1 fp=0x11226ff4 sp=0x11226ff0
created by main.init·2
    C:/src/github.com/syncthing/syncthing/cmd/syncthing/gui_windows.go:26 +0x25

goroutine 10 [chan receive, 2 minutes]:
runtime.gopark(0x44ede0, 0x1125f7b0, 0x8bdaa8, 0xc)
    c:/go/src/runtime/proc.go:130 +0xde fp=0x11251c4c sp=0x11251c34
runtime.goparkunlock(0x1125f7b0, 0x8bdaa8, 0xc)
    c:/go/src/runtime/proc.go:136 +0x42 fp=0x11251c60 sp=0x11251c4c
runtime.chanrecv(0x798780, 0x1125f780, 0x11251ef4, 0x1, 0x0)
    c:/go/src/runtime/chan.go:410 +0x3a2 fp=0x11251cb8 sp=0x11251c60
runtime.chanrecv2(0x798780, 0x1125f780, 0x11251ef4, 0x0)
    c:/go/src/runtime/chan.go:316 +0x24 fp=0x11251cd0 sp=0x11251cb8
github.com/syncthing/syncthing/internal/config.(*Wrapper).Serve(0x11211320)
    C:/src/github.com/syncthing/syncthing/internal/config/wrapper.go:88 +0x6a fp=0x11251fe8 sp=0x11251cd0
runtime.goexit()
    c:/go/src/runtime/asm_386.s:2287 +0x1 fp=0x11251fec sp=0x11251fe8
created by github.com/syncthing/syncthing/internal/config.Wrap
    C:/src/github.com/syncthing/syncthing/internal/config/wrapper.go:63 +0x10b

goroutine 11 [select]:
runtime.gopark(0x435ef0, 0x11250f94, 0x898b98, 0x6)
    c:/go/src/runtime/proc.go:130 +0xde fp=0x11250e64 sp=0x11250e4c
runtime.selectgoImpl(0x11250f94, 0x0, 0xc)
    c:/go/src/runtime/select.go:366 +0x9c1 fp=0x11250f44 sp=0x11250e64
runtime.selectgo(0x11250f94)
    c:/go/src/runtime/select.go:183 +0xf fp=0x11250f54 sp=0x11250f44
github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0x11296000)
    C:/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:205 +0x1c5 fp=0x11250fe8 sp=0x11250f54
runtime.goexit()
    c:/go/src/runtime/asm_386.s:2287 +0x1 fp=0x11250fec sp=0x11250fe8
created by github.com/syndtr/goleveldb/leveldb/util.NewBufferPool
    C:/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:236 +0x1bb

goroutine 12 [select, 2 minutes]:
runtime.gopark(0x435ef0, 0x1124fe8c, 0x898b98, 0x6)
    c:/go/src/runtime/proc.go:130 +0xde fp=0x1124fd60 sp=0x1124fd48
runtime.selectgoImpl(0x1124fe8c, 0x0, 0xc)
    c:/go/src/runtime/select.go:366 +0x9c1 fp=0x1124fe40 sp=0x1124fd60
runtime.selectgo(0x1124fe8c)
    c:/go/src/runtime/select.go:183 +0xf fp=0x1124fe50 sp=0x1124fe40
github.com/syndtr/goleveldb/leveldb.(*DB).compactionError(0x112e41c0)
    C:/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:120 +0x414 fp=0x1124ffe8 sp=0x1124fe50
runtime.goexit()
    c:/go/src/runtime/asm_386.s:2287 +0x1 fp=0x1124ffec sp=0x1124ffe8
created by github.com/syndtr/goleveldb/leveldb.openDB
    C:/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:126 +0x731

goroutine 13 [select]:
runtime.gopark(0x435ef0, 0x11252f94, 0x898b98, 0x6)
    c:/go/src/runtime/proc.go:130 +0xde fp=0x11252e88 sp=0x11252e70
runtime.selectgoImpl(0x11252f94, 0x0, 0xc)
    c:/go/src/runtime/select.go:366 +0x9c1 fp=0x11252f68 sp=0x11252e88
runtime.selectgo(0x11252f94)
    c:/go/src/runtime/select.go:183 +0xf fp=0x11252f78 sp=0x11252f68
github.com/syndtr/goleveldb/leveldb.(*DB).mpoolDrain(0x112e41c0)
    C:/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_state.go:73 +0x11d fp=0x11252fe8 sp=0x11252f78
runtime.goexit()
    c:/go/src/runtime/asm_386.s:2287 +0x1 fp=0x11252fec sp=0x11252fe8
created by github.com/syndtr/goleveldb/leveldb.openDB
    C:/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:127 +0x746

goroutine 14 [select, 2 minutes]:
runtime.gopark(0x435ef0, 0x11228edc, 0x898b98, 0x6)
    c:/go/src/runtime/proc.go:130 +0xde fp=0x11228d28 sp=0x11228d10
runtime.selectgoImpl(0x11228edc, 0x0, 0xc)
    c:/go/src/runtime/select.go:366 +0x9c1 fp=0x11228e08 sp=0x11228d28
runtime.selectgo(0x11228edc)
    c:/go/src/runtime/select.go:183 +0xf fp=0x11228e18 sp=0x11228e08
github.com/syndtr/goleveldb/leveldb.(*DB).tCompaction(0x112e41c0)
    C:/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:812 +0x68a fp=0x11228fe8 sp=0x11228e18
runtime.goexit()
    c:/go/src/runtime/asm_386.s:2287 +0x1 fp=0x11228fec sp=0x11228fe8
created by github.com/syndtr/goleveldb/leveldb.openDB
    C:/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:130 +0x780

goroutine 15 [select, 2 minutes]:
runtime.gopark(0x435ef0, 0x11229f94, 0x898b98, 0x6)
    c:/go/src/runtime/proc.go:130 +0xde fp=0x11229e60 sp=0x11229e48
runtime.selectgoImpl(0x11229f94, 0x0, 0xc)
    c:/go/src/runtime/select.go:366 +0x9c1 fp=0x11229f40 sp=0x11229e60
runtime.selectgo(0x11229f94)
    c:/go/src/runtime/select.go:183 +0xf fp=0x11229f50 sp=0x11229f40
github.com/syndtr/goleveldb/leveldb.(*DB).mCompaction(0x112e41c0)
    C:/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:759 +0x221 fp=0x11229fe8 sp=0x11229f50
runtime.goexit()
    c:/go/src/runtime/asm_386.s:2287 +0x1 fp=0x11229fec sp=0x11229fe8
created by github.com/syndtr/goleveldb/leveldb.openDB
    C:/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:131 +0x795

goroutine 16 [select, 2 minutes]:
runtime.gopark(0x435ef0, 0x11b1df94, 0x898b98, 0x6)
    c:/go/src/runtime/proc.go:130 +0xde fp=0x11b1de80 sp=0x11b1de68
runtime.selectgoImpl(0x11b1df94, 0x0, 0xc)
    c:/go/src/runtime/select.go:366 +0x9c1 fp=0x11b1df60 sp=0x11b1de80
runtime.selectgo(0x11b1df94)
    c:/go/src/runtime/select.go:183 +0xf fp=0x11b1df70 sp=0x11b1df60
github.com/syndtr/goleveldb/leveldb.(*DB).jWriter(0x112e41c0)
    C:/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_write.go:37 +0x153 fp=0x11b1dfe8 sp=0x11b1df70
runtime.goexit()
    c:/go/src/runtime/asm_386.s:2287 +0x1 fp=0x11b1dfec sp=0x11b1dfe8
created by github.com/syndtr/goleveldb/leveldb.openDB
    C:/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:132 +0x7aa

goroutine 19 [select, 2 minutes]:
runtime.gopark(0x435ef0, 0x11b1cf94, 0x898b98, 0x6)
    c:/go/src/runtime/proc.go:130 +0xde fp=0x11b1ce10 sp=0x11b1cdf8
runtime.selectgoImpl(0x11b1cf94, 0x0, 0xc)
    c:/go/src/runtime/select.go:366 +0x9c1 fp=0x11b1cef0 sp=0x11b1ce10
runtime.selectgo(0x11b1cf94)
    c:/go/src/runtime/select.go:183 +0xf fp=0x11b1cf00 sp=0x11b1cef0
github.com/syncthing/syncthing/internal/model.(*ProgressEmitter).Serve(0x121d4e60)
    C:/src/github.com/syncthing/syncthing/internal/model/progressemitter.go:57 +0x6d8 fp=0x11b1cfe8 sp=0x11b1cf00
runtime.goexit()
    c:/go/src/runtime/asm_386.s:2287 +0x1 fp=0x11b1cfec sp=0x11b1cfe8
created by github.com/syncthing/syncthing/internal/model.NewModel
    C:/src/github.com/syncthing/syncthing/internal/model/model.go:153 +0x617

goroutine 20 [sleep, 2 minutes]:
runtime.gopark(0x44ede0, 0xbaeaf0, 0x898f68, 0x5)
    c:/go/src/runtime/proc.go:130 +0xde fp=0x1124cf8c sp=0x1124cf74
runtime.goparkunlock(0xbaeaf0, 0x898f68, 0x5)
    c:/go/src/runtime/proc.go:136 +0x42 fp=0x1124cfa0 sp=0x1124cf8c
runtime.timeSleep(0xd964b800, 0x45)
    c:/go/src/runtime/time.go:58 +0xe9 fp=0x1124cfbc sp=0x1124cfa0
github.com/syncthing/syncthing/internal/model.func·024()
    C:/src/github.com/syncthing/syncthing/internal/model/util.go:26 +0x57 fp=0x1124cff0 sp=0x1124cfbc
runtime.goexit()
    c:/go/src/runtime/asm_386.s:2287 +0x1 fp=0x1124cff4 sp=0x1124cff0
created by github.com/syncthing/syncthing/internal/model.deadlockDetect
    C:/src/github.com/syncthing/syncthing/internal/model/util.go:44 +0xb8

goroutine 21 [sleep, 2 minutes]:
runtime.gopark(0x44ede0, 0xbaeaf0, 0x898f68, 0x5)
    c:/go/src/runtime/proc.go:130 +0xde fp=0x1124df8c sp=0x1124df74
runtime.goparkunlock(0xbaeaf0, 0x898f68, 0x5)
    c:/go/src/runtime/proc.go:136 +0x42 fp=0x1124dfa0 sp=0x1124df8c
runtime.timeSleep(0xd964b800, 0x45)
    c:/go/src/runtime/time.go:58 +0xe9 fp=0x1124dfbc sp=0x1124dfa0
github.com/syncthing/syncthing/internal/model.func·024()
    C:/src/github.com/syncthing/syncthing/internal/model/util.go:26 +0x57 fp=0x1124dff0 sp=0x1124dfbc
runtime.goexit()
    c:/go/src/runtime/asm_386.s:2287 +0x1 fp=0x1124dff4 sp=0x1124dff0
created by github.com/syncthing/syncthing/internal/model.deadlockDetect
    C:/src/github.com/syncthing/syncthing/internal/model/util.go:44 +0xb8

goroutine 22 [sleep, 2 minutes]:
runtime.gopark(0x44ede0, 0xbaeaf0, 0x898f68, 0x5)
    c:/go/src/runtime/proc.go:130 +0xde fp=0x1124ef8c sp=0x1124ef74
runtime.goparkunlock(0xbaeaf0, 0x898f68, 0x5)
    c:/go/src/runtime/proc.go:136 +0x42 fp=0x1124efa0 sp=0x1124ef8c
runtime.timeSleep(0xd964b800, 0x45)
    c:/go/src/runtime/time.go:58 +0xe9 fp=0x1124efbc sp=0x1124efa0
github.com/syncthing/syncthing/internal/model.func·024()
    C:/src/github.com/syncthing/syncthing/internal/model/util.go:26 +0x57 fp=0x1124eff0 sp=0x1124efbc
runtime.goexit()
    c:/go/src/runtime/asm_386.s:2287 +0x1 fp=0x1124eff4 sp=0x1124eff0
created by github.com/syncthing/syncthing/internal/model.deadlockDetect
    C:/src/github.com/syncthing/syncthing/internal/model/util.go:44 +0xb8

goroutine 39 [select, 1 minutes]:
runtime.gopark(0x435ef0, 0x11b1bf8c, 0x898b98, 0x6)
    c:/go/src/runtime/proc.go:130 +0xde fp=0x11b1be80 sp=0x11b1be68
runtime.selectgoImpl(0x11b1bf8c, 0x0, 0xc)
    c:/go/src/runtime/select.go:366 +0x9c1 fp=0x11b1bf60 sp=0x11b1be80
runtime.selectgo(0x11b1bf8c)
    c:/go/src/runtime/select.go:183 +0xf fp=0x11b1bf70 sp=0x11b1bf60
github.com/syncthing/syncthing/internal/ignore.(*Matcher).clean(0x12278330, 0x61714000, 0x68c)
    C:/src/github.com/syncthing/syncthing/internal/ignore/ignore.go:162 +0x192 fp=0x11b1bfe0 sp=0x11b1bf70
runtime.goexit()
    c:/go/src/runtime/asm_386.s:2287 +0x1 fp=0x11b1bfe4 sp=0x11b1bfe0
created by github.com/syncthing/syncthing/internal/ignore.New
    C:/src/github.com/syncthing/syncthing/internal/ignore/ignore.go:62 +0xb4

goroutine 40 [select]:
runtime.gopark(0x435ef0, 0x11b17f8c, 0x898b98, 0x6)
    c:/go/src/runtime/proc.go:130 +0xde fp=0x11b17e80 sp=0x11b17e68
runtime.selectgoImpl(0x11b17f8c, 0x0, 0xc)
    c:/go/src/runtime/select.go:366 +0x9c1 fp=0x11b17f60 sp=0x11b17e80
runtime.selectgo(0x11b17f8c)
    c:/go/src/runtime/select.go:183 +0xf fp=0x11b17f70 sp=0x11b17f60
github.com/syncthing/syncthing/internal/ignore.(*Matcher).clean(0x12061440, 0x61714000, 0x68c)
    C:/src/github.com/syncthing/syncthing/internal/ignore/ignore.go:162 +0x192 fp=0x11b17fe0 sp=0x11b17f70
runtime.goexit()
    c:/go/src/runtime/asm_386.s:2287 +0x1 fp=0x11b17fe4 sp=0x11b17fe0
created by github.com/syncthing/syncthing/internal/ignore.New
    C:/src/github.com/syncthing/syncthing/internal/ignore/ignore.go:62 +0xb4

goroutine 41 [select]:
runtime.gopark(0x435ef0, 0x11b16f8c, 0x898b98, 0x6)
    c:/go/src/runtime/proc.go:130 +0xde fp=0x11b16e80 sp=0x11b16e68
runtime.selectgoImpl(0x11b16f8c, 0x0, 0xc)
    c:/go/src/runtime/select.go:366 +0x9c1 fp=0x11b16f60 sp=0x11b16e80
runtime.selectgo(0x11b16f8c)
    c:/go/src/runtime/select.go:183 +0xf fp=0x11b16f70 sp=0x11b16f60
github.com/syncthing/syncthing/internal/ignore.(*Matcher).clean(0x11c9f860, 0x61714000, 0x68c)
    C:/src/github.com/syncthing/syncthing/internal/ignore/ignore.go:162 +0x192 fp=0x11b16fe0 sp=0x11b16f70
runtime.goexit()
    c:/go/src/runtime/asm_386.s:2287 +0x1 fp=0x11b16fe4 sp=0x11b16fe0
created by github.com/syncthing/syncthing/internal/ignore.New
    C:/src/github.com/syncthing/syncthing/internal/ignore/ignore.go:62 +0xb4

goroutine 42 [select]:
runtime.gopark(0x435ef0, 0x116d1f8c, 0x898b98, 0x6)
    c:/go/src/runtime/proc.go:130 +0xde fp=0x116d1e80 sp=0x116d1e68
runtime.selectgoImpl(0x116d1f8c, 0x0, 0xc)
    c:/go/src/runtime/select.go:366 +0x9c1 fp=0x116d1f60 sp=0x116d1e80
runtime.selectgo(0x116d1f8c)
    c:/go/src/runtime/select.go:183 +0xf fp=0x116d1f70 sp=0x116d1f60
github.com/syncthing/syncthing/internal/ignore.(*Matcher).clean(0x123264e0, 0x61714000, 0x68c)
    C:/src/github.com/syncthing/syncthing/internal/ignore/ignore.go:162 +0x192 fp=0x116d1fe0 sp=0x116d1f70
runtime.goexit()
    c:/go/src/runtime/asm_386.s:2287 +0x1 fp=0x116d1fe4 sp=0x116d1fe0
created by github.com/syncthing/syncthing/internal/ignore.New
    C:/src/github.com/syncthing/syncthing/internal/ignore/ignore.go:62 +0xb4

goroutine 43 [select]:
runtime.gopark(0x435ef0, 0x116d0f8c, 0x898b98, 0x6)
    c:/go/src/runtime/proc.go:130 +0xde fp=0x116d0e80 sp=0x116d0e68
runtime.selectgoImpl(0x116d0f8c, 0x0, 0xc)
    c:/go/src/runtime/select.go:366 +0x9c1 fp=0x116d0f60 sp=0x116d0e80
runtime.selectgo(0x116d0f8c)
    c:/go/src/runtime/select.go:183 +0xf fp=0x116d0f70 sp=0x116d0f60
github.com/syncthing/syncthing/internal/ignore.(*Matcher).clean(0x121b4660, 0x61714000, 0x68c)
    C:/src/github.com/syncthing/syncthing/internal/ignore/ignore.go:162 +0x192 fp=0x116d0fe0 sp=0x116d0f70
runtime.goexit()
    c:/go/src/runtime/asm_386.s:2287 +0x1 fp=0x116d0fe4 sp=0x116d0fe0
created by github.com/syncthing/syncthing/internal/ignore.New
    C:/src/github.com/syncthing/syncthing/internal/ignore/ignore.go:62 +0xb4

goroutine 44 [chan receive, locked to thread]:
runtime.gopark(0x44ede0, 0x125289b0, 0x8bdaa8, 0xc)
    c:/go/src/runtime/proc.go:130 +0xde fp=0x116cff34 sp=0x116cff1c
runtime.goparkunlock(0x125289b0, 0x8bdaa8, 0xc)
    c:/go/src/runtime/proc.go:136 +0x42 fp=0x116cff48 sp=0x116cff34
runtime.chanrecv(0x798980, 0x12528980, 0x116cffd4, 0x4c1701, 0x12250000)
    c:/go/src/runtime/chan.go:410 +0x3a2 fp=0x116cffa0 sp=0x116cff48
runtime.chanrecv2(0x798980, 0x12528980, 0x116cffd4, 0x1)
    c:/go/src/runtime/chan.go:316 +0x24 fp=0x116cffb8 sp=0x116cffa0
net.(*ioSrv).ProcessRemoteIO(0x11fee2a8)
    c:/go/src/net/fd_windows.go:144 +0x6d fp=0x116cffe8 sp=0x116cffb8
runtime.goexit()
    c:/go/src/runtime/asm_386.s:2287 +0x1 fp=0x116cffec sp=0x116cffe8
created by net.startServer
    c:/go/src/net/fd_windows.go:244 +0xba

goroutine 45 [chan receive, locked to thread]:
runtime.gopark(0x44ede0, 0x12528df0, 0x8bdaa8, 0xc)
    c:/go/src/runtime/proc.go:130 +0xde fp=0x11b18f34 sp=0x11b18f1c
runtime.goparkunlock(0x12528df0, 0x8bdaa8, 0xc)
    c:/go/src/runtime/proc.go:136 +0x42 fp=0x11b18f48 sp=0x11b18f34
runtime.chanrecv(0x798980, 0x12528dc0, 0x11b18fd4, 0x4c1601, 0x0)
    c:/go/src/runtime/chan.go:410 +0x3a2 fp=0x11b18fa0 sp=0x11b18f48
runtime.chanrecv2(0x798980, 0x12528dc0, 0x11b18fd4, 0x0)
    c:/go/src/runtime/chan.go:316 +0x24 fp=0x11b18fb8 sp=0x11b18fa0
net.(*ioSrv).ProcessRemoteIO(0x11fee2b0)
    c:/go/src/net/fd_windows.go:144 +0x6d fp=0x11b18fe8 sp=0x11b18fb8
runtime.goexit()
    c:/go/src/runtime/asm_386.s:2287 +0x1 fp=0x11b18fec sp=0x11b18fe8
created by net.startServer
    c:/go/src/net/fd_windows.go:246 +0x109

goroutine 46 [IO wait]:
runtime.gopark(0x431b20, 0x31491c04, 0x88e048, 0x7)
    c:/go/src/runtime/proc.go:130 +0xde fp=0x116cdd18 sp=0x116cdd00
runtime.netpollblock(0x31491bf0, 0x72, 0x0, 0x798601)
    c:/go/src/runtime/netpoll.go:347 +0x13f fp=0x116cdd38 sp=0x116cdd18
runtime.netpollWait(0x31491bf0, 0x72, 0x116cdd6c)
    c:/go/src/runtime/netpoll.go:150 +0x5c fp=0x116cdd4c sp=0x116cdd38
net.(*pollDesc).Wait(0x112e5e90, 0x72, 0x0, 0x0)
    c:/go/src/net/fd_poll_runtime.go:84 +0x42 fp=0x116cdd5c sp=0x116cdd4c
net.(*ioSrv).ExecIO(0x11fee2a8, 0x112e5df8, 0x89d088, 0x8, 0x1122e5c8, 0x112e4540, 0x0, 0x0)
    c:/go/src/net/fd_windows.go:188 +0x265 fp=0x116cddd0 sp=0x116cdd5c
net.(*netFD).acceptOne(0x112e5dc0, 0x112e42a0, 0x2, 0x2, 0x112e5df8, 0x0, 0x0, 0x0)
    c:/go/src/net/fd_windows.go:558 +0x3ee fp=0x116cde18 sp=0x116cddd0
net.(*netFD).accept(0x112e5dc0, 0x0, 0x0, 0x0)
    c:/go/src/net/fd_windows.go:585 +0x119 fp=0x116cde94 sp=0x116cde18
net.(*TCPListener).AcceptTCP(0x11fee2b8, 0x626d55ff, 0x0, 0x0)
    c:/go/src/net/tcpsock_posix.go:234 +0x48 fp=0x116cdebc sp=0x116cde94
net.(*TCPListener).Accept(0x11fee2b8, 0x0, 0x0, 0x0, 0x0)
    c:/go/src/net/tcpsock_posix.go:244 +0x48 fp=0x116cdedc sp=0x116cdebc
main.(*DowngradingListener).Accept(0x112bdf30, 0x0, 0x0, 0x0, 0x0)
    C:/src/github.com/syncthing/syncthing/cmd/syncthing/tls.go:113 +0x61 fp=0x116cdf4c sp=0x116cdedc
net/http.(*Server).Serve(0x1227ab80, 0x31492dc0, 0x112bdf30, 0x0, 0x0)
    c:/go/src/net/http/server.go:1728 +0x7b fp=0x116cdfc0 sp=0x116cdf4c
main.func·001()
    C:/src/github.com/syncthing/syncthing/cmd/syncthing/gui.go:190 +0x58 fp=0x116cdff0 sp=0x116cdfc0
runtime.goexit()
    c:/go/src/runtime/asm_386.s:2287 +0x1 fp=0x116cdff4 sp=0x116cdff0
created by main.startGUI
    C:/src/github.com/syncthing/syncthing/cmd/syncthing/gui.go:194 +0x101c
fatal error: invalid heap pointer

runtime stack:
runtime.throw(0xb98de3)
    c:/go/src/runtime/panic.go:491 +0x83 fp=0x6fc78 sp=0x6fc60
scanblock(0x116cdd18, 0x10, 0x95e3a8)
    c:/go/src/runtime/mgc0.c:378 +0x48d fp=0x6fd18 sp=0x6fc78
scanframe(0x6fda4, 0x0, 0x1)
    c:/go/src/runtime/mgc0.c:740 +0x186 fp=0x6fd54 sp=0x6fd18
runtime.gentraceback(0x434a2e, 0x116cdd00, 0x0, 0x112e0780, 0x0, 0x0, 0x7fffffff, 0x6fdfc, 0x0, 0x0, ...)
    c:/go/src/runtime/traceback.go:311 +0x5c5 fp=0x6fdd0 sp=0x6fd54
scanstack(0x112e0780)
    c:/go/src/runtime/mgc0.c:777 +0x1e0 fp=0x6fe08 sp=0x6fdd0
markroot(0x11214140, 0x30)
    c:/go/src/runtime/mgc0.c:553 +0xcd fp=0x6fe40 sp=0x6fe08
runtime.parfordo(0x11214140)
    c:/go/src/runtime/parfor.c:91 +0x115 fp=0x6fe9c sp=0x6fe40
runtime.gchelper()
    c:/go/src/runtime/mgc0.c:1185 +0x46 fp=0x6feb0 sp=0x6fe9c
stopm()
    c:/go/src/runtime/proc.c:1181 +0x132 fp=0x6fec0 sp=0x6feb0
findrunnable(0x11222500)
    c:/go/src/runtime/proc.c:1487 +0x381 fp=0x6feec sp=0x6fec0
schedule()
    c:/go/src/runtime/proc.c:1575 +0x148 fp=0x6ff04 sp=0x6feec
runtime.park_m(0x11224aa0)
    c:/go/src/runtime/proc.c:1654 +0x106 fp=0x6ff18 sp=0x6ff04
runtime.mcall(0x44d6b6)
    c:/go/src/runtime/asm_386.s:196 +0x47 fp=0x6ff20 sp=0x6ff18
@emidoots
Copy link

  • It might be helpful to know:
    • Does the exact same program run fine on a non-windows OS?
    • Does the exact same program run fine on a windows amd64 OS?
    • Is the program using CGO at all (I looked briefly and think the answer is no)?

@minux
Copy link
Member

minux commented Jan 25, 2015

Please ask on golang-nuts how to debug this problem.
It is normally a bug in the user code, for example, saving
an integer in a pointer, esp. code that is using cgo.
(one example that affects windows code particularly is that
although HANDLE is a pointer type, windows actually stores
integers into it and if you store HANDLE on Go stack or
heap, it will trigger this error.)

If you don't want to find the bug, you can temporarily
disable the invalid pointer check by setting GODEBUG=invalidptr=0,
however, as documented in Go 1.4 release note
(http://golang.org/doc/go1.4#runtime), we don't guarantee
that the invalid check can be disabled in future Go releases,
so it is still recommended to fix such problems with Go 1.4.

@AudriusButkevicius
Copy link
Contributor Author

We had 4 reports on this, 3 out of 4 times it was Windows 32bit, the 4th was some storage device:
syncthing/syncthing#1280 but I don't have stack traces for Go 1.4.1.

No CGO involved as far as I know.

Is it obvious from the traces which routine the invalid pointer is found?

@minux
Copy link
Member

minux commented Jan 25, 2015

The pointer is encountered during GC, so it's hard to say where does the
invalid pointer come from.

Normally the GC will also print one line of the form:
runtime: garbage collector found invalid heap pointer *(addr+offset)=addr

before the panic. That is important clue.

@AudriusButkevicius
Copy link
Contributor Author

I am closing this for now, will try to figure out where it happens in the code first, as it seems to be 100% reproducible on the machines in question. I have a hunch that it will most likely be caused by using syscall stuff.

@AudriusButkevicius
Copy link
Contributor Author

There seems to be some interleaving writes, but perhaps this one makes more sense?

This is go 1.4.1 on arm linux, which doesn't use cgo nor any of the syscall stuff excessively.

runtime: garbage collector found invalid heap pointer *(runtime: garbage collector found invalid heap pointer *(0x7c87d00x11316dbc++0x1f80x4)=)=0x30b210000x30a3140c s=nil
 s=nil
fatal error: invalid heap pointer

runtime stack:
runtime.throw(0x7b3c8b)
    /usr/local/go/src/runtime/panic.go:491 +0xa4 fp=0x10ad7d24 sp=0x10ad7d0c
scanblock(0x7c87d0, 0x5008, 0x30a0e5f0)
    /usr/local/go/src/runtime/mgc0.c:378 +0x31c fp=0x10ad7dc4 sp=0x10ad7d24
markroot(0x10a10000, 0x1)
    /usr/local/go/src/runtime/mgc0.c:496 +0x300 fp=0x10ad7e04 sp=0x10ad7dc4
runtime.parfordo(0x10a10000)
    /usr/local/go/src/runtime/parfor.c:91 +0x18c fp=0x10ad7e74 sp=0x10ad7e04
gc(0x10ad7fdc)
    /usr/local/go/src/runtime/mgc0.c:1439 +0x220 fp=0x10ad7fb0 sp=0x10ad7e74
runtime.gc_m()
    /usr/local/go/src/runtime/mgc0.c:1368 +0x10c fp=0x10ad7fe8 sp=0x10ad7fb0
runtime.onM(0x10a12000)
    /usr/local/go/src/runtime/asm_arm.s:256 +0x74 fp=0x10ad7fec sp=0x10ad7fe8
runtime.mstart()
    /usr/local/go/src/runtime/proc.c:818 fp=0x10ad7fec sp=0x10ad7fec

goroutine 1 [garbage collection]:
runtime.switchtoM()
    /usr/local/go/src/runtime/asm_arm.s:193 +0x4 fp=0x10ae4708 sp=0x10ae4704
runtime.gogc(0x0)
    /usr/local/go/src/runtime/malloc.go:469 +0x224 fp=0x10ae4728 sp=0x10ae4708
runtime.mallocgc(0x334a000, 0x416ae0, 0x1, 0x334964a)
    /usr/local/go/src/runtime/malloc.go:341 +0x3bc fp=0x10ae4780 sp=0x10ae4728
runtime.newarray(0x416ae0, 0x334964a, 0x32b782e)
    /usr/local/go/src/runtime/malloc.go:365 +0xec fp=0x10ae479c sp=0x10ae4780
runtime.makeslice(0x40dff8, 0x32b77ca, 0x0, 0x334964a, 0x0, 0x0, 0x0, 0x0)
    /usr/local/go/src/runtime/slice.go:32 +0x1fc fp=0x10ae47c0 sp=0x10ae479c
github.com/syndtr/goleveldb/leveldb.(*Batch).grow(0x11730020, 0x64)
    /go/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/batch.go:64 +0x1bc fp=0x10ae4808 sp=0x10ae47c0
github.com/syndtr/goleveldb/leveldb.(*Batch).appendRec(0x11730020, 0x0, 0x10afe960, 0x5e, 0x5e, 0x0, 0x0, 0x0)
    /go/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/batch.go:75 +0x64 fp=0x10ae4854 sp=0x10ae4808
github.com/syndtr/goleveldb/leveldb.(*Batch).Delete(0x11730020, 0x10afe960, 0x5e, 0x5e)
    /go/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/batch.go:103 +0x58 fp=0x10ae4878 sp=0x10ae4854
github.com/syncthing/syncthing/internal/db.ldbRemoveFromGlobal(0x30a31b40, 0x11746210, 0x30a31b58, 0x11730020, 0x11928468, 0x7, 0x8, 0x117302a0, 0x20, 0x20, ...)
    /go/src/github.com/syncthing/syncthing/internal/db/leveldb.go:519 +0x698 fp=0x10ae49bc sp=0x10ae4878
github.com/syncthing/syncthing/internal/db.func·002(0x30a31b40, 0x11746210, 0x30a31b58, 0x11730020, 0x11928468, 0x7, 0x8, 0x117302a0, 0x20, 0x20, ...)
    /go/src/github.com/syncthing/syncthing/internal/db/leveldb.go:298 +0x254 fp=0x10ae4a80 sp=0x10ae49bc
github.com/syncthing/syncthing/internal/db.ldbGenericReplace(0x10a3f0a0, 0x11928468, 0x7, 0x8, 0x117302a0, 0x20, 0x20, 0x0, 0x0, 0x0, ...)
    /go/src/github.com/syncthing/syncthing/internal/db/leveldb.go:255 +0x15e8 fp=0x10ae4d88 sp=0x10ae4a80
github.com/syncthing/syncthing/internal/db.ldbReplace(0x10a3f0a0, 0x11928468, 0x7, 0x8, 0x117302a0, 0x20, 0x20, 0x0, 0x0, 0x0, ...)
    /go/src/github.com/syncthing/syncthing/internal/db/leveldb.go:304 +0x7c fp=0x10ae4dc0 sp=0x10ae4d88
github.com/syncthing/syncthing/internal/db.(*FileSet).Replace(0x118ee980, 0x154dadfb, 0x6e27a980, 0xa01d2466, 0xc012cac4, 0x6147a5e0, 0xa5a03ab2, 0x6aa6bde8, 0x6592, 0x0, ...)
    /go/src/github.com/syncthing/syncthing/internal/db/set.go:91 +0x348 fp=0x10ae4e60 sp=0x10ae4dc0
github.com/syncthing/syncthing/internal/model.(*Model).Index(0x10ab4840, 0x154dadfb, 0x6e27a980, 0xa01d2466, 0xc012cac4, 0x6147a5e0, 0xa5a03ab2, 0x6aa6bde8, 0x6592, 0x10aaa810, ...)
    /go/src/github.com/syncthing/syncthing/internal/model/model.go:486 +0x8d0 fp=0x10ae4f88 sp=0x10ae4e60
main.syncthingMain()
    /go/src/github.com/syncthing/syncthing/cmd/syncthing/main.go:485 +0x27d8 fp=0x10ae5adc sp=0x10ae4f88
main.main()
    /go/src/github.com/syncthing/syncthing/cmd/syncthing/main.go:254 +0x1bc0 fp=0x10ae5fc0 sp=0x10ae5adc
runtime.main()
    /usr/local/go/src/runtime/proc.go:63 +0x108 fp=0x10ae5fe4 sp=0x10ae5fc0
runtime.goexit()
    /usr/local/go/src/runtime/asm_arm.s:1322 +0x4 fp=0x10ae5fe4 sp=0x10ae5fe4

goroutine 2 [force gc (idle), 1 minutes]:
runtime.gopark(0x6ce44, 0x7c92b8, 0x50f678, 0xf)
    /usr/local/go/src/runtime/proc.go:130 +0x124 fp=0x10a187c8 sp=0x10a187b0
runtime.goparkunlock(0x7c92b8, 0x50f678, 0xf)
    /usr/local/go/src/runtime/proc.go:136 +0x3c fp=0x10a187dc sp=0x10a187c8
runtime.forcegchelper()
    /usr/local/go/src/runtime/proc.go:99 +0xd0 fp=0x10a187ec sp=0x10a187dc
runtime.goexit()
    /usr/local/go/src/runtime/asm_arm.s:1322 +0x4 fp=0x10a187ec sp=0x10a187ec
created by runtime.init·4
    /usr/local/go/src/runtime/proc.go:87 +0x34

goroutine 3 [GC sweep wait]:
runtime.gopark(0x6ce44, 0x7cdf5c, 0x50ad10, 0xd)
    /usr/local/go/src/runtime/proc.go:130 +0x124 fp=0x10a1bfc8 sp=0x10a1bfb0
runtime.goparkunlock(0x7cdf5c, 0x50ad10, 0xd)
    /usr/local/go/src/runtime/proc.go:136 +0x3c fp=0x10a1bfdc sp=0x10a1bfc8
runtime.bgsweep()
    /usr/local/go/src/runtime/mgc0.go:98 +0xb8 fp=0x10a1bfec sp=0x10a1bfdc
runtime.goexit()
    /usr/local/go/src/runtime/asm_arm.s:1322 +0x4 fp=0x10a1bfec sp=0x10a1bfec
created by gc
    /usr/local/go/src/runtime/mgc0.c:1383

goroutine 4 [finalizer wait, 1 minutes]:
runtime.gopark(0x6ce44, 0x7cdf58, 0x50f288, 0xe)
    /usr/local/go/src/runtime/proc.go:130 +0x124 fp=0x10a16f94 sp=0x10a16f7c
runtime.goparkunlock(0x7cdf58, 0x50f288, 0xe)
    /usr/local/go/src/runtime/proc.go:136 +0x3c fp=0x10a16fa8 sp=0x10a16f94
runtime.runfinq()
    /usr/local/go/src/runtime/malloc.go:727 +0xac fp=0x10a16fec sp=0x10a16fa8
runtime.goexit()
    /usr/local/go/src/runtime/asm_arm.s:1322 +0x4 fp=0x10a16fec sp=0x10a16fec
created by runtime.createfing
    /usr/local/go/src/runtime/malloc.go:707 +0x6c

goroutine 5 [syscall, 1 minutes]:
runtime.notetsleepg(0x7d0128, 0xffffffff, 0xffffffff, 0x1)
    /usr/local/go/src/runtime/lock_futex.go:201 +0x58 fp=0x10a177ac sp=0x10a17794
runtime.signal_recv(0x0)
    /usr/local/go/src/runtime/sigqueue.go:109 +0x174 fp=0x10a177cc sp=0x10a177ac
os/signal.loop()
    /usr/local/go/src/os/signal/signal_unix.go:21 +0x1c fp=0x10a177ec sp=0x10a177cc
runtime.goexit()
    /usr/local/go/src/runtime/asm_arm.s:1322 +0x4 fp=0x10a177ec sp=0x10a177ec
created by os/signal.init·1
    /usr/local/go/src/os/signal/signal_unix.go:27 +0x40

goroutine 17 [syscall]:
runtime.notetsleepg(0x7c94ac, 0x2c69d099, 0x0, 0x0)
    /usr/local/go/src/runtime/lock_futex.go:201 +0x58 fp=0x10a15f8c sp=0x10a15f74
runtime.timerproc()
    /usr/local/go/src/runtime/time.go:207 +0x144 fp=0x10a15fec sp=0x10a15f8c
runtime.goexit()
    /usr/local/go/src/runtime/asm_arm.s:1322 +0x4 fp=0x10a15fec sp=0x10a15fec
created by runtime.addtimerLocked
    /usr/local/go/src/runtime/time.go:113 +0x230

goroutine 7 [select]:
runtime.gopark(0x4dd08, 0x10a1b704, 0x4f2ec8, 0x6)
    /usr/local/go/src/runtime/proc.go:130 +0x124 fp=0x10a1b564 sp=0x10a1b54c
runtime.selectgoImpl(0x10a1b704, 0x0, 0xc)
    /usr/local/go/src/runtime/select.go:569 +0x1218 fp=0x10a1b63c sp=0x10a1b564
runtime.selectgo(0x10a1b704)
    /usr/local/go/src/runtime/select.go:183 +0x10 fp=0x10a1b64c sp=0x10a1b63c
github.com/syncthing/syncthing/internal/events.(*Subscription).Poll(0x10a0b020, 0xf8475800, 0xd, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    /go/src/github.com/syncthing/syncthing/internal/events/events.go:179 +0x340 fp=0x10a1b754 sp=0x10a1b64c
github.com/syncthing/syncthing/internal/events.(*BufferedSubscription).pollingLoop(0x10a36450)
    /go/src/github.com/syncthing/syncthing/internal/events/events.go:215 +0x40 fp=0x10a1b7e4 sp=0x10a1b754
runtime.goexit()
    /usr/local/go/src/runtime/asm_arm.s:1322 +0x4 fp=0x10a1b7e4 sp=0x10a1b7e4
created by github.com/syncthing/syncthing/internal/events.NewBufferedSubscription
    /go/src/github.com/syncthing/syncthing/internal/events/events.go:209 +0x1f4

goroutine 8 [chan receive]:
runtime.gopark(0x6ce44, 0x10a3a270, 0x50ded8, 0xc)
    /usr/local/go/src/runtime/proc.go:130 +0x124 fp=0x10a16680 sp=0x10a16668
runtime.goparkunlock(0x10a3a270, 0x50ded8, 0xc)
    /usr/local/go/src/runtime/proc.go:136 +0x3c fp=0x10a16694 sp=0x10a16680
runtime.chanrecv(0x40e298, 0x10a3a240, 0x10a167dc, 0x20000001, 0x10000)
    /usr/local/go/src/runtime/chan.go:467 +0x8b4 fp=0x10a166ec sp=0x10a16694
runtime.chanrecv2(0x40e298, 0x10a3a240, 0x10a167dc, 0x41cdcd53)
    /usr/local/go/src/runtime/chan.go:316 +0x30 fp=0x10a16704 sp=0x10a166ec
main.trackCPUUsage()
    /go/src/github.com/syncthing/syncthing/cmd/syncthing/gui_unix.go:33 +0x120 fp=0x10a167ec sp=0x10a16704
runtime.goexit()
    /usr/local/go/src/runtime/asm_arm.s:1322 +0x4 fp=0x10a167ec sp=0x10a167ec
created by main.init·2
    /go/src/github.com/syncthing/syncthing/cmd/syncthing/gui_unix.go:26 +0x34

goroutine 9 [chan receive, 1 minutes]:
runtime.gopark(0x6ce44, 0x10a62a70, 0x50ded8, 0xc)
    /usr/local/go/src/runtime/proc.go:130 +0x124 fp=0x10a14c48 sp=0x10a14c30
runtime.goparkunlock(0x10a62a70, 0x50ded8, 0xc)
    /usr/local/go/src/runtime/proc.go:136 +0x3c fp=0x10a14c5c sp=0x10a14c48
runtime.chanrecv(0x40e598, 0x10a62a40, 0x10a14ef4, 0x1, 0x0)
    /usr/local/go/src/runtime/chan.go:410 +0x4c0 fp=0x10a14cb4 sp=0x10a14c5c
runtime.chanrecv2(0x40e598, 0x10a62a40, 0x10a14ef4, 0x0)
    /usr/local/go/src/runtime/chan.go:316 +0x30 fp=0x10a14ccc sp=0x10a14cb4
github.com/syncthing/syncthing/internal/config.(*Wrapper).Serve(0x10a48d80)
    /go/src/github.com/syncthing/syncthing/internal/config/wrapper.go:88 +0x54 fp=0x10a14fe4 sp=0x10a14ccc
runtime.goexit()
    /usr/local/go/src/runtime/asm_arm.s:1322 +0x4 fp=0x10a14fe4 sp=0x10a14fe4
created by github.com/syncthing/syncthing/internal/config.Wrap
    /go/src/github.com/syncthing/syncthing/internal/config/wrapper.go:63 +0x12c

goroutine 10 [select]:
runtime.gopark(0x4dd08, 0x10a15794, 0x4f2ec8, 0x6)
    /usr/local/go/src/runtime/proc.go:130 +0x124 fp=0x10a15668 sp=0x10a15650
runtime.selectgoImpl(0x10a15794, 0x0, 0xc)
    /usr/local/go/src/runtime/select.go:569 +0x1218 fp=0x10a15740 sp=0x10a15668
runtime.selectgo(0x10a15794)
    /usr/local/go/src/runtime/select.go:183 +0x10 fp=0x10a15750 sp=0x10a15740
github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0x10ab4420)
    /go/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:205 +0x1d4 fp=0x10a157e4 sp=0x10a15750
runtime.goexit()
    /usr/local/go/src/runtime/asm_arm.s:1322 +0x4 fp=0x10a157e4 sp=0x10a157e4
created by github.com/syndtr/goleveldb/leveldb/util.NewBufferPool
    /go/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:236 +0x23c

goroutine 11 [select]:
runtime.gopark(0x4dd08, 0x1131be8c, 0x4f2ec8, 0x6)
    /usr/local/go/src/runtime/proc.go:130 +0x124 fp=0x1131bd64 sp=0x1131bd4c
runtime.selectgoImpl(0x1131be8c, 0x0, 0xc)
    /usr/local/go/src/runtime/select.go:569 +0x1218 fp=0x1131be3c sp=0x1131bd64
runtime.selectgo(0x1131be8c)
    /usr/local/go/src/runtime/select.go:183 +0x10 fp=0x1131be4c sp=0x1131be3c
github.com/syndtr/goleveldb/leveldb.(*DB).compactionError(0x10a3f0a0)
    /go/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:120 +0x3bc fp=0x1131bfe4 sp=0x1131be4c
runtime.goexit()
    /usr/local/go/src/runtime/asm_arm.s:1322 +0x4 fp=0x1131bfe4 sp=0x1131bfe4
created by github.com/syndtr/goleveldb/leveldb.openDB
    /go/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:122 +0x82c

goroutine 12 [select]:
runtime.gopark(0x4dd08, 0x10a14794, 0x4f2ec8, 0x6)
    /usr/local/go/src/runtime/proc.go:130 +0x124 fp=0x10a1468c sp=0x10a14674
runtime.selectgoImpl(0x10a14794, 0x0, 0xc)
    /usr/local/go/src/runtime/select.go:569 +0x1218 fp=0x10a14764 sp=0x10a1468c
runtime.selectgo(0x10a14794)
    /usr/local/go/src/runtime/select.go:183 +0x10 fp=0x10a14774 sp=0x10a14764
github.com/syndtr/goleveldb/leveldb.(*DB).mpoolDrain(0x10a3f0a0)
    /go/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_state.go:73 +0x124 fp=0x10a147e4 sp=0x10a14774
runtime.goexit()
    /usr/local/go/src/runtime/asm_arm.s:1322 +0x4 fp=0x10a147e4 sp=0x10a147e4
created by github.com/syndtr/goleveldb/leveldb.openDB
    /go/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:122 +0x854

goroutine 13 [select]:
runtime.gopark(0x4dd08, 0x10a17edc, 0x4f2ec8, 0x6)
    /usr/local/go/src/runtime/proc.go:130 +0x124 fp=0x10a17d24 sp=0x10a17d0c
runtime.selectgoImpl(0x10a17edc, 0x0, 0xc)
    /usr/local/go/src/runtime/select.go:569 +0x1218 fp=0x10a17dfc sp=0x10a17d24
runtime.selectgo(0x10a17edc)
    /usr/local/go/src/runtime/select.go:183 +0x10 fp=0x10a17e0c sp=0x10a17dfc
github.com/syndtr/goleveldb/leveldb.(*DB).tCompaction(0x10a3f0a0)
    /go/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:812 +0x6a4 fp=0x10a17fe4 sp=0x10a17e0c
runtime.goexit()
    /usr/local/go/src/runtime/asm_arm.s:1322 +0x4 fp=0x10a17fe4 sp=0x10a17fe4
created by github.com/syndtr/goleveldb/leveldb.openDB
    /go/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:122 +0x8ac

goroutine 14 [select, 1 minutes]:
runtime.gopark(0x4dd08, 0x10a18f94, 0x4f2ec8, 0x6)
    /usr/local/go/src/runtime/proc.go:130 +0x124 fp=0x10a18e64 sp=0x10a18e4c
runtime.selectgoImpl(0x10a18f94, 0x0, 0xc)
    /usr/local/go/src/runtime/select.go:569 +0x1218 fp=0x10a18f3c sp=0x10a18e64
runtime.selectgo(0x10a18f94)
    /usr/local/go/src/runtime/select.go:183 +0x10 fp=0x10a18f4c sp=0x10a18f3c
github.com/syndtr/goleveldb/leveldb.(*DB).mCompaction(0x10a3f0a0)
    /go/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:759 +0x248 fp=0x10a18fe4 sp=0x10a18f4c
runtime.goexit()
    /usr/local/go/src/runtime/asm_arm.s:1322 +0x4 fp=0x10a18fe4 sp=0x10a18fe4
created by github.com/syndtr/goleveldb/leveldb.openDB
    /go/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:122 +0x8d4

goroutine 15 [select, 1 minutes]:
runtime.gopark(0x4dd08, 0x10a19794, 0x4f2ec8, 0x6)
    /usr/local/go/src/runtime/proc.go:130 +0x124 fp=0x10a19684 sp=0x10a1966c
runtime.selectgoImpl(0x10a19794, 0x0, 0xc)
    /usr/local/go/src/runtime/select.go:569 +0x1218 fp=0x10a1975c sp=0x10a19684
runtime.selectgo(0x10a19794)
    /usr/local/go/src/runtime/select.go:183 +0x10 fp=0x10a1976c sp=0x10a1975c
github.com/syndtr/goleveldb/leveldb.(*DB).jWriter(0x10a3f0a0)
    /go/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_write.go:37 +0x17c fp=0x10a197e4 sp=0x10a1976c
runtime.goexit()
    /usr/local/go/src/runtime/asm_arm.s:1322 +0x4 fp=0x10a197e4 sp=0x10a197e4
created by github.com/syndtr/goleveldb/leveldb.openDB
    /go/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:122 +0x8fc

goroutine 34 [select, 1 minutes]:
runtime.gopark(0x4dd08, 0x1131a794, 0x4f2ec8, 0x6)
    /usr/local/go/src/runtime/proc.go:130 +0x124 fp=0x1131a5f0 sp=0x1131a5d8
runtime.selectgoImpl(0x1131a794, 0x0, 0xc)
    /usr/local/go/src/runtime/select.go:569 +0x1218 fp=0x1131a6c8 sp=0x1131a5f0
runtime.selectgo(0x1131a794)
    /usr/local/go/src/runtime/select.go:183 +0x10 fp=0x1131a6d8 sp=0x1131a6c8
github.com/syncthing/syncthing/internal/model.(*ProgressEmitter).Serve(0x118ee960)
    /go/src/github.com/syncthing/syncthing/internal/model/progressemitter.go:57 +0x724 fp=0x1131a7e4 sp=0x1131a6d8
runtime.goexit()
    /usr/local/go/src/runtime/asm_arm.s:1322 +0x4 fp=0x1131a7e4 sp=0x1131a7e4
created by github.com/syncthing/syncthing/internal/model.NewModel
    /go/src/github.com/syncthing/syncthing/internal/model/model.go:153 +0x66c

goroutine 35 [sleep, 1 minutes]:
runtime.gopark(0x6ce44, 0x7c94a0, 0x4f32a8, 0x5)
    /usr/local/go/src/runtime/proc.go:130 +0x124 fp=0x1131af88 sp=0x1131af70
runtime.goparkunlock(0x7c94a0, 0x4f32a8, 0x5)
    /usr/local/go/src/runtime/proc.go:136 +0x3c fp=0x1131af9c sp=0x1131af88
runtime.timeSleep(0xd964b800, 0x45)
    /usr/local/go/src/runtime/time.go:58 +0x12c fp=0x1131afb8 sp=0x1131af9c
github.com/syncthing/syncthing/internal/model.func·024()
    /go/src/github.com/syncthing/syncthing/internal/model/util.go:26 +0x70 fp=0x1131afec sp=0x1131afb8
runtime.goexit()
    /usr/local/go/src/runtime/asm_arm.s:1322 +0x4 fp=0x1131afec sp=0x1131afec
created by github.com/syncthing/syncthing/internal/model.deadlockDetect
    /go/src/github.com/syncthing/syncthing/internal/model/util.go:44 +0x100

goroutine 36 [sleep, 1 minutes]:
runtime.gopark(0x6ce44, 0x7c94a0, 0x4f32a8, 0x5)
    /usr/local/go/src/runtime/proc.go:130 +0x124 fp=0x1131b788 sp=0x1131b770
runtime.goparkunlock(0x7c94a0, 0x4f32a8, 0x5)
    /usr/local/go/src/runtime/proc.go:136 +0x3c fp=0x1131b79c sp=0x1131b788
runtime.timeSleep(0xd964b800, 0x45)
    /usr/local/go/src/runtime/time.go:58 +0x12c fp=0x1131b7b8 sp=0x1131b79c
github.com/syncthing/syncthing/internal/model.func·024()
    /go/src/github.com/syncthing/syncthing/internal/model/util.go:26 +0x70 fp=0x1131b7ec sp=0x1131b7b8
runtime.goexit()
    /usr/local/go/src/runtime/asm_arm.s:1322 +0x4 fp=0x1131b7ec sp=0x1131b7ec
created by github.com/syncthing/syncthing/internal/model.deadlockDetect
    /go/src/github.com/syncthing/syncthing/internal/model/util.go:44 +0x100

goroutine 37 [sleep, 1 minutes]:
runtime.gopark(0x6ce44, 0x7c94a0, 0x4f32a8, 0x5)
    /usr/local/go/src/runtime/proc.go:130 +0x124 fp=0x11319788 sp=0x11319770
runtime.goparkunlock(0x7c94a0, 0x4f32a8, 0x5)
    /usr/local/go/src/runtime/proc.go:136 +0x3c fp=0x1131979c sp=0x11319788
runtime.timeSleep(0xd964b800, 0x45)
    /usr/local/go/src/runtime/time.go:58 +0x12c fp=0x113197b8 sp=0x1131979c
github.com/syncthing/syncthing/internal/model.func·024()
    /go/src/github.com/syncthing/syncthing/internal/model/util.go:26 +0x70 fp=0x113197ec sp=0x113197b8
runtime.goexit()
    /usr/local/go/src/runtime/asm_arm.s:1322 +0x4 fp=0x113197ec sp=0x113197ec
created by github.com/syncthing/syncthing/internal/model.deadlockDetect
    /go/src/github.com/syncthing/syncthing/internal/model/util.go:44 +0x100

goroutine 38 [select]:
runtime.gopark(0x4dd08, 0x1131778c, 0x4f2ec8, 0x6)
    /usr/local/go/src/runtime/proc.go:130 +0x124 fp=0x11317684 sp=0x1131766c
runtime.selectgoImpl(0x1131778c, 0x0, 0xc)
    /usr/local/go/src/runtime/select.go:569 +0x1218 fp=0x1131775c sp=0x11317684
runtime.selectgo(0x1131778c)
    /usr/local/go/src/runtime/select.go:183 +0x10 fp=0x1131776c sp=0x1131775c
github.com/syncthing/syncthing/internal/ignore.(*Matcher).clean(0x11882ba0, 0x61714000, 0x68c)
    /go/src/github.com/syncthing/syncthing/internal/ignore/ignore.go:162 +0x1cc fp=0x113177dc sp=0x1131776c
runtime.goexit()
    /usr/local/go/src/runtime/asm_arm.s:1322 +0x4 fp=0x113177dc sp=0x113177dc
created by github.com/syncthing/syncthing/internal/ignore.New
    /go/src/github.com/syncthing/syncthing/internal/ignore/ignore.go:62 +0xe0

goroutine 39 [IO wait]:
runtime.gopark(0x48194, 0x30a3140c, 0x4e82a8, 0x7)
    /usr/local/go/src/runtime/proc.go:130 +0x124 fp=0x11316db8 sp=0x11316da0
runtime.netpollblock(0x30a313f8, 0x72, 0x41000, 0x11928074)
    /usr/local/go/src/runtime/netpoll.go:347 +0x1b8 fp=0x11316dd8 sp=0x11316db8
runtime.netpollWait(0x30a313f8, 0x72, 0x4)
    /usr/local/go/src/runtime/netpoll.go:150 +0x68 fp=0x11316dec sp=0x11316dd8
net.(*pollDesc).Wait(0x11a928f8, 0x72, 0x0, 0x0)
    /usr/local/go/src/net/fd_poll_runtime.go:84 +0x3c fp=0x11316dfc sp=0x11316dec
net.(*pollDesc).WaitRead(0x11a928f8, 0x0, 0x0)
    /usr/local/go/src/net/fd_poll_runtime.go:89 +0x38 fp=0x11316e10 sp=0x11316dfc
net.(*netFD).accept(0x11a928c0, 0x0, 0x30a13c58, 0x11928040)
    /usr/local/go/src/net/fd_unix.go:419 +0x390 fp=0x11316e90 sp=0x11316e10
net.(*TCPListener).AcceptTCP(0x1199a260, 0x0, 0x0, 0x0)
    /usr/local/go/src/net/tcpsock_posix.go:234 +0x50 fp=0x11316eb8 sp=0x11316e90
net.(*TCPListener).Accept(0x1199a260, 0x0, 0x0, 0x0, 0x0)
    /usr/local/go/src/net/tcpsock_posix.go:244 +0x3c fp=0x11316ed8 sp=0x11316eb8
main.(*DowngradingListener).Accept(0x10ae8620, 0x0, 0x0, 0x0, 0x0)
    /go/src/github.com/syncthing/syncthing/cmd/syncthing/tls.go:113 +0x64 fp=0x11316f48 sp=0x11316ed8
net/http.(*Server).Serve(0x11adc840, 0x30a31a38, 0x10ae8620, 0x0, 0x0)
    /usr/local/go/src/net/http/server.go:1728 +0x98 fp=0x11316fbc sp=0x11316f48
main.func·001()
    /go/src/github.com/syncthing/syncthing/cmd/syncthing/gui.go:190 +0x7c fp=0x11316fec sp=0x11316fbc
runtime.goexit()
    /usr/local/go/src/runtime/asm_arm.s:1322 +0x4 fp=0x11316fec sp=0x11316fec
created by main.startGUI
    /go/src/github.com/syncthing/syncthing/cmd/syncthing/gui.go:157 +0x140c
fatal error: invalid heap pointer

runtime stack:
runtime.throw(0x7b3c8b)
    /usr/local/go/src/runtime/panic.go:491 +0xa4 fp=0x10adbce8 sp=0x10adbcd0
scanblock(0x11316dbc, 0x10, 0x58f638)
    /usr/local/go/src/runtime/mgc0.c:378 +0x31c fp=0x10adbd88 sp=0x10adbce8
scanframe(0x10adbe24, 0x0, 0x1)
    /usr/local/go/src/runtime/mgc0.c:740 +0x24c fp=0x10adbdc4 sp=0x10adbd88
runtime.gentraceback(0x4c20c, 0x11316da0, 0x0, 0x11a90320, 0x0, 0x0, 0x7fffffff, 0x10adbe7c, 0x0, 0x0, ...)
    /usr/local/go/src/runtime/traceback.go:311 +0x7e8 fp=0x10adbe4c sp=0x10adbdc4
scanstack(0x11a90320)
    /usr/local/go/src/runtime/mgc0.c:777 +0x188 fp=0x10adbe84 sp=0x10adbe4c
markroot(0x10a10000, 0x1b)
    /usr/local/go/src/runtime/mgc0.c:553 +0x120 fp=0x10adbec4 sp=0x10adbe84
runtime.parfordo(0x10a10000)
    /usr/local/go/src/runtime/parfor.c:91 +0x18c fp=0x10adbf34 sp=0x10adbec4
runtime.gchelper()
    /usr/local/go/src/runtime/mgc0.c:1185 +0x38 fp=0x10adbf48 sp=0x10adbf34
stopm()
    /usr/local/go/src/runtime/proc.c:1181 +0xd4 fp=0x10adbf58 sp=0x10adbf48
findrunnable(0x10a12500)
    /usr/local/go/src/runtime/proc.c:1487 +0x504 fp=0x10adbf84 sp=0x10adbf58
schedule()
    /usr/local/go/src/runtime/proc.c:1575 +0x1fc fp=0x10adbfd0 sp=0x10adbf84
runtime.park_m(0x10a00d20)
    /usr/local/go/src/runtime/proc.c:1654 +0xbc fp=0x10adbfe4 sp=0x10adbfd0
runtime.mcall(0x10a12500)
    /usr/local/go/src/runtime/asm_arm.s:184 +0x5c fp=0x10adbfec sp=0x10adbfe4

@bradfitz
Copy link
Contributor

@AudriusButkevicius, do you have self-contained code to repo this?

@AudriusButkevicius
Copy link
Contributor Author

Sadly not, as these are all reported in the issue tracker part of the project I am working on. Everyone experiencing this seem to have 100% reproducibility, so doing a simple binary search could pinpoint to the right location.

I'll see if I can get someone to do that for me.

@RLH
Copy link
Contributor

RLH commented Jan 26, 2015

I would make sure that values passed back from Windows, such as HANDLEs,
are not treated as pointers by the Go code if they are actually not
pointers and in fact small integers. This is typically what we have seen
with traces like this.

On Sun, Jan 25, 2015 at 1:09 PM, Audrius Butkevicius <
notifications@github.com> wrote:

Sadly not, as these are all reported in the issue tracker part of the
project I am working on. Everyone experiencing this seem to have 100%
reproducibility, so doing a simple binary search could pinpoint to the
right location.

I'll see if I can get someone to do that for me.


Reply to this email directly or view it on GitHub
#9682 (comment).

@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

6 participants