Skip to content


Subversion checkout URL

You can clone with
Download ZIP


gozmqfix panic under go 1.1 #74

srid opened this Issue · 0 comments

2 participants


gozmqfix fails to run for me under go 1.1 and mac.

panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x8 pc=0x8464]

goroutine 1 [running]:
main.zmqstruct(0x21031b680, 0x21031ec80)
        /Users/sridharr/go/src/ +0x54
main.processFile(0x21031ec80, 0x13, 0x0, 0x0, 0x0, ...)
        /Users/sridharr/go/src/ +0x8e1
main.visitFile(0x21031ec80, 0x13, 0x2102cc190, 0x21031f370, 0x0, ...)
        /Users/sridharr/go/src/ +0x6c
path/filepath.walk(0x21031ec80, 0x13, 0x2102cc190, 0x21031f370, 0x172eb8, ...)
        /usr/local/Cellar/go/1.1/src/pkg/path/filepath/path.go:341 +0x70
path/filepath.walk(0x210317b50, 0xb, 0x2102cc190, 0x21031f1e0, 0x172eb8, ...)
        /usr/local/Cellar/go/1.1/src/pkg/path/filepath/path.go:359 +0x32a
path/filepath.walk(0x210311a18, 0x3, 0x2102cc190, 0x2102cc3c0, 0x172eb8, ...)
        /usr/local/Cellar/go/1.1/src/pkg/path/filepath/path.go:359 +0x32a
path/filepath.walk(0x7fff5fbffb71, 0x1, 0x2102cc190, 0x2102cc1e0, 0x172eb8, ...)
        /usr/local/Cellar/go/1.1/src/pkg/path/filepath/path.go:359 +0x32a
path/filepath.Walk(0x7fff5fbffb71, 0x1, 0x172eb8, 0x2102e0000, 0x2, ...)
        /usr/local/Cellar/go/1.1/src/pkg/path/filepath/path.go:380 +0xb5
main.walkDir(0x7fff5fbffb71, 0x1)
        /Users/sridharr/go/src/ +0x39
        /Users/sridharr/go/src/ +0x36d
@jtacoma jtacoma was assigned
@jtacoma jtacoma closed this issue from a commit
@jtacoma jtacoma Fix #74: gozmqfix panic under go 1.1
This panic actually occurs whenever gozmqfix is applied to a package
that imports gozmq without an alias, and is not 1.1 specific.
@jtacoma jtacoma closed this in 414f11c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.