Skip to content

Instantly share code, notes, and snippets.

@theckman
Created September 29, 2015 21:14
Show Gist options
  • Save theckman/3444005b43296394508d to your computer and use it in GitHub Desktop.
Save theckman/3444005b43296394508d to your computer and use it in GitHub Desktop.
=== RUN TestSave
2015-09-29 11:43:31 -07:00 [INFO] [github.com/ctdk/goiardi/indexer] Index has changed, saving to disk
SIGQUIT: quit
PC=0x5f49b m=0
goroutine 0 [idle]:
runtime.mach_semaphore_wait(0xe03, 0x16dcf, 0x6c84a0, 0x793d50, 0x5e091, 0x6c0a40, 0x52059, 0xffffffffffffffff, 0x21e45, 0x7fff5fbff24c, ...)
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/sys_darwin_amd64.s:407 +0xb
runtime.semasleep1(0xffffffffffffffff, 0x21e45)
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/os1_darwin.go:385 +0xe5
runtime.semasleep.func1()
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/os1_darwin.go:401 +0x29
runtime.systemstack(0x7fff5fbff250)
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/asm_amd64.s:278 +0xab
runtime.semasleep(0xffffffffffffffff, 0x0)
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/os1_darwin.go:402 +0x36
runtime.notesleep(0x6c10f0)
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/lock_sema.go:169 +0x100
runtime.stopm()
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/proc1.go:1128 +0x112
runtime.findrunnable(0xc82001a000, 0x0)
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/proc1.go:1530 +0x69e
runtime.schedule()
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/proc1.go:1639 +0x267
runtime.park_m(0xc820001680)
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/proc1.go:1698 +0x18b
runtime.mcall(0x7fff5fbff3d0)
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/asm_amd64.s:204 +0x5b
goroutine 1 [chan receive]:
testing.RunTests(0x5616b0, 0x6bc1c0, 0x4, 0x4, 0x1)
/usr/local/Cellar/go/1.5.1/libexec/src/testing/testing.go:562 +0x8ad
testing.(*M).Run(0xc8200ebee8, 0xc82000fac0)
/usr/local/Cellar/go/1.5.1/libexec/src/testing/testing.go:494 +0x70
main.main()
github.com/ctdk/goiardi/indexer/_test/_testmain.go:60 +0x116
goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/asm_amd64.s:1696 +0x1
goroutine 7 [semacquire]:
sync.runtime_Semacquire(0xc82000fadc)
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/sema.go:43 +0x26
sync.(*RWMutex).RLock(0xc82000fad0)
/usr/local/Cellar/go/1.5.1/libexec/src/sync/rwmutex.go:36 +0x58
github.com/ctdk/goiardi/indexer.(*FileIndex).GobEncode(0xc82000fac0, 0x0, 0x0, 0x0, 0x0, 0x0)
/Users/tim/go/src/github.com/ctdk/goiardi/indexer/file_index.go:599 +0xc4
encoding/gob.(*Encoder).encodeGobEncoder(0xc8200a0d20, 0xc8200a0d58, 0xc82000fb40, 0x486380, 0xc82000fac0, 0x16)
/usr/local/Cellar/go/1.5.1/libexec/src/encoding/gob/encode.go:469 +0x100
encoding/gob.gobEncodeOpFor.func1(0xc820015c50, 0xc82000ff40, 0x486380, 0xc82000fac0, 0x16)
/usr/local/Cellar/go/1.5.1/libexec/src/encoding/gob/encode.go:613 +0x243
encoding/gob.(*Encoder).encodeSingle(0xc8200a0d20, 0xc8200a0d58, 0xc82000b740, 0x486380, 0xc82000fac0, 0x16)
/usr/local/Cellar/go/1.5.1/libexec/src/encoding/gob/encode.go:294 +0x26c
encoding/gob.(*Encoder).encode(0xc8200a0d20, 0xc8200a0d58, 0x486380, 0xc82000fac0, 0x16, 0xc82000fb40)
/usr/local/Cellar/go/1.5.1/libexec/src/encoding/gob/encode.go:694 +0x216
encoding/gob.(*Encoder).EncodeValue(0xc8200a0d20, 0x486380, 0xc82000fac0, 0x16, 0x0, 0x0)
/usr/local/Cellar/go/1.5.1/libexec/src/encoding/gob/encoder.go:247 +0x694
encoding/gob.(*Encoder).Encode(0xc8200a0d20, 0x486380, 0xc82000fac0, 0x0, 0x0)
/usr/local/Cellar/go/1.5.1/libexec/src/encoding/gob/encoder.go:174 +0x72
github.com/ctdk/goiardi/indexer.(*FileIndex).Save(0xc82000fac0, 0x0, 0x0)
/Users/tim/go/src/github.com/ctdk/goiardi/indexer/file_index.go:678 +0x2cd
github.com/ctdk/goiardi/indexer.SaveIndex(0x0, 0x0)
/Users/tim/go/src/github.com/ctdk/goiardi/indexer/indexer.go:125 +0x5b
github.com/ctdk/goiardi/indexer.TestSave(0xc820090480)
/Users/tim/go/src/github.com/ctdk/goiardi/indexer/indexer_test.go:73 +0x1c
testing.tRunner(0xc820090480, 0x6bc1d8)
/usr/local/Cellar/go/1.5.1/libexec/src/testing/testing.go:456 +0x98
created by testing.RunTests
/usr/local/Cellar/go/1.5.1/libexec/src/testing/testing.go:561 +0x86d
goroutine 6 [semacquire]:
sync.runtime_Semacquire(0xc82000fad8)
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/sema.go:43 +0x26
sync.(*RWMutex).Lock(0xc82000fad0)
/usr/local/Cellar/go/1.5.1/libexec/src/sync/rwmutex.go:87 +0xa1
github.com/ctdk/goiardi/indexer.(*FileIndex).SaveItem(0xc82000fac0, 0xa64c18, 0xc82000fc00, 0x0, 0x0)
/Users/tim/go/src/github.com/ctdk/goiardi/indexer/file_index.go:117 +0x52
created by github.com/ctdk/goiardi/indexer.IndexObj
/Users/tim/go/src/github.com/ctdk/goiardi/indexer/indexer.go:110 +0x55
rax 0xe
rbx 0xe03
rcx 0x7fff5fbff1d8
rdx 0x7fff5fbff250
rdi 0xe03
rsi 0x6c0a40
rbp 0x6c0fe0
rsp 0x7fff5fbff1d8
r8 0x6c0fe0
r9 0x0
r10 0x0
r11 0x286
r12 0x8
r13 0x55e57b
r14 0x9
r15 0x8
rip 0x5f49b
rflags 0x286
cs 0x7
fs 0x0
gs 0x0
*** Test killed with quit: ran too long (10m0s).
FAIL github.com/ctdk/goiardi/indexer 600.024s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment