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

Need some help please!!! #8

Open
jacoblai opened this issue Aug 20, 2016 · 0 comments
Open

Need some help please!!! #8

jacoblai opened this issue Aug 20, 2016 · 0 comments

Comments

@jacoblai
Copy link

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

goroutine 34 [running]:
sync/atomic.AddUint64(0x1085c534, 0x30, 0x0, 0x40, 0x30)
/go-mips32/src/sync/atomic/asm_mips32x.s:140 +0x10
github.com/gomqtt/transport.(_NetConn).Receive(0x1085c500, 0x0, 0x0, 0x0, 0x0)
/opt/slu/src/github.com/gomqtt/transport/net_conn.go:256 +0xe6c
github.com/gomqtt/broker.(_Client).processor(0x1080cd20, 0x0, 0x0)
/opt/slu/src/github.com/gomqtt/broker/client.go:127 +0xc0
github.com/gomqtt/broker._Client.(github.com/gomqtt/broker.processor)·fm(0x0, 0x0)
/opt/slu/src/github.com/gomqtt/broker/client.go:66 +0x60
gopkg.in/tomb%2ev2.(_Tomb).run(0x1080cd4c, 0x1080ae60)
/opt/slu/src/gopkg.in/tomb.v2/tomb.go:153 +0x3c
created by gopkg.in/tomb%2ev2.(*Tomb).Go
/opt/slu/src/gopkg.in/tomb.v2/tomb.go:149 +0x1a0

goroutine 1 [chan receive]:
main.main()
/opt/slu/main.go:169 +0x1e70

goroutine 5 [syscall]:
os/signal.loop()
/go-mips32/src/os/signal/signal_unix.go:21 +0x30
created by os/signal.init·1
/go-mips32/src/os/signal/signal_unix.go:27 +0x58

goroutine 6 [IO wait]:
net.(_pollDesc).Wait(0x108715f8, 0x72, 0x0, 0x0)
/go-mips32/src/net/fd_poll_runtime.go:84 +0x4c
net.(_pollDesc).WaitRead(0x108715f8, 0x0, 0x0)
/go-mips32/src/net/fd_poll_runtime.go:89 +0x48
net.(_netFD).accept(0x108715c0, 0x0, 0x771d0cc8, 0x1087e19c)
/go-mips32/src/net/fd_unix.go:419 +0x3dc
net.(_TCPListener).AcceptTCP(0x1080a6f8, 0x2894b4, 0x0, 0x0)
/go-mips32/src/net/tcpsock_posix.go:234 +0x58
net.(_TCPListener).Accept(0x1080a6f8, 0x0, 0x0, 0x0, 0x0)
/go-mips32/src/net/tcpsock_posix.go:244 +0x48
github.com/bsm/redeo.(_Server).Serve(0x10868da0, 0x771d1010, 0x1080a6f8, 0x0, 0x0)
/opt/slu/src/github.com/bsm/redeo/server.go:147 +0xb0
Coolpy/Redico.func·001()
/opt/slu/src/Coolpy/Redico/Redico.go:78 +0x6c
created by Coolpy/Redico.(*Redico).Start
/opt/slu/src/Coolpy/Redico/Redico.go:80 +0x3e8

goroutine 7 [IO wait]:
net.(_pollDesc).Wait(0x10871bf8, 0x72, 0x0, 0x0)
/go-mips32/src/net/fd_poll_runtime.go:84 +0x4c
net.(_pollDesc).WaitRead(0x10871bf8, 0x0, 0x0)
/go-mips32/src/net/fd_poll_runtime.go:89 +0x48
net.(_netFD).Read(0x10871bc0, 0x10845000, 0x1000, 0x1000, 0x0, 0x771d0cc8, 0x1087ea54)
/go-mips32/src/net/fd_unix.go:242 +0x3e0
net.(_conn).Read(0x1080a7c8, 0x10845000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/go-mips32/src/net/net.go:121 +0xf0
bufio.(_Reader).fill(0x108306f0)
/go-mips32/src/bufio/bufio.go:97 +0x1fc
bufio.(_Reader).ReadSlice(0x108306f0, 0x10834c0a, 0x0, 0x0, 0x0, 0x0, 0x0)
/go-mips32/src/bufio/bufio.go:295 +0x2b0
bufio.(_Reader).ReadBytes(0x108306f0, 0x1083060a, 0x0, 0x0, 0x0, 0x0, 0x0)
/go-mips32/src/bufio/bufio.go:374 +0x78
bufio.(_Reader).ReadString(0x108306f0, 0xa, 0x0, 0x0, 0x0, 0x0)
/go-mips32/src/bufio/bufio.go:414 +0x50
github.com/bsm/redeo.ParseRequest(0x108306f0, 0x0, 0x0, 0x0)
/opt/slu/src/github.com/bsm/redeo/request.go:36 +0x60
github.com/bsm/redeo.(_Server).serveClient(0x10868da0, 0x10810550)
/opt/slu/src/github.com/bsm/redeo/server.go:180 +0x304
created by github.com/bsm/redeo.(_Server).Serve
/opt/slu/src/github.com/bsm/redeo/server.go:151 +0x154

goroutine 8 [select]:
github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0x10892160)
/opt/slu/src/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:206 +0x304
created by github.com/syndtr/goleveldb/leveldb/util.NewBufferPool
/opt/slu/src/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:237 +0x3cc

goroutine 10 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).compactionError(0x1085c200)
/opt/slu/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:90 +0x578
created by github.com/syndtr/goleveldb/leveldb.openDB
/opt/slu/src/github.com/syndtr/goleveldb/leveldb/db.go:141 +0x848

goroutine 11 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).mpoolDrain(0x1085c200)
/opt/slu/src/github.com/syndtr/goleveldb/leveldb/db_state.go:97 +0x178
created by github.com/syndtr/goleveldb/leveldb.openDB
/opt/slu/src/github.com/syndtr/goleveldb/leveldb/db.go:142 +0x874

goroutine 12 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).tCompaction(0x1085c200)
/opt/slu/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:804 +0x914
created by github.com/syndtr/goleveldb/leveldb.openDB
/opt/slu/src/github.com/syndtr/goleveldb/leveldb/db.go:148 +0xac8

goroutine 13 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).mCompaction(0x1085c200)
/opt/slu/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:751 +0x2f4
created by github.com/syndtr/goleveldb/leveldb.openDB
/opt/slu/src/github.com/syndtr/goleveldb/leveldb/db.go:149 +0xaf4

goroutine 14 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).jWriter(0x1085c200)
/opt/slu/src/github.com/syndtr/goleveldb/leveldb/db_write.go:37 +0x1e0
created by github.com/syndtr/goleveldb/leveldb.openDB
/opt/slu/src/github.com/syndtr/goleveldb/leveldb/db.go:150 +0xb20

goroutine 15 [IO wait]:
net.(_pollDesc).Wait(0x10884a78, 0x72, 0x0, 0x0)
/go-mips32/src/net/fd_poll_runtime.go:84 +0x4c
net.(_pollDesc).WaitRead(0x10884a78, 0x0, 0x0)
/go-mips32/src/net/fd_poll_runtime.go:89 +0x48
net.(_netFD).Read(0x10884a40, 0x108ae000, 0x1000, 0x1000, 0x0, 0x771d0cc8, 0x1087e8e4)
/go-mips32/src/net/fd_unix.go:242 +0x3e0
net.(_conn).Read(0x1080a408, 0x108ae000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/go-mips32/src/net/net.go:121 +0xf0
bufio.(_Reader).fill(0x108302a0)
/go-mips32/src/bufio/bufio.go:97 +0x1fc
bufio.(_Reader).ReadSlice(0x108302a0, 0x1080c50a, 0x0, 0x0, 0x0, 0x0, 0x0)
/go-mips32/src/bufio/bufio.go:295 +0x2b0
bufio.(_Reader).ReadBytes(0x108302a0, 0x1083060a, 0x0, 0x0, 0x0, 0x0, 0x0)
/go-mips32/src/bufio/bufio.go:374 +0x78
bufio.(_Reader).ReadString(0x108302a0, 0xa, 0x0, 0x0, 0x0, 0x0)
/go-mips32/src/bufio/bufio.go:414 +0x50
github.com/bsm/redeo.ParseRequest(0x108302a0, 0x0, 0x0, 0x0)
/opt/slu/src/github.com/bsm/redeo/request.go:36 +0x60
github.com/bsm/redeo.(_Server).serveClient(0x10868da0, 0x10810140)
/opt/slu/src/github.com/bsm/redeo/server.go:180 +0x304
created by github.com/bsm/redeo.(_Server).Serve
/opt/slu/src/github.com/bsm/redeo/server.go:151 +0x154

goroutine 16 [select]:
github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0x10892370)
/opt/slu/src/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:206 +0x304
created by github.com/syndtr/goleveldb/leveldb/util.NewBufferPool
/opt/slu/src/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:237 +0x3cc

goroutine 17 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).compactionError(0x1085c300)
/opt/slu/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:90 +0x578
created by github.com/syndtr/goleveldb/leveldb.openDB
/opt/slu/src/github.com/syndtr/goleveldb/leveldb/db.go:141 +0x848

goroutine 18 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).mpoolDrain(0x1085c300)
/opt/slu/src/github.com/syndtr/goleveldb/leveldb/db_state.go:97 +0x178
created by github.com/syndtr/goleveldb/leveldb.openDB
/opt/slu/src/github.com/syndtr/goleveldb/leveldb/db.go:142 +0x874

goroutine 19 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).tCompaction(0x1085c300)
/opt/slu/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:804 +0x914
created by github.com/syndtr/goleveldb/leveldb.openDB
/opt/slu/src/github.com/syndtr/goleveldb/leveldb/db.go:148 +0xac8

goroutine 20 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).mCompaction(0x1085c300)
/opt/slu/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:751 +0x2f4
created by github.com/syndtr/goleveldb/leveldb.openDB
/opt/slu/src/github.com/syndtr/goleveldb/leveldb/db.go:149 +0xaf4

goroutine 21 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).jWriter(0x1085c300)
/opt/slu/src/github.com/syndtr/goleveldb/leveldb/db_write.go:37 +0x1e0
created by github.com/syndtr/goleveldb/leveldb.openDB
/opt/slu/src/github.com/syndtr/goleveldb/leveldb/db.go:150 +0xb20

goroutine 22 [select]:
Coolpy/Hubs.delChan()
/opt/slu/src/Coolpy/Hubs/Hub.go:50 +0x388
created by Coolpy/Hubs.Connect
/opt/slu/src/Coolpy/Hubs/Hub.go:45 +0x1e8

goroutine 23 [select]:
Coolpy/Nodes.delChan()
/opt/slu/src/Coolpy/Nodes/Node.go:66 +0x3d0
created by Coolpy/Nodes.Connect
/opt/slu/src/Coolpy/Nodes/Node.go:61 +0x1e8

goroutine 24 [select]:
Coolpy/Controller.delChan()
/opt/slu/src/Coolpy/Controller/Controller.go:58 +0x2a0
created by Coolpy/Controller.Connect
/opt/slu/src/Coolpy/Controller/Controller.go:53 +0x1e8

goroutine 25 [chan receive]:
Coolpy/Values.delChan()
/opt/slu/src/Coolpy/Values/ValueDP.go:45 +0x84
created by Coolpy/Values.Connect
/opt/slu/src/Coolpy/Values/ValueDP.go:39 +0x1e8

goroutine 26 [chan receive]:
Coolpy/Gpss.delChan()
/opt/slu/src/Coolpy/Gpss/GpsDP.go:48 +0x84
created by Coolpy/Gpss.Connect
/opt/slu/src/Coolpy/Gpss/GpsDP.go:42 +0x1e8

goroutine 27 [chan receive]:
Coolpy/Gens.delChan()
/opt/slu/src/Coolpy/Gens/GenDP.go:45 +0x84
created by Coolpy/Gens.Connect
/opt/slu/src/Coolpy/Gens/GenDP.go:39 +0x1e8

goroutine 28 [chan receive]:
Coolpy/Photos.delChan()
/opt/slu/src/Coolpy/Photos/PhotoDP.go:47 +0x84
created by Coolpy/Photos.Connect
/opt/slu/src/Coolpy/Photos/PhotoDP.go:41 +0x1e8

goroutine 30 [IO wait]:
net.(_pollDesc).Wait(0x108706b8, 0x72, 0x0, 0x0)
/go-mips32/src/net/fd_poll_runtime.go:84 +0x4c
net.(_pollDesc).WaitRead(0x108706b8, 0x0, 0x0)
/go-mips32/src/net/fd_poll_runtime.go:89 +0x48
net.(_netFD).accept(0x10870680, 0x0, 0x771d0cc8, 0x1087eb08)
/go-mips32/src/net/fd_unix.go:419 +0x3dc
net.(_TCPListener).AcceptTCP(0x1080ae38, 0x834c0, 0x0, 0x0)
/go-mips32/src/net/tcpsock_posix.go:234 +0x58
net.(_TCPListener).Accept(0x1080ae38, 0x0, 0x0, 0x0, 0x0)
/go-mips32/src/net/tcpsock_posix.go:244 +0x48
net/http.(_Server).Serve(0x10870740, 0x771d1010, 0x1080ae38, 0x0, 0x0)
/go-mips32/src/net/http/server.go:1728 +0xac
net/http.Serve(0x771d1010, 0x1080ae38, 0x771d2b50, 0x1080ae48, 0x0, 0x0)
/go-mips32/src/net/http/server.go:1606 +0xc0
main.func·002()
/opt/slu/main.go:127 +0x328
created by main.main
/opt/slu/main.go:131 +0x1400

goroutine 31 [IO wait]:
net.(_pollDesc).Wait(0x108707f8, 0x72, 0x0, 0x0)
/go-mips32/src/net/fd_poll_runtime.go:84 +0x4c
net.(_pollDesc).WaitRead(0x108707f8, 0x0, 0x0)
/go-mips32/src/net/fd_poll_runtime.go:89 +0x48
net.(_netFD).accept(0x108707c0, 0x0, 0x771d0cc8, 0x1087eb2c)
/go-mips32/src/net/fd_unix.go:419 +0x3dc
net.(_TCPListener).AcceptTCP(0x1080ae50, 0x834c0, 0x0, 0x0)
/go-mips32/src/net/tcpsock_posix.go:234 +0x58
net/http.tcpKeepAliveListener.Accept(0x1080ae50, 0x0, 0x0, 0x0, 0x0)
/go-mips32/src/net/http/server.go:1976 +0x48
net/http.(_Server).Serve(0x10870780, 0x771d2be0, 0x1080ae50, 0x0, 0x0)
/go-mips32/src/net/http/server.go:1728 +0xac
net/http.(_Server).ListenAndServe(0x10870780, 0x0, 0x0)
/go-mips32/src/net/http/server.go:1718 +0x15c
net/http.ListenAndServe(0x1087eb24, 0x5, 0x0, 0x0, 0x0, 0x0)
/go-mips32/src/net/http/server.go:1808 +0xe4
main.func·003()
/opt/slu/main.go:143 +0xc4
created by main.main
/opt/slu/main.go:147 +0x1990

goroutine 32 [chan receive]:
main.func·004()
/opt/slu/main.go:155 +0x78
created by main.main
/opt/slu/main.go:168 +0x1e44

goroutine 33 [IO wait]:
net.(_pollDesc).Wait(0x10870178, 0x72, 0x0, 0x0)
/go-mips32/src/net/fd_poll_runtime.go:84 +0x4c
net.(_pollDesc).WaitRead(0x10870178, 0x0, 0x0)
/go-mips32/src/net/fd_poll_runtime.go:89 +0x48
net.(_netFD).accept(0x10870140, 0x0, 0x771d0cc8, 0x1087eb6c)
/go-mips32/src/net/fd_unix.go:419 +0x3dc
net.(_TCPListener).AcceptTCP(0x1080ae18, 0x771bf000, 0x0, 0x0)
/go-mips32/src/net/tcpsock_posix.go:234 +0x58
net.(_TCPListener).Accept(0x1080ae18, 0x0, 0x0, 0x0, 0x0)
/go-mips32/src/net/tcpsock_posix.go:244 +0x48
github.com/gomqtt/transport.(_NetServer).Accept(0x1080ae20, 0x0, 0x0, 0x0, 0x0)
/opt/slu/src/github.com/gomqtt/transport/net_server.go:54 +0x78
github.com/gomqtt/broker.func·003(0x0, 0x0)
/opt/slu/src/github.com/gomqtt/broker/engine.go:99 +0x78
gopkg.in/tomb%2ev2.(_Tomb).run(0x1080cbdc, 0x1087eaf0)
/opt/slu/src/gopkg.in/tomb.v2/tomb.go:153 +0x3c
created by gopkg.in/tomb%2ev2.(_Tomb).Go
/opt/slu/src/gopkg.in/tomb.v2/tomb.go:149 +0x1a0

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