{"action":"created","issue":{"url":"https://api.github.com/repos/libuv/libuv/issues/255","labels_url":"https://api.github.com/repos/libuv/libuv/issues/255/labels{/name}","comments_url":"https://api.github.com/repos/libuv/libuv/issues/255/comments","events_url":"https://api.github.com/repos/libuv/libuv/issues/255/events","html_url":"https://github.com/libuv/libuv/issues/255","id":60619891,"number":255,"title":"abort in uv__io_poll","user":{"login":"ghost","id":10137,"avatar_url":"https://avatars.githubusercontent.com/u/10137?v=3","gravatar_id":"","url":"https://api.github.com/users/ghost","html_url":"https://github.com/ghost","followers_url":"https://api.github.com/users/ghost/followers","following_url":"https://api.github.com/users/ghost/following{/other_user}","gists_url":"https://api.github.com/users/ghost/gists{/gist_id}","starred_url":"https://api.github.com/users/ghost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghost/subscriptions","organizations_url":"https://api.github.com/users/ghost/orgs","repos_url":"https://api.github.com/users/ghost/repos","events_url":"https://api.github.com/users/ghost/events{/privacy}","received_events_url":"https://api.github.com/users/ghost/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-03-11T07:19:51Z","updated_at":"2015-03-11T15:54:06Z","closed_at":"2015-03-11T15:54:06Z","body":"'sometimes' I get a program abort. After several retries I was able to get a backtrace in gdb, seems it is caused by libuv. (But probably because I'm doing something too exotic?)\r\nI would rather have some explanation instead of a plain old abort() or some help as to resolve the problem.\r\n\r\nThank you.\r\n\r\nGDB backtrace:\r\n```\r\n(gdb) backtrace full\r\n#0  0xb7fdd424 in __kernel_vsyscall ()\r\nNo symbol table info available.\r\n#1  0xb7df1607 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56\r\n        resultvar = <optimized out>\r\n        resultvar = <optimized out>\r\n        pid = -1208561664\r\n        selftid = 1956\r\n#2  0xb7df4a33 in __GI_abort () at abort.c:89\r\n        save_stage = 2\r\n        act = {__sigaction_handler = {sa_handler = 0x805453c, sa_sigaction = 0x805453c}, sa_mask = {__val = {1, 3086405632, 3086408032, 3087003648,\r\n              3086862424, 1, 3221210144, 3086926209, 3086862864, 3075231776, 1, 1, 0, 134617276, 134563184, 134563132, 3221210116, 3086750800, 3086616916,\r\n              3086611668, 3085606375, 3086749696, 134563284, 3084685592, 3085606392, 3086709515, 255, 3086749696, 134563284, 1, 134562588, 3086951680}},\r\n          sa_flags = 1, sa_restorer = 0xb7df48f0 <__GI_abort>}\r\n        sigs = {__val = {32, 0 <repeats 31 times>}}\r\n#3  0xb7fb5bed in uv__io_poll (loop=loop@entry=0x805431c, timeout=-1) at src/unix/linux-core.c:183\r\n        events = {{events = 1, data = 9}, {events = 0, data = 0} <repeats 81 times>, {events = 0, data = 3085122450}, {events = 0, data = 4294967296}, {\r\n            events = 0, data = 13249695712674840576}, {events = 3086405632, data = 577805754598149624}, {events = 3221212600, data = 13835003048425974802}, {\r\n            events = 134530885, data = 1}, {events = 0, data = 0}, {events = 0, data = 0}, {events = 0, data = 0}, {events = 0, data = 0}, {events = 0,\r\n            data = 0}, {events = 0, data = 0}, {events = 4294967295, data = 0}, {events = 0, data = 0}, {events = 10, data = 0}, {events = 0, data = 0}, {\r\n            events = 0, data = 0}, {events = 4294967295, data = 9007199254741092}, {events = 3221212575, data = 3221222412}, {events = 0,\r\n            data = 3084944068}, {events = 0, data = 577805742787002368}, {events = 3075226304, data = 51539607552}, {events = 0,\r\n            data = 13835044895636899654}, {events = 0, data = 0} <repeats 23 times>, {events = 0, data = 38654705664}, {events = 3086405632,\r\n            data = 13252351538988305136}, {events = 3086405632, data = 15970024030}, {events = 4096, data = 17595271651288}, {events = 134597768,\r\n            data = 578093014761000960}, {events = 3085066973, data = 13257928800043650184}, {events = 3086856192, data = 13256011254851431720}, {\r\n            events = 128, data = 13252524282437140930}, {events = 3221212432, data = 37580950347}, {events = 9663, data = 4295000484}, {events = 1766588416,\r\n            data = 7894382}, {events = 0, data = 0}, {events = 0, data = 0}, {events = 0, data = 0}, {events = 0, data = 0}, {events = 0,\r\n            data = 7959376172893077504}, {events = 30068, data = 0}, {events = 0, data = 0}, {events = 0, data = 0}, {events = 0, data = 0}, {events = 0,\r\n            data = 0}, {events = 858861107, data = 7306858631258779694}, {events = 1769104750, data = 99}, {events = 0, data = 0}, {events = 0, data = 0}, {\r\n            events = 0, data = 0}, {events = 0, data = 8458416702843462400}, {events = 544568430, data = 2336927633697164627}, {events = 544366925,\r\n            data = 4194595328574431282}, {events = 1428173617, data = 14972256834831188}, {events = 0, data = 0}, {events = 0, data = 3920664950602727424}, {\r\n            events = 13880, data = 0}, {events = 0, data = 0}, {events = 0, data = 0}, {events = 0, data = 0}, {events = 0, data = 0}, {events = 671088640,\r\n            data = 177795395438}, {events = 0, data = 0}, {events = 0, data = 13249405377180598272}, {events = 3086117969, data = 0}, {events = 0,\r\n            data = 38654705664}, {events = 3086117971, data = 13254775529409609739}, {events = 3086102972, data = 13256011254715804745}, {\r\n            events = 3221212432, data = 13835037339581140251}, {events = 3085752701, data = 200654613585}, {events = 134597768, data = 4294967296}, {\r\n            events = 1, data = 0}, {events = 0, data = 134597768}, {events = 3221212432, data = 0}, {events = 1, data = 0}, {events = 0, data = 16885952}, {\r\n            events = 0, data = 0}, {events = 0, data = 33060590039758187}, {events = 824210021, data = 3543831762191659577}, {events = 667950,\r\n            data = 5197252110529678409}, {events = 541347393, data = 13256021561047002413}, {events = 12, data = 13252365768214957728}, {\r\n            events = 3086405632, data = 11675048865}, {events = 3221212832, data = 13250486124096258060}, {events = 3086408032,\r\n            data = 13835003769981950452}, {events = 3085110751, data = 13835003769981950304}, {events = 12, data = 54626013184}, {events = 3086408032,\r\n            data = 13250472264236793868}, {events = 12, data = 4294967295}, {events = 12, data = 0}, {events = 3084936881, data = 13256021562638127104}, {\r\n            events = 12, data = 13249790394020321632}, {events = 3221212648, data = 51539607552}, {events = 0, data = 0}, {events = 12, data = 0}, {\r\n            events = 0, data = 13256021562636734224}, {events = 0, data = 18135292029159079936}, {events = 0, data = 0}, {events = 3221212832,\r\n            data = 13835038954488843948}, {events = 0, data = 0}, {events = 0, data = 0}, {events = 0, data = 0}, {events = 0, data = 0}, {events = 0,\r\n            data = 0}, {events = 0, data = 0}, {events = 0, data = 4294967295}, {events = 0, data = 0}, {events = 0, data = 0}, {events = 0, data = 0}, {\r\n            events = 3086402688, data = 3086408032}, {events = 0, data = 8388361636380934144}, {events = 1650679653, data = 170926138}, {events = 0,\r\n            data = 0}, {events = 0, data = 8796227585752}, {events = 4, data = 3085558069}, {events = 0, data = 0}, {events = 134563544, data = 8589934593},\r\n          {events = 3085558069, data = 17179869193}, {events = 2048, data = 13256852549958715096}, {events = 3221212944, data = 13256284431814873301}, {\r\n            events = 9, data = 68854074760}, {events = 3221212988, data = 4}, {events = 3086558912, data = 0}, {events = 0, data = 4294967296}, {events = 1,\r\n            data = 0}, {events = 0, data = 0} <repeats 372 times>, {events = 0, data = 134597832}, {events = 3086406736, data = 13256015993274105856}, {\r\n            events = 3086406732, data = 13254737686452764672}, {events = 0, data = 13250544595781025792}, {events = 3086405632, data = 578101089299518496}, {\r\n            events = 3086406688, data = 3085137817}, {events = 0, data = 13258276645015388160}, {events = 3084738533, data = 3086870014}, {\r\n            events = 3086933020, data = 13248851119033020416}, {events = 3087005020, data = 13248851119032918156}, {events = 3080980600,\r\n            data = 13258276365977113576}, {events = 3087003648, data = 13256081623449560166}, {events = 3086901388, data = 13256149346493883494}, {\r\n            events = 38, data = 274877906950}, {events = 6, data = 240518168576}, {events = 3087003712, data = 4294967296}, {events = 3086422016,\r\n            data = 42400}, {events = 5, data = 13258579985670647808}, {events = 49412, data = 578101120572850178}, {events = 3, data = 47}, {\r\n            events = 3085145864, data = 0}, {events = 0, data = 13250600244461858864}, {events = 3087003648, data = 13248043090998318056}, {\r\n            events = 134598544, data = 163343355040}, {events = 3087003648, data = 174885695488}, {events = 0, data = 13258585331696829997}, {events = 38,\r\n            data = 578101120572850178}, {events = 0, data = 13258181322511220736}, {events = 3087003648, data = 578101120572850176}, {events = 3221218088,\r\n            data = 41741600462}, {events = 2415919105, data = 8589934592}, {events = 9, data = 0}, {events = 0, data = 2049}, {events = 0,\r\n            data = 142541374907995}, {events = 1, data = 13258579988757475616}, {events = 3221217824, data = 13835032800874463235}, {events = 3087005988,\r\n            data = 3458756117159477257}, {events = 6, data = 559177898385780}, {events = 3075216340, data = 13207953611500032260}, {events = 50132,\r\n            data = 13207738293124333570}, {events = 3221218244, data = 25769803840}, {events = 0, data = 8800387989560}, {events = 0,\r\n            data = 120211839647744}, {events = 33188, data = 1}, {events = 0, data = 0}...}\r\n        pe = <optimized out>\r\n        e = {events = 4, data = 1}\r\n        q = <optimized out>\r\n        w = <optimized out>\r\n        sigmask = <optimized out>\r\n        base = <optimized out>\r\n        diff = <optimized out>\r\n        nevents = <optimized out>\r\n        count = <optimized out>\r\n        nfds = <optimized out>\r\n        fd = <optimized out>\r\n        op = <optimized out>\r\n        i = <optimized out>\r\n        no_epoll_wait = 0\r\n        __PRETTY_FUNCTION__ = \"uv__io_poll\"\r\n#4  0xb7fa7fb2 in uv_run (loop=0x805431c, mode=UV_RUN_DEFAULT) at src/unix/core.c:324\r\n        timeout = <optimized out>\r\n        r = 1\r\n#5  0x0804abe3 in run (global=0x80542f8) at ../src/dbtest.c:432\r\n        start = 43767\r\n        hr_start = 1369498727184\r\n        end = 134523779\r\n        hr_end = 13835047214919230247\r\n        cpu_time = 5,0307156866601071e-270\r\n        real_time = 1,9097962118687451e-313\r\n#6  0x0804ada8 in main (argc=2, argv=0xbffff624) at ../src/dbtest.c:463\r\n        global = 0x80542f8\r\n```"},"comment":{"url":"https://api.github.com/repos/libuv/libuv/issues/comments/78291840","html_url":"https://github.com/libuv/libuv/issues/255#issuecomment-78291840","issue_url":"https://api.github.com/repos/libuv/libuv/issues/255","id":78291840,"user":{"login":"saghul","id":317464,"avatar_url":"https://avatars.githubusercontent.com/u/317464?v=3","gravatar_id":"","url":"https://api.github.com/users/saghul","html_url":"https://github.com/saghul","followers_url":"https://api.github.com/users/saghul/followers","following_url":"https://api.github.com/users/saghul/following{/other_user}","gists_url":"https://api.github.com/users/saghul/gists{/gist_id}","starred_url":"https://api.github.com/users/saghul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saghul/subscriptions","organizations_url":"https://api.github.com/users/saghul/orgs","repos_url":"https://api.github.com/users/saghul/repos","events_url":"https://api.github.com/users/saghul/events{/privacy}","received_events_url":"https://api.github.com/users/saghul/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T15:54:06Z","updated_at":"2015-03-11T15:54:06Z","body":"Closing, now that #259 landed. #260 remans an open issue though. Thanks everyone!"}}