heap profile: 1: 16 [3531: 14222232] @ heap/1048576 1: 16 [1: 16] @ 0x223ed4 0x223ca0 0x225aa0 0x2853f0 0x2a0ad0 0x2fedb0 0x3f4c8 0x68e64 # 0x223ed3 vendor/golang_org/x/net/http2/hpack.addDecoderNode+0x1f3 /usr/local/go/src/vendor/golang_org/x/net/http2/hpack/huffman.go:144 # 0x223c9f vendor/golang_org/x/net/http2/hpack.init.1+0x6f /usr/local/go/src/vendor/golang_org/x/net/http2/hpack/huffman.go:127 # 0x225a9f vendor/golang_org/x/net/http2/hpack.init+0x158f /usr/local/go/src/vendor/golang_org/x/net/http2/hpack/tables.go:353 # 0x2853ef net/http.init+0xb3 /usr/local/go/src/net/http/transport.go:2184 # 0x2a0acf sonda/src.init+0x63 /home/pi/go/src/sonda/src/ws.go:345 # 0x2fedaf main.init+0x3f /home/pi/go/src/sonda/sonda.go:240 # 0x3f4c7 runtime.main+0x197 /usr/local/go/src/runtime/proc.go:173 0: 0 [1: 32] @ 0x2fe430 0x2fecd4 0x68e64 # 0x2fe42f main.printCurrent+0x233 /home/pi/go/src/sonda/sonda.go:168 # 0x2fecd3 main.printResultsThread.func1+0x43 /home/pi/go/src/sonda/sonda.go:148 0: 0 [1: 64] @ 0x1175ec 0x11748c 0x2640bc 0x26a1b8 0x26ded4 0x68e64 # 0x1175eb net/url.parse+0x33 /usr/local/go/src/net/url/url.go:476 # 0x11748b net/url.ParseRequestURI+0x2b /usr/local/go/src/net/url/url.go:458 # 0x2640bb net/http.readRequest+0x1f3 /usr/local/go/src/net/http/request.go:952 # 0x26a1b7 net/http.(*conn).readRequest+0x213 /usr/local/go/src/net/http/server.go:934 # 0x26ded3 net/http.(*conn).serve+0x3b3 /usr/local/go/src/net/http/server.go:1763 0: 0 [1: 48] @ 0xf5604 0x2fea20 0x2fe548 0x2fed44 0x68e64 # 0xf5603 os/exec.(*Cmd).Output+0x22f /usr/local/go/src/os/exec/exec.go:471 # 0x2fea1f main.raspiCpuTemp+0x5b /home/pi/go/src/sonda/sonda.go:231 # 0x2fe547 main.printAverages+0x53 /home/pi/go/src/sonda/sonda.go:184 # 0x2fed43 main.printResultsThread.func2+0x43 /home/pi/go/src/sonda/sonda.go:158 0: 0 [1: 32] @ 0x2f5ab0 0x68e64 # 0x2f5aaf github.com/eclipse/paho%2emqtt%2egolang.keepalive+0x417 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/ping.go:49 0: 0 [1: 8] @ 0x1f55c 0x2e870c 0x2fd8f4 0x2fe76c 0x2fed44 0x68e64 # 0x2e870b github.com/eclipse/paho%2emqtt%2egolang.(*client).Publish+0xd3 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/client.go:614 # 0x2fd8f3 main.publish+0x8f /home/pi/go/src/sonda/sonda.go:53 # 0x2fe76b main.printAverages+0x277 /home/pi/go/src/sonda/sonda.go:198 # 0x2fed43 main.printResultsThread.func2+0x43 /home/pi/go/src/sonda/sonda.go:158 0: 0 [1: 8] @ 0x9e9d0 0x9ecdc 0x9dbf0 0xf0628 0x2fe8ac 0x2fe554 0x2fed44 0x68e64 # 0x9e9cf os.NewFile+0x27 /usr/local/go/src/os/file_unix.go:56 # 0x9ecdb os.OpenFile+0x17f /usr/local/go/src/os/file_unix.go:123 # 0x9dbef os.Open+0x33 /usr/local/go/src/os/file.go:247 # 0xf0627 io/ioutil.ReadFile+0x3f /usr/local/go/src/io/ioutil/ioutil.go:50 # 0x2fe8ab main.raspiLoad+0x23 /home/pi/go/src/sonda/sonda.go:209 # 0x2fe553 main.printAverages+0x5f /home/pi/go/src/sonda/sonda.go:185 # 0x2fed43 main.printResultsThread.func2+0x43 /home/pi/go/src/sonda/sonda.go:158 0: 0 [1: 64] @ 0x56770 0x5669c 0x2d62c8 0x2d20b4 0x2d4f04 0x2d4ce0 0x2d1cb8 0x2d7ca4 0x2d7f0c 0x26f450 0x2703e8 0x271340 0x26e048 0x68e64 # 0x2d62c7 runtime/pprof.printCountProfile.func1+0x147 /usr/local/go/src/runtime/pprof/pprof.go:354 # 0x2d20b3 runtime/pprof.printCountProfile+0x14b /usr/local/go/src/runtime/pprof/pprof.go:361 # 0x2d4f03 runtime/pprof.writeRuntimeProfile+0xf3 /usr/local/go/src/runtime/pprof/pprof.go:640 # 0x2d4cdf runtime/pprof.writeGoroutine+0x73 /usr/local/go/src/runtime/pprof/pprof.go:594 # 0x2d1cb7 runtime/pprof.(*Profile).WriteTo+0x2af /usr/local/go/src/runtime/pprof/pprof.go:302 # 0x2d7ca3 net/http/pprof.handler.ServeHTTP+0x167 /usr/local/go/src/net/http/pprof/pprof.go:209 # 0x2d7f0b net/http/pprof.Index+0x17b /usr/local/go/src/net/http/pprof/pprof.go:221 # 0x26f44f net/http.HandlerFunc.ServeHTTP+0x33 /usr/local/go/src/net/http/server.go:1942 # 0x2703e7 net/http.(*ServeMux).ServeHTTP+0x107 /usr/local/go/src/net/http/server.go:2238 # 0x27133f net/http.serverHandler.ServeHTTP+0x7b /usr/local/go/src/net/http/server.go:2568 # 0x26e047 net/http.(*conn).serve+0x527 /usr/local/go/src/net/http/server.go:1825 0: 0 [1: 256] @ 0x2fe430 0x2fecd4 0x68e64 # 0x2fe42f main.printCurrent+0x233 /home/pi/go/src/sonda/sonda.go:168 # 0x2fecd3 main.printResultsThread.func1+0x43 /home/pi/go/src/sonda/sonda.go:148 0: 0 [1: 16] @ 0x9e9e4 0x9ecdc 0x9dbf0 0xf3fa0 0xf48f0 0xf4810 0xf54b4 0x2fea20 0x2fe548 0x2fed44 0x68e64 # 0x9e9e3 os.NewFile+0x3b /usr/local/go/src/os/file_unix.go:56 # 0x9ecdb os.OpenFile+0x17f /usr/local/go/src/os/file_unix.go:123 # 0x9dbef os.Open+0x33 /usr/local/go/src/os/file.go:247 # 0xf3f9f os/exec.(*Cmd).stdin+0x3e3 /usr/local/go/src/os/exec/exec.go:189 # 0xf48ef os/exec.(*Cmd).Start+0x97 /usr/local/go/src/os/exec/exec.go:343 # 0xf480f os/exec.(*Cmd).Run+0x1b /usr/local/go/src/os/exec/exec.go:277 # 0xf54b3 os/exec.(*Cmd).Output+0xdf /usr/local/go/src/os/exec/exec.go:474 # 0x2fea1f main.raspiCpuTemp+0x5b /home/pi/go/src/sonda/sonda.go:231 # 0x2fe547 main.printAverages+0x53 /home/pi/go/src/sonda/sonda.go:184 # 0x2fed43 main.printResultsThread.func2+0x43 /home/pi/go/src/sonda/sonda.go:158 0: 0 [1: 48] @ 0xe507c 0xe4f70 0x2fe8f0 0x2fe554 0x2fed44 0x68e64 # 0xe507b strings.FieldsFunc+0xdb /usr/local/go/src/strings/strings.go:318 # 0xe4f6f strings.Fields+0x2b /usr/local/go/src/strings/strings.go:297 # 0x2fe8ef main.raspiLoad+0x67 /home/pi/go/src/sonda/sonda.go:214 # 0x2fe553 main.printAverages+0x5f /home/pi/go/src/sonda/sonda.go:185 # 0x2fed43 main.printResultsThread.func2+0x43 /home/pi/go/src/sonda/sonda.go:158 0: 0 [2: 16] @ 0x1f55c 0x2ee64c 0x2f7774 0x2f21ec 0x68e64 # 0x2ee64b github.com/eclipse/paho%2emqtt%2egolang.(*MemoryStore).Del+0x1ef /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/memstore.go:113 # 0x2f7773 github.com/eclipse/paho%2emqtt%2egolang.persistInbound+0x25b /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/store.go:112 # 0x2f21eb github.com/eclipse/paho%2emqtt%2egolang.alllogic+0x377 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:218 0: 0 [1: 128] @ 0x2fe430 0x2fecd4 0x68e64 # 0x2fe42f main.printCurrent+0x233 /home/pi/go/src/sonda/sonda.go:168 # 0x2fecd3 main.printResultsThread.func1+0x43 /home/pi/go/src/sonda/sonda.go:148 0: 0 [1: 32] @ 0x1a9a4 0x20d8dc 0x26413c 0x26a1b8 0x26ded4 0x68e64 # 0x20d8db net/textproto.(*Reader).ReadMIMEHeader+0x6f /usr/local/go/src/net/textproto/reader.go:478 # 0x26413b net/http.readRequest+0x273 /usr/local/go/src/net/http/request.go:962 # 0x26a1b7 net/http.(*conn).readRequest+0x213 /usr/local/go/src/net/http/server.go:934 # 0x26ded3 net/http.(*conn).serve+0x3b3 /usr/local/go/src/net/http/server.go:1763 0: 0 [1: 128] @ 0xc3ffc 0xbc710 0x2fe6d4 0x2fed44 0x68e64 # 0xc3ffb fmt.(*pp).doPrintf+0x10c7 /usr/local/go/src/fmt/print.go:959 # 0xbc70f fmt.Sprintf+0x4b /usr/local/go/src/fmt/print.go:196 # 0x2fe6d3 main.printAverages+0x1df /home/pi/go/src/sonda/sonda.go:195 # 0x2fed43 main.printResultsThread.func2+0x43 /home/pi/go/src/sonda/sonda.go:158 0: 0 [1: 640] @ 0x7af74 0x7ae88 0x7ab04 0x269738 0x26de9c 0x68e64 # 0x7af73 sync.(*Pool).pinSlow+0xcb /usr/local/go/src/sync/pool.go:205 # 0x7ae87 sync.(*Pool).pin+0x77 /usr/local/go/src/sync/pool.go:184 # 0x7ab03 sync.(*Pool).Get+0x1b /usr/local/go/src/sync/pool.go:121 # 0x269737 net/http.newBufioWriterSize+0x157 /usr/local/go/src/net/http/server.go:810 # 0x26de9b net/http.(*conn).serve+0x37b /usr/local/go/src/net/http/server.go:1760 0: 0 [2: 224] @ 0x56770 0x563f0 0x56600 0x26e6d4 0x68e64 # 0x26e6d3 net/http.(*conn).serve+0xbb3 /usr/local/go/src/net/http/server.go:1791 0: 0 [1: 32] @ 0x80d7c 0x80e20 0x7f878 0x7fd70 0x9bbbc 0x9b7c8 0xf4bd0 0xf4810 0xf54b4 0x2fea20 0x2fe548 0x2fed44 0x68e64 # 0x80d7b syscall.ByteSliceFromString+0xa3 /usr/local/go/src/syscall/syscall.go:55 # 0x80e1f syscall.BytePtrFromString+0x23 /usr/local/go/src/syscall/syscall.go:71 # 0x7f877 syscall.forkExec+0x6f /usr/local/go/src/syscall/exec_unix.go:150 # 0x7fd6f syscall.StartProcess+0x43 /usr/local/go/src/syscall/exec_unix.go:240 # 0x9bbbb os.startProcess+0x157 /usr/local/go/src/os/exec_posix.go:45 # 0x9b7c7 os.StartProcess+0x43 /usr/local/go/src/os/exec.go:94 # 0xf4bcf os/exec.(*Cmd).Start+0x377 /usr/local/go/src/os/exec/exec.go:359 # 0xf480f os/exec.(*Cmd).Run+0x1b /usr/local/go/src/os/exec/exec.go:277 # 0xf54b3 os/exec.(*Cmd).Output+0xdf /usr/local/go/src/os/exec/exec.go:474 # 0x2fea1f main.raspiCpuTemp+0x5b /home/pi/go/src/sonda/sonda.go:231 # 0x2fe547 main.printAverages+0x53 /home/pi/go/src/sonda/sonda.go:184 # 0x2fed43 main.printResultsThread.func2+0x43 /home/pi/go/src/sonda/sonda.go:158 0: 0 [1: 16] @ 0x1f55c 0x2f6f60 0x2f7750 0x2f21ec 0x68e64 # 0x2f6f5f github.com/eclipse/paho%2emqtt%2egolang.outboundKeyFromMID+0x6b /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/store.go:70 # 0x2f774f github.com/eclipse/paho%2emqtt%2egolang.persistInbound+0x237 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/store.go:112 # 0x2f21eb github.com/eclipse/paho%2emqtt%2egolang.alllogic+0x377 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:218 0: 0 [2: 1024] @ 0x29fde4 0x2fe53c 0x2fed44 0x68e64 # 0x29fde3 sonda/src.AverageDirection+0x123 /home/pi/go/src/sonda/src/tools.go:59 # 0x2fe53b main.printAverages+0x47 /home/pi/go/src/sonda/sonda.go:183 # 0x2fed43 main.printResultsThread.func2+0x43 /home/pi/go/src/sonda/sonda.go:158 0: 0 [1: 128] @ 0xc8bec 0x7ab7c 0xbc1c4 0xbc858 0xbc93c 0x2fde94 0x3f514 0x68e64 # 0xc8beb fmt.glob..func1+0x1b /usr/local/go/src/fmt/print.go:128 # 0x7ab7b sync.(*Pool).Get+0x93 /usr/local/go/src/sync/pool.go:144 # 0xbc1c3 fmt.newPrinter+0x1b /usr/local/go/src/fmt/print.go:133 # 0xbc857 fmt.Fprint+0x13 /usr/local/go/src/fmt/print.go:214 # 0xbc93b fmt.Print+0x3f /usr/local/go/src/fmt/print.go:225 # 0x2fde93 main.main+0x4cb /home/pi/go/src/sonda/sonda.go:124 # 0x3f513 runtime.main+0x1e3 /usr/local/go/src/runtime/proc.go:185 0: 0 [4: 64] @ 0x2f1fb8 0x68e64 # 0x2f1fb7 github.com/eclipse/paho%2emqtt%2egolang.alllogic+0x143 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:213 0: 0 [1: 256] @ 0x2fe3b0 0x2fecd4 0x68e64 # 0x2fe3af main.printCurrent+0x1b3 /home/pi/go/src/sonda/sonda.go:169 # 0x2fecd3 main.printResultsThread.func1+0x43 /home/pi/go/src/sonda/sonda.go:148 0: 0 [1: 8] @ 0x1f55c 0x2e8b00 0x2fd8f4 0x2fe76c 0x2fed44 0x68e64 # 0x2e8aff github.com/eclipse/paho%2emqtt%2egolang.(*client).Publish+0x4c7 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/client.go:650 # 0x2fd8f3 main.publish+0x8f /home/pi/go/src/sonda/sonda.go:53 # 0x2fe76b main.printAverages+0x277 /home/pi/go/src/sonda/sonda.go:198 # 0x2fed43 main.printResultsThread.func2+0x43 /home/pi/go/src/sonda/sonda.go:158 0: 0 [1: 16] @ 0x1f55c 0x2fe2cc 0x2fecd4 0x68e64 # 0x2fe2cb main.printCurrent+0xcf /home/pi/go/src/sonda/sonda.go:171 # 0x2fecd3 main.printResultsThread.func1+0x43 /home/pi/go/src/sonda/sonda.go:148 0: 0 [5: 40] @ 0x1f55c 0x2f6f3c 0x2f7750 0x2f21ec 0x68e64 # 0x2f6f3b github.com/eclipse/paho%2emqtt%2egolang.outboundKeyFromMID+0x47 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/store.go:70 # 0x2f774f github.com/eclipse/paho%2emqtt%2egolang.persistInbound+0x237 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/store.go:112 # 0x2f21eb github.com/eclipse/paho%2emqtt%2egolang.alllogic+0x377 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:218 0: 0 [2: 32] @ 0x2da94c 0x2da498 0x2db380 0x2f1100 0x68e64 # 0x2da94b github.com/eclipse/paho.mqtt.golang/packets.encodeLength+0xa7 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/packets/packets.go:320 # 0x2da497 github.com/eclipse/paho.mqtt.golang/packets.(*FixedHeader).pack+0x6f /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/packets/packets.go:242 # 0x2db37f github.com/eclipse/paho.mqtt.golang/packets.(*PublishPacket).Write+0x11f /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/packets/publish.go:31 # 0x2f10ff github.com/eclipse/paho%2emqtt%2egolang.outgoing+0x343 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:163 0: 0 [1: 8] @ 0x1f55c 0x2f5acc 0x68e64 # 0x2f5acb github.com/eclipse/paho%2emqtt%2egolang.keepalive+0x433 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/ping.go:49 0: 0 [1: 32] @ 0x80d7c 0x80e20 0x7f604 0x7f8f4 0x7fd70 0x9bbbc 0x9b7c8 0xf4bd0 0xf4810 0xf54b4 0x2fea20 0x2fe548 0x2fed44 0x68e64 # 0x80d7b syscall.ByteSliceFromString+0xa3 /usr/local/go/src/syscall/syscall.go:55 # 0x80e1f syscall.BytePtrFromString+0x23 /usr/local/go/src/syscall/syscall.go:71 # 0x7f603 syscall.SlicePtrFromStrings+0x77 /usr/local/go/src/syscall/exec_unix.go:87 # 0x7f8f3 syscall.forkExec+0xeb /usr/local/go/src/syscall/exec_unix.go:158 # 0x7fd6f syscall.StartProcess+0x43 /usr/local/go/src/syscall/exec_unix.go:240 # 0x9bbbb os.startProcess+0x157 /usr/local/go/src/os/exec_posix.go:45 # 0x9b7c7 os.StartProcess+0x43 /usr/local/go/src/os/exec.go:94 # 0xf4bcf os/exec.(*Cmd).Start+0x377 /usr/local/go/src/os/exec/exec.go:359 # 0xf480f os/exec.(*Cmd).Run+0x1b /usr/local/go/src/os/exec/exec.go:277 # 0xf54b3 os/exec.(*Cmd).Output+0xdf /usr/local/go/src/os/exec/exec.go:474 # 0x2fea1f main.raspiCpuTemp+0x5b /home/pi/go/src/sonda/sonda.go:231 # 0x2fe547 main.printAverages+0x53 /home/pi/go/src/sonda/sonda.go:184 # 0x2fed43 main.printResultsThread.func2+0x43 /home/pi/go/src/sonda/sonda.go:158 0: 0 [2: 1280] @ 0x7af74 0x7ae88 0x7ab04 0x263d5c 0x263efc 0x26a1b8 0x26ded4 0x68e64 # 0x7af73 sync.(*Pool).pinSlow+0xcb /usr/local/go/src/sync/pool.go:205 # 0x7ae87 sync.(*Pool).pin+0x77 /usr/local/go/src/sync/pool.go:184 # 0x7ab03 sync.(*Pool).Get+0x1b /usr/local/go/src/sync/pool.go:121 # 0x263d5b net/http.newTextprotoReader+0x1b /usr/local/go/src/net/http/request.go:888 # 0x263efb net/http.readRequest+0x33 /usr/local/go/src/net/http/request.go:913 # 0x26a1b7 net/http.(*conn).readRequest+0x213 /usr/local/go/src/net/http/server.go:934 # 0x26ded3 net/http.(*conn).serve+0x3b3 /usr/local/go/src/net/http/server.go:1763 0: 0 [1: 64] @ 0x1a8260 0x1c0004 0x1be62c 0x272654 0x2716e0 0x271460 0x2a01c4 0x68e64 # 0x1a825f net.(*netFD).accept+0x1e3 /usr/local/go/src/net/fd_unix.go:445 # 0x1c0003 net.(*TCPListener).accept+0x1f /usr/local/go/src/net/tcpsock_posix.go:136 # 0x1be62b net.(*TCPListener).AcceptTCP+0x3b /usr/local/go/src/net/tcpsock.go:215 # 0x272653 net/http.tcpKeepAliveListener.Accept+0x1b /usr/local/go/src/net/http/server.go:3044 # 0x2716df net/http.(*Server).Serve+0x1ab /usr/local/go/src/net/http/server.go:2643 # 0x27145f net/http.(*Server).ListenAndServe+0x8f /usr/local/go/src/net/http/server.go:2585 # 0x2a01c3 sonda/src.(*WebServer).Init+0x293 /home/pi/go/src/sonda/src/ws.go:37 0: 0 [1: 8] @ 0x1f55c 0x2f5b08 0x68e64 # 0x2f5b07 github.com/eclipse/paho%2emqtt%2egolang.keepalive+0x46f /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/ping.go:49 0: 0 [2: 32] @ 0x1f55c 0x2fddac 0x3f514 0x68e64 # 0x2fddab main.main+0x3e3 /home/pi/go/src/sonda/sonda.go:101 # 0x3f513 runtime.main+0x1e3 /usr/local/go/src/runtime/proc.go:185 0: 0 [2: 32] @ 0x2d9898 0x2f06f0 0x68e64 # 0x2d9897 github.com/eclipse/paho.mqtt.golang/packets.ReadPacket+0x107 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/packets/packets.go:120 # 0x2f06ef github.com/eclipse/paho%2emqtt%2egolang.incoming+0x14b /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:113 0: 0 [1: 48] @ 0x56838 0x2e9118 0x2fd8f4 0x2fe384 0x2fecd4 0x68e64 # 0x2e9117 github.com/eclipse/paho%2emqtt%2egolang.(*client).Publish+0xadf /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/client.go:629 # 0x2fd8f3 main.publish+0x8f /home/pi/go/src/sonda/sonda.go:53 # 0x2fe383 main.printCurrent+0x187 /home/pi/go/src/sonda/sonda.go:174 # 0x2fecd3 main.printResultsThread.func1+0x43 /home/pi/go/src/sonda/sonda.go:148 0: 0 [1: 176] @ 0xd0b0c 0xd04fc 0xd06ac 0x2db418 0x2f1100 0x68e64 # 0xd0b0b bytes.makeSlice+0x57 /usr/local/go/src/bytes/buffer.go:201 # 0xd04fb bytes.(*Buffer).grow+0x153 /usr/local/go/src/bytes/buffer.go:109 # 0xd06ab bytes.(*Buffer).Write+0x2b /usr/local/go/src/bytes/buffer.go:137 # 0x2db417 github.com/eclipse/paho.mqtt.golang/packets.(*PublishPacket).Write+0x1b7 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/packets/publish.go:33 # 0x2f10ff github.com/eclipse/paho%2emqtt%2egolang.outgoing+0x343 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:163 0: 0 [3: 24] @ 0x1f55c 0x2fd8b4 0x2fe384 0x2fecd4 0x68e64 # 0x2fd8b3 main.publish+0x4f /home/pi/go/src/sonda/sonda.go:53 # 0x2fe383 main.printCurrent+0x187 /home/pi/go/src/sonda/sonda.go:174 # 0x2fecd3 main.printResultsThread.func1+0x43 /home/pi/go/src/sonda/sonda.go:148 0: 0 [4: 64] @ 0x1f55c 0x2fdd64 0x3f514 0x68e64 # 0x2fdd63 main.main+0x39b /home/pi/go/src/sonda/sonda.go:101 # 0x3f513 runtime.main+0x1e3 /usr/local/go/src/runtime/proc.go:185 0: 0 [3: 24] @ 0x1f55c 0x2f0f28 0x68e64 # 0x2f0f27 github.com/eclipse/paho%2emqtt%2egolang.outgoing+0x16b /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:151 0: 0 [2: 512] @ 0xc3ffc 0xbc710 0x2fe6d4 0x2fed44 0x68e64 # 0xc3ffb fmt.(*pp).doPrintf+0x10c7 /usr/local/go/src/fmt/print.go:959 # 0xbc70f fmt.Sprintf+0x4b /usr/local/go/src/fmt/print.go:196 # 0x2fe6d3 main.printAverages+0x1df /home/pi/go/src/sonda/sonda.go:195 # 0x2fed43 main.printResultsThread.func2+0x43 /home/pi/go/src/sonda/sonda.go:158 0: 0 [3: 48] @ 0x1f55c 0x2fe2f0 0x2fecd4 0x68e64 # 0x2fe2ef main.printCurrent+0xf3 /home/pi/go/src/sonda/sonda.go:171 # 0x2fecd3 main.printResultsThread.func1+0x43 /home/pi/go/src/sonda/sonda.go:148 0: 0 [2: 128] @ 0x2fe430 0x2fecd4 0x68e64 # 0x2fe42f main.printCurrent+0x233 /home/pi/go/src/sonda/sonda.go:168 # 0x2fecd3 main.printResultsThread.func1+0x43 /home/pi/go/src/sonda/sonda.go:148 0: 0 [6: 6291456] @ 0x2d4d34 0x2d4c9c 0x2d1cb8 0x2d7ca4 0x2d7f0c 0x26f450 0x2703e8 0x271340 0x26e048 0x68e64 # 0x2d4d33 runtime/pprof.writeGoroutineStacks+0x27 /usr/local/go/src/runtime/pprof/pprof.go:601 # 0x2d4c9b runtime/pprof.writeGoroutine+0x2f /usr/local/go/src/runtime/pprof/pprof.go:592 # 0x2d1cb7 runtime/pprof.(*Profile).WriteTo+0x2af /usr/local/go/src/runtime/pprof/pprof.go:302 # 0x2d7ca3 net/http/pprof.handler.ServeHTTP+0x167 /usr/local/go/src/net/http/pprof/pprof.go:209 # 0x2d7f0b net/http/pprof.Index+0x17b /usr/local/go/src/net/http/pprof/pprof.go:221 # 0x26f44f net/http.HandlerFunc.ServeHTTP+0x33 /usr/local/go/src/net/http/server.go:1942 # 0x2703e7 net/http.(*ServeMux).ServeHTTP+0x107 /usr/local/go/src/net/http/server.go:2238 # 0x27133f net/http.serverHandler.ServeHTTP+0x7b /usr/local/go/src/net/http/server.go:2568 # 0x26e047 net/http.(*conn).serve+0x527 /usr/local/go/src/net/http/server.go:1825 0: 0 [2: 128] @ 0x29fe1c 0x2fe53c 0x2fed44 0x68e64 # 0x29fe1b sonda/src.AverageDirection+0x15b /home/pi/go/src/sonda/src/tools.go:58 # 0x2fe53b main.printAverages+0x47 /home/pi/go/src/sonda/sonda.go:183 # 0x2fed43 main.printResultsThread.func2+0x43 /home/pi/go/src/sonda/sonda.go:158 0: 0 [6: 3840] @ 0x7af74 0x7ae88 0x7ab04 0xbc1c4 0xbc858 0xbc93c 0x2fde94 0x3f514 0x68e64 # 0x7af73 sync.(*Pool).pinSlow+0xcb /usr/local/go/src/sync/pool.go:205 # 0x7ae87 sync.(*Pool).pin+0x77 /usr/local/go/src/sync/pool.go:184 # 0x7ab03 sync.(*Pool).Get+0x1b /usr/local/go/src/sync/pool.go:121 # 0xbc1c3 fmt.newPrinter+0x1b /usr/local/go/src/fmt/print.go:133 # 0xbc857 fmt.Fprint+0x13 /usr/local/go/src/fmt/print.go:214 # 0xbc93b fmt.Print+0x3f /usr/local/go/src/fmt/print.go:225 # 0x2fde93 main.main+0x4cb /home/pi/go/src/sonda/sonda.go:124 # 0x3f513 runtime.main+0x1e3 /usr/local/go/src/runtime/proc.go:185 0: 0 [1: 8192] @ 0xf0efc 0x7ab7c 0xf09e8 0xf139c 0x7c47c 0x7c0ec 0x7bfb0 0x26c3c4 0x267a60 0xd5a94 0x26d27c 0x26d06c 0x11c918 0x11c64c 0x11c19c 0x11c028 0x14d3f0 0x2a0924 0x2a0c54 0x26f450 0x2703e8 0x271340 0x26e048 0x68e64 # 0xf0efb io/ioutil.glob..func1+0x3b /usr/local/go/src/io/ioutil/ioutil.go:135 # 0x7ab7b sync.(*Pool).Get+0x93 /usr/local/go/src/sync/pool.go:144 # 0xf09e7 io/ioutil.devNull.ReadFrom+0x1b /usr/local/go/src/io/ioutil/ioutil.go:141 # 0xf139b io/ioutil.(*devNull).ReadFrom+0x5b :6 # 0x7c47b io.copyBuffer+0x283 /usr/local/go/src/io/io.go:384 # 0x7c0eb io.Copy+0x47 /usr/local/go/src/io/io.go:360 # 0x7bfaf io.CopyN+0x77 /usr/local/go/src/io/io.go:336 # 0x26c3c3 net/http.(*chunkWriter).writeHeader+0xe4b /usr/local/go/src/net/http/server.go:1280 # 0x267a5f net/http.(*chunkWriter).Write+0x27b /usr/local/go/src/net/http/server.go:347 # 0xd5a93 bufio.(*Writer).Write+0x133 /usr/local/go/src/bufio/bufio.go:598 # 0x26d27b net/http.(*response).write+0x17b /usr/local/go/src/net/http/server.go:1525 # 0x26d06b net/http.(*response).Write+0x47 /usr/local/go/src/net/http/server.go:1495 # 0x11c917 text/template.(*state).walk+0x3cf /usr/local/go/src/text/template/exec.go:247 # 0x11c64b text/template.(*state).walk+0x103 /usr/local/go/src/text/template/exec.go:240 # 0x11c19b text/template.(*Template).execute+0x153 /usr/local/go/src/text/template/exec.go:195 # 0x11c027 text/template.(*Template).Execute+0x3b /usr/local/go/src/text/template/exec.go:178 # 0x14d3ef html/template.(*Template).Execute+0x67 /usr/local/go/src/html/template/template.go:120 # 0x2a0923 sonda/src.(*WebServer).home+0xcb /home/pi/go/src/sonda/src/ws.go:83 # 0x2a0c53 sonda/src.(*WebServer).(sonda/src.home)-fm+0x33 /home/pi/go/src/sonda/src/ws.go:28 # 0x26f44f net/http.HandlerFunc.ServeHTTP+0x33 /usr/local/go/src/net/http/server.go:1942 # 0x2703e7 net/http.(*ServeMux).ServeHTTP+0x107 /usr/local/go/src/net/http/server.go:2238 # 0x27133f net/http.serverHandler.ServeHTTP+0x7b /usr/local/go/src/net/http/server.go:2568 # 0x26e047 net/http.(*conn).serve+0x527 /usr/local/go/src/net/http/server.go:1825 0: 0 [12: 192] @ 0x16788 0x8f538 0x8f808 0x2e8c10 0x2fd8f4 0x2fe384 0x2fecd4 0x68e64 # 0x8f537 time.NewTimer+0x2b /usr/local/go/src/time/sleep.go:84 # 0x8f807 time.After+0x23 /usr/local/go/src/time/sleep.go:151 # 0x2e8c0f github.com/eclipse/paho%2emqtt%2egolang.(*client).Publish+0x5d7 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/client.go:657 # 0x2fd8f3 main.publish+0x8f /home/pi/go/src/sonda/sonda.go:53 # 0x2fe383 main.printCurrent+0x187 /home/pi/go/src/sonda/sonda.go:174 # 0x2fecd3 main.printResultsThread.func1+0x43 /home/pi/go/src/sonda/sonda.go:148 0: 0 [2: 16] @ 0x1f55c 0x2f3ad8 0x68e64 # 0x2f3ad7 github.com/eclipse/paho%2emqtt%2egolang.alllogic+0x1c63 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:257 0: 0 [1: 16] @ 0xf4330 0xf4208 0xf48f0 0xf4810 0xf54b4 0x2fea20 0x2fe548 0x2fed44 0x68e64 # 0xf432f os/exec.(*Cmd).writerDescriptor+0xff /usr/local/go/src/os/exec/exec.go:253 # 0xf4207 os/exec.(*Cmd).stderr+0xaf /usr/local/go/src/os/exec/exec.go:229 # 0xf48ef os/exec.(*Cmd).Start+0x97 /usr/local/go/src/os/exec/exec.go:343 # 0xf480f os/exec.(*Cmd).Run+0x1b /usr/local/go/src/os/exec/exec.go:277 # 0xf54b3 os/exec.(*Cmd).Output+0xdf /usr/local/go/src/os/exec/exec.go:474 # 0x2fea1f main.raspiCpuTemp+0x5b /home/pi/go/src/sonda/sonda.go:231 # 0x2fe547 main.printAverages+0x53 /home/pi/go/src/sonda/sonda.go:184 # 0x2fed43 main.printResultsThread.func2+0x43 /home/pi/go/src/sonda/sonda.go:158 0: 0 [1: 640] @ 0x7af74 0x7ae88 0x7ab04 0x269320 0x26de64 0x68e64 # 0x7af73 sync.(*Pool).pinSlow+0xcb /usr/local/go/src/sync/pool.go:205 # 0x7ae87 sync.(*Pool).pin+0x77 /usr/local/go/src/sync/pool.go:184 # 0x7ab03 sync.(*Pool).Get+0x1b /usr/local/go/src/sync/pool.go:121 # 0x26931f net/http.newBufioReader+0x1b /usr/local/go/src/net/http/server.go:792 # 0x26de63 net/http.(*conn).serve+0x343 /usr/local/go/src/net/http/server.go:1759 0: 0 [1: 128] @ 0x29fe1c 0x2fe53c 0x2fed44 0x68e64 # 0x29fe1b sonda/src.AverageDirection+0x15b /home/pi/go/src/sonda/src/tools.go:58 # 0x2fe53b main.printAverages+0x47 /home/pi/go/src/sonda/sonda.go:183 # 0x2fed43 main.printResultsThread.func2+0x43 /home/pi/go/src/sonda/sonda.go:158 0: 0 [1: 16] @ 0x1f55c 0x2fe69c 0x2fed44 0x68e64 # 0x2fe69b main.printAverages+0x1a7 /home/pi/go/src/sonda/sonda.go:193 # 0x2fed43 main.printResultsThread.func2+0x43 /home/pi/go/src/sonda/sonda.go:158 0: 0 [9: 72] @ 0x1f55c 0x2f0760 0x68e64 # 0x2f075f github.com/eclipse/paho%2emqtt%2egolang.incoming+0x1bb /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:116 0: 0 [1: 128] @ 0x2fe3b0 0x2fecd4 0x68e64 # 0x2fe3af main.printCurrent+0x1b3 /home/pi/go/src/sonda/sonda.go:169 # 0x2fecd3 main.printResultsThread.func1+0x43 /home/pi/go/src/sonda/sonda.go:148 0: 0 [3: 864] @ 0xd0b0c 0xd04fc 0xd06ac 0x2db418 0x2f1100 0x68e64 # 0xd0b0b bytes.makeSlice+0x57 /usr/local/go/src/bytes/buffer.go:201 # 0xd04fb bytes.(*Buffer).grow+0x153 /usr/local/go/src/bytes/buffer.go:109 # 0xd06ab bytes.(*Buffer).Write+0x2b /usr/local/go/src/bytes/buffer.go:137 # 0x2db417 github.com/eclipse/paho.mqtt.golang/packets.(*PublishPacket).Write+0x1b7 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/packets/publish.go:33 # 0x2f10ff github.com/eclipse/paho%2emqtt%2egolang.outgoing+0x343 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:163 0: 0 [1: 16] @ 0x80d7c 0x80e20 0x832e0 0x80f98 0x9ebcc 0x9dbf0 0xf0628 0x2fe8ac 0x2fe554 0x2fed44 0x68e64 # 0x80d7b syscall.ByteSliceFromString+0xa3 /usr/local/go/src/syscall/syscall.go:55 # 0x80e1f syscall.BytePtrFromString+0x23 /usr/local/go/src/syscall/syscall.go:71 # 0x832df syscall.openat+0x23 /usr/local/go/src/syscall/zsyscall_linux_arm.go:36 # 0x80f97 syscall.Open+0x3f /usr/local/go/src/syscall/syscall_linux.go:51 # 0x9ebcb os.OpenFile+0x6f /usr/local/go/src/os/file_unix.go:97 # 0x9dbef os.Open+0x33 /usr/local/go/src/os/file.go:247 # 0xf0627 io/ioutil.ReadFile+0x3f /usr/local/go/src/io/ioutil/ioutil.go:50 # 0x2fe8ab main.raspiLoad+0x23 /home/pi/go/src/sonda/sonda.go:209 # 0x2fe553 main.printAverages+0x5f /home/pi/go/src/sonda/sonda.go:185 # 0x2fed43 main.printResultsThread.func2+0x43 /home/pi/go/src/sonda/sonda.go:158 0: 0 [1: 128] @ 0x29fde4 0x2fe53c 0x2fed44 0x68e64 # 0x29fde3 sonda/src.AverageDirection+0x123 /home/pi/go/src/sonda/src/tools.go:59 # 0x2fe53b main.printAverages+0x47 /home/pi/go/src/sonda/sonda.go:183 # 0x2fed43 main.printResultsThread.func2+0x43 /home/pi/go/src/sonda/sonda.go:158 0: 0 [1: 64] @ 0x2f7fe8 0x2e8664 0x2fd8f4 0x2fe76c 0x2fed44 0x68e64 # 0x2f7fe7 github.com/eclipse/paho%2emqtt%2egolang.newToken+0x57 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/token.go:108 # 0x2e8663 github.com/eclipse/paho%2emqtt%2egolang.(*client).Publish+0x2b /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/client.go:613 # 0x2fd8f3 main.publish+0x8f /home/pi/go/src/sonda/sonda.go:53 # 0x2fe76b main.printAverages+0x277 /home/pi/go/src/sonda/sonda.go:198 # 0x2fed43 main.printResultsThread.func2+0x43 /home/pi/go/src/sonda/sonda.go:158 0: 0 [2: 16] @ 0x1f55c 0x2e8ac4 0x2fd8f4 0x2fe384 0x2fecd4 0x68e64 # 0x2e8ac3 github.com/eclipse/paho%2emqtt%2egolang.(*client).Publish+0x48b /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/client.go:650 # 0x2fd8f3 main.publish+0x8f /home/pi/go/src/sonda/sonda.go:53 # 0x2fe383 main.printCurrent+0x187 /home/pi/go/src/sonda/sonda.go:174 # 0x2fecd3 main.printResultsThread.func1+0x43 /home/pi/go/src/sonda/sonda.go:148 0: 0 [7: 224] @ 0x2f3abc 0x68e64 # 0x2f3abb github.com/eclipse/paho%2emqtt%2egolang.alllogic+0x1c47 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:257 0: 0 [4: 64] @ 0x2d97c4 0x2f06f0 0x68e64 # 0x2d97c3 github.com/eclipse/paho.mqtt.golang/packets.ReadPacket+0x33 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/packets/packets.go:103 # 0x2f06ef github.com/eclipse/paho%2emqtt%2egolang.incoming+0x14b /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:113 0: 0 [5: 3840] @ 0x80d7c 0x80e20 0x7f604 0x7f8f4 0x7fd70 0x9bbbc 0x9b7c8 0xf4bd0 0xf4810 0xf54b4 0x2fea20 0x2fe548 0x2fed44 0x68e64 # 0x80d7b syscall.ByteSliceFromString+0xa3 /usr/local/go/src/syscall/syscall.go:55 # 0x80e1f syscall.BytePtrFromString+0x23 /usr/local/go/src/syscall/syscall.go:71 # 0x7f603 syscall.SlicePtrFromStrings+0x77 /usr/local/go/src/syscall/exec_unix.go:87 # 0x7f8f3 syscall.forkExec+0xeb /usr/local/go/src/syscall/exec_unix.go:158 # 0x7fd6f syscall.StartProcess+0x43 /usr/local/go/src/syscall/exec_unix.go:240 # 0x9bbbb os.startProcess+0x157 /usr/local/go/src/os/exec_posix.go:45 # 0x9b7c7 os.StartProcess+0x43 /usr/local/go/src/os/exec.go:94 # 0xf4bcf os/exec.(*Cmd).Start+0x377 /usr/local/go/src/os/exec/exec.go:359 # 0xf480f os/exec.(*Cmd).Run+0x1b /usr/local/go/src/os/exec/exec.go:277 # 0xf54b3 os/exec.(*Cmd).Output+0xdf /usr/local/go/src/os/exec/exec.go:474 # 0x2fea1f main.raspiCpuTemp+0x5b /home/pi/go/src/sonda/sonda.go:231 # 0x2fe547 main.printAverages+0x53 /home/pi/go/src/sonda/sonda.go:184 # 0x2fed43 main.printResultsThread.func2+0x43 /home/pi/go/src/sonda/sonda.go:158 0: 0 [2: 16] @ 0x1f55c 0x2e8b00 0x2fd8f4 0x2fe384 0x2fecd4 0x68e64 # 0x2e8aff github.com/eclipse/paho%2emqtt%2egolang.(*client).Publish+0x4c7 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/client.go:650 # 0x2fd8f3 main.publish+0x8f /home/pi/go/src/sonda/sonda.go:53 # 0x2fe383 main.printCurrent+0x187 /home/pi/go/src/sonda/sonda.go:174 # 0x2fecd3 main.printResultsThread.func1+0x43 /home/pi/go/src/sonda/sonda.go:148 0: 0 [3: 768] @ 0x29fe1c 0x2fe53c 0x2fed44 0x68e64 # 0x29fe1b sonda/src.AverageDirection+0x15b /home/pi/go/src/sonda/src/tools.go:58 # 0x2fe53b main.printAverages+0x47 /home/pi/go/src/sonda/sonda.go:183 # 0x2fed43 main.printResultsThread.func2+0x43 /home/pi/go/src/sonda/sonda.go:158 0: 0 [2: 16] @ 0x1f55c 0x2e8a88 0x2fd8f4 0x2fe384 0x2fecd4 0x68e64 # 0x2e8a87 github.com/eclipse/paho%2emqtt%2egolang.(*client).Publish+0x44f /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/client.go:650 # 0x2fd8f3 main.publish+0x8f /home/pi/go/src/sonda/sonda.go:53 # 0x2fe383 main.printCurrent+0x187 /home/pi/go/src/sonda/sonda.go:174 # 0x2fecd3 main.printResultsThread.func1+0x43 /home/pi/go/src/sonda/sonda.go:148 0: 0 [3: 48] @ 0x1f55c 0x2f5b44 0x68e64 # 0x2f5b43 github.com/eclipse/paho%2emqtt%2egolang.keepalive+0x4ab /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/ping.go:49 0: 0 [3: 24] @ 0x1f55c 0x2f1fd4 0x68e64 # 0x2f1fd3 github.com/eclipse/paho%2emqtt%2egolang.alllogic+0x15f /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:213 0: 0 [20: 960] @ 0x8f570 0x8f808 0x2e8c10 0x2fd8f4 0x2fe384 0x2fecd4 0x68e64 # 0x8f56f time.NewTimer+0x63 /usr/local/go/src/time/sleep.go:91 # 0x8f807 time.After+0x23 /usr/local/go/src/time/sleep.go:151 # 0x2e8c0f github.com/eclipse/paho%2emqtt%2egolang.(*client).Publish+0x5d7 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/client.go:657 # 0x2fd8f3 main.publish+0x8f /home/pi/go/src/sonda/sonda.go:53 # 0x2fe383 main.printCurrent+0x187 /home/pi/go/src/sonda/sonda.go:174 # 0x2fecd3 main.printResultsThread.func1+0x43 /home/pi/go/src/sonda/sonda.go:148 0: 0 [6: 48] @ 0x1f55c 0x2ee5d4 0x2f7774 0x2f21ec 0x68e64 # 0x2ee5d3 github.com/eclipse/paho%2emqtt%2egolang.(*MemoryStore).Del+0x177 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/memstore.go:113 # 0x2f7773 github.com/eclipse/paho%2emqtt%2egolang.persistInbound+0x25b /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/store.go:112 # 0x2f21eb github.com/eclipse/paho%2emqtt%2egolang.alllogic+0x377 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:218 0: 0 [6: 48] @ 0x1f55c 0x2e86d0 0x2fd8f4 0x2fe384 0x2fecd4 0x68e64 # 0x2e86cf github.com/eclipse/paho%2emqtt%2egolang.(*client).Publish+0x97 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/client.go:614 # 0x2fd8f3 main.publish+0x8f /home/pi/go/src/sonda/sonda.go:53 # 0x2fe383 main.printCurrent+0x187 /home/pi/go/src/sonda/sonda.go:174 # 0x2fecd3 main.printResultsThread.func1+0x43 /home/pi/go/src/sonda/sonda.go:148 0: 0 [7: 112] @ 0x1f55c 0x2f08d4 0x68e64 # 0x2f08d3 github.com/eclipse/paho%2emqtt%2egolang.incoming+0x32f /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:121 0: 0 [3: 6144] @ 0x269660 0x26a73c 0x26ded4 0x68e64 # 0x26965f net/http.newBufioWriterSize+0x7f /usr/local/go/src/net/http/server.go:816 # 0x26a73b net/http.(*conn).readRequest+0x797 /usr/local/go/src/net/http/server.go:1004 # 0x26ded3 net/http.(*conn).serve+0x3b3 /usr/local/go/src/net/http/server.go:1763 0: 0 [20: 640] @ 0x2ee57c 0x2f7774 0x2f21ec 0x68e64 # 0x2ee57b github.com/eclipse/paho%2emqtt%2egolang.(*MemoryStore).Del+0x11f /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/memstore.go:113 # 0x2f7773 github.com/eclipse/paho%2emqtt%2egolang.persistInbound+0x25b /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/store.go:112 # 0x2f21eb github.com/eclipse/paho%2emqtt%2egolang.alllogic+0x377 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:218 0: 0 [2: 32] @ 0x1f55c 0x2fddd0 0x3f514 0x68e64 # 0x2fddcf main.main+0x407 /home/pi/go/src/sonda/sonda.go:101 # 0x3f513 runtime.main+0x1e3 /usr/local/go/src/runtime/proc.go:185 0: 0 [1: 48] @ 0x7f5b8 0x7f8f4 0x7fd70 0x9bbbc 0x9b7c8 0xf4bd0 0xf4810 0xf54b4 0x2fea20 0x2fe548 0x2fed44 0x68e64 # 0x7f5b7 syscall.SlicePtrFromStrings+0x2b /usr/local/go/src/syscall/exec_unix.go:85 # 0x7f8f3 syscall.forkExec+0xeb /usr/local/go/src/syscall/exec_unix.go:158 # 0x7fd6f syscall.StartProcess+0x43 /usr/local/go/src/syscall/exec_unix.go:240 # 0x9bbbb os.startProcess+0x157 /usr/local/go/src/os/exec_posix.go:45 # 0x9b7c7 os.StartProcess+0x43 /usr/local/go/src/os/exec.go:94 # 0xf4bcf os/exec.(*Cmd).Start+0x377 /usr/local/go/src/os/exec/exec.go:359 # 0xf480f os/exec.(*Cmd).Run+0x1b /usr/local/go/src/os/exec/exec.go:277 # 0xf54b3 os/exec.(*Cmd).Output+0xdf /usr/local/go/src/os/exec/exec.go:474 # 0x2fea1f main.raspiCpuTemp+0x5b /home/pi/go/src/sonda/sonda.go:231 # 0x2fe547 main.printAverages+0x53 /home/pi/go/src/sonda/sonda.go:184 # 0x2fed43 main.printResultsThread.func2+0x43 /home/pi/go/src/sonda/sonda.go:158 0: 0 [2: 288] @ 0x9fd78 0xf066c 0x2fe8ac 0x2fe554 0x2fed44 0x68e64 # 0x9fd77 os.(*File).Stat+0x27 /usr/local/go/src/os/stat_unix.go:19 # 0xf066b io/ioutil.ReadFile+0x83 /usr/local/go/src/io/ioutil/ioutil.go:59 # 0x2fe8ab main.raspiLoad+0x23 /home/pi/go/src/sonda/sonda.go:209 # 0x2fe553 main.printAverages+0x5f /home/pi/go/src/sonda/sonda.go:185 # 0x2fed43 main.printResultsThread.func2+0x43 /home/pi/go/src/sonda/sonda.go:158 0: 0 [5: 80] @ 0x2f0744 0x68e64 # 0x2f0743 github.com/eclipse/paho%2emqtt%2egolang.incoming+0x19f /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:116 0: 0 [1: 64] @ 0xf1720 0x26ddc0 0x68e64 # 0xf171f context.WithCancel+0x47 /usr/local/go/src/context/context.go:230 # 0x26ddbf net/http.(*conn).serve+0x29f /usr/local/go/src/net/http/server.go:1754 0: 0 [8: 64] @ 0x1f55c 0x2f2170 0x68e64 # 0x2f216f github.com/eclipse/paho%2emqtt%2egolang.alllogic+0x2fb /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:217 0: 0 [1: 128] @ 0x263f10 0x26a1b8 0x26ded4 0x68e64 # 0x263f0f net/http.readRequest+0x47 /usr/local/go/src/net/http/request.go:914 # 0x26a1b7 net/http.(*conn).readRequest+0x213 /usr/local/go/src/net/http/server.go:934 # 0x26ded3 net/http.(*conn).serve+0x3b3 /usr/local/go/src/net/http/server.go:1763 0: 0 [12: 192] @ 0x2f0f0c 0x68e64 # 0x2f0f0b github.com/eclipse/paho%2emqtt%2egolang.outgoing+0x14f /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:151 0: 0 [5: 40] @ 0x1f55c 0x2f11ec 0x68e64 # 0x2f11eb github.com/eclipse/paho%2emqtt%2egolang.outgoing+0x42f /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:179 0: 0 [3: 24] @ 0x1f55c 0x2f3b14 0x68e64 # 0x2f3b13 github.com/eclipse/paho%2emqtt%2egolang.alllogic+0x1c9f /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:257 0: 0 [3: 24] @ 0x1f55c 0x2f2010 0x68e64 # 0x2f200f github.com/eclipse/paho%2emqtt%2egolang.alllogic+0x19b /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:213 0: 0 [6: 3072] @ 0x52fbc 0xf0490 0xf06ac 0x2fe8ac 0x2fe554 0x2fed44 0x68e64 # 0xf048f io/ioutil.readAll+0x63 /usr/local/go/src/io/ioutil/ioutil.go:19 # 0xf06ab io/ioutil.ReadFile+0xc3 /usr/local/go/src/io/ioutil/ioutil.go:70 # 0x2fe8ab main.raspiLoad+0x23 /home/pi/go/src/sonda/sonda.go:209 # 0x2fe553 main.printAverages+0x5f /home/pi/go/src/sonda/sonda.go:185 # 0x2fed43 main.printResultsThread.func2+0x43 /home/pi/go/src/sonda/sonda.go:158 0: 0 [8: 128] @ 0x2f2118 0x68e64 # 0x2f2117 github.com/eclipse/paho%2emqtt%2egolang.alllogic+0x2a3 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:217 0: 0 [2: 256] @ 0xc8bec 0x7ab7c 0xbc1c4 0xbc858 0xbc93c 0x2fe04c 0x3f514 0x68e64 # 0xc8beb fmt.glob..func1+0x1b /usr/local/go/src/fmt/print.go:128 # 0x7ab7b sync.(*Pool).Get+0x93 /usr/local/go/src/sync/pool.go:144 # 0xbc1c3 fmt.newPrinter+0x1b /usr/local/go/src/fmt/print.go:133 # 0xbc857 fmt.Fprint+0x13 /usr/local/go/src/fmt/print.go:214 # 0xbc93b fmt.Print+0x3f /usr/local/go/src/fmt/print.go:225 # 0x2fe04b main.main+0x683 /home/pi/go/src/sonda/sonda.go:115 # 0x3f513 runtime.main+0x1e3 /usr/local/go/src/runtime/proc.go:185 0: 0 [1: 512] @ 0xd0b0c 0xd0a58 0x7c47c 0x7c0ec 0xf7398 0xf73f8 0x68e64 # 0xd0b0b bytes.makeSlice+0x57 /usr/local/go/src/bytes/buffer.go:201 # 0xd0a57 bytes.(*Buffer).ReadFrom+0x26f /usr/local/go/src/bytes/buffer.go:173 # 0x7c47b io.copyBuffer+0x283 /usr/local/go/src/io/io.go:384 # 0x7c0eb io.Copy+0x47 /usr/local/go/src/io/io.go:360 # 0xf7397 os/exec.(*Cmd).writerDescriptor.func1+0x37 /usr/local/go/src/os/exec/exec.go:254 # 0xf73f7 os/exec.(*Cmd).Start.func1+0x1b /usr/local/go/src/os/exec/exec.go:371 0: 0 [1: 8] @ 0x9e9d0 0x9f790 0xf426c 0xf4208 0xf48f0 0xf4810 0xf54b4 0x2fea20 0x2fe548 0x2fed44 0x68e64 # 0x9e9cf os.NewFile+0x27 /usr/local/go/src/os/file_unix.go:56 # 0x9f78f os.Pipe+0xb7 /usr/local/go/src/os/pipe_linux.go:32 # 0xf426b os/exec.(*Cmd).writerDescriptor+0x3b /usr/local/go/src/os/exec/exec.go:246 # 0xf4207 os/exec.(*Cmd).stderr+0xaf /usr/local/go/src/os/exec/exec.go:229 # 0xf48ef os/exec.(*Cmd).Start+0x97 /usr/local/go/src/os/exec/exec.go:343 # 0xf480f os/exec.(*Cmd).Run+0x1b /usr/local/go/src/os/exec/exec.go:277 # 0xf54b3 os/exec.(*Cmd).Output+0xdf /usr/local/go/src/os/exec/exec.go:474 # 0x2fea1f main.raspiCpuTemp+0x5b /home/pi/go/src/sonda/sonda.go:231 # 0x2fe547 main.printAverages+0x53 /home/pi/go/src/sonda/sonda.go:184 # 0x2fed43 main.printResultsThread.func2+0x43 /home/pi/go/src/sonda/sonda.go:158 0: 0 [1: 80] @ 0x9c1ec 0x9b884 0xf50ac 0xf4838 0xf54b4 0x2fea20 0x2fe548 0x2fed44 0x68e64 # 0x9c1eb os.(*Process).wait+0x5b /usr/local/go/src/os/exec_unix.go:37 # 0x9b883 os.(*Process).Wait+0x1b /usr/local/go/src/os/exec.go:115 # 0xf50ab os/exec.(*Cmd).Wait+0x3f /usr/local/go/src/os/exec/exec.go:435 # 0xf4837 os/exec.(*Cmd).Run+0x43 /usr/local/go/src/os/exec/exec.go:280 # 0xf54b3 os/exec.(*Cmd).Output+0xdf /usr/local/go/src/os/exec/exec.go:474 # 0x2fea1f main.raspiCpuTemp+0x5b /home/pi/go/src/sonda/sonda.go:231 # 0x2fe547 main.printAverages+0x53 /home/pi/go/src/sonda/sonda.go:184 # 0x2fed43 main.printResultsThread.func2+0x43 /home/pi/go/src/sonda/sonda.go:158 0: 0 [19: 912] @ 0x2f7ffc 0x2e8664 0x2fd8f4 0x2fe384 0x2fecd4 0x68e64 # 0x2f7ffb github.com/eclipse/paho%2emqtt%2egolang.newToken+0x6b /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/token.go:108 # 0x2e8663 github.com/eclipse/paho%2emqtt%2egolang.(*client).Publish+0x2b /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/client.go:613 # 0x2fd8f3 main.publish+0x8f /home/pi/go/src/sonda/sonda.go:53 # 0x2fe383 main.printCurrent+0x187 /home/pi/go/src/sonda/sonda.go:174 # 0x2fecd3 main.printResultsThread.func1+0x43 /home/pi/go/src/sonda/sonda.go:148 0: 0 [4: 32] @ 0x1f55c 0x2f0f64 0x68e64 # 0x2f0f63 github.com/eclipse/paho%2emqtt%2egolang.outgoing+0x1a7 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:151 0: 0 [1: 8] @ 0x1f55c 0x2f6f3c 0x2f712c 0x2e889c 0x2fd8f4 0x2fe384 0x2fecd4 0x68e64 # 0x2f6f3b github.com/eclipse/paho%2emqtt%2egolang.outboundKeyFromMID+0x47 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/store.go:70 # 0x2f712b github.com/eclipse/paho%2emqtt%2egolang.persistOutbound+0x15f /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/store.go:88 # 0x2e889b github.com/eclipse/paho%2emqtt%2egolang.(*client).Publish+0x263 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/client.go:643 # 0x2fd8f3 main.publish+0x8f /home/pi/go/src/sonda/sonda.go:53 # 0x2fe383 main.printCurrent+0x187 /home/pi/go/src/sonda/sonda.go:174 # 0x2fecd3 main.printResultsThread.func1+0x43 /home/pi/go/src/sonda/sonda.go:148 0: 0 [17: 544] @ 0x2d9adc 0x2e87ac 0x2fd8f4 0x2fe384 0x2fecd4 0x68e64 # 0x2d9adb github.com/eclipse/paho.mqtt.golang/packets.NewControlPacket+0x57 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/packets/packets.go:146 # 0x2e87ab github.com/eclipse/paho%2emqtt%2egolang.(*client).Publish+0x173 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/client.go:623 # 0x2fd8f3 main.publish+0x8f /home/pi/go/src/sonda/sonda.go:53 # 0x2fe383 main.printCurrent+0x187 /home/pi/go/src/sonda/sonda.go:174 # 0x2fecd3 main.printResultsThread.func1+0x43 /home/pi/go/src/sonda/sonda.go:148 0: 0 [9: 288] @ 0x2e8a6c 0x2fd8f4 0x2fe384 0x2fecd4 0x68e64 # 0x2e8a6b github.com/eclipse/paho%2emqtt%2egolang.(*client).Publish+0x433 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/client.go:650 # 0x2fd8f3 main.publish+0x8f /home/pi/go/src/sonda/sonda.go:53 # 0x2fe383 main.printCurrent+0x187 /home/pi/go/src/sonda/sonda.go:174 # 0x2fecd3 main.printResultsThread.func1+0x43 /home/pi/go/src/sonda/sonda.go:148 0: 0 [8: 32768] @ 0x269660 0x26de9c 0x68e64 # 0x26965f net/http.newBufioWriterSize+0x7f /usr/local/go/src/net/http/server.go:816 # 0x26de9b net/http.(*conn).serve+0x37b /usr/local/go/src/net/http/server.go:1760 0: 0 [12: 192] @ 0x2e86b4 0x2fd8f4 0x2fe384 0x2fecd4 0x68e64 # 0x2e86b3 github.com/eclipse/paho%2emqtt%2egolang.(*client).Publish+0x7b /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/client.go:614 # 0x2fd8f3 main.publish+0x8f /home/pi/go/src/sonda/sonda.go:53 # 0x2fe383 main.printCurrent+0x187 /home/pi/go/src/sonda/sonda.go:174 # 0x2fecd3 main.printResultsThread.func1+0x43 /home/pi/go/src/sonda/sonda.go:148 0: 0 [1: 8] @ 0x26e3d4 0x68e64 # 0x26e3d3 net/http.(*conn).serve+0x8b3 /usr/local/go/src/net/http/server.go:1810 0: 0 [4: 1024] @ 0x29fde4 0x2fe53c 0x2fed44 0x68e64 # 0x29fde3 sonda/src.AverageDirection+0x123 /home/pi/go/src/sonda/src/tools.go:59 # 0x2fe53b main.printAverages+0x47 /home/pi/go/src/sonda/sonda.go:183 # 0x2fed43 main.printResultsThread.func2+0x43 /home/pi/go/src/sonda/sonda.go:158 0: 0 [1: 176] @ 0xf3894 0x2fea14 0x2fe548 0x2fed44 0x68e64 # 0xf3893 os/exec.Command+0xcb /usr/local/go/src/os/exec/exec.go:133 # 0x2fea13 main.raspiCpuTemp+0x4f /home/pi/go/src/sonda/sonda.go:231 # 0x2fe547 main.printAverages+0x53 /home/pi/go/src/sonda/sonda.go:184 # 0x2fed43 main.printResultsThread.func2+0x43 /home/pi/go/src/sonda/sonda.go:158 0: 0 [1: 64] @ 0x1676c 0x8f538 0x8f808 0x2e8c10 0x2fd8f4 0x2fe76c 0x2fed44 0x68e64 # 0x8f537 time.NewTimer+0x2b /usr/local/go/src/time/sleep.go:84 # 0x8f807 time.After+0x23 /usr/local/go/src/time/sleep.go:151 # 0x2e8c0f github.com/eclipse/paho%2emqtt%2egolang.(*client).Publish+0x5d7 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/client.go:657 # 0x2fd8f3 main.publish+0x8f /home/pi/go/src/sonda/sonda.go:53 # 0x2fe76b main.printAverages+0x277 /home/pi/go/src/sonda/sonda.go:198 # 0x2fed43 main.printResultsThread.func2+0x43 /home/pi/go/src/sonda/sonda.go:158 0: 0 [6: 96] @ 0x2d9f6c 0x2d985c 0x2f06f0 0x68e64 # 0x2d9f6b github.com/eclipse/paho.mqtt.golang/packets.NewControlPacketWithHeader+0x183 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/packets/packets.go:185 # 0x2d985b github.com/eclipse/paho.mqtt.golang/packets.ReadPacket+0xcb /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/packets/packets.go:115 # 0x2f06ef github.com/eclipse/paho%2emqtt%2egolang.incoming+0x14b /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:113 0: 0 [8: 64] @ 0x1f55c 0x2f11b0 0x68e64 # 0x2f11af github.com/eclipse/paho%2emqtt%2egolang.outgoing+0x3f3 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:179 0: 0 [9: 36864] @ 0x269448 0x26de64 0x68e64 # 0x269447 net/http.newBufioReader+0x143 /usr/local/go/src/net/http/server.go:799 # 0x26de63 net/http.(*conn).serve+0x343 /usr/local/go/src/net/http/server.go:1759 0: 0 [45: 4320] @ 0x2da450 0x2db380 0x2f1100 0x68e64 # 0x2da44f github.com/eclipse/paho.mqtt.golang/packets.(*FixedHeader).pack+0x27 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/packets/packets.go:240 # 0x2db37f github.com/eclipse/paho.mqtt.golang/packets.(*PublishPacket).Write+0x11f /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/packets/publish.go:31 # 0x2f10ff github.com/eclipse/paho%2emqtt%2egolang.outgoing+0x343 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:163 0: 0 [26: 832] @ 0x2db520 0x2f1100 0x68e64 # 0x2db51f github.com/eclipse/paho.mqtt.golang/packets.(*PublishPacket).Write+0x2bf /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/packets/publish.go:26 # 0x2f10ff github.com/eclipse/paho%2emqtt%2egolang.outgoing+0x343 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:163 0: 0 [1: 640] @ 0x7af74 0x7ae88 0x7ab04 0x260d88 0x261144 0x26bcec 0x267a60 0xd5a94 0x26d27c 0x26d06c 0x11c918 0x11c64c 0x11c19c 0x11c028 0x14d3f0 0x2a0924 0x2a0c54 0x26f450 0x2703e8 0x271340 0x26e048 0x68e64 # 0x7af73 sync.(*Pool).pinSlow+0xcb /usr/local/go/src/sync/pool.go:205 # 0x7ae87 sync.(*Pool).pin+0x77 /usr/local/go/src/sync/pool.go:184 # 0x7ab03 sync.(*Pool).Get+0x1b /usr/local/go/src/sync/pool.go:121 # 0x260d87 net/http.Header.sortedKeyValues+0x1f /usr/local/go/src/net/http/header.go:130 # 0x261143 net/http.Header.WriteSubset+0x6b /usr/local/go/src/net/http/header.go:152 # 0x26bceb net/http.(*chunkWriter).writeHeader+0x773 /usr/local/go/src/net/http/server.go:1383 # 0x267a5f net/http.(*chunkWriter).Write+0x27b /usr/local/go/src/net/http/server.go:347 # 0xd5a93 bufio.(*Writer).Write+0x133 /usr/local/go/src/bufio/bufio.go:598 # 0x26d27b net/http.(*response).write+0x17b /usr/local/go/src/net/http/server.go:1525 # 0x26d06b net/http.(*response).Write+0x47 /usr/local/go/src/net/http/server.go:1495 # 0x11c917 text/template.(*state).walk+0x3cf /usr/local/go/src/text/template/exec.go:247 # 0x11c64b text/template.(*state).walk+0x103 /usr/local/go/src/text/template/exec.go:240 # 0x11c19b text/template.(*Template).execute+0x153 /usr/local/go/src/text/template/exec.go:195 # 0x11c027 text/template.(*Template).Execute+0x3b /usr/local/go/src/text/template/exec.go:178 # 0x14d3ef html/template.(*Template).Execute+0x67 /usr/local/go/src/html/template/template.go:120 # 0x2a0923 sonda/src.(*WebServer).home+0xcb /home/pi/go/src/sonda/src/ws.go:83 # 0x2a0c53 sonda/src.(*WebServer).(sonda/src.home)-fm+0x33 /home/pi/go/src/sonda/src/ws.go:28 # 0x26f44f net/http.HandlerFunc.ServeHTTP+0x33 /usr/local/go/src/net/http/server.go:1942 # 0x2703e7 net/http.(*ServeMux).ServeHTTP+0x107 /usr/local/go/src/net/http/server.go:2238 # 0x27133f net/http.serverHandler.ServeHTTP+0x7b /usr/local/go/src/net/http/server.go:2568 # 0x26e047 net/http.(*conn).serve+0x527 /usr/local/go/src/net/http/server.go:1825 0: 0 [3: 48] @ 0x2e8ba8 0x2fd8f4 0x2fe384 0x2fecd4 0x68e64 # 0x2e8ba7 github.com/eclipse/paho%2emqtt%2egolang.(*client).Publish+0x56f /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/client.go:656 # 0x2fd8f3 main.publish+0x8f /home/pi/go/src/sonda/sonda.go:53 # 0x2fe383 main.printCurrent+0x187 /home/pi/go/src/sonda/sonda.go:174 # 0x2fecd3 main.printResultsThread.func1+0x43 /home/pi/go/src/sonda/sonda.go:148 0: 0 [6: 96] @ 0x1f55c 0x2f122c 0x68e64 # 0x2f122b github.com/eclipse/paho%2emqtt%2egolang.outgoing+0x46f /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:179 0: 0 [49: 784] @ 0x1f55c 0x2fdd88 0x3f514 0x68e64 # 0x2fdd87 main.main+0x3bf /home/pi/go/src/sonda/sonda.go:101 # 0x3f513 runtime.main+0x1e3 /usr/local/go/src/runtime/proc.go:185 0: 0 [6: 3072] @ 0x29fe1c 0x2fe53c 0x2fed44 0x68e64 # 0x29fe1b sonda/src.AverageDirection+0x15b /home/pi/go/src/sonda/src/tools.go:58 # 0x2fe53b main.printAverages+0x47 /home/pi/go/src/sonda/sonda.go:183 # 0x2fed43 main.printResultsThread.func2+0x43 /home/pi/go/src/sonda/sonda.go:158 0: 0 [5: 40] @ 0x1f55c 0x2e870c 0x2fd8f4 0x2fe384 0x2fecd4 0x68e64 # 0x2e870b github.com/eclipse/paho%2emqtt%2egolang.(*client).Publish+0xd3 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/client.go:614 # 0x2fd8f3 main.publish+0x8f /home/pi/go/src/sonda/sonda.go:53 # 0x2fe383 main.printCurrent+0x187 /home/pi/go/src/sonda/sonda.go:174 # 0x2fecd3 main.printResultsThread.func1+0x43 /home/pi/go/src/sonda/sonda.go:148 0: 0 [16: 24576] @ 0xd0b0c 0xd0a58 0xf04fc 0xf06ac 0x2fe8ac 0x2fe554 0x2fed44 0x68e64 # 0xd0b0b bytes.makeSlice+0x57 /usr/local/go/src/bytes/buffer.go:201 # 0xd0a57 bytes.(*Buffer).ReadFrom+0x26f /usr/local/go/src/bytes/buffer.go:173 # 0xf04fb io/ioutil.readAll+0xcf /usr/local/go/src/io/ioutil/ioutil.go:33 # 0xf06ab io/ioutil.ReadFile+0xc3 /usr/local/go/src/io/ioutil/ioutil.go:70 # 0x2fe8ab main.raspiLoad+0x23 /home/pi/go/src/sonda/sonda.go:209 # 0x2fe553 main.printAverages+0x5f /home/pi/go/src/sonda/sonda.go:185 # 0x2fed43 main.printResultsThread.func2+0x43 /home/pi/go/src/sonda/sonda.go:158 0: 0 [49: 4704] @ 0x2d9964 0x2f06f0 0x68e64 # 0x2d9963 github.com/eclipse/paho.mqtt.golang/packets.ReadPacket+0x1d3 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/packets/packets.go:129 # 0x2f06ef github.com/eclipse/paho%2emqtt%2egolang.incoming+0x14b /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:113 0: 0 [57: 5472] @ 0x2db36c 0x2f1100 0x68e64 # 0x2db36b github.com/eclipse/paho.mqtt.golang/packets.(*PublishPacket).Write+0x10b /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/packets/publish.go:31 # 0x2f10ff github.com/eclipse/paho%2emqtt%2egolang.outgoing+0x343 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:163 0: 0 [31: 1984] @ 0x1676c 0x8f538 0x8f808 0x2e8c10 0x2fd8f4 0x2fe384 0x2fecd4 0x68e64 # 0x8f537 time.NewTimer+0x2b /usr/local/go/src/time/sleep.go:84 # 0x8f807 time.After+0x23 /usr/local/go/src/time/sleep.go:151 # 0x2e8c0f github.com/eclipse/paho%2emqtt%2egolang.(*client).Publish+0x5d7 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/client.go:657 # 0x2fd8f3 main.publish+0x8f /home/pi/go/src/sonda/sonda.go:53 # 0x2fe383 main.printCurrent+0x187 /home/pi/go/src/sonda/sonda.go:174 # 0x2fecd3 main.printResultsThread.func1+0x43 /home/pi/go/src/sonda/sonda.go:148 0: 0 [1: 32] @ 0x56770 0x563f0 0x565b0 0x2a08a4 0x2a0c54 0x26f450 0x2703e8 0x271340 0x26e048 0x68e64 # 0x2a08a3 sonda/src.(*WebServer).home+0x4b /home/pi/go/src/sonda/src/ws.go:83 # 0x2a0c53 sonda/src.(*WebServer).(sonda/src.home)-fm+0x33 /home/pi/go/src/sonda/src/ws.go:28 # 0x26f44f net/http.HandlerFunc.ServeHTTP+0x33 /usr/local/go/src/net/http/server.go:1942 # 0x2703e7 net/http.(*ServeMux).ServeHTTP+0x107 /usr/local/go/src/net/http/server.go:2238 # 0x27133f net/http.serverHandler.ServeHTTP+0x7b /usr/local/go/src/net/http/server.go:2568 # 0x26e047 net/http.(*conn).serve+0x527 /usr/local/go/src/net/http/server.go:1825 0: 0 [9: 144] @ 0x1f55c 0x2f12e8 0x68e64 # 0x2f12e7 github.com/eclipse/paho%2emqtt%2egolang.outgoing+0x52b /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:199 0: 0 [3: 24] @ 0x1f55c 0x2f2134 0x68e64 # 0x2f2133 github.com/eclipse/paho%2emqtt%2egolang.alllogic+0x2bf /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:217 0: 0 [84: 16128] @ 0xd0b0c 0xd04fc 0xd06ac 0x2db418 0x2f1100 0x68e64 # 0xd0b0b bytes.makeSlice+0x57 /usr/local/go/src/bytes/buffer.go:201 # 0xd04fb bytes.(*Buffer).grow+0x153 /usr/local/go/src/bytes/buffer.go:109 # 0xd06ab bytes.(*Buffer).Write+0x2b /usr/local/go/src/bytes/buffer.go:137 # 0x2db417 github.com/eclipse/paho.mqtt.golang/packets.(*PublishPacket).Write+0x1b7 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/packets/publish.go:33 # 0x2f10ff github.com/eclipse/paho%2emqtt%2egolang.outgoing+0x343 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:163 0: 0 [31: 1984] @ 0x56770 0x5669c 0xbc738 0x2fe328 0x2fecd4 0x68e64 # 0xbc737 fmt.Sprintf+0x73 /usr/local/go/src/fmt/print.go:197 # 0x2fe327 main.printCurrent+0x12b /home/pi/go/src/sonda/sonda.go:171 # 0x2fecd3 main.printResultsThread.func1+0x43 /home/pi/go/src/sonda/sonda.go:148 0: 0 [38: 2432] @ 0x56838 0x2e9118 0x2fd8f4 0x2fe384 0x2fecd4 0x68e64 # 0x2e9117 github.com/eclipse/paho%2emqtt%2egolang.(*client).Publish+0xadf /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/client.go:629 # 0x2fd8f3 main.publish+0x8f /home/pi/go/src/sonda/sonda.go:53 # 0x2fe383 main.printCurrent+0x187 /home/pi/go/src/sonda/sonda.go:174 # 0x2fecd3 main.printResultsThread.func1+0x43 /home/pi/go/src/sonda/sonda.go:148 0: 0 [34: 2176] @ 0x2f7fe8 0x2e8664 0x2fd8f4 0x2fe384 0x2fecd4 0x68e64 # 0x2f7fe7 github.com/eclipse/paho%2emqtt%2egolang.newToken+0x57 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/token.go:108 # 0x2e8663 github.com/eclipse/paho%2emqtt%2egolang.(*client).Publish+0x2b /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/client.go:613 # 0x2fd8f3 main.publish+0x8f /home/pi/go/src/sonda/sonda.go:53 # 0x2fe383 main.printCurrent+0x187 /home/pi/go/src/sonda/sonda.go:174 # 0x2fecd3 main.printResultsThread.func1+0x43 /home/pi/go/src/sonda/sonda.go:148 0: 0 [16: 24576] @ 0xd0b0c 0xd0a58 0x7c47c 0x7c0ec 0xf7398 0xf73f8 0x68e64 # 0xd0b0b bytes.makeSlice+0x57 /usr/local/go/src/bytes/buffer.go:201 # 0xd0a57 bytes.(*Buffer).ReadFrom+0x26f /usr/local/go/src/bytes/buffer.go:173 # 0x7c47b io.copyBuffer+0x283 /usr/local/go/src/io/io.go:384 # 0x7c0eb io.Copy+0x47 /usr/local/go/src/io/io.go:360 # 0xf7397 os/exec.(*Cmd).writerDescriptor.func1+0x37 /usr/local/go/src/os/exec/exec.go:254 # 0xf73f7 os/exec.(*Cmd).Start.func1+0x1b /usr/local/go/src/os/exec/exec.go:371 0: 0 [50: 4800] @ 0x2db280 0x2f1100 0x68e64 # 0x2db27f github.com/eclipse/paho.mqtt.golang/packets.(*PublishPacket).Write+0x1f /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/packets/publish.go:23 # 0x2f10ff github.com/eclipse/paho%2emqtt%2egolang.outgoing+0x343 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:163 0: 0 [5: 40] @ 0x1f55c 0x2f079c 0x68e64 # 0x2f079b github.com/eclipse/paho%2emqtt%2egolang.incoming+0x1f7 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:116 0: 0 [1937: 15496] @ 0x1f55c 0x2fde6c 0x3f514 0x68e64 # 0x2fde6b main.main+0x4a3 /home/pi/go/src/sonda/sonda.go:124 # 0x3f513 runtime.main+0x1e3 /usr/local/go/src/runtime/proc.go:185 0: 0 [4: 32] @ 0x1f55c 0x2ee598 0x2f7774 0x2f21ec 0x68e64 # 0x2ee597 github.com/eclipse/paho%2emqtt%2egolang.(*MemoryStore).Del+0x13b /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/memstore.go:113 # 0x2f7773 github.com/eclipse/paho%2emqtt%2egolang.persistInbound+0x25b /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/store.go:112 # 0x2f21eb github.com/eclipse/paho%2emqtt%2egolang.alllogic+0x377 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:218 0: 0 [234: 7667712] @ 0x7c450 0x7c0ec 0xf7398 0xf73f8 0x68e64 # 0x7c44f io.copyBuffer+0x257 /usr/local/go/src/io/io.go:387 # 0x7c0eb io.Copy+0x47 /usr/local/go/src/io/io.go:360 # 0xf7397 os/exec.(*Cmd).writerDescriptor.func1+0x37 /usr/local/go/src/os/exec/exec.go:254 # 0xf73f7 os/exec.(*Cmd).Start.func1+0x1b /usr/local/go/src/os/exec/exec.go:371 0: 0 [17: 544] @ 0x2f1194 0x68e64 # 0x2f1193 github.com/eclipse/paho%2emqtt%2egolang.outgoing+0x3d7 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:179 0: 0 [1: 32768] @ 0x2b2298 0x2b2cfc 0x2b4f30 0x2b7970 0x2b7778 0x2f4748 0x2fd670 0x2fd9ec 0x3f514 0x68e64 # 0x2b2297 regexp.(*bitState).reset+0x16b /usr/local/go/src/regexp/backtrack.go:86 # 0x2b2cfb regexp.(*machine).backtrack+0x83 /usr/local/go/src/regexp/backtrack.go:321 # 0x2b4f2f regexp.(*Regexp).doExecute+0x23b /usr/local/go/src/regexp/exec.go:439 # 0x2b796f regexp.(*Regexp).replaceAll+0xeb /usr/local/go/src/regexp/regexp.go:507 # 0x2b7777 regexp.(*Regexp).ReplaceAllLiteralString+0x73 /usr/local/go/src/regexp/regexp.go:477 # 0x2f4747 github.com/eclipse/paho%2emqtt%2egolang.(*ClientOptions).AddBroker+0xa3 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/options.go:145 # 0x2fd66f main.initMqtt+0x8b /home/pi/go/src/sonda/sonda.go:37 # 0x2fd9eb main.main+0x23 /home/pi/go/src/sonda/sonda.go:59 # 0x3f513 runtime.main+0x1e3 /usr/local/go/src/runtime/proc.go:185 0: 0 [1: 768] @ 0x2a30d8 0x2a1644 0x2a206c 0x2a1d14 0x2a11a8 0x2b6744 0x2b667c 0x2b6cc4 0x2ccd38 0x2d6550 0x2d7ff4 0x2fedc8 0x3f4c8 0x68e64 # 0x2a30d7 regexp/syntax.(*compiler).rune+0x277 /usr/local/go/src/regexp/syntax/compile.go:267 # 0x2a1643 regexp/syntax.(*compiler).compile+0x283 /usr/local/go/src/regexp/syntax/compile.go:119 # 0x2a206b regexp/syntax.(*compiler).compile+0xcab /usr/local/go/src/regexp/syntax/compile.go:144 # 0x2a1d13 regexp/syntax.(*compiler).compile+0x953 /usr/local/go/src/regexp/syntax/compile.go:156 # 0x2a11a7 regexp/syntax.Compile+0xab /usr/local/go/src/regexp/syntax/compile.go:83 # 0x2b6743 regexp.compile+0x8f /usr/local/go/src/regexp/regexp.go:175 # 0x2b667b regexp.Compile+0x33 /usr/local/go/src/regexp/regexp.go:132 # 0x2b6cc3 regexp.MustCompile+0x23 /usr/local/go/src/regexp/regexp.go:235 # 0x2ccd37 internal/pprof/profile.init+0x25f /usr/local/go/src/internal/pprof/profile/legacy_profile.go:39 # 0x2d654f runtime/pprof.init+0x4b /usr/local/go/src/runtime/pprof/pprof.go:835 # 0x2d7ff3 net/http/pprof.init+0x63 /usr/local/go/src/net/http/pprof/pprof.go:250 # 0x2fedc7 main.init+0x57 /home/pi/go/src/sonda/sonda.go:240 # 0x3f4c7 runtime.main+0x197 /usr/local/go/src/runtime/proc.go:173 0: 0 [401: 3208] @ 0x1f55c 0x2fe024 0x3f514 0x68e64 # 0x2fe023 main.main+0x65b /home/pi/go/src/sonda/sonda.go:115 # 0x3f513 runtime.main+0x1e3 /usr/local/go/src/runtime/proc.go:185 # runtime.MemStats # Alloc = 820216 # TotalAlloc = 1854465928 # Sys = 28646524 # Lookups = 67923 # Mallocs = 174615439 # Frees = 174588031 # HeapAlloc = 820216 # HeapSys = 3932160 # HeapIdle = 2457600 # HeapInuse = 1474560 # HeapReleased = 0 # HeapObjects = 27408 # Stack = 4456448 / 4456448 # MSpan = 30544 / 49152 # MCache = 2400 / 16384 # BuckHashSys = 735554 # GCSys = 18065408 # OtherSys = 1391418 # NextGC = 4194304 # PauseNs = [6397009 333384 418488 6377635 334633 182761 291457 409737 313073 314738 312291 374479 371197 335207 316562 299374 3273478 278384 415311 321145 284167 8131431 389478 370936 439998 5599564 462602 464894 281978 281093 318750 272655 5532220 326301 283332 293593 297812 274322 504166 11670016 5673576 4076394 370989 402811 448019 395051 257603 319270 285155 315104 310729 1459734 268959 273436 267082 5505242 266146 319374 10250388 318905 305155 5674202 512863 316614 400572 286978 284895 274426 280416 270988 258645 266562 264686 230677 290363 240832 2862021 434114 266145 406978 409947 263593 363696 519946 9286844 351821 2479627 288385 281354 481353 311040 267968 5453159 311562 6133365 341353 270521 251249 359114 1743276 301926 325103 334322 6686385 7608464 5823575 416718 448384 573748 307603 331352 294530 6439197 460103 340624 309374 295415 380259 388384 348489 294061 333541 407394 284218 282186 359581 2736865 346614 356873 930205 320625 308228 341823 323437 385259 336457 390415 1800411 324270 6125865 273540 2981865 305521 338071 409218 315103 336457 353696 443800 299999 298540 273750 5887949 275937 286405 5779145 341823 284895 528385 296092 284844 3884934 308488 312031 267083 231249 429895 433383 269946 360467 1302547 256196 288958 5979145 5708105 353592 6920912 6382269 335468 6652684 5292377 321250 245259 263019 369218 205625 8131949 5499823 334999 497914 5095190 334322 4127017 383332 1246714 299894 359530 329374 251041 351301 190364 322915 351874 6437163 351560 336301 7690544 283384 296249 2808479 305416 397239 287134 334373 352134 402030 397395 2928688 372759 274426 297812 275415 6442477 371718 3389050 321248 299530 390885 269634 5565865 344270 6376435 1408849 353593 308229 299635 6443675 366925 413748 323593 1160048 322187 280832 6491070 388228 396925 346925 290781 1741452 268853 348228 350311 389530 268853 5586752 315103] # NumGC = 2245 # DebugGC = false