{"action":"created","issue":{"url":"https://api.github.com/repos/accre/lstore/issues/146","repository_url":"https://api.github.com/repos/accre/lstore","labels_url":"https://api.github.com/repos/accre/lstore/issues/146/labels{/name}","comments_url":"https://api.github.com/repos/accre/lstore/issues/146/comments","events_url":"https://api.github.com/repos/accre/lstore/issues/146/events","html_url":"https://github.com/accre/lstore/issues/146","id":185980858,"number":146,"title":"Somehow pigeon coops don't allocate locks","user":{"login":"PerilousApricot","id":93354,"avatar_url":"https://avatars.githubusercontent.com/u/93354?v=3","gravatar_id":"","url":"https://api.github.com/users/PerilousApricot","html_url":"https://github.com/PerilousApricot","followers_url":"https://api.github.com/users/PerilousApricot/followers","following_url":"https://api.github.com/users/PerilousApricot/following{/other_user}","gists_url":"https://api.github.com/users/PerilousApricot/gists{/gist_id}","starred_url":"https://api.github.com/users/PerilousApricot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PerilousApricot/subscriptions","organizations_url":"https://api.github.com/users/PerilousApricot/orgs","repos_url":"https://api.github.com/users/PerilousApricot/repos","events_url":"https://api.github.com/users/PerilousApricot/events{/privacy}","received_events_url":"https://api.github.com/users/PerilousApricot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-28T17:44:25Z","updated_at":"2016-10-28T22:07:25Z","closed_at":null,"body":"Got this bizarre dump:\r\n```\r\n#0  __GI___pthread_mutex_lock (mutex=0x8) at pthread_mutex_lock.c:50\r\n#1  0x00007f2f3da53de9 in tbx_pch_reserve (pc=0x7f2f4d384de0)\r\n    at /usr/src/debug/LStore-0.5.1_387_g5dadef4aedabe1ccfc54a08b9147d60b_dev/src/toolbox/pigeon_coop.c:224\r\n#2  0x00007f2f3dc910d7 in gop_init (gop=gop@entry=0x7f2f240008c0)\r\n    at /usr/src/debug/LStore-0.5.1_387_g5dadef4aedabe1ccfc54a08b9147d60b_dev/src/gop/gop.c:690\r\n#3  0x00007f2f3dc96082 in init_opque (q=q@entry=0x7f2f240008c0)\r\n    at /usr/src/debug/LStore-0.5.1_387_g5dadef4aedabe1ccfc54a08b9147d60b_dev/src/gop/opque.c:241\r\n#4  0x00007f2f3dc961ac in gop_opque_new ()\r\n    at /usr/src/debug/LStore-0.5.1_387_g5dadef4aedabe1ccfc54a08b9147d60b_dev/src/gop/opque.c:269\r\n#5  0x00007f2f3dc9e8ab in ongoing_heartbeat_thread (th=<optimized out>, data=0x7f2f4d3eef90)\r\n    at /usr/src/debug/LStore-0.5.1_387_g5dadef4aedabe1ccfc54a08b9147d60b_dev/src/gop/mq_ongoing.c:88\r\n#6  0x00007f2f48a71dc5 in start_thread (arg=0x7f2f28fe9700) at pthread_create.c:308\r\n#7  0x00007f2f4a639ced in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113\r\n(gdb) frame 1\r\n#1  0x00007f2f3da53de9 in tbx_pch_reserve (pc=0x7f2f4d384de0)\r\n    at /usr/src/debug/LStore-0.5.1_387_g5dadef4aedabe1ccfc54a08b9147d60b_dev/src/toolbox/pigeon_coop.c:224\r\n224\t    apr_thread_mutex_lock(pc->lock);\r\n(gdb) p pc\r\n$1 = (tbx_pc_t *) 0x7f2f4d384de0\r\n(gdb) p *pc\r\n$2 = {lock = 0x0, pool = 0x7f2f4d390858, nshelves = 1, shelf_size = 50, item_size = 32, check_shelf = 0, nused = 0, \r\n  name = 0x7f2f3dcb4f56 \"gop_control\", new_arg = 0x0, ph_shelf = 0x7f2f4d384e40, data_shelf = 0x7f2f4d384e60, \r\n  new = 0x7f2f3dc95660 <gop_control_new>, free = 0x7f2f3dc957d0 <gop_control_free>}\r\n```\r\n\r\nNot entirely sure how lock is null..."},"comment":{"url":"https://api.github.com/repos/accre/lstore/issues/comments/257040450","html_url":"https://github.com/accre/lstore/issues/146#issuecomment-257040450","issue_url":"https://api.github.com/repos/accre/lstore/issues/146","id":257040450,"user":{"login":"PerilousApricot","id":93354,"avatar_url":"https://avatars.githubusercontent.com/u/93354?v=3","gravatar_id":"","url":"https://api.github.com/users/PerilousApricot","html_url":"https://github.com/PerilousApricot","followers_url":"https://api.github.com/users/PerilousApricot/followers","following_url":"https://api.github.com/users/PerilousApricot/following{/other_user}","gists_url":"https://api.github.com/users/PerilousApricot/gists{/gist_id}","starred_url":"https://api.github.com/users/PerilousApricot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PerilousApricot/subscriptions","organizations_url":"https://api.github.com/users/PerilousApricot/orgs","repos_url":"https://api.github.com/users/PerilousApricot/repos","events_url":"https://api.github.com/users/PerilousApricot/events{/privacy}","received_events_url":"https://api.github.com/users/PerilousApricot/received_events","type":"User","site_admin":false},"created_at":"2016-10-28T22:07:25Z","updated_at":"2016-10-28T22:07:25Z","body":"The one hitch is that mrotect only works on page-aligned things. But, since\nthat is a global, it should be easy to set a watch point.\n\n-- \nIt's dark in this basement.\n"}}
{"actor":{"display_login":"PerilousApricot"}}