fowode / pychess

Automatically exported from code.google.com/p/pychess
GNU General Public License v3.0
0 stars 0 forks source link

pychess freeze during FICS game #875

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I was playing a FICS game and pychess froze.

Original issue reported on code.google.com by mattgatto on 28 May 2014 at 7:24

Attachments:

GoogleCodeExporter commented 9 years ago
This bug is similar, if not a duplicate of issue 873 and issue 869.

Thread: FICSConnection.run:288 (139784802526976)
  File "/usr/lib64/python2.7/threading.py", line 784, in __bootstrap
    self.__bootstrap_inner()
  File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner
    self.run()
  File "/home/gatto/code/hg/pychess/lib/pychess/System/ThreadPool.py", line 91, in run
    self.func()
  File "/home/gatto/code/hg/pychess/lib/pychess/System/ThreadPool.py", line 62, in <lambda>
    a.func = lambda: func(*args, **kw)
  File "/home/gatto/code/hg/pychess/lib/pychess/ic/FICSConnection.py", line 294, in run
    self.client.parse()
  File "/home/gatto/code/hg/pychess/lib/pychess/ic/VerboseTelnet.py", line 213, in parse
    answer = self.test_prediction(p, line)
  File "/home/gatto/code/hg/pychess/lib/pychess/ic/VerboseTelnet.py", line 222, in test_prediction
    answer = prediction.handle(line.line)
  File "/home/gatto/code/hg/pychess/lib/pychess/ic/VerboseTelnet.py", line 49, in handle
    self.callback(match)
  File "/home/gatto/code/hg/pychess/lib/pychess/ic/managers/HelperManager.py", line 102, in on_game_add
    player.status = IC_STATUS_PLAYING
  File "/usr/lib64/python2.7/site-packages/gobject/propertyhelper.py", line 172, in __set__
    instance.set_property(self.name, value)
  File "/home/gatto/code/hg/pychess/lib/pychess/System/glock.py", line 84, in newFunction
    acquire()
  File "/home/gatto/code/hg/pychess/lib/pychess/System/glock.py", line 29, in acquire
    _rlock.acquire()
  File "/usr/lib64/python2.7/threading.py", line 173, in acquire
    rc = self.__block.acquire(blocking)

has glock
Thread: FICSConnection.run:288 (139784355444480)
  File "/usr/lib64/python2.7/threading.py", line 784, in __bootstrap
    self.__bootstrap_inner()
  File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner
    self.run()
  File "/home/gatto/code/hg/pychess/lib/pychess/System/ThreadPool.py", line 91, in run
    self.func()
  File "/home/gatto/code/hg/pychess/lib/pychess/System/ThreadPool.py", line 62, in <lambda>
    a.func = lambda: func(*args, **kw)
  File "/home/gatto/code/hg/pychess/lib/pychess/ic/FICSConnection.py", line 294, in run
    self.client.parse()
  File "/home/gatto/code/hg/pychess/lib/pychess/ic/VerboseTelnet.py", line 206, in parse
    line = self.lines.popleft()
  File "/home/gatto/code/hg/pychess/lib/pychess/ic/VerboseTelnet.py", line 156, in popleft
    self.lines.extend(self._get_lines())
  File "/home/gatto/code/hg/pychess/lib/pychess/ic/VerboseTelnet.py", line 193, in _get_lines
    self.consolehandler.handle(lines)
  File "/home/gatto/code/hg/pychess/lib/pychess/ic/VerboseTelnet.py", line 13, in handle
    self.callback(line)
  File "/home/gatto/code/hg/pychess/lib/pychess/ic/managers/ConsoleManager.py", line 18, in onConsoleMessage
    self.emit("consoleMessage", lines)
  File "/home/gatto/code/hg/pychess/lib/pychess/System/glock.py", line 69, in handler
    acquire()
  File "/home/gatto/code/hg/pychess/lib/pychess/System/glock.py", line 34, in acquire
    threads_enter()

Original comment by mattgatto on 28 May 2014 at 7:30

GoogleCodeExporter commented 9 years ago
This issue was closed by revision be28de3413ef.

Original comment by mattgatto on 7 Jun 2014 at 8:17