Skip to content

Instantly share code, notes, and snippets.

@sahid
Created October 7, 2013 07:42
Show Gist options
  • Save sahid/6863942 to your computer and use it in GitHub Desktop.
Save sahid/6863942 to your computer and use it in GitHub Desktop.
2013/10/07 07:33:52 Connections spawned: 28200
2013/10/07 07:33:52 websocket.Dial ws://10.220.4.13:8080/: dial tcp 10.220.4.13:8080: cannot assign requested address
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x28 pc=0x54d26d]
goroutine 28243 [running]:
sync/atomic.CompareAndSwapUint32()
/usr/lib/go/src/pkg/sync/atomic/asm_amd64.s:14 +0xd
sync.(*Mutex).Lock(0x28)
/usr/lib/go/src/pkg/sync/mutex.go:43 +0x35
code.google.com/p/go.net/websocket.Codec.Receive(0x693b30, 0x693b40, 0x0, 0x595ee0, 0xc2143bc290, ...)
/home/sahid/Workspace/go/src/code.google.com/p/go.net/websocket/websocket.go:304 +0x47
main.client(0x6e4c, 0x7fff8710fc74, 0xb, 0x1f90, 0x646210, ...)
/home/sahid/Ubuntu One/workspace/go/src/github.com/sahid/gostress/client.go:40 +0x34a
created by main.flood
/home/sahid/Ubuntu One/workspace/go/src/github.com/sahid/gostress/client.go:61 +0xa4
goroutine 1 [sleep]:
time.Sleep(0x3b9aca00)
/usr/lib/go/src/pkg/runtime/ztime_linux_amd64.c:19 +0x2f
main.main()
/home/sahid/Ubuntu One/workspace/go/src/github.com/sahid/gostress/client.go:83 +0x287
goroutine 2 [syscall]:
goroutine 4 [runnable]:
main.(*Pool).Dispatch(0x78d820)
/home/sahid/Ubuntu One/workspace/go/src/github.com/sahid/gostress/pool.go:20 +0xe7
created by main.main
/home/sahid/Ubuntu One/workspace/go/src/github.com/sahid/gostress/client.go:79 +0x20b
goroutine 5 [sleep]:
time.Sleep(0x1dcd6500)
/usr/lib/go/src/pkg/runtime/ztime_linux_amd64.c:19 +0x2f
main.flood(0xc2000001f0, 0x9c40, 0x7fff8710fc74, 0xb, 0x1f90, ...)
/home/sahid/Ubuntu One/workspace/go/src/github.com/sahid/gostress/client.go:64 +0x58
created by main.main
/home/sahid/Ubuntu One/workspace/go/src/github.com/sahid/gostress/client.go:80 +0x278
goroutine 7 [IO wait]:
net.runtime_pollWait(0x7f191a9c2f00, 0x72, 0x0)
/usr/lib/go/src/pkg/runtime/znetpoll_linux_amd64.c:118 +0x82
net.(*pollDesc).WaitRead(0xc2000b6080, 0xb, 0xc2000a0b10)
/usr/lib/go/src/pkg/net/fd_poll_runtime.go:75 +0x31
net.(*netFD).Read(0xc2000b6000, 0xc200113000, 0x1000, 0x1000, 0x0, ...)
/usr/lib/go/src/pkg/net/fd_unix.go:195 +0x2b3
net.(*conn).Read(0xc200000448, 0xc200113000, 0x1000, 0x1000, 0x0, ...)
/usr/lib/go/src/pkg/net/net.go:123 +0xc3
bufio.(*Reader).fill(0xc2000bf360)
/usr/lib/go/src/pkg/bufio/bufio.go:79 +0x10c
--More--(0%)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment