fowode / pychess

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

FICS freeze #896

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I got this freeze when using FICS:

Thread: SubProcess.linePublisher (140501014386432)
  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/GtkWorker.py", line 29, in run
    v = self.queue.get()
  File "/usr/lib64/python2.7/Queue.py", line 168, in get
    self.not_empty.wait()
  File "/usr/lib64/python2.7/threading.py", line 339, in wait
    waiter.acquire()

Thread: FICSConnection:keep_alive:275 (140500833724160)
  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 "/usr/lib64/python2.7/threading.py", line 764, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/gatto/code/hg/pychess/lib/pychess/ic/FICSConnection.py", line 281, in keep_alive
    time.sleep(30)

Thread: debug:thread_dumper:11 (140501022779136)
  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 "/usr/lib64/python2.7/threading.py", line 764, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/gatto/code/hg/pychess/lib/pychess/System/debug.py", line 28, in thread_dumper
    dump_threads()
  File "/home/gatto/code/hg/pychess/lib/pychess/System/debug.py", line 19, in dump_threads
    stack = traceback.format_list(traceback.extract_stack(frame))

Thread: MainThread (140501297416000)
  File "/home/gatto/code/hg/pychess/pychess", line 138, in <module>
    chess_file, ics_host, ics_port)
  File "/home/gatto/code/hg/pychess/lib/pychess/Main.py", line 493, in run
    gtk.main()

Thread: FICSConnection:keep_alive:275 (140500842116864)
  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 "/usr/lib64/python2.7/threading.py", line 764, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/gatto/code/hg/pychess/lib/pychess/ic/FICSConnection.py", line 281, in keep_alive
    time.sleep(30)

has glock
Thread: FICSConnection.run:289 (140501033617152)
  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/ic/FICSConnection.py", line 295, 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 187, in on_player_disconnect
    self.connection.players.player_disconnected(FICSPlayer(name))
  File "/home/gatto/code/hg/pychess/lib/pychess/ic/FICSObjects.py", line 447, in player_disconnected
    self.emit('FICSPlayerExited', player)
  File "/home/gatto/code/hg/pychess/lib/pychess/widgets/ChatWindow.py", line 508, in removePlayer
    self.playersList.removeRow(self.compileId(player.name, TYPE_PERSONAL))
  File "/home/gatto/code/hg/pychess/lib/pychess/widgets/ChatWindow.py", line 128, in removeRow
    with glock.glock:
  File "/home/gatto/code/hg/pychess/lib/pychess/System/glock.py", line 96, in __enter__
    acquire()
  File "/home/gatto/code/hg/pychess/lib/pychess/System/glock.py", line 36, in acquire
    threads_enter()

Thread: FICSConnection.run:289 (140500858902272)
  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/ic/FICSConnection.py", line 295, 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/widgets/ConsoleWindow.py", line 49, in onConsoleMessage
    self.consoleView.addMessage(line)
  File "/home/gatto/code/hg/pychess/lib/pychess/widgets/ConsoleWindow.py", line 99, in addMessage
    glock.acquire()
  File "/home/gatto/code/hg/pychess/lib/pychess/System/glock.py", line 31, in acquire
    _rlock.acquire()
  File "/usr/lib64/python2.7/threading.py", line 173, in acquire
    rc = self.__block.acquire(blocking)

Thread: ICLounge.__init__:48 (140500850509568)
  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/GtkWorker.py", line 33, in run
    glock.acquire()
  File "/home/gatto/code/hg/pychess/lib/pychess/System/glock.py", line 31, in acquire
    _rlock.acquire()
  File "/usr/lib64/python2.7/threading.py", line 173, in acquire
    rc = self.__block.acquire(blocking)

Original issue reported on code.google.com by mattgatto on 26 Jun 2014 at 12:57

Attachments: