Apparent bad alignment on 32bit platforms
- Dominant language
- Go
- Stars
- 337
- Forks
- 58
- PR merge metrics
- No merged PRs in 30d
Description
```
2017/09/15 15:22:48.853330 server.go:2848: http: panic serving 127.0.0.1:60538: runtime error: invalid memory address or nil pointer dereference
goroutine 10 [running]:
net/http.(*conn).serve.func1(0x1aad7c80)
/usr/local/go/src/net/http/server.go:1697 +0x9f
panic(0x8592860, 0x894a690)
/usr/local/go/src/runtime/panic.go:491 +0x1d0
sync/atomic.AddUint64(0x1aaef984, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/sync/atomic/asm_386.s:112 +0xc
github.com/Comcast/rulio/core.Inc(0x1aaef984, 0x1, 0x0)
/home/tlea/go/src/github.com/Comcast/rulio/core/util.go:236 +0x31
github.com/Comcast/rulio/core.(*Location).addFact(0x1aaef950, 0x1aa9ce80, 0x0, 0x0, 0x1ab91be0, 0x1e, 0x85ffeff, 0x7, 0x85fd371)
/home/tlea/go/src/github.com/Comcast/rulio/core/location.go:485 +0x383
github.com/Comcast/rulio/core.(*Location).AddFact(0x1aaef950, 0x1aa9ce80, 0x0, 0x0, 0x1ab91be0, 0x4, 0x0, 0x0, 0x1ab9ed30)
/home/tlea/go/src/github.com/Comcast/rulio/core/location.go:469 +0x5f3
github.com/Comcast/rulio/sys.(*System).AddFact(0x1aaa6680, 0x1aa9ce80, 0x1aa16fe1, 0x4, 0x0, 0x0, 0x1aa11800, 0x10, 0x0, 0x0, ...)
/home/tlea/go/src/github.com/Comcast/rulio/sys/system.go:919 +0xc80
github.com/Comcast/rulio/service.(*Service).ProcessRequest(0x1ab94670, 0x1aa9ce80, 0x1ab91780, 0x891a1f0, 0x1aa90bd0, 0x0, 0x0, 0x0)
/home/tlea/go/src/github.com/Comcast/rulio/service/service.go:895 +0x45e7
github.com/Comcast/rulio/service.(*HTTPService).ServeHTTP(0x1ab90fa0, 0x891d2e0, 0x1aa90bd0, 0x1aa9ce00)
/home/tlea/go/src/github.com/Comcast/rulio/service/httpd.go:453 +0x2de
net/http.serverHandler.ServeHTTP(0x1aa9cd00, 0x891d2e0, 0x1aa90bd0, 0x1aa9ce00)
/usr/local/go/src/net/http/server.go:2619 +0x8e
net/http.(*conn).serve(0x1aad7c80, 0x891db20, 0x1ab913e0)
/usr/local/go/src/net/http/server.go:1801 +0x5d1
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2720 +0x1f6
```
Contributor guide
Assessment
This issue has not been assessed yet.