{"action":"created","issue":{"url":"https://api.github.com/repos/decred/dcrdata/issues/610","repository_url":"https://api.github.com/repos/decred/dcrdata","labels_url":"https://api.github.com/repos/decred/dcrdata/issues/610/labels{/name}","comments_url":"https://api.github.com/repos/decred/dcrdata/issues/610/comments","events_url":"https://api.github.com/repos/decred/dcrdata/issues/610/events","html_url":"https://github.com/decred/dcrdata/issues/610","id":350122942,"node_id":"MDU6SXNzdWUzNTAxMjI5NDI=","number":610,"title":"nil pointer: chainmonitor.go:194","user":{"login":"JFixby","id":1580663,"node_id":"MDQ6VXNlcjE1ODA2NjM=","avatar_url":"https://avatars0.githubusercontent.com/u/1580663?v=4","gravatar_id":"","url":"https://api.github.com/users/JFixby","html_url":"https://github.com/JFixby","followers_url":"https://api.github.com/users/JFixby/followers","following_url":"https://api.github.com/users/JFixby/following{/other_user}","gists_url":"https://api.github.com/users/JFixby/gists{/gist_id}","starred_url":"https://api.github.com/users/JFixby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JFixby/subscriptions","organizations_url":"https://api.github.com/users/JFixby/orgs","repos_url":"https://api.github.com/users/JFixby/repos","events_url":"https://api.github.com/users/JFixby/events{/privacy}","received_events_url":"https://api.github.com/users/JFixby/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-13T17:31:12Z","updated_at":"2018-08-13T17:37:54Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Current master.\r\n\r\nCrash log:\r\n```\r\n2018-08-13 19:08:02.081 [INF] DATD: Log folder:  C:\\Users\\JCode\\AppData\\Local\\Dcrdata\\logs\\mainnet\r\n2018-08-13 19:08:02.081 [INF] DATD: Config file: D:\\GOWS\\dev-s\\dcrdata.conf\r\n2018-08-13 19:08:02.081 [INF] DATD: dcrdata version 3.0.0 (Go version go1.10.2)\r\n2018-08-13 19:08:02.081 [INF] DATD: Running in \"Lite\" mode with only SQLite backend and limited functionality.\r\n2018-08-13 19:08:02.171 [INF] RPCC: Established connection to RPC server localhost:9109\r\n2018-08-13 19:08:02.172 [INF] DATD: Connected to dcrd (JSON-RPC API v3.3.0) on MainNet\r\n2018-08-13 19:08:02.199 [INF] SKDB: Loading ticket pool DB. This may take a minute...\r\n2018-08-13 19:08:02.523 [INF] SKDB: Loading all ticket pool diffs...\r\n2018-08-13 19:08:19.123 [INF] SKDB: Advancing ticket pool DB to tip via diffs...\r\n2018-08-13 19:08:19.506 [INF] SKDB: Pre-populating live ticket cache and computing pool value...\r\n2018-08-13 19:08:42.242 [INF] DATD: SQLite DB successfully opened: dcrdata.sqlt.db\r\n2018-08-13 19:08:42.255 [INF] EXPR: Mean Voting Blocks calculated: 7860\r\n2018-08-13 19:08:42.269 [INF] EXPR: Signals unsupported on windows\r\n2018-08-13 19:08:42.269 [INF] EXPR: Starting WebsocketHub run loop.\r\n2018-08-13 19:08:42.270 [INF] SQLT: Current best block (chain server):     265188\r\n2018-08-13 19:08:42.270 [INF] SQLT: Current best block (sqlite block DB):  260242\r\n2018-08-13 19:08:42.270 [INF] SQLT: Current best block (stakedb):          260242\r\n2018-08-13 19:08:42.295 [INF] SQLT: Scanning blocks 260243 to 261000 (40778 live)...\r\n2018-08-13 19:09:11.933 [INF] SQLT: Scanning blocks 261001 to 262000 (40934 live)...\r\n2018-08-13 19:09:44.154 [INF] SQLT: Scanning blocks 262001 to 263000 (41081 live)...\r\n2018-08-13 19:10:09.566 [INF] SQLT: Scanning blocks 263001 to 264000 (41435 live)...\r\n2018-08-13 19:10:33.455 [INF] SQLT: Scanning blocks 264001 to 265000 (40854 live)...\r\n2018-08-13 19:10:56.788 [INF] SQLT: Scanning blocks 265001 to 265188 (40766 live)...\r\n2018-08-13 19:11:00.897 [INF] SQLT: Rescan finished successfully at height 265188.\r\n2018-08-13 19:11:00.897 [INF] DATD: SQLite sync ended at height 265188\r\n2018-08-13 19:11:00.897 [INF] DATD: PostgreSQL sync ended at height -1\r\n2018-08-13 19:11:00.897 [INF] DATD: All ready, at height 265188.\r\n2018-08-13 19:11:00.901 [WRN] EXPR: Charts are not supported in lite mode!\r\n2018-08-13 19:11:00.911 [INF] EXPR: Signaling new block to 0 websocket clients.\r\n2018-08-13 19:11:02.916 [INF] EXPR: Now serving explorer on http://:8080/\r\n2018-08-13 19:11:02.916 [INF] JAPI: Now serving API on http://:8080/\r\n2018-08-13 19:11:49.686 [INF] SKDB: Connected block 265189 to stake DB.\r\n2018-08-13 19:11:49.689 [INF] BLKD: Block height 265189 connected. Collecting data...\r\npanic: runtime error: invalid memory address or nil pointer dereference\r\n[signal 0xc0000005 code=0x0 addr=0x0 pc=0xa581d5]\r\n\r\ngoroutine 270293 [running]:\r\ngithub.com/decred/dcrdata/db/dcrpg.(*ChainDBRPC).Store(0x0, 0xc05f44aea0, 0xc055f71700, 0x0, 0x0)\r\n\t<autogenerated>:1 +0x5\r\ngithub.com/decred/dcrdata/blockdata.(*chainMonitor).BlockConnectedHandler(0xc053391600)\r\n\tD:/GOWS/src/github.com/decred/dcrdata/blockdata/chainmonitor.go:194 +0x8b8\r\ncreated by main.mainCore\r\n\tD:/GOWS/src/github.com/decred/dcrdata/main.go:451 +0x2000\r\n```"},"comment":{"url":"https://api.github.com/repos/decred/dcrdata/issues/comments/412601494","html_url":"https://github.com/decred/dcrdata/issues/610#issuecomment-412601494","issue_url":"https://api.github.com/repos/decred/dcrdata/issues/610","id":412601494,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjYwMTQ5NA==","user":{"login":"chappjc","id":9373513,"node_id":"MDQ6VXNlcjkzNzM1MTM=","avatar_url":"https://avatars1.githubusercontent.com/u/9373513?v=4","gravatar_id":"","url":"https://api.github.com/users/chappjc","html_url":"https://github.com/chappjc","followers_url":"https://api.github.com/users/chappjc/followers","following_url":"https://api.github.com/users/chappjc/following{/other_user}","gists_url":"https://api.github.com/users/chappjc/gists{/gist_id}","starred_url":"https://api.github.com/users/chappjc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chappjc/subscriptions","organizations_url":"https://api.github.com/users/chappjc/orgs","repos_url":"https://api.github.com/users/chappjc/repos","events_url":"https://api.github.com/users/chappjc/events{/privacy}","received_events_url":"https://api.github.com/users/chappjc/received_events","type":"User","site_admin":false},"created_at":"2018-08-13T17:37:54Z","updated_at":"2018-08-13T17:37:54Z","author_association":"MEMBER","body":"Acknowledged.  Thanks for the report.  I see the problem."}}
{"actor":{"display_login":"chappjc"}}