After I'd been logged into FICS for about 12 hours I got this crash (probably
related to issue 880):
Fatal Python error: Inconsistent interned string state.
Fatal Python error: Aborted
Thread 0x00007ffc81397700:
File "/home/gatto/code/hg/pychess/lib/pychess/System/repeat.py", line 29 in run
File "/usr/lib64/python2.7/threading.py", line 764 in run
File "/usr/lib64/python2.7/threading.py", line 811 in __bootstrap_inner
File "/usr/lib64/python2.7/threading.py", line 784 in __bootstrap
Thread 0x00007ffc767fb700:
File "/home/gatto/code/hg/pychess/lib/pychess/System/repeat.py", line 29 in run
File "/usr/lib64/python2.7/threading.py", line 764 in run
File "/usr/lib64/python2.7/threading.py", line 811 in __bootstrap_inner
File "/usr/lib64/python2.7/threading.py", line 784 in __bootstrap
Thread 0x00007ffca1ffb700:
File "/home/gatto/code/hg/pychess/lib/pychess/System/repeat.py", line 29 in run
File "/usr/lib64/python2.7/threading.py", line 764 in run
File "/usr/lib64/python2.7/threading.py", line 811 in __bootstrap_inner
File "/usr/lib64/python2.7/threading.py", line 784 in __bootstrap
Thread 0x00007ffc80b96700:
File "/home/gatto/code/hg/pychess/lib/pychess/System/repeat.py", line 29 in run
File "/usr/lib64/python2.7/threading.py", line 764 in run
File "/usr/lib64/python2.7/threading.py", line 811 in __bootstrap_inner
File "/usr/lib64/python2.7/threading.py", line 784 in __bootstrap
Thread 0x00007ffc477fe700:
File "/usr/lib64/python2.7/threading.py", line 339 in wait
File "/usr/lib64/python2.7/Queue.py", line 168 in get
File "/home/gatto/code/hg/pychess/lib/pychess/Players/ICPlayer.py", line 139 in makeMove
File "/home/gatto/code/hg/pychess/lib/pychess/Utils/GameModel.py", line 571 in run
File "/usr/lib64/python2.7/threading.py", line 811 in __bootstrap_inner
File "/usr/lib64/python2.7/threading.py", line 784 in __bootstrap
Thread 0x00007ffc47fff700:
File "/home/gatto/code/hg/pychess/lib/pychess/System/repeat.py", line 29 in run
File "/usr/lib64/python2.7/threading.py", line 764 in run
File "/usr/lib64/python2.7/threading.py", line 811 in __bootstrap_inner
File "/usr/lib64/python2.7/threading.py", line 784 in __bootstrap
Thread 0x00007ffc74ff8700:
File "/usr/lib64/python2.7/threading.py", line 339 in wait
File "/usr/lib64/python2.7/Queue.py", line 168 in get
File "/home/gatto/code/hg/pychess/sidepanel/bookPanel.py", line 292 in run
File "/usr/lib64/python2.7/threading.py", line 811 in __bootstrap_inner
File "/usr/lib64/python2.7/threading.py", line 784 in __bootstrap
Thread 0x00007ffc757f9700:
File "/home/gatto/code/hg/pychess/lib/pychess/System/repeat.py", line 29 in run
File "/usr/lib64/python2.7/threading.py", line 764 in run
File "/usr/lib64/python2.7/threading.py", line 811 in __bootstrap_inner
File "/usr/lib64/python2.7/threading.py", line 784 in __bootstrap
Thread 0x00007ffc75ffa700:
File "/usr/lib64/python2.7/threading.py", line 339 in wait
File "/usr/lib64/python2.7/Queue.py", line 168 in get
File "/home/gatto/code/hg/pychess/lib/pychess/Players/ICPlayer.py", line 139 in makeMove
File "/home/gatto/code/hg/pychess/lib/pychess/Utils/GameModel.py", line 571 in run
File "/usr/lib64/python2.7/threading.py", line 811 in __bootstrap_inner
File "/usr/lib64/python2.7/threading.py", line 784 in __bootstrap
Thread 0x00007ffc76ffc700:
File "/usr/lib64/python2.7/threading.py", line 339 in wait
File "/usr/lib64/python2.7/Queue.py", line 168 in get
File "/home/gatto/code/hg/pychess/sidepanel/bookPanel.py", line 292 in run
File "/usr/lib64/python2.7/threading.py", line 811 in __bootstrap_inner
File "/usr/lib64/python2.7/threading.py", line 784 in __bootstrap
Thread 0x00007ffc777fd700:
File "/home/gatto/code/hg/pychess/lib/pychess/System/repeat.py", line 29 in run
File "/usr/lib64/python2.7/threading.py", line 764 in run
File "/usr/lib64/python2.7/threading.py", line 811 in __bootstrap_inner
File "/usr/lib64/python2.7/threading.py", line 784 in __bootstrap
Thread 0x00007ffc82399700:
File "/usr/lib64/python2.7/threading.py", line 339 in wait
File "/usr/lib64/python2.7/Queue.py", line 168 in get
File "/home/gatto/code/hg/pychess/lib/pychess/Players/ICPlayer.py", line 139 in makeMove
File "/home/gatto/code/hg/pychess/lib/pychess/Utils/GameModel.py", line 571 in run
File "/usr/lib64/python2.7/threading.py", line 811 in __bootstrap_inner
File "/usr/lib64/python2.7/threading.py", line 784 in __bootstrap
Thread 0x00007ffcb67fc700:
File "/usr/lib64/python2.7/threading.py", line 339 in wait
File "/usr/lib64/python2.7/Queue.py", line 168 in get
File "/home/gatto/code/hg/pychess/sidepanel/bookPanel.py", line 292 in run
File "/usr/lib64/python2.7/threading.py", line 811 in __bootstrap_inner
File "/usr/lib64/python2.7/threading.py", line 784 in __bootstrap
Thread 0x00007ffcb6ffd700:
File "/home/gatto/code/hg/pychess/lib/pychess/System/repeat.py", line 29 in run
File "/usr/lib64/python2.7/threading.py", line 764 in run
File "/usr/lib64/python2.7/threading.py", line 811 in __bootstrap_inner
File "/usr/lib64/python2.7/threading.py", line 784 in __bootstrap
Thread 0x00007ffca27fc700:
File "/usr/lib64/python2.7/threading.py", line 339 in wait
File "/usr/lib64/python2.7/Queue.py", line 168 in get
File "/home/gatto/code/hg/pychess/lib/pychess/Players/ICPlayer.py", line 139 in makeMove
File "/home/gatto/code/hg/pychess/lib/pychess/Utils/GameModel.py", line 571 in run
File "/usr/lib64/python2.7/threading.py", line 811 in __bootstrap_inner
File "/usr/lib64/python2.7/threading.py", line 784 in __bootstrap
Thread 0x00007ffcb5ffb700:
File "/usr/lib64/python2.7/threading.py", line 339 in wait
File "/usr/lib64/python2.7/Queue.py", line 168 in get
File "/home/gatto/code/hg/pychess/sidepanel/bookPanel.py", line 292 in run
File "/usr/lib64/python2.7/threading.py", line 811 in __bootstrap_inner
File "/usr/lib64/python2.7/threading.py", line 784 in __bootstrap
Thread 0x00007ffca0ff9700:
File "/home/gatto/code/hg/pychess/lib/pychess/System/repeat.py", line 29 in run
File "/usr/lib64/python2.7/threading.py", line 764 in run
File "/usr/lib64/python2.7/threading.py", line 811 in __bootstrap_inner
File "/usr/lib64/python2.7/threading.py", line 784 in __bootstrap
Thread 0x00007ffcb4ffd700:
File "/usr/lib64/python2.7/threading.py", line 339 in wait
File "/usr/lib64/python2.7/Queue.py", line 168 in get
File "/home/gatto/code/hg/pychess/lib/pychess/System/GtkWorker.py", line 29 in run
File "/usr/lib64/python2.7/threading.py", line 811 in __bootstrap_inner
File "/usr/lib64/python2.7/threading.py", line 784 in __bootstrap
Thread 0x00007ffcb77fe700:
File "/home/gatto/code/hg/pychess/lib/pychess/ic/FICSConnection.py", line 281 in keep_alive
File "/usr/lib64/python2.7/threading.py", line 764 in run
File "/usr/lib64/python2.7/threading.py", line 811 in __bootstrap_inner
File "/usr/lib64/python2.7/threading.py", line 784 in __bootstrap
Thread 0x00007ffcb7fff700:
File "/home/gatto/code/hg/pychess/lib/pychess/ic/FICSConnection.py", line 281 in keep_alive
File "/usr/lib64/python2.7/threading.py", line 764 in run
File "/usr/lib64/python2.7/threading.py", line 811 in __bootstrap_inner
File "/usr/lib64/python2.7/threading.py", line 784 in __bootstrap
Thread 0x00007ffcc4cac700:
File "/usr/lib64/python2.7/threading.py", line 339 in wait
File "/usr/lib64/python2.7/Queue.py", line 168 in get
File "/home/gatto/code/hg/pychess/lib/pychess/System/GtkWorker.py", line 29 in run
File "/usr/lib64/python2.7/threading.py", line 811 in __bootstrap_inner
File "/usr/lib64/python2.7/threading.py", line 784 in __bootstrap
Thread 0x00007ffcc56b3700:
File "/home/gatto/code/hg/pychess/lib/pychess/ic/TimeSeal.py", line 162 in cook_some
File "/home/gatto/code/hg/pychess/lib/pychess/ic/TimeSeal.py", line 159 in readuntil
File "/home/gatto/code/hg/pychess/lib/pychess/ic/TimeSeal.py", line 150 in readline
File "/home/gatto/code/hg/pychess/lib/pychess/ic/VerboseTelnet.py", line 161 in _get_lines
File "/home/gatto/code/hg/pychess/lib/pychess/ic/VerboseTelnet.py", line 156 in popleft
File "/home/gatto/code/hg/pychess/lib/pychess/ic/VerboseTelnet.py", line 206 in parse
File "/home/gatto/code/hg/pychess/lib/pychess/ic/FICSConnection.py", line 295 in run
File "/usr/lib64/python2.7/threading.py", line 811 in __bootstrap_inner
File "/usr/lib64/python2.7/threading.py", line 784 in __bootstrap
Current thread 0x00007ffcd0ecb700:
File "/home/gatto/code/hg/pychess/lib/pychess/ic/VerboseTelnet.py", line 48 in handle
File "/home/gatto/code/hg/pychess/lib/pychess/ic/VerboseTelnet.py", line 222 in test_prediction
File "/home/gatto/code/hg/pychess/lib/pychess/ic/VerboseTelnet.py", line 213 in parse
File "/home/gatto/code/hg/pychess/lib/pychess/ic/FICSConnection.py", line 295 in run
File "/usr/lib64/python2.7/threading.py", line 811 in __bootstrap_inner
File "/usr/lib64/python2.7/threading.py", line 784 in __bootstrap
Thread 0x00007ffcc66b4700:
File "/home/gatto/code/hg/pychess/lib/pychess/System/debug.py", line 29 in thread_dumper
File "/usr/lib64/python2.7/threading.py", line 764 in run
File "/usr/lib64/python2.7/threading.py", line 811 in __bootstrap_inner
File "/usr/lib64/python2.7/threading.py", line 784 in __bootstrap
Thread 0x00007ffcdf67e740:
File "/home/gatto/code/hg/pychess/lib/pychess/Main.py", line 493 in run
File "/home/gatto/code/hg/pychess/pychess", line 138 in <module>
(gdb) bt
#0 0x000000308e40ee6b in raise (sig=6) at
../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37
#1 <signal handler called>
#2 0x000000308e0359e9 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#3 0x000000308e0370f8 in __GI_abort () at abort.c:90
#4 0x00000030a92f8b5e in Py_FatalError (msg=msg@entry=0x30a9329d50
"Inconsistent interned string state.")
at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1697
#5 0x00000030a928d2c1 in string_dealloc (op=';wa> bebgsurg 001816 2123
0P0P0P0P0P0P0P')
at /usr/src/debug/Python-2.7.5/Objects/stringobject.c:595
#6 0x00000030a9297c13 in tupledealloc (op=0x7ffc8f94d850) at
/usr/src/debug/Python-2.7.5/Objects/tupleobject.c:238
#7 0x00000030a927cf6f in insertdict_by_entry (mp=0x7ffcc0021390,
key='matches', hash=<optimized out>,
ep=<optimized out>, value=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/dictobject.c:528
#8 0x00000030a927e8c0 in dict_set_item_by_hash_or_entry (
op=op@entry={'matches': ('<wa> charzan 001447 1762E0P0P0P0P0P0P0P',), 'callback': <instancemethod at remote 0x7ffcbc0a58c0>, 'hash': -5656811383493988343, 'name': 'on_player_connect', 'regexps': [<_sre.SRE_Pattern at remote 0x7ffcc0027b20>]}, key=<optimized out>, hash=<optimized out>, ep=ep@entry=0x0,
value=value@entry=('<wa> charzan 001447 1762E0P0P0P0P0P0P0P',))
at /usr/src/debug/Python-2.7.5/Objects/dictobject.c:774
#9 0x00000030a927f804 in PyDict_SetItem (
op=op@entry={'matches': ('<wa> charzan 001447 1762E0P0P0P0P0P0P0P',), 'callback': <instancemethod at remote 0x7ffcbc0a58c0>, 'hash': -5656811383493988343, 'name': 'on_player_connect', 'regexps': [<_sre.SRE_Pattern at remote 0x7ffcc0027b20>]}, key=key@entry='matches', value=value@entry=('<wa> charzan 001447 1762E0P0P0P0P0P0P0P',))
at /usr/src/debug/Python-2.7.5/Objects/dictobject.c:827
#10 0x00000030a9284a88 in _PyObject_GenericSetAttrWithDict (obj=<optimized
out>, name='matches',
value=('<wa> charzan 001447 1762E0P0P0P0P0P0P0P',),
dict={'matches': ('<wa> charzan 001447 1762E0P0P0P0P0P0P0P',), 'callback': <instancemethod at remote 0x7ffcbc0a58c0>, 'hash': -5656811383493988343, 'name': 'on_player_connect', 'regexps': [<_sre.SRE_Pattern at remote 0x7ffcc0027b20>]}) at /usr/src/debug/Python-2.7.5/Objects/object.c:1529
#11 0x00000030a92844ff in PyObject_SetAttr (
v=v@entry=<LinePrediction(matches=('<wa> charzan 001447 1762E0P0P0P0P0P0P0P',), callback=<instancemethod at remote 0x7ffcbc0a58c0>, hash=-5656811383493988343, name='on_player_connect', regexps=[<_sre.SRE_Pattern at remote 0x7ffcc0027b20>]) at remote 0x7ffcbc0a38d0>, name=<optimized out>,
value=value@entry=('<wa> charzan 001447 1762E0P0P0P0P0P0P0P',))
at /usr/src/debug/Python-2.7.5/Objects/object.c:1252
#12 0x00000030a92dae88 in PyEval_EvalFrameEx (
f=f@entry=Frame 0x7ffc2c5a8020, for file /home/gatto/code/hg/pychess/lib/pychess/ic/VerboseTelnet.py, line 48, in handle (self=<LinePrediction(matches=('<wa> charzan 001447 1762E0P0P0P0P0P0P0P',), callback=<instancemethod at remote 0x7ffcbc0a58c0>, hash=-5656811383493988343, name='on_player_connect', regexps=[<_sre.SRE_Pattern at remote 0x7ffcc0027b20>]) at remote 0x7ffcbc0a38d0>, line='<wa> charzan 001447 1762E0P0P0P0P0P0P0P', match=<_sre.SRE_Match at remote 0x7ffcc11b4690>), throwflag=throwflag@entry=0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:2078
#13 0x00000030a92dd80c in fast_function (nk=<optimized out>, na=2, n=2,
pp_stack=0x7ffcd0eca4f0,
func=<function at remote 0x37d8aa0>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:4184
#14 call_function (oparg=<optimized out>, pp_stack=0x7ffcd0eca4f0) at
/usr/src/debug/Python-2.7.5/Python/ceval.c:4119
#15 PyEval_EvalFrameEx (
f=f@entry=Frame 0x7ffc2d3e2710, for file /home/gatto/code/hg/pychess/lib/pychess/ic/VerboseTelnet.py, line 222, in test_prediction (self=<PredictionsTelnet(reply_cmd_dict={146: [<LinePrediction(matches=('zzyxx^001492 1892E0P0P0P0P0P---Type <return> to continue, or q <return> to quit---
0P0P',), callback=<instancemethod at remote 0x7ffcbc0a5820>,
hash=2467260716113075501, name='on_player_whoI', regexps=[<_sre.SRE_Pattern at
remote 0x7ffcc0029200>]) at remote 0x7ffcbc0a3990>], 43:
[<LinePrediction(matches=('104 2685 ArShah 2399 GeidiPrime [ sr 15 0]
13:21 - 13:44 (36-36) B: 13',), callback=<instancemethod at remote
0x7ffcbc0a57d0>, hash=-7758088902991493315, name='on_game_list',
regexps=[<_sre.SRE_Pattern at remote 0x7ffcc0028b00>]) at remote
0x7ffcbc0a3950>]}, _PredictionsTelnet__command_id=27,
lines=<TelnetLines(_line_prefix='fics%', _block_mode=True,
lines=<collections.deque at remote 0x7ffcb803c130>, consolehandler=None,
telnet=<TimeSeal(softspace=0, name='GuestDQVP', writebuf='',
sock=<_socketobject at remote 0x7ffcb8021fa0>, FatICS=False,
host='freechess.org', ...(truncated),
throwflag=throwflag@entry=0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:2740
#16 0x00000030a92dd80c in fast_function (nk=<optimized out>, na=3, n=3,
pp_stack=0x7ffcd0eca650,
func=<function at remote 0x37f96e0>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:4184
#17 call_function (oparg=<optimized out>, pp_stack=0x7ffcd0eca650) at
/usr/src/debug/Python-2.7.5/Python/ceval.c:4119
#18 PyEval_EvalFrameEx (
f=f@entry=Frame 0x7ffcbc2b31f0, for file /home/gatto/code/hg/pychess/lib/pychess/ic/VerboseTelnet.py, line 213, in parse (self=<PredictionsTelnet(reply_cmd_dict={146: [<LinePrediction(matches=('zzyxx^001492 1892E0P0P0P0P0P0P0P',), callback=<instancemethod at remote 0x7ffcbc0a5820>, hash=2467260716113075501, name='on_player_whoI', regexps=[<_sre.SRE_Pattern at remote 0x7ffcc0029200>]) at remote 0x7ffcbc0a3990>], 43: [<LinePrediction(matches=('104 2685 ArShah 2399 GeidiPrime [ sr 15 0] 13:21 - 13:44 (36-36) B: 13',), callback=<instancemethod at remote 0x7ffcbc0a57d0>, hash=-7758088902991493315, name='on_game_list', regexps=[<_sre.SRE_Pattern at remote 0x7ffcc0028b00>]) at remote 0x7ffcbc0a
Original issue reported on code.google.com by mattgatto on 18 Jun 2014 at 11:55
Original issue reported on code.google.com by
mattgatto
on 18 Jun 2014 at 11:55