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

crypto package cannot be tested with race flag #5

Open
hkparker opened this issue Jul 8, 2016 · 0 comments
Open

crypto package cannot be tested with race flag #5

hkparker opened this issue Jul 8, 2016 · 0 comments

Comments

@hkparker
Copy link
Owner

hkparker commented Jul 8, 2016

$ go test ./... -race
?       github.com/hkparker/go-i2p  [no test files]
==2648==ERROR: ThreadSanitizer failed to allocate 0x2720000 (41025536) bytes at address 1fc6dba31c080 (errno: 12)
unexpected fault address 0x0
fatal error: fault
[signal 0x7 code=0x80 addr=0x0 pc=0x7f1b6e332435]

goroutine 1 [running, locked to thread]:
runtime.throw(0x0, 0x7f1b6df32308)
    /usr/lib/go/src/runtime/panic.go:547 +0x90 fp=0x7ffee7a3cfb0 sp=0x7ffee7a3cf98

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
    /usr/lib/go/src/runtime/asm_amd64.s:1998 +0x1
FAIL    github.com/hkparker/go-i2p/lib/common   0.007s
?       github.com/hkparker/go-i2p/lib/common/base32    [no test files]
?       github.com/hkparker/go-i2p/lib/common/base64    [no test files]
?       github.com/hkparker/go-i2p/lib/config   [no test files]
==2521==ERROR: ThreadSanitizer failed to allocate 0x26f8000 (40861696) bytes at address 1ffafa05c4080 (errno: 12)
unexpected fault address 0x0
fatal error: fault
[signal 0x7 code=0x80 addr=0x0 pc=0x7febe7de24e5]

goroutine 1 [running, locked to thread]:
runtime.throw(0x0, 0x7febe7c80458)
    /usr/lib/go/src/runtime/panic.go:547 +0x90 fp=0x7ffce1d62dc0 sp=0x7ffce1d62da8

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
    /usr/lib/go/src/runtime/asm_amd64.s:1998 +0x1
FAIL    github.com/hkparker/go-i2p/lib/crypto   0.006s
?       github.com/hkparker/go-i2p/lib/i2np [no test files]
?       github.com/hkparker/go-i2p/lib/netdb    [no test files]
?       github.com/hkparker/go-i2p/lib/router   [no test files]
?       github.com/hkparker/go-i2p/lib/transport    [no test files]
?       github.com/hkparker/go-i2p/lib/transport/ssu    [no test files]
?       github.com/hkparker/go-i2p/lib/tunnel   [no test files]
@hkparker hkparker assigned hkparker and unassigned hkparker Jul 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant