Skip to content

Instantly share code, notes, and snippets.

@michaelsbradleyjr
Created July 20, 2020 16:39
Show Gist options
  • Save michaelsbradleyjr/d7d2b900a016c94701ebe46ed4bf6b43 to your computer and use it in GitHub Desktop.
Save michaelsbradleyjr/d7d2b900a016c94701ebe46ed4bf6b43 to your computer and use it in GitHub Desktop.
$ rm -rf data && mingw32-make.exe run V=1
echo -e "\e[92mRunning:\e[39m bin/nim_status_client.exe"
Running: bin/nim_status_client.exe
NIM_STATUS_CLIENT_DEV="t" \
PATH="/c/Users/michael/repos/nim-status-client"/"vendor/DOtherSide/build/lib/Release":"/c/Users/michael/repos/nim-status-client"/"tmp/windows/tools":"C:\Qt\Tools\CMake_64\bin;C:\Qt\Tools\mingw730_64\bin;C:\Qt\Tools\QtInstallerFramework\3.2\bin;C:\Qt\5.14.2\msvc2017_64\bin;C:\Users\michael\scoop\shims;C:\Users\michael\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\local\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\michael\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Users\michael\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\WINDOWS\System32\OpenSSH;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\Program Files\Docker\Docker\resources\bin;C:\ProgramData\DockerDesktop\version-bin;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Git\cmd;C:\Program Files\dotnet;C:\Users\michael\go\bin;C:\Users\michael\scoop\apps\adopt14-hotspot\current\bin;C:\Users\michael\.nimble\bin;C:\Users\michael\scoop\shims;C:\Users\michael\.windows-build-tools\python27;C:\Users\michael\AppData\Roaming\nvm\v8.12.0\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Program Files\nodejs\node_modules\windows-build-tools\node_modules\.bin;C:\Program Files\nodejs\node_modules\.bin;C:\Users\michael\Downloads\cmder_mini\bin;C:\Users\michael\Downloads\cmder_mini\vendor\conemu-maximus5\ConEmu\Scripts;C:\Users\michael\Downloads\cmder_mini\vendor\conemu-maximus5;C:\Users\michael\Downloads\cmder_mini\vendor\conemu-maximus5\ConEmu;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\iCLS;C:\Program Files\Intel\Intel(R) Management Engine Components\iCLS;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\Users\michael\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\Users\michael\AppData\Local\Microsoft\WindowsApps;C:\Users\michael\Downloads\cmder_mini;C:\Users\michael\AppData\Local\Microsoft\WindowsApps;C:\Users\michael\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\michael\AppData\Local\hyper\app-2.0.0\resources\bin;C:\Users\michael\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\Program Files\Git\usr\bin\vendor_perl;C:\Program Files\Git\usr\bin\core_perl" \
./bin/nim_status_client.exe
INF 2020-07-20 11:35:32-05:00 Starting application... topics="main" tid=768 file=nim_status_client.nim:148
DBG 2020-07-20 11:35:44-05:00 Account saved succesfully tid=768 file=accounts.nim:96
there is no running node
WRN 2020-07-20 11:35:44-05:00 Unhandled signal received topics="signals" tid=768 file=core.nim:76 type=discovery.started
DBG 2020-07-20 11:35:45-05:00 calling json topics="rpc" tid=768 file=core.nim:20 request="{\"jsonrpc\":\"2.0\",\"method\":\"web3_clientVersion\",\"params\":[]}"
DBG 2020-07-20 11:35:45-05:00 calling json topics="rpc" tid=768 file=core.nim:20 request="{\"jsonrpc\":\"2.0\",\"method\":\"wakuext_startMessenger\",\"params\":[]}"
DBG 2020-07-20 11:35:45-05:00 calling json topics="rpc" tid=768 file=core.nim:20 request="{\"jsonrpc\":\"2.0\",\"method\":\"settings_getSettings\",\"params\":[]}"
DBG 2020-07-20 11:35:45-05:00 calling json topics="rpc" tid=768 file=core.nim:20 request="{\"jsonrpc\":\"2.0\",\"method\":\"wakuext_getOurInstallations\",\"params\":[]}"
DBG 2020-07-20 11:35:45-05:00 calling json topics="rpc" tid=768 file=core.nim:20 request="{\"jsonrpc\":\"2.0\",\"method\":\"wakuext_contacts\",\"params\":[]}"
DBG 2020-07-20 11:35:45-05:00 calling json topics="rpc" tid=768 file=core.nim:20 request="{\"jsonrpc\":\"2.0\",\"method\":\"wallet_getCustomTokens\",\"params\":[]}"
DBG 2020-07-20 11:35:45-05:00 calling json topics="rpc" tid=768 file=core.nim:20 request="{\"jsonrpc\":\"2.0\",\"method\":\"accounts_getAccounts\",\"params\":[]}"
DBG 2020-07-20 11:35:45-05:00 calling json topics="rpc" tid=768 file=core.nim:20 request="{\"jsonrpc\":\"2.0\",\"method\":\"eth_getBalance\",\"params\":[\"0x8781f7cd4929d983a2125dbde0d3d9e542c5c2bb\",\"latest\"]}"
DBG 2020-07-20 11:35:46-05:00 calling json topics="rpc" tid=768 file=core.nim:20 request="{\"jsonrpc\":\"2.0\",\"method\":\"wakuext_chats\",\"params\":[]}"
WRN 2020-07-20 11:35:46-05:00 Automatically switching mailserver topics="mailserver-model" tid=13400 file=mailservers.nim:159
DBG 2020-07-20 11:35:46-05:00 calling json topics="rpc" tid=768 file=core.nim:20 request="{\"jsonrpc\":\"2.0\",\"method\":\"accounts_getAccounts\",\"params\":[]}"
DBG 2020-07-20 11:35:46-05:00 calling json topics="rpc" tid=13400 file=core.nim:20 request="{\"jsonrpc\":\"2.0\",\"method\":\"mailservers_ping\",\"params\":[{\"addresses\":[\"enode://606ae04a71e5db868a722c77a21c8244ae38f1bd6e81687cc6cfe88a3063fa1c245692232f64f45bd5408fed5133eab8ed78049332b04f9c110eac7f71c1b429@47.75.247.214:443\",\"enode://c42f368a23fa98ee546fd247220759062323249ef657d26d357a777443aec04db1b29a3a22ef3e7c548e18493ddaf51a31b0aed6079bd6ebe5ae838fcfaf3a49@178.128.142.54:443\",\"enode://ee2b53b0ace9692167a410514bca3024695dbf0e1a68e1dff9716da620efb195f04a4b9e873fb9b74ac84de801106c465b8e2b6c4f0d93b8749d1578bfcaf03e@104.197.238.144:443\",\"enode://2c8de3cbb27a3d30cbb5b3e003bc722b126f5aef82e2052aaef032ca94e0c7ad219e533ba88c70585ebd802de206693255335b100307645ab5170e88620d2a81@47.244.221.14:443\",\"enode://7aa648d6e855950b2e3d3bf220c496e0cae4adfddef3e1e6062e6b177aec93bc6cdcf1282cb40d1656932ebfdd565729da440368d7c4da7dbd4d004b1ac02bf8@178.128.142.26:443\",\"enode://30211cbd81c25f07b03a0196d56e6ce4604bb13db773ff1c0ea2253547fafd6c06eae6ad3533e2ba39d59564cfbdbb5e2ce7c137a5ebb85e99dcfc7a75f99f55@23.236.58.92:443\",\"enode://e85f1d4209f2f99da801af18db8716e584a28ad0bdc47fbdcd8f26af74dbd97fc279144680553ec7cd9092afe683ddea1e0f9fc571ebcb4b1d857c03a088853d@47.244.129.82:443\",\"enode://8a64b3c349a2e0ef4a32ea49609ed6eb3364be1110253c20adc17a3cebbc39a219e5d3e13b151c0eee5d8e0f9a8ba2cd026014e67b41a4ab7d1d5dd67ca27427@178.128.142.94:443\",\"enode://44160e22e8b42bd32a06c1532165fa9e096eebedd7fa6d6e5f8bbef0440bc4a4591fe3651be68193a7ec029021cdb496cfe1d7f9f1dc69eb99226e6f39a7a5d4@35.225.221.245:443\"],\"timeoutMs\":500}]}"
DBG 2020-07-20 11:35:46-05:00 calling json topics="rpc" tid=768 file=core.nim:20 request="{\"jsonrpc\":\"2.0\",\"method\":\"eth_call\",\"params\":[{\"to\":\"0x110101156e8f0743948b2a61afcf3994a8fb172e\",\"data\":\"0x70A082310000000000000000000000008781f7cd4929d983a2125dbde0d3d9e542c5c2bb\"},\"latest\"]}"
DBG 2020-07-20 11:35:46-05:00 Connecting to mailserver topics="mailserver-model" tid=13400 file=mailservers.nim:83 enode=enode://e85f1d4209f2f99da801af18db8716e584a28ad0bdc47fbdcd8f26af74dbd97fc279144680553ec7cd9092afe683ddea1e0f9fc571ebcb4b1d857c03a088853d@47.244.129.82:443
DBG 2020-07-20 11:35:46-05:00 calling json topics="rpc" tid=13400 file=core.nim:20 request="{\"jsonrpc\":\"2.0\",\"method\":\"admin_addPeer\",\"params\":[\"enode://e85f1d4209f2f99da801af18db8716e584a28ad0bdc47fbdcd8f26af74dbd97fc279144680553ec7cd9092afe683ddea1e0f9fc571ebcb4b1d857c03a088853d@47.244.129.82:443\"]}"
DBG 2020-07-20 11:35:46-05:00 calling json topics="rpc" tid=13400 file=core.nim:20 request="{\"jsonrpc\":\"2.0\",\"method\":\"wakuext_updateMailservers\",\"params\":[[\"enode://e85f1d4209f2f99da801af18db8716e584a28ad0bdc47fbdcd8f26af74dbd97fc279144680553ec7cd9092afe683ddea1e0f9fc571ebcb4b1d857c03a088853d@47.244.129.82:443\"]]}"
DBG 2020-07-20 11:35:46-05:00 calling json topics="rpc" tid=13400 file=core.nim:20 request="{\"jsonrpc\":\"2.0\",\"method\":\"wakuext_updateMailservers\",\"params\":[[\"enode://e85f1d4209f2f99da801af18db8716e584a28ad0bdc47fbdcd8f26af74dbd97fc279144680553ec7cd9092afe683ddea1e0f9fc571ebcb4b1d857c03a088853d@47.244.129.82:443\"]]}"
DBG 2020-07-20 11:35:46-05:00 calling json topics="rpc" tid=768 file=core.nim:20 request="{\"jsonrpc\":\"2.0\",\"method\":\"eth_call\",\"params\":[{\"to\":\"0x0577215622f43a39f4bc9640806dfea9b10d2a36\",\"data\":\"0x61BD6725000000000000000000000000\"},\"latest\"]}"
DBG 2020-07-20 11:35:46-05:00 calling json topics="rpc" tid=768 file=core.nim:20 request="{\"jsonrpc\":\"2.0\",\"method\":\"eth_call\",\"params\":[{\"to\":\"0x0577215622f43a39f4bc9640806dfea9b10d2a36\",\"data\":\"0xD2BF36C00000000000000000000000000000000000000000000000000000000000000000\"},\"latest\"]}"
DBG 2020-07-20 11:35:46-05:00 calling json topics="rpc" tid=768 file=core.nim:20 request="{\"jsonrpc\":\"2.0\",\"method\":\"eth_call\",\"params\":[{\"to\":\"0x0577215622f43a39f4bc9640806dfea9b10d2a36\",\"data\":\"0xD2BF36C00000000000000000000000000000000000000000000000000000000000000001\"},\"latest\"]}"
DBG 2020-07-20 11:35:47-05:00 calling json topics="rpc" tid=768 file=core.nim:20 request="{\"jsonrpc\":\"2.0\",\"method\":\"eth_call\",\"params\":[{\"to\":\"0x0577215622f43a39f4bc9640806dfea9b10d2a36\",\"data\":\"0xD2BF36C00000000000000000000000000000000000000000000000000000000000000002\"},\"latest\"]}"
DBG 2020-07-20 11:35:47-05:00 calling json topics="rpc" tid=768 file=core.nim:20 request="{\"jsonrpc\":\"2.0\",\"method\":\"eth_call\",\"params\":[{\"to\":\"0x0577215622f43a39f4bc9640806dfea9b10d2a36\",\"data\":\"0xD2BF36C00000000000000000000000000000000000000000000000000000000000000003\"},\"latest\"]}"
DBG 2020-07-20 11:35:47-05:00 calling json topics="rpc" tid=768 file=core.nim:20 request="{\"jsonrpc\":\"2.0\",\"method\":\"eth_call\",\"params\":[{\"to\":\"0x0577215622f43a39f4bc9640806dfea9b10d2a36\",\"data\":\"0xD2BF36C00000000000000000000000000000000000000000000000000000000000000004\"},\"latest\"]}"
DBG 2020-07-20 11:35:47-05:00 calling json topics="rpc" tid=768 file=core.nim:20 request="{\"jsonrpc\":\"2.0\",\"method\":\"eth_call\",\"params\":[{\"to\":\"0x0577215622f43a39f4bc9640806dfea9b10d2a36\",\"data\":\"0xD2BF36C00000000000000000000000000000000000000000000000000000000000000005\"},\"latest\"]}"
DBG 2020-07-20 11:35:48-05:00 New signal received tid=768 file=core.nim:44
DBG 2020-07-20 11:35:48-05:00 calling json topics="rpc" tid=768 file=core.nim:20 request="{\"jsonrpc\":\"2.0\",\"method\":\"waku_markTrustedPeer\",\"params\":[\"enode://e85f1d4209f2f99da801af18db8716e584a28ad0bdc47fbdcd8f26af74dbd97fc279144680553ec7cd9092afe683ddea1e0f9fc571ebcb4b1d857c03a088853d@47.244.129.82:443\"]}"
DBG 2020-07-20 11:35:48-05:00 Mailserver available topics="mailserver-model" tid=768 file=mailservers.nim:63 enode=enode://e85f1d4209f2f99da801af18db8716e584a28ad0bdc47fbdcd8f26af74dbd97fc279144680553ec7cd9092afe683ddea1e0f9fc571ebcb4b1d857c03a088853d@47.244.129.82:443
DBG 2020-07-20 11:35:48-05:00 Requesting messages from topics="mailserver-model" tid=768 file=mailservers.nim:136 mailserver=enode://e85f1d4209f2f99da801af18db8716e584a28ad0bdc47fbdcd8f26af74dbd97fc279144680553ec7cd9092afe683ddea1e0f9fc571ebcb4b1d857c03a088853d@47.244.129.82:443
DBG 2020-07-20 11:35:48-05:00 calling json topics="rpc" tid=768 file=core.nim:20 request="{\"jsonrpc\":\"2.0\",\"method\":\"waku_generateSymKeyFromPassword\",\"params\":[\"status-offline-inbox\"]}"
DBG 2020-07-20 11:35:48-05:00 calling json topics="rpc" tid=768 file=core.nim:20 request="{\"jsonrpc\":\"2.0\",\"method\":\"wakuext_requestMessages\",\"params\":[{\"topics\":[],\"mailServerPeer\":\"enode://e85f1d4209f2f99da801af18db8716e584a28ad0bdc47fbdcd8f26af74dbd97fc279144680553ec7cd9092afe683ddea1e0f9fc571ebcb4b1d857c03a088853d@47.244.129.82:443\",\"symKeyID\":\"1d34c305b6afa802422adadfff864b486c9fabd89a0b0a2afd2e498548ea96c2\",\"timeout\":30,\"limit\":1000,\"cursor\":null,\"from\":1595176548}]}"
{"jsonrpc":"2.0","id":0,"result":"0x83c58d081e643ec3805d16f12037ed4bb7fe319d8d445a09e5543ca50f0d51aa"}
DBG 2020-07-20 11:35:48-05:00 New signal received tid=768 file=core.nim:44
DBG 2020-07-20 11:35:48-05:00 New signal received tid=768 file=core.nim:44
WRN 2020-07-20 11:35:48-05:00 Unhandled signal received topics="signals" tid=768 file=core.nim:76 type=mailserver.request.completed
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x1541ccf]
goroutine 416 [running]:
github.com/status-im/status-go/peers.(*TopicPool).processFoundNode(0xc0000ec4b0, 0xc00014c000, 0xc0022f8700, 0x0, 0x0)
C:/Users/michael/repos/nim-status-client/vendor/status-go/peers/topicpool.go:504 +0x63f
github.com/status-im/status-go/peers.(*TopicPool).handleFoundPeers(0xc0000ec4b0, 0xc00014c000, 0xc000506a20, 0xc00051a0e0)
C:/Users/michael/repos/nim-status-client/vendor/status-go/peers/topicpool.go:459 +0x229
github.com/status-im/status-go/peers.(*TopicPool).StartSearch.func2(0xc0000ec4b0, 0xc00014c000, 0xc000506a20, 0xc00051a0e0)
C:/Users/michael/repos/nim-status-client/vendor/status-go/peers/topicpool.go:441 +0x50
created by github.com/status-im/status-go/peers.(*TopicPool).StartSearch
C:/Users/michael/repos/nim-status-client/vendor/status-go/peers/topicpool.go:440 +0x39f
mingw32-make: *** [Makefile:391: run-windows] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment