{"action":"created","issue":{"url":"https://api.github.com/repos/Simmesimme/Gnome-Pie/issues/73","labels_url":"https://api.github.com/repos/Simmesimme/Gnome-Pie/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/Simmesimme/Gnome-Pie/issues/73/comments","events_url":"https://api.github.com/repos/Simmesimme/Gnome-Pie/issues/73/events","html_url":"https://github.com/Simmesimme/Gnome-Pie/issues/73","id":24364041,"number":73,"title":"gnome-pie hangs up and causes 100% CPU usage","user":{"login":"verfriemelt-dot-org","id":1136869,"avatar_url":"https://avatars.githubusercontent.com/u/1136869?v=3","gravatar_id":"","url":"https://api.github.com/users/verfriemelt-dot-org","html_url":"https://github.com/verfriemelt-dot-org","followers_url":"https://api.github.com/users/verfriemelt-dot-org/followers","following_url":"https://api.github.com/users/verfriemelt-dot-org/following{/other_user}","gists_url":"https://api.github.com/users/verfriemelt-dot-org/gists{/gist_id}","starred_url":"https://api.github.com/users/verfriemelt-dot-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/verfriemelt-dot-org/subscriptions","organizations_url":"https://api.github.com/users/verfriemelt-dot-org/orgs","repos_url":"https://api.github.com/users/verfriemelt-dot-org/repos","events_url":"https://api.github.com/users/verfriemelt-dot-org/events{/privacy}","received_events_url":"https://api.github.com/users/verfriemelt-dot-org/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2013-12-16T17:15:26Z","updated_at":"2015-04-18T12:36:42Z","closed_at":null,"body":"Hi\r\n\r\ni have some issues with gnomepie right now and i couldnt figure out what causes this trouble ...\r\n\r\nsometimes gnome-pie runs in some sort of deadlock and raises cpu usage to 100% and doesnt respond at all ... i have to SIGKILL the executable and when i restart everythings runs fine.\r\n\r\nthe only error i get right now is the following\r\n\r\n[WARNING] Failed to fetch path: No such interface `org.ayatana.bamf.application' on object at path /org/ayatana/bamf/application0x1db9ae0\r\n\r\nbut i have no idea, if this has something todo with the deadlock\r\n\r\nim using\r\n[MESSAGE] Welcome to Gnome-Pie 0.5.5!\r\nwith mate 1.6 on an debian-testing"},"comment":{"url":"https://api.github.com/repos/Simmesimme/Gnome-Pie/issues/comments/94162834","html_url":"https://github.com/Simmesimme/Gnome-Pie/issues/73#issuecomment-94162834","issue_url":"https://api.github.com/repos/Simmesimme/Gnome-Pie/issues/73","id":94162834,"user":{"login":"gabdub","id":11639609,"avatar_url":"https://avatars.githubusercontent.com/u/11639609?v=3","gravatar_id":"","url":"https://api.github.com/users/gabdub","html_url":"https://github.com/gabdub","followers_url":"https://api.github.com/users/gabdub/followers","following_url":"https://api.github.com/users/gabdub/following{/other_user}","gists_url":"https://api.github.com/users/gabdub/gists{/gist_id}","starred_url":"https://api.github.com/users/gabdub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabdub/subscriptions","organizations_url":"https://api.github.com/users/gabdub/orgs","repos_url":"https://api.github.com/users/gabdub/repos","events_url":"https://api.github.com/users/gabdub/events{/privacy}","received_events_url":"https://api.github.com/users/gabdub/received_events","type":"User","site_admin":false},"created_at":"2015-04-18T12:36:42Z","updated_at":"2015-04-18T12:36:42Z","body":"Hi Simon,\r\nI think I finally got something here!\r\nI added some stress option to gnome-pie to auto open-close one given pie 500 times with some small delay in between.\r\nI discovered that the program sometimes hangs up when you move the mouse during opening/close cycles (entering/leaving the pie window).\r\nI tried commenting a lot of code and the issue only gone away after commenting out the POINTER_MOTION_MASK event filter. Since after that all works the same, I commented out the add_events() call completely and everything works as usual, but with the big difference that the issue hasn't shown up by now in over 1000 open-close cycles!!\r\nUncommenting it, hungs up again after a random number of cycles (could be less than 100).\r\n\r\nCould you please comment this line in pieRenderer.vala and confirm it could be removed?\r\n// set up event filter\r\n/*        this.add_events(Gdk.EventMask.BUTTON_RELEASE_MASK |\r\n                        Gdk.EventMask.KEY_RELEASE_MASK |\r\n                        Gdk.EventMask.KEY_PRESS_MASK |\r\n                        Gdk.EventMask.POINTER_MOTION_MASK |\r\n                        Gdk.EventMask.SCROLL_MASK );\r\n*/\r\nI've tested it only in Ubuntu 14.04 64bits by now. I'll confirm if this solves the issue in 32bits and MATE 14.04 version as well.\r\nRegards, Gabriel."}}