Open dom96 opened 10 years ago
This make it crash too: https://gist.github.com/Araq/804fc05cea8463466e9c
Headers Request URL: http://picheta.me/github Request method: POST content-type: "application/x-www-form-urlencoded" Expect: "" User-Agent: "GitHub Hookshot 5e2786c" X-GitHub-Delivery: "56f2cf50-c041-11e3-87e3-32c2e1db3428" X-GitHub-Event: "push"
Got line from github: { "payload": { "ref": "refs/heads/devel", "after": "2e99
50afe8911f27560c32d2f26d2d5c6d6e6cd3", "before": "e333b8bc1ef27014066172c04881d
f191a4971fe", "created": false, "deleted": false, "forced": false, "compare"
: "https://github.com/Araq/Nimrod/compare/e333b8bc1ef2...2e9950afe891", "commit
s": [ { "id": "90a6f4ba984334723ddf5a5bccf54f83f0e0707f", "distinct": true, "m
essage": "fixed a typo", "timestamp": "2014-04-13T00:00:06+02:00", "url": "htt
ps://github.com/Araq/Nimrod/commit/90a6f4ba984334723ddf5a5bccf54f83f0e0707f", "
author": { "name": "Andreas Rumpf", "email": "ar@kimeta.de" }, "committer":
{ "name": "Andreas Rumpf", "email": "ar@kimeta.de" }, "added": [], "removed":
[], "modified": [ "doc/manual.txt" ] }, { "id": "6b1543a6a8514014c05cd164549d
9f30d341a6ed", "distinct": true, "message": "-d:useFFI is obsolete", "timesta
mp": "2014-04-13T00:12:21+02:00", "url": "https://github.com/Araq/Nimrod/commit
/6b1543a6a8514014c05cd164549d9f30d341a6ed", "author": { "name": "Andreas Rumpf
", "email": "ar@kimeta.de" }, "committer": { "name": "Andreas Rumpf", "email
": "ar@kimeta.de" }, "added": [], "removed": [], "modified": [ "koch.nim" ] }
, { "id": "587f0bd0863b381f5d0045fefedac92e3c504bde", "distinct": true, "mess
age": "fixes '==' for TTTable", "timestamp": "2014-04-13T00:20:25+02:00", "url
": "https://github.com/Araq/Nimrod/commit/587f0bd0863b381f5d0045fefedac92e3c504b
de", "author": { "name": "Andreas Rumpf", "email": "ar@kimeta.de" }, "commit
ter": { "name": "Andreas Rumpf", "email": "ar@kimeta.de" }, "added": [], "re
moved": [], "modified": [ "lib/pure/collections/tables.nim" ] }, { "id": "3ee2
5170c3456640253b1d6ea7ffaaf3de88478f", "distinct": true, "message": "fixes '==
' for TTTable", "timestamp": "2014-04-13T00:22:07+02:00", "url": "https://gith
ub.com/Araq/Nimrod/commit/3ee25170c3456640253b1d6ea7ffaaf3de88478f", "author":
{ "name": "Andreas Rumpf", "email": "ar@kimeta.de" }, "committer": { "name":
"Andreas Rumpf", "email": "ar@kimeta.de" }, "added": [], "removed": [], "mo
dified": [ "lib/pure/collections/tables.nim" ] }, { "id": "f862e80be96289ad0f54
c1d73a3e32734ed48cc3", "distinct": true, "message": "added 'hash' for set[T]'"
, "timestamp": "2014-04-13T00:32:10+02:00", "url": "https://github.com/Araq/Ni
mrod/commit/f862e80be96289ad0f54c1d73a3e32734ed48cc3", "author": { "name": "An
dreas Rumpf", "email": "ar@kimeta.de" }, "committer": { "name": "Andreas Rump
f", "email": "ar@kimeta.de" }, "added": [], "removed": [], "modified": [ "li
b/pure/hashes.nim" ] }, { "id": "455c3c19cac3e2964fb4c2e89409f5780b09cf0b", "d
istinct": true, "message": "added mget for TSet", "timestamp": "2014-04-13T00:
33:06+02:00", "url": "https://github.com/Araq/Nimrod/commit/455c3c19cac3e2964fb
4c2e89409f5780b09cf0b", "author": { "name": "Andreas Rumpf", "email": "ar@kim
eta.de" }, "committer": { "name": "Andreas Rumpf", "email": "ar@kimeta.de" },
"added": [], "removed": [], "modified": [ "lib/pure/collections/sets.nim" ]
}, { "id": "fe387888bdd0ae26fe88e886604f9e101634633d", "distinct": true, "mes
sage": "fixes for asynchttpserver", "timestamp": "2014-04-13T00:39:15+02:00",
"url": "https://github.com/Araq/Nimrod/commit/fe387888bdd0ae26fe88e886604f9e1016
34633d", "author": { "name": "Andreas Rumpf", "email": "ar@kimeta.de" }, "co
mmitter": { "name": "Andreas Rumpf", "email": "ar@kimeta.de" }, "added": [],
"removed": [], "modified": [ "lib/pure/asyncdispatch.nim", "lib/pure/asynchtt
pserver.nim", "lib/pure/asyncnet.nim" ] }, { "id": "2e9950afe8911f27560c32d2f2
6d2d5c6d6e6cd3", "distinct": true, "message": "Merge branch 'devel' of https:/
/github.com/Araq/Nimrod into devel", "timestamp": "2014-04-13T00:40:17+02:00",
"url": "https://github.com/Araq/Nimrod/commit/2e9950afe8911f27560c32d2f26d2d5c6
d6e6cd3", "author": { "name": "Andreas Rumpf", "email": "ar@kimeta.de" }, "c
ommitter": { "name": "Andreas Rumpf", "email": "ar@kimeta.de" }, "added": [ "
web/babelpkglist.nim" ], "removed": [], "modified": [ "compiler/jsgen.nim", "
compiler/nimrod.nim", "doc/lib.txt", "lib/pure/json.nim", "lib/pure/math.nim"
, "lib/pure/streams.nim", "lib/pure/strutils.nim", "lib/system/jssys.nim", "
tools/nimweb.nim" ] } ], "head_commit": { "id": "2e9950afe8911f27560c32d2f26d2
d5c6d6e6cd3", "distinct": true, "message": "Merge branch 'devel' of https://gi
thub.com/Araq/Nimrod into devel", "timestamp": "2014-04-13T00:40:17+02:00", "u
rl": "https://github.com/Araq/Nimrod/commit/2e9950afe8911f27560c32d2f26d2d5c6d6e
6cd3", "author": { "name": "Andreas Rumpf", "email": "ar@kimeta.de" }, "comm
itter": { "name": "Andreas Rumpf", "email": "ar@kimeta.de" }, "added": [ "web
/babelpkglist.nim" ], "removed": [], "modified": [ "compiler/jsgen.nim", "com
piler/nimrod.nim", "doc/lib.txt", "lib/pure/json.nim", "lib/pure/math.nim",
"lib/pure/streams.nim", "lib/pure/strutils.nim", "lib/system/jssys.nim", "too
ls/nimweb.nim" ] }, "repository": { "id": 842037, "name": "Nimrod", "url": "
https://github.com/Araq/Nimrod", "description": "Nimrod is a compiled, garbage-
collected systems programming language which has an excellent productivity/perfo
rmance ratio. Nimrod's design focuses on efficiency, expressiveness, elegance (i
n the order of priority).", "homepage": "http://nimrod-lang.org/", "watchers":
542, "stargazers": 542, "forks": 78, "fork": false, "size": 335333, "owner
": { "name": "Araq", "email": "rumpf_a@web.de" }, "private": false, "open_is
sues": 12, "has_issues": true, "has_downloads": true, "has_wiki": true, "lan
guage": "Nimrod", "created_at": 1281991138, "pushed_at": 1397342430, "master_
branch": "devel" }, "pusher": { "name": "Araq", "email": "rumpf_a@web.de" } }
}
Traceback (most recent call last)
website.nim(1211) website
asyncio.nim(631) poll
asyncio.nim(212) asyncSockHandleRead
website.nim(144) :anonymous
website.nim(680) handleModuleMsg
website.nim(511) parseMessage
SIGSEGV: Illegal storage access. (Attempt to read from nil?)
Another crash with a smaller payload.
Prettified JSON:
{ "payload" : { "after" : "2e9950afe8911f27560c32d2f26d2d5c6d6e6cd3",
"before" : "e333b8bc1ef27014066172c04881df191a4971fe",
"commits" : [ { "added" : [ ],
"author" : { "email" : "ar@kimeta.de",
"name" : "Andreas Rumpf"
},
"committer" : { "email" : "ar@kimeta.de",
"name" : "Andreas Rumpf"
},
"distinct" : true,
"id" : "90a6f4ba984334723ddf5a5bccf54f83f0e0707f",
"message" : "fixed a typo",
"modified" : [ "doc/manual.txt" ],
"removed" : [ ],
"timestamp" : "2014-04-13T00:00:06+02:00",
"url" : "https://github.com/Araq/Nimrod/commit/90a6f4ba984334723ddf5a5bccf54f83f0e0707f"
},
{ "added" : [ ],
"author" : { "email" : "ar@kimeta.de",
"name" : "Andreas Rumpf"
},
"committer" : { "email" : "ar@kimeta.de",
"name" : "Andreas Rumpf"
},
"distinct" : true,
"id" : "6b1543a6a8514014c05cd164549d9f30d341a6ed",
"message" : "-d:useFFI is obsolete",
"modified" : [ "koch.nim" ],
"removed" : [ ],
"timestamp" : "2014-04-13T00:12:21+02:00",
"url" : "https://github.com/Araq/Nimrod/commit/6b1543a6a8514014c05cd164549d9f30d341a6ed"
},
{ "added" : [ ],
"author" : { "email" : "ar@kimeta.de",
"name" : "Andreas Rumpf"
},
"committer" : { "email" : "ar@kimeta.de",
"name" : "Andreas Rumpf"
},
"distinct" : true,
"id" : "587f0bd0863b381f5d0045fefedac92e3c504bde",
"message" : "fixes '==' for TTTable",
"modified" : [ "lib/pure/collections/tables.nim" ],
"removed" : [ ],
"timestamp" : "2014-04-13T00:20:25+02:00",
"url" : "https://github.com/Araq/Nimrod/commit/587f0bd0863b381f5d0045fefedac92e3c504bde"
},
{ "added" : [ ],
"author" : { "email" : "ar@kimeta.de",
"name" : "Andreas Rumpf"
},
"committer" : { "email" : "ar@kimeta.de",
"name" : "Andreas Rumpf"
},
"distinct" : true,
"id" : "3ee25170c3456640253b1d6ea7ffaaf3de88478f",
"message" : "fixes '==' for TTTable",
"modified" : [ "lib/pure/collections/tables.nim" ],
"removed" : [ ],
"timestamp" : "2014-04-13T00:22:07+02:00",
"url" : "https://github.com/Araq/Nimrod/commi/3ee25170c3456640253b1d6ea7ffaaf3de88478f"
},
{ "added" : [ ],
"author" : { "email" : "ar@kimeta.de",
"name" : "Andreas Rumpf"
},
"committer" : { "email" : "ar@kimeta.de",
"name" : "Andreas Rumpf"
},
"distinct" : true,
"id" : "f862e80be96289ad0f54c1d73a3e32734ed48cc3",
"message" : "added 'hash' for set[T]'",
"modified" : [ "lib/pure/hashes.nim" ],
"removed" : [ ],
"timestamp" : "2014-04-13T00:32:10+02:00",
"url" : "https://github.co/Araq/Nimrod/commit/f862e80be96289ad0f54c1d73a3e32734ed48cc3"
},
{ "added" : [ ],
"author" : { "email" : "ar@kimeta.de",
"name" : "Andreas Rumpf"
},
"committer" : { "email" : "ar@kimeta.de",
"name" : "Andreas Rumpf"
},
"distinct" : true,
"id" : "455c3c19cac3e2964fb4c2e89409f5780b09cf0b",
"message" : "added mget for TSet",
"modified" : [ "lib/pure/collections/sets.nim" ],
"removed" : [ ],
"timestamp" : "2014-04-13T00:33:06+02:00",
"url" : "https://github.com/Araq/Nimrod/commit/455c3c19cac3e2964fb4c2e89409f5780b09cf0b"
},
{ "added" : [ ],
"author" : { "email" : "ar@kimeta.de",
"name" : "Andreas Rumpf"
},
"committer" : { "email" : "ar@kimeta.de",
"name" : "Andreas Rumpf"
},
"distinct" : true,
"id" : "fe387888bdd0ae26fe88e886604f9e101634633d",
"message" : "fixes for asynchttpserver",
"modified" : [ "lib/pure/asyncdispatch.nim",
"lib/pure/asynchttpserver.nim",
"lib/pure/asyncnet.nim"
],
"removed" : [ ],
"timestamp" : "2014-04-13T00:39:15+02:00",
"url" : "https://github.com/Araq/Nimrod/commit/fe387888bdd0ae26fe88e886604f9e101634633d"
},
{ "added" : [ "web/babelpkglist.nim" ],
"author" : { "email" : "ar@kimeta.de",
"name" : "Andreas Rumpf"
},
"committer" : { "email" : "ar@kimeta.de",
"name" : "Andreas Rumpf"
},
"distinct" : true,
"id" : "2e9950afe8911f27560c32d2f26d2d5c6d6e6cd3",
"message" : "Merge branch 'devel' of https://github.com/Araq/Nimrod into devel",
"modified" : [ "compiler/jsgen.nim",
"compiler/nimrod.nim",
"doc/lib.txt",
"lib/pure/json.nim",
"lib/pure/math.nim",
"lib/pure/streams.nim",
"lib/pure/strutils.nim",
"lib/system/jssys.nim",
"tools/nimweb.nim"
],
"removed" : [ ],
"timestamp" : "2014-04-13T00:40:17+02:00",
"url" : "https://github.com/Araq/Nimrod/commit/2e9950afe8911f27560c32d2f26d2d5c6d6e6cd3"
}
],
"compare" : "https://github.com/Araq/Nimrod/compare/e333b8bc1ef2...2e9950afe891",
"created" : false,
"deleted" : false,
"forced" : false,
"head_commit" : { "added" : [ "web/babelpkglist.nim" ],
"author" : { "email" : "ar@kimeta.de",
"name" : "Andreas Rumpf"
},
"committer" : { "email" : "ar@kimeta.de",
"name" : "Andreas Rumpf"
},
"distinct" : true,
"id" : "2e9950afe8911f27560c32d2f26d2d5c6d6e6cd3",
"message" : "Merge branch 'devel' of https://github.com/Araq/Nimrod into devel",
"modified" : [ "compiler/jsgen.nim",
"compiler/nimrod.nim",
"doc/lib.txt",
"lib/pure/json.nim",
"lib/pure/math.nim",
"lib/pure/streams.nim",
"lib/pure/strutils.nim",
"lib/system/jssys.nim",
"tools/nimweb.nim"
],
"removed" : [ ],
"timestamp" : "2014-04-13T00:40:17+02:00",
"url" : "https://github.com/Araq/Nimrod/commit/2e9950afe8911f27560c32d2f26d2d5c6d6e6cd3"
},
"pusher" : { "email" : "rumpf_a@web.de",
"name" : "Araq"
},
"ref" : "refs/heads/devel",
"repository" : { "created_at" : 1281991138,
"description" : "Nimrod is a compiled, garbage-collected systems programming language which has an excellent productivity/performance ratio. Nimrod's design focuses on efficiency, expressiveness, elegance (in the order of priority).",
"fork" : false,
"forks" : 78,
"has_downloads" : true,
"has_issues" : true,
"has_wiki" : true,
"homepage" : "http://nimrod-lang.org/",
"id" : 842037,
"language" : "Nimrod",
"master_branch" : "devel",
"name" : "Nimrod",
"open_issues" : 12,
"owner" : { "email" : "rumpf_a@web.de",
"name" : "Araq"
},
"private" : false,
"pushed_at" : 1397342430,
"size" : 335333,
"stargazers" : 542,
"url" : "https://github.com/Araq/Nimrod",
"watchers" : 542
}
} }
Github module output: