goroutine 10661 [running]: runtime/pprof.writeGoroutineStacks(0x5212c8, 0x1097c090, 0x0, 0x10a384a0) /usr/local/go/src/runtime/pprof/pprof.go:603 +0x58 runtime/pprof.writeGoroutine(0x5212c8, 0x1097c090, 0x2, 0x20, 0x13590) /usr/local/go/src/runtime/pprof/pprof.go:592 +0x30 runtime/pprof.(*Profile).WriteTo(0x548e60, 0x5212c8, 0x1097c090, 0x2, 0x1097c090, 0x54fc70) /usr/local/go/src/runtime/pprof/pprof.go:302 +0x2b0 net/http/pprof.handler.ServeHTTP(0x1094a941, 0x9, 0x5236b0, 0x1097c090, 0x10865080) /usr/local/go/src/net/http/pprof/pprof.go:209 +0x168 net/http/pprof.Index(0x5236b0, 0x1097c090, 0x10865080) /usr/local/go/src/net/http/pprof/pprof.go:221 +0x17c net/http.HandlerFunc.ServeHTTP(0x3affbc, 0x5236b0, 0x1097c090, 0x10865080) /usr/local/go/src/net/http/server.go:1942 +0x34 net/http.(*ServeMux).ServeHTTP(0x54fc70, 0x5236b0, 0x1097c090, 0x10865080) /usr/local/go/src/net/http/server.go:2238 +0x108 net/http.serverHandler.ServeHTTP(0x10864380, 0x5236b0, 0x1097c090, 0x10865080) /usr/local/go/src/net/http/server.go:2568 +0x7c net/http.(*conn).serve(0x108f1d40, 0x523c88, 0x10a38320) /usr/local/go/src/net/http/server.go:1825 +0x528 created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2668 +0x234 goroutine 1 [runnable]: syscall.Syscall(0x4, 0x1, 0x108ce900, 0x3, 0x3, 0x0, 0x0) /usr/local/go/src/syscall/asm_linux_arm.s:17 +0x8 syscall.write(0x1, 0x108ce900, 0x3, 0x100, 0x1080014c, 0x216e4, 0x2) /usr/local/go/src/syscall/zsyscall_linux_arm.go:1064 +0x3c syscall.Write(0x1, 0x108ce900, 0x3, 0x100, 0x2, 0x3f898, 0xbc880) /usr/local/go/src/syscall/syscall_unix.go:181 +0x34 os.(*File).write(0x1080e0c0, 0x108ce900, 0x3, 0x100, 0x387301, 0x1093ec01, 0x1) /usr/local/go/src/os/file_unix.go:186 +0x50 os.(*File).Write(0x1080e0c0, 0x108ce900, 0x3, 0x100, 0x76db0708, 0x0, 0x108000f0) /usr/local/go/src/os/file.go:142 +0x60 fmt.Fprint(0x521388, 0x1080e0c0, 0x10942e74, 0x1, 0x1, 0x10b4a4f8, 0x10942e6c, 0x10b4a4f8) /usr/local/go/src/fmt/print.go:216 +0x6c fmt.Print(0x10942e74, 0x1, 0x1, 0x10b4a4f8, 0x0, 0x0) /usr/local/go/src/fmt/print.go:225 +0x40 main.main() /home/pi/go/src/sonda/sonda.go:115 +0x684 goroutine 17 [syscall, 4351 minutes, locked to thread]: runtime.goexit() /usr/local/go/src/runtime/asm_arm.s:1017 +0x4 goroutine 5 [chan receive]: github.com/golang/glog.(*loggingT).flushDaemon(0x54ff38) /home/pi/go/src/github.com/golang/glog/glog.go:882 +0x64 created by github.com/golang/glog.init.1 /home/pi/go/src/github.com/golang/glog/glog.go:410 +0x1a0 goroutine 35 [chan receive]: sonda/src.(*WebServer).initWebSocket(0x109204a0) /home/pi/go/src/sonda/src/ws.go:42 +0x44 created by sonda/src.(*WebServer).Init /home/pi/go/src/sonda/src/ws.go:29 +0x1c4 goroutine 25 [IO wait]: net.runtime_pollWait(0x75454f40, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:164 +0x44 net.(*pollDesc).wait(0x10912e7c, 0x72, 0x520230, 0x10daf1d0) /usr/local/go/src/net/fd_poll_runtime.go:75 +0x28 net.(*pollDesc).waitRead(0x10912e7c, 0xffffffff, 0x0) /usr/local/go/src/net/fd_poll_runtime.go:80 +0x24 net.(*netFD).accept(0x10912e40, 0x0, 0x5213d0, 0x10daf1d0) /usr/local/go/src/net/fd_unix.go:430 +0x15c net.(*TCPListener).accept(0x108e21b0, 0x26d8c0, 0x108f1d80, 0x344318) /usr/local/go/src/net/tcpsock_posix.go:136 +0x20 net.(*TCPListener).AcceptTCP(0x108e21b0, 0x6652c, 0x1081c6bc, 0x1081c6c0) /usr/local/go/src/net/tcpsock.go:215 +0x3c net/http.tcpKeepAliveListener.Accept(0x108e21b0, 0x3afee0, 0x108f1d40, 0x523d00, 0x108def80) /usr/local/go/src/net/http/server.go:3044 +0x1c net/http.(*Server).Serve(0x10864380, 0x523790, 0x108e21b0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2643 +0x1ac net/http.(*Server).ListenAndServe(0x10864380, 0xa, 0x1081c768) /usr/local/go/src/net/http/server.go:2585 +0x90 sonda/src.(*WebServer).Init(0x109204a0) /home/pi/go/src/sonda/src/ws.go:37 +0x294 created by main.main /home/pi/go/src/sonda/sonda.go:66 +0xd8 goroutine 20 [select, 4351 minutes]: github.com/eclipse/paho%2emqtt%2egolang.(*router).matchAndDispatch.func1(0x108781c0, 0x1084e330, 0x1092c000, 0x2fa001) /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/router.go:139 +0x5b8 created by github.com/eclipse/paho%2emqtt%2egolang.(*router).matchAndDispatch /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/router.go:180 +0x44 goroutine 29 [syscall]: syscall.Syscall6(0xfc, 0x9, 0x10940bd4, 0x40, 0xffffffff, 0x0, 0x0, 0x1087a770, 0xffffffff, 0x0) /usr/local/go/src/syscall/asm_linux_arm.s:48 +0x8 syscall.EpollWait(0x9, 0x10940bd4, 0x40, 0x40, 0xffffffff, 0x1, 0x0, 0x0) /usr/local/go/src/syscall/zsyscall_linux_arm.go:365 +0x50 github.com/kidoman/embd/host/generic.initEpollListener.func1(0x1087a770) /home/pi/go/src/github.com/kidoman/embd/host/generic/interrupt.go:60 +0x60 created by github.com/kidoman/embd/host/generic.initEpollListener /home/pi/go/src/github.com/kidoman/embd/host/generic/interrupt.go:72 +0xdc goroutine 31 [chan receive]: main.printResultsThread.func1(0x1087c360, 0x109204a0) /home/pi/go/src/sonda/sonda.go:147 +0x38 created by main.printResultsThread /home/pi/go/src/sonda/sonda.go:151 +0x48 goroutine 32 [chan receive]: main.printResultsThread.func2(0x1087c390, 0x109204a0) /home/pi/go/src/sonda/sonda.go:157 +0x38 created by main.printResultsThread /home/pi/go/src/sonda/sonda.go:161 +0x80 goroutine 8087 [select]: github.com/eclipse/paho%2emqtt%2egolang.outgoing(0x1092c000) /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:152 +0xee4 created by github.com/eclipse/paho%2emqtt%2egolang.(*client).reconnect /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/client.go:473 +0x167c goroutine 10662 [IO wait]: net.runtime_pollWait(0x75454ce8, 0x72, 0x1094a8ad) /usr/local/go/src/runtime/netpoll.go:164 +0x44 net.(*pollDesc).wait(0x1091367c, 0x72, 0x521b98, 0x520230) /usr/local/go/src/net/fd_poll_runtime.go:75 +0x28 net.(*pollDesc).waitRead(0x1091367c, 0x1094a8ad, 0x1) /usr/local/go/src/net/fd_poll_runtime.go:80 +0x24 net.(*netFD).Read(0x10913640, 0x1094a8ad, 0x1, 0x1, 0x0, 0x521b98, 0x520230) /usr/local/go/src/net/fd_unix.go:250 +0x148 net.(*conn).Read(0x10c97420, 0x1094a8ad, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:181 +0x58 net/http.(*connReader).backgroundRead(0x1094a8a0) /usr/local/go/src/net/http/server.go:656 +0x44 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:652 +0xd4 goroutine 8085 [select, 1093 minutes]: github.com/eclipse/paho%2emqtt%2egolang.errorWatch(0x1092c000) /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:321 +0x340 created by github.com/eclipse/paho%2emqtt%2egolang.(*client).reconnect /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/client.go:471 +0x1644 goroutine 8084 [select]: github.com/eclipse/paho%2emqtt%2egolang.keepalive(0x1092c000) /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/ping.go:41 +0xb34 created by github.com/eclipse/paho%2emqtt%2egolang.(*client).reconnect /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/client.go:461 +0x1804 goroutine 8086 [select]: github.com/eclipse/paho%2emqtt%2egolang.alllogic(0x1092c000) /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:215 +0x1f58 created by github.com/eclipse/paho%2emqtt%2egolang.(*client).reconnect /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/client.go:472 +0x1660 goroutine 8088 [IO wait]: net.runtime_pollWait(0x75454fb8, 0x72, 0x10daf1a0) /usr/local/go/src/runtime/netpoll.go:164 +0x44 net.(*pollDesc).wait(0x109123bc, 0x72, 0x521b98, 0x520230) /usr/local/go/src/net/fd_poll_runtime.go:75 +0x28 net.(*pollDesc).waitRead(0x109123bc, 0x10daf1a0, 0x1) /usr/local/go/src/net/fd_poll_runtime.go:80 +0x24 net.(*netFD).Read(0x10912380, 0x10daf1a0, 0x1, 0x1, 0x0, 0x521b98, 0x520230) /usr/local/go/src/net/fd_unix.go:250 +0x148 net.(*conn).Read(0x10c3eae0, 0x10daf1a0, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:181 +0x58 io.ReadAtLeast(0x74a8a030, 0x10c3eae0, 0x10daf1a0, 0x1, 0x1, 0x1, 0x1f6a4, 0x5520a0, 0x74a8a030) /usr/local/go/src/io/io.go:307 +0x8c io.ReadFull(0x74a8a030, 0x10c3eae0, 0x10daf1a0, 0x1, 0x1, 0x1, 0x14a04, 0x12ff0) /usr/local/go/src/io/io.go:325 +0x40 github.com/eclipse/paho.mqtt.golang/packets.ReadPacket(0x74a8a030, 0x10c3eae0, 0x10c3eae0, 0x74a8a030, 0x10c3eae0, 0x0) /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/packets/packets.go:105 +0x68 github.com/eclipse/paho%2emqtt%2egolang.incoming(0x1092c000) /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:113 +0x14c created by github.com/eclipse/paho%2emqtt%2egolang.(*client).reconnect /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/client.go:474 +0x1698