fowode / pychess

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

FICS python crash: "Segmentation fault" #899

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I was running FICS when I got this crash:

Fatal Python error: Segmentation fault

Thread 0x00007f6f01c8d700:
  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 0x00007f6f0248e700:
  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 0x00007f6f02c8f700:
  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 0x00007f6f03490700:
  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

Current thread 0x00007f6f03c91700:
  File "/home/gatto/code/hg/pychess/lib/pychess/ic/VerboseTelnet.py", line 190 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

Thread 0x00007f6f0e296700:
  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

Thread 0x00007f6f0d840700:
  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 0x00007f6f1dd35740:
  File "/home/gatto/code/hg/pychess/lib/pychess/Main.py", line 494 in run
  File "/home/gatto/code/hg/pychess/pychess", line 138 in <module>

Original issue reported on code.google.com by mattgatto on 9 Jul 2014 at 2:30

Attachments:

GoogleCodeExporter commented 9 years ago
#0  0x000000308e40ee6b in raise (sig=11) at 
../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37
#1  <signal handler called>
#2  0x00000030a929dacb in _PyType_Lookup (type=0x797420666f207463, 
name='__length_hint__')
    at /usr/src/debug/Python-2.7.5/Objects/typeobject.c:2491
#3  0x00000030a929dbdc in lookup_maybe (self=<unknown at remote 
0x7f6eec016e60>, 
    attrstr=<optimized out>, attrobj=<optimized out>)
    at /usr/src/debug/Python-2.7.5/Objects/typeobject.c:1204
#4  0x00000030a929dc45 in _PyObject_LookupSpecial (self=<optimized out>, 
attrstr=<optimized out>, 
    attrobj=<optimized out>) at /usr/src/debug/Python-2.7.5/Objects/typeobject.c:1228
#5  0x00000030a924a75f in _PyObject_LengthHint (o=o@entry=<unknown at remote 
0x7f6eec016e60>, 
    defaultvalue=defaultvalue@entry=8) at /usr/src/debug/Python-2.7.5/Objects/abstract.c:113
#6  0x00000030a92724c3 in listextend (self=self@entry=0x7f6e9cbf33f8, 
    b=b@entry=<unknown at remote 0x7f6eec016e60>)
    at /usr/src/debug/Python-2.7.5/Objects/listobject.c:860
#7  0x00000030a92753b5 in _PyList_Extend (self=self@entry=0x7f6e9cbf33f8, 
    b=b@entry=<unknown at remote 0x7f6eec016e60>)
    at /usr/src/debug/Python-2.7.5/Objects/listobject.c:919
#8  0x00000030a9249a28 in PySequence_List (v=v@entry=<unknown at remote 
0x7f6eec016e60>)
    at /usr/src/debug/Python-2.7.5/Objects/abstract.c:2247
#9  0x00000030a924b08d in PySequence_Fast (v=<optimized out>, 
m=m@entry=0x30a93267c8 "")
    at /usr/src/debug/Python-2.7.5/Objects/abstract.c:2276
#10 0x00000030a9295e54 in string_join (self=0x35004e0, orig=<optimized out>)
    at /usr/src/debug/Python-2.7.5/Objects/stringobject.c:1598
#11 0x00000030a92ddc6e in call_function (oparg=<optimized out>, 
pp_stack=0x7f6f03c90390)
    at /usr/src/debug/Python-2.7.5/Python/ceval.c:4086
#12 PyEval_EvalFrameEx (
    f=f@entry=Frame 0x7f6e9c543990, for file /home/gatto/code/hg/pychess/lib/pychess/ic/VerboseTelnet.py, line 190, in _get_lines (self=<TelnetLines(_line_prefix='fics%', _block_mode=True, lines=<collections.deque at remote 0x7f6ef4024c20>, consolehandler=<ConsoleHandler(callback=<instancemethod at remote 0x7f6ef8020690>) at remote 0x7f6ef8038550>, telnet=<TimeSeal(softspace=0, name='mgatto', writebuf='', sock=<_socketobject at remote 0x7f6ef4024b40>, FatICS=False, sensitive=False, host='freechess.org', connected=True, stateinfo=(0, []), closed=False, buf='<s> 133 w=wycliff ti=00 rt=1381  t=3 i=0 r=r tp=blitz c=? rr=0-9999 a=t f=t\nfics% ', port=5000) at remote 0x7f6ef403aab8>) at remote 0x7f6ef403c1d0>, lines=[<TelnetLine at remote 0x7f6e88e090a0>], line=''), throwflag=throwflag@entry=0)
    at /usr/src/debug/Python-2.7.5/Python/ceval.c:2740
#13 0x00000030a92dd80c in fast_function (nk=<optimized out>, na=1, n=1, 
pp_stack=0x7f6f03c904f0, 
    func=<function at remote 0x350cb90>) at /usr/src/debug/Python-2.7.5/Python/ceval.c:4184
#14 call_function (oparg=<optimized out>, pp_stack=0x7f6f03c904f0)
    at /usr/src/debug/Python-2.7.5/Python/ceval.c:4119
#15 PyEval_EvalFrameEx (
    f=f@entry=Frame 0x7f6eec8c64d0, for file /home/gatto/code/hg/pychess/lib/pychess/ic/VerboseTelnet.py, line 156, in popleft (self=<TelnetLines(_line_prefix='fics%', _block_mode=True, lines=<collections.deque at remote 0x7f6ef4024c20>, consolehandler=<ConsoleHandler(callback=<instancemethod at remote 0x7f6ef8020690>) at remote 0x7f6ef8038550>, telnet=<TimeSeal(softspace=0, name='mgatto', writebuf='', sock=<_socketobject at remote 0x7f6ef4024b40>, FatICS=False, sensitive=False, host='freechess.org', connected=True, stateinfo=(0, []), closed=False, buf='<s> 133 w=wycliff ti=00 rt=1381  t=3 i=0 r=r tp=blitz c=? rr=0-9999 a=t f=t\nfics% ', port=5000) at remote 0x7f6ef403aab8>) at remote 0x7f6ef403c1d0>), 

Original comment by mattgatto on 9 Jul 2014 at 2:31