{"action":"closed","issue":{"url":"https://api.github.com/repos/pychess/pychess/issues/79","labels_url":"https://api.github.com/repos/pychess/pychess/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/pychess/pychess/issues/79/comments","events_url":"https://api.github.com/repos/pychess/pychess/issues/79/events","html_url":"https://github.com/pychess/pychess/issues/79","id":56348143,"number":79,"title":"historypool crash","user":{"login":"pychess","id":10670522,"avatar_url":"https://avatars.githubusercontent.com/u/10670522?v=3","gravatar_id":"","url":"https://api.github.com/users/pychess","html_url":"https://github.com/pychess","followers_url":"https://api.github.com/users/pychess/followers","following_url":"https://api.github.com/users/pychess/following{/other_user}","gists_url":"https://api.github.com/users/pychess/gists{/gist_id}","starred_url":"https://api.github.com/users/pychess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pychess/subscriptions","organizations_url":"https://api.github.com/users/pychess/orgs","repos_url":"https://api.github.com/users/pychess/repos","events_url":"https://api.github.com/users/pychess/events{/privacy}","received_events_url":"https://api.github.com/users/pychess/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pychess/pychess/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-03T08:33:14Z","updated_at":"2015-02-03T08:33:19Z","closed_at":"2015-02-03T08:33:19Z","body":"Original [issue 79](https://code.google.com/p/pychess/issues/detail?id=79) reported by [lobais](https://code.google.com/u/lobais/) 2006-11-03\n\nSome people has reported this bug.\nI guess it might require a threadlock.\nI don't know if it is still a bug after the constant/history change.\n\nException in thread Thread-6:\nTraceback (most recent call last):\n  File \"threading.py\", line 442, in \\_\\_bootstrap\n    self.run()\n  File \"/home/jonas/Desktop/pychess/System/ThreadPool.py\", line 51, in run\n    self.func()\n  File \"/home/jonas/Desktop/pychess/System/ThreadPool.py\", line 33, in <lambda>\n    a.func = lambda: func(*args)\n  File \"/home/jonas/Desktop/pychess/Players/PyChess.py\", line 110, in\nrunAnalyze\n    mvs, score = alphaBeta(self, his2, 2, -9999, 9999)\n  File \"/home/jonas/Desktop/pychess/Players/PyChess.py\", line 153, in alphaBeta\n    mvs, val = alphaBeta(engine, his2, depth-1, -alpha-1, -alpha)\n  File \"/home/jonas/Desktop/pychess/Players/PyChess.py\", line 149, in alphaBeta\n    his2 = history.clone()\n  File \"/home/jonas/Desktop/pychess/Utils/History.py\", line 188, in clone\n    his = hisPool.pop()\n  File \"/home/jonas/Desktop/pychess/Utils/History.py\", line 23, in pop\n    his = self.objects.pop()\nIndexError: pop from empty list"}}