{"action":"created","issue":{"url":"https://api.github.com/repos/diegonehab/luasocket/issues/179","repository_url":"https://api.github.com/repos/diegonehab/luasocket","labels_url":"https://api.github.com/repos/diegonehab/luasocket/issues/179/labels{/name}","comments_url":"https://api.github.com/repos/diegonehab/luasocket/issues/179/comments","events_url":"https://api.github.com/repos/diegonehab/luasocket/issues/179/events","html_url":"https://github.com/diegonehab/luasocket/issues/179","id":160646586,"number":179,"title":"Segfault in timeout_markstart","user":{"login":"TheCycoONE","id":823433,"avatar_url":"https://avatars.githubusercontent.com/u/823433?v=3","gravatar_id":"","url":"https://api.github.com/users/TheCycoONE","html_url":"https://github.com/TheCycoONE","followers_url":"https://api.github.com/users/TheCycoONE/followers","following_url":"https://api.github.com/users/TheCycoONE/following{/other_user}","gists_url":"https://api.github.com/users/TheCycoONE/gists{/gist_id}","starred_url":"https://api.github.com/users/TheCycoONE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheCycoONE/subscriptions","organizations_url":"https://api.github.com/users/TheCycoONE/orgs","repos_url":"https://api.github.com/users/TheCycoONE/repos","events_url":"https://api.github.com/users/TheCycoONE/events{/privacy}","received_events_url":"https://api.github.com/users/TheCycoONE/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-06-16T12:12:04Z","updated_at":"2016-06-17T16:27:19Z","closed_at":null,"body":"https://github.com/CorsixTH/CorsixTH/issues/1091 was posted in CorsixTH today that looks to originate in luasocket (as packaged for Debian, awaiting confirmation on the version).\r\n\r\nCorsixTH Code:\r\n\r\nhttps://github.com/CorsixTH/CorsixTH/blob/b6fc9f9e0c6893720200088d21da4e2e14f0d319/CorsixTH/Lua/app.lua#L1448\r\n\r\n\r\nStacktrace:\r\n```\r\n#0  0x00007fffd40e01e1 in timeout_markstart () from /usr/lib/x86_64-linux-gnu/lua/5.2/socket/core.so\r\n#1  0x00007fffd40e0599 in buffer_meth_send () from /usr/lib/x86_64-linux-gnu/lua/5.2/socket/core.so\r\n#2  0x00007ffff7688c4d in luaD_precall (L=L@entry=0x745b380, func=<optimized out>, func@entry=0x7392af0, nresults=nresults@entry=-1) at ldo.c:319\r\n#3  0x00007ffff769483d in luaV_execute (L=L@entry=0x745b380) at lvm.c:709\r\n#4  0x00007ffff7688fc0 in luaD_call (L=L@entry=0x745b380, func=<optimized out>, nResults=nResults@entry=-1, allowyield=allowyield@entry=1) at ldo.c:402\r\n#5  0x00007ffff768516d in lua_pcallk (L=0x745b380, nargs=<optimized out>, nresults=-1, errfunc=<optimized out>, ctx=<optimized out>, k=<optimized out>) at lapi.c:962\r\n#6  0x00007fffd40e479f in ?? () from /usr/lib/x86_64-linux-gnu/lua/5.2/socket/core.so\r\n#7  0x00007ffff7688c4d in luaD_precall (L=L@entry=0x745b380, func=<optimized out>, func@entry=0x73929d0, nresults=nresults@entry=3) at ldo.c:319\r\n#8  0x00007ffff769483d in luaV_execute (L=L@entry=0x745b380) at lvm.c:709\r\n#9  0x00007ffff7688e40 in unroll (L=0x745b380, ud=<optimized out>) at ldo.c:442\r\n#10 0x00007ffff76885cf in luaD_rawrunprotected (L=L@entry=0x745b380, f=f@entry=0x7ffff7688e60 <resume>, ud=0x2258060) at ldo.c:131\r\n#11 0x00007ffff7689027 in lua_resume (L=0x745b380, from=<optimized out>, nargs=<optimized out>) at ldo.c:543\r\n#12 0x0000000000451760 in luaT_resume (L=0x745b380, f=0x745b380, n=1) at CorsixTH/CorsixTH/Src/th_lua.h:114\r\n#13 0x0000000000451103 in l_mainloop (L=0x700db0) at CorsixTH/CorsixTH/Src/sdl_core.cpp:260\r\n#14 0x00007ffff7688c4d in luaD_precall (L=L@entry=0x700db0, func=<optimized out>, func@entry=0x7160f50, nresults=nresults@entry=2) at ldo.c:319\r\n#15 0x00007ffff769483d in luaV_execute (L=L@entry=0x700db0) at lvm.c:709\r\n#16 0x00007ffff7688f8e in luaD_call (L=L@entry=0x700db0, func=<optimized out>, nResults=nResults@entry=-1, allowyield=allowyield@entry=0) at ldo.c:402\r\n#17 0x00007ffff768502b in lua_callk (L=0x700db0, nargs=<optimized out>, nresults=-1, ctx=<optimized out>, k=<optimized out>) at lapi.c:905\r\n#18 0x0000000000452ac4 in CorsixTH_lua_main (L=0x700db0) at CorsixTH/CorsixTH/Src/main.cpp:179\r\n```"},"comment":{"url":"https://api.github.com/repos/diegonehab/luasocket/issues/comments/226815969","html_url":"https://github.com/diegonehab/luasocket/issues/179#issuecomment-226815969","issue_url":"https://api.github.com/repos/diegonehab/luasocket/issues/179","id":226815969,"user":{"login":"diegonehab","id":1635557,"avatar_url":"https://avatars.githubusercontent.com/u/1635557?v=3","gravatar_id":"","url":"https://api.github.com/users/diegonehab","html_url":"https://github.com/diegonehab","followers_url":"https://api.github.com/users/diegonehab/followers","following_url":"https://api.github.com/users/diegonehab/following{/other_user}","gists_url":"https://api.github.com/users/diegonehab/gists{/gist_id}","starred_url":"https://api.github.com/users/diegonehab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diegonehab/subscriptions","organizations_url":"https://api.github.com/users/diegonehab/orgs","repos_url":"https://api.github.com/users/diegonehab/repos","events_url":"https://api.github.com/users/diegonehab/events{/privacy}","received_events_url":"https://api.github.com/users/diegonehab/received_events","type":"User","site_admin":false},"created_at":"2016-06-17T16:27:19Z","updated_at":"2016-06-17T16:27:19Z","body":"By creating a .lua file with no dependencies that I can run and that crashes. I don't know what CorsixTH is or how it uses Lua or LuaSocket."}}
{"actor":{"display_login":"diegonehab"}}