(gdb) r Starting program: /root/test/test35/cpython/python ../pub/test.py [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". test Program received signal SIGSEGV, Segmentation fault. 0x000000000048998c in PyObject_Hash (v=0x0) at Objects/object.c:761 761 PyTypeObject *tp = Py_TYPE(v); (gdb) bt #0 0x000000000048998c in PyObject_Hash (v=0x0) at Objects/object.c:761 #1 0x0000000000498d96 in tuplehash (v=0x7ffff7ec80d8) at Objects/tupleobject.c:351 #2 0x00000000004899b2 in PyObject_Hash (v=(0x0, 'port', 'family', 'type', 'proto', 'flags', 'addrlist', 'res', 'af', 'socktype', 'canonname', 'sa')) at Objects/object.c:763 #3 0x0000000000498d96 in tuplehash (v=0x7ffff7e98798) at Objects/tupleobject.c:351 #4 0x00000000004899b2 in PyObject_Hash (v=((0x0, 'port', 'family', 'type', 'proto', 'flags', 'addrlist', 'res', 'af', 'socktype', 'canonname', 'sa'), 'kwds', 'typed', 'kwd_mark', 'fasttypes', 'sorted', 'tuple', 'type', 'len', 'key', 'sorted_items', 'item')) at Objects/object.c:763 #5 0x0000000000498d96 in tuplehash (v=0x7ffff7f8c828) at Objects/tupleobject.c:351 #6 0x00000000004899b2 in PyObject_Hash ( v=(((0x0, 'port', 'family', 'type', 'proto', 'flags', 'addrlist', 'res', 'af', 'socktype', 'canonname', 'sa'), 'kwds', 'typed', 'kwd_mark', 'fasttypes', 'sorted', 'tuple', 'type', 'len', 'key', 'sorted_items', 'item'), '_imp_module', 'module_type', 'name', 'module', 'loader', 'spec', 'self_module', 'builtin_name', 'builtin_module', 'thread_module', 'weakref_module')) at Objects/object.c:763 #7 0x0000000000498d96 in tuplehash (v=0x7ffff7f8c4c8) at Objects/tupleobject.c:351 #8 0x00000000004899b2 in PyObject_Hash ( v=((((0x0, 'port', 'family', 'type', 'proto', 'flags', 'addrlist', 'res', 'af', 'socktype', 'canonname', 'sa'), 'kwds', 'typed', 'kwd_mark', 'fasttypes', 'sorted', 'tuple', 'type', 'len', 'key', 'sorted_items', 'item'), '_imp_module', 'module_type', 'name', 'module', 'loader', 'spec', 'self_module', 'builtin_name', 'builtin_module', 'thread_module', 'weakref_module'), '_resolve_name', '_imp', 'acquire_lock', 'sys', 'modules', '_find_and_load', '_gcd_import', 'release_lock', 'format', 'ImportError', '_lock_unlock_module')) at Objects/object.c:763 #9 0x0000000000498d96 in tuplehash (v=0x7ffff7f8c318) at Objects/tupleobject.c:351 #10 0x00000000004899b2 in PyObject_Hash ( v=(((((0x0, 'port', 'family', 'type', 'proto', 'flags', 'addrlist', 'res', 'af', 'socktype', 'canonname', 'sa'), 'kwds', 'typed', 'kwd_mark', 'fasttypes', 'sorted', 'tuple', 'type', 'len', 'key', 'sorted_items', 'item'), '_imp_module', 'module_type', 'name', 'module', 'loader', 'spec', 'self_module', 'builtin_name', 'builtin_module', 'thread_module', 'weakref_module'), '_resolve_name', '_imp', 'acquire_lock', 'sys', 'modules', '_find_and_load', '_gcd_import', 'release_lock', 'format', 'ImportError', '_lock_unlock_module'), 'sys', 'modules', '_call_with_frames_removed', '__path__', 'AttributeError', '_ERR_MSG', 'format', 'ImportError', '_find_spec', '_load_unlocked', 'setattr')) at Objects/object.c:763 #11 0x0000000000498d96 in tuplehash (v=0x7ffff7f25948) at Objects/tupleobject.c:351 #12 0x00000000004899b2 in PyObject_Hash ( v=((((((0x0, 'port', 'family', 'type', 'proto', 'flags', 'addrlist', 'res', 'af', 'socktype', 'canonname', 'sa'), 'kwds', 'typed', 'kwd_mark', 'fasttypes', 'sorted', 'tuple', 'type', 'len', 'key', 'sorted_items', 'item'), '_imp_module', 'module_type', 'name', 'module', 'loader', 'spec', 'self_module', 'builtin_name', 'builtin_module', 'thread_module', 'weakref_module'), '_resolve_name', '_imp', 'acquire_lock', 'sys', 'modules', '_find_and_load', '_gcd_import', 'release_lock', 'format', 'ImportError', '_lock_unlock_module'), 'sys', 'modules', '_call_with_frames_removed', '__path__', 'AttributeError', '_ERR_MSG', 'format', 'ImportError', '_find_spec', '_load_unlocked', 'setattr'), 'lstat', 'OSError', 'stat', 'S_ISLNK', 'st_mode', 'isinstance', 'bytes', 'join', 'realpath', 'st_dev', 'st_ino')) at Objects/object.c:763 #13 0x0000000000498d96 in tuplehash (v=0x7ffff7f25b88) at Objects/tupleobject.c:351 #14 0x00000000004899b2 in PyObject_Hash ( v=(((((((0x0, 'port', 'family', 'type', 'proto', 'flags', 'addrlist', 'res', 'af', 'socktype', 'canonname', 'sa'), 'kwds', 'typed', 'kwd_mark', 'fasttypes', 'sorted', 'tuple', 'type', 'len', 'key', 'sorted_items', 'item'), '_imp_module', 'module_type', 'name', 'module', 'loader', 'spec', 'self_module', 'builtin_name', 'builtin_module', 'thread_module', 'weakref_module'), '_resolve_name', '_imp', 'acquire_lock', 'sys', 'modules', '_find_and_load', '_gcd_import', 'release_lock', 'format', 'ImportError', '_lock_unlock_module'), 'sys', 'modules', '_call_with_frames_removed', '__path__', 'AttributeError', '_ERR_MSG', 'format', 'ImportError', '_find_spec', '_load_unlocked', 'setattr'), 'lstat', 'OSError', 'stat', 'S_ISLNK', 'st_mode', 'isinstance', 'bytes', 'join', 'realpath', 'st_dev', 'st_ino'), 're', 'search', 'start', 'end', 'environ', 'i', 'm', 'j', 'name', 'value', 'tail')) at Objects/object.c:763 #15 0x0000000000498d96 in tuplehash (v=0x7ffff7eb0318) at Objects/tupleobject.c:351 #16 0x00000000004899b2 in PyObject_Hash ( v=((((((((0x0, 'port', 'family', 'type', 'proto', 'flags', 'addrlist', 'res', 'af', 'socktype', 'canonname', 'sa'), 'kwds', 'typed', 'kwd_mark', 'fasttypes', 'sorted', 'tuple', 'type', 'len', 'key', 'sorted_items', 'item'), '_imp_module', 'module_type', 'name', 'module', 'loader', 'spec', 'self_module', 'builtin_name', 'builtin_module', 'thread_module', 'weakref_module'), '_resolve_name', '_imp', 'acquire_lock', 'sys', 'modules', '_find_and_load', '_gcd_import', 'release_lock', 'format', 'ImportError', '_lock_unlock_module'), 'sys', 'modules', '_call_with_frames_removed', '__path__', 'AttributeError', '_ERR_MSG', 'format', 'ImportError', '_find_spec', '_load_unlocked', 'setattr'), 'lstat', 'OSError', 'stat', 'S_ISLNK', 'st_mode', 'isinstance', 'bytes', 'join', 'realpath', 'st_dev', 'st_ino'), 're', 'search', 'start', 'end', 'environ', 'i', 'm', 'j', 'name', 'value', 'tail'), 'isinstance', 'bytes', 'set', 'min', 'max', 'enumerate', 'join', 'TypeError', 'AttributeError', 'genericpath', '_check_arg_types')) at Objects/object.c:763 #17 0x0000000000498d96 in tuplehash (v=0x7ffff67fef78) at Objects/tupleobject.c:351 #18 0x00000000004899b2 in PyObject_Hash ( v=(((((((((0x0, 'port', 'family', 'type', 'proto', 'flags', 'addrlist', 'res', 'af', 'socktype', 'canonname', 'sa'), 'kwds', 'typed', 'kwd_mark', 'fasttypes', 'sorted', 'tuple', 'type', 'len', 'key', 'sorted_items', 'item'), '_imp_module', 'module_type', 'name', 'module', 'loader', 'spec', 'self_module', 'builtin_name', 'builtin_module', 'thread_module', 'weakref_module'), '_resolve_name', '_imp', 'acquire_lock', 'sys', 'modules', '_find_and_load', '_gcd_import', 'release_lock', 'format', 'ImportError', '_lock_unlock_module'), 'sys', 'modules', '_call_with_frames_removed', '__path__', 'AttributeError', '_ERR_MSG', 'format', 'ImportError', '_find_spec', '_load_unlocked', 'setattr'), 'lstat', 'OSError', 'stat', 'S_ISLNK', 'st_mode', 'isinstance', 'bytes', 'join', 'realpath', 'st_dev', 'st_ino'), 're', 'search', 'start', 'end', 'environ', 'i', 'm', 'j', 'name', 'value', 'tail'), 'isinstance', 'bytes', 'set', 'min', 'max', 'enumerate', 'join', 'TypeError', 'AttributeError', 'genericpath', '_check_arg_types'), 1, '<...(truncated)) at Objects/object.c:763 #19 0x0000000000498d96 in tuplehash (v=0x7ffff6ea33a8) at Objects/tupleobject.c:351 #20 0x00000000004899b2 in PyObject_Hash ( v=((((((((((0x0, 'port', 'family', 'type', 'proto', 'flags', 'addrlist', 'res', 'af', 'socktype', 'canonname', 'sa'), 'kwds', 'typed', 'kwd_mark', 'fasttypes', 'sorted', 'tuple', 'type', 'len', 'key', 'sorted_items', 'item'), '_imp_module', 'module_type', 'name', 'module', 'loader', 'spec', 'self_module', 'builtin_name', 'builtin_module', 'thread_module', 'weakref_module'), '_resolve_name', '_imp', 'acquire_lock', 'sys', 'modules', '_find_and_load', '_gcd_import', 'release_lock', 'format', 'ImportError', '_lock_unlock_module'), 'sys', 'modules', '_call_with_frames_removed', '__path__', 'AttributeError', '_ERR_MSG', 'format', 'ImportError', '_find_spec', '_load_unlocked', 'setattr'), 'lstat', 'OSError', 'stat', 'S_ISLNK', 'st_mode', 'isinstance', 'bytes', 'join', 'realpath', 'st_dev', 'st_ino'), 're', 'search', 'start', 'end', 'environ', 'i', 'm', 'j', 'name', 'value', 'tail'), 'isinstance', 'bytes', 'set', 'min', 'max', 'enumerate', 'join', 'TypeError', 'AttributeError', 'genericpath', '_check_arg_types'), 1, '...(truncated)) at Objects/object.c:763 #21 0x0000000000498d96 in tuplehash (v=0x7ffff6ea3438) at Objects/tupleobject.c:351 #22 0x00000000004899b2 in PyObject_Hash ( v=(((((((((((0x0, 'port', 'family', 'type', 'proto', 'flags', 'addrlist', 'res', 'af', 'socktype', 'canonname', 'sa'), 'kwds', 'typed', 'kwd_mark', 'fasttypes', 'sorted', 'tuple', 'type', 'len', 'key', 'sorted_items', 'item'), '_imp_module', 'module_type', 'name', 'module', 'loader', 'spec', 'self_module', 'builtin_name', 'builtin_module', 'thread_module', 'weakref_module'), '_resolve_name', '_imp', 'acquire_lock', 'sys', 'modules', '_find_and_load', '_gcd_import', 'release_lock', 'format', 'ImportError', '_lock_unlock_module'), 'sys', 'modules', '_call_with_frames_removed', '__path__', 'AttributeError', '_ERR_MSG', 'format', 'ImportError', '_find_spec', '_load_unlocked', 'setattr'), 'lstat', 'OSError', 'stat', 'S_ISLNK', 'st_mode', 'isinstance', 'bytes', 'join', 'realpath', 'st_dev', 'st_ino'), 're', 'search', 'start', 'end', 'environ', 'i', 'm', 'j', 'name', 'value', 'tail'), 'isinstance', 'bytes', 'set', 'min', 'max', 'enumerate', 'join', 'TypeError', 'AttributeError', 'genericpath', '_check_arg_types'), 1, ...(truncated)) at Objects/object.c:763 #23 0x0000000000498d96 in tuplehash (v=0x7ffff6e9ef78) at Objects/tupleobject.c:351 #24 0x00000000004899b2 in PyObject_Hash ( v=((((((((((((0x0, 'port', 'family', 'type', 'proto', 'flags', 'addrlist', 'res', 'af', 'socktype', 'canonname', 'sa'), 'kwds', 'typed', 'kwd_mark', 'fasttypes', 'sorted', 'tuple', 'type', 'len', 'key', 'sorted_items', 'item'), '_imp_module', 'module_type', 'name', 'module', 'loader', 'spec', 'self_module', 'builtin_name', 'builtin_module', 'thread_module', 'weakref_module'), '_resolve_name', '_imp', 'acquire_lock', 'sys', 'modules', '_find_and_load', '_gcd_import', 'release_lock', 'format', 'ImportError', '_lock_unlock_module'), 'sys', 'modules', '_call_with_frames_removed', '__path__', 'AttributeError', '_ERR_MSG', 'format', 'ImportError', '_find_spec', '_load_unlocked', 'setattr'), 'lstat', 'OSError', 'stat', 'S_ISLNK', 'st_mode', 'isinstance', 'bytes', 'join', 'realpath', 'st_dev', 'st_ino'), 're', 'search', 'start', 'end', 'environ', 'i', 'm', 'j', 'name', 'value', 'tail'), 'isinstance', 'bytes', 'set', 'min', 'max', 'enumerate', 'join', 'TypeError', 'AttributeError', 'genericpath', '_check_arg_types'), 1,...(truncated)) at Objects/object.c:763 #25 0x0000000000498d96 in tuplehash (v=0x7ffff6ea3048) at Objects/tupleobject.c:351 #26 0x00000000004899b2 in PyObject_Hash ( v=(((((((((((((0x0, 'port', 'family', 'type', 'proto', 'flags', 'addrlist', 'res', 'af', 'socktype', 'canonname', 'sa'), 'kwds', 'typed', 'kwd_mark', 'fasttypes', 'sorted', 'tuple', 'type', 'len', 'key', 'sorted_items', 'item'), '_imp_module', 'module_type', 'name', 'module', 'loader', 'spec', 'self_module', 'builtin_name', 'builtin_module', 'thread_module', 'weakref_module'), '_resolve_name', '_imp', 'acquire_lock', 'sys', 'modules', '_find_and_load', '_gcd_import', 'release_lock', 'format', 'ImportError', '_lock_unlock_module'), 'sys', 'modules', '_call_with_frames_removed', '__path__', 'AttributeError', '_ERR_MSG', 'format', 'ImportError', '_find_spec', '_load_unlocked', 'setattr'), 'lstat', 'OSError', 'stat', 'S_ISLNK', 'st_mode', 'isinstance', 'bytes', 'join', 'realpath', 'st_dev', 'st_ino'), 're', 'search', 'start', 'end', 'environ', 'i', 'm', 'j', 'name', 'value', 'tail'), 'isinstance', 'bytes', 'set', 'min', 'max', 'enumerate', 'join', 'TypeError', 'AttributeError', 'genericpath', '_check_arg_types'), 1...(truncated)) at Objects/object.c:763 #27 0x0000000000498d96 in tuplehash (v=0x7ffff7fd0708) at Objects/tupleobject.c:351 #28 0x00000000004899b2 in PyObject_Hash ( v=((((((((((((((0x0, 'port', 'family', 'type', 'proto', 'flags', 'addrlist', 'res', 'af', 'socktype', 'canonname', 'sa'), 'kwds', 'typed', 'kwd_mark', 'fasttypes', 'sorted', 'tuple', 'type', 'len', 'key', 'sorted_items', 'item'), '_imp_module', 'module_type', 'name', 'module', 'loader', 'spec', 'self_module', 'builtin_name', 'builtin_module', 'thread_module', 'weakref_module'), '_resolve_name', '_imp', 'acquire_lock', 'sys', 'modules', '_find_and_load', '_gcd_import', 'release_lock', 'format', 'ImportError', '_lock_unlock_module'), 'sys', 'modules', '_call_with_frames_removed', '__path__', 'AttributeError', '_ERR_MSG', 'format', 'ImportError', '_find_spec', '_load_unlocked', 'setattr'), 'lstat', 'OSError', 'stat', 'S_ISLNK', 'st_mode', 'isinstance', 'bytes', 'join', 'realpath', 'st_dev', 'st_ino'), 're', 'search', 'start', 'end', 'environ', 'i', 'm', 'j', 'name', 'value', 'tail'), 'isinstance', 'bytes', 'set', 'min', 'max', 'enumerate', 'join', 'TypeError', 'AttributeError', 'genericpath', '_check_arg_types'), ...(truncated)) at Objects/object.c:763 #29 0x0000000000498d96 in tuplehash (v=0x7ffff6845dc8) at Objects/tupleobject.c:351 #30 0x00000000004899b2 in PyObject_Hash ( v=(((((((((((((((0x0, 'port', 'family', 'type', 'proto', 'flags', 'addrlist', 'res', 'af', 'socktype', 'canonname', 'sa'), 'kwds', 'typed', 'kwd_mark', 'fasttypes', 'sorted', 'tuple', 'type', 'len', 'key', 'sorted_items', 'item'), '_imp_module', 'module_type', 'name', 'module', 'loader', 'spec', 'self_module', 'builtin_name', 'builtin_module', 'thread_module', 'weakref_module'), '_resolve_name', '_imp', 'acquire_lock', 'sys', 'modules', '_find_and_load', '_gcd_import', 'release_lock', 'format', 'ImportError', '_lock_unlock_module'), 'sys', 'modules', '_call_with_frames_removed', '__path__', 'AttributeError', '_ERR_MSG', 'format', 'ImportError', '_find_spec', '_load_unlocked', 'setattr'), 'lstat', 'OSError', 'stat', 'S_ISLNK', 'st_mode', 'isinstance', 'bytes', 'join', 'realpath', 'st_dev', 'st_ino'), 're', 'search', 'start', 'end', 'environ', 'i', 'm', 'j', 'name', 'value', 'tail'), 'isinstance', 'bytes', 'set', 'min', 'max', 'enumerate', 'join', 'TypeError', 'AttributeError', 'genericpath', '_check_arg_types'),...(truncated)) at Objects/object.c:763 #31 0x0000000000498d96 in tuplehash (v=0x7ffff68018b8) at Objects/tupleobject.c:351 #32 0x00000000004899b2 in PyObject_Hash ( v=((((((((((((((((0x0, 'port', 'family', 'type', 'proto', 'flags', 'addrlist', 'res', 'af', 'socktype', 'canonname', 'sa'), 'kwds', 'typed', 'kwd_mark', 'fasttypes', 'sorted', 'tuple', 'type', 'len', 'key', 'sorted_items', 'item'), '_imp_module', 'module_type', 'name', 'module', 'loader', 'spec', 'self_module', 'builtin_name', 'builtin_module', 'thread_module', 'weakref_module'), '_resolve_name', '_imp', 'acquire_lock', 'sys', 'modules', '_find_and_load', '_gcd_import', 'release_lock', 'format', 'ImportError', '_lock_unlock_module'), 'sys', 'modules', '_call_with_frames_removed', '__path__', 'AttributeError', '_ERR_MSG', 'format', 'ImportError', '_find_spec', '_load_unlocked', 'setattr'), 'lstat', 'OSError', 'stat', 'S_ISLNK', 'st_mode', 'isinstance', 'bytes', 'join', 'realpath', 'st_dev', 'st_ino'), 're', 'search', 'start', 'end', 'environ', 'i', 'm', 'j', 'name', 'value', 'tail'), 'isinstance', 'bytes', 'set', 'min', 'max', 'enumerate', 'join', 'TypeError', 'AttributeError', 'genericpath', '_check_arg_types')...(truncated)) at Objects/object.c:763 #33 0x0000000000498d96 in tuplehash (v=0x7ffff6810e58) at Objects/tupleobject.c:351 #34 0x00000000004899b2 in PyObject_Hash ( v=(((((((((((((((((0x0, 'port', 'family', 'type', 'proto', 'flags', 'addrlist', 'res', 'af', 'socktype', 'canonname', 'sa'), 'kwds', 'typed', 'kwd_mark', 'fasttypes', 'sorted', 'tuple', 'type', 'len', 'key', 'sorted_items', 'item'), '_imp_module', 'module_type', 'name', 'module', 'loader', 'spec', 'self_module', 'builtin_name', 'builtin_module', 'thread_module', 'weakref_module'), '_resolve_name', '_imp', 'acquire_lock', 'sys', 'modules', '_find_and_load', '_gcd_import', 'release_lock', 'format', 'ImportError', '_lock_unlock_module'), 'sys', 'modules', '_call_with_frames_removed', '__path__', 'AttributeError', '_ERR_MSG', 'format', 'ImportError', '_find_spec', '_load_unlocked', 'setattr'), 'lstat', 'OSError', 'stat', 'S_ISLNK', 'st_mode', 'isinstance', 'bytes', 'join', 'realpath', 'st_dev', 'st_ino'), 're', 'search', 'start', 'end', 'environ', 'i', 'm', 'j', 'name', 'value', 'tail'), 'isinstance', 'bytes', 'set', 'min', 'max', 'enumerate', 'join', 'TypeError', 'AttributeError', 'genericpath', '_check_arg_types'...(truncated)) at Objects/object.c:763 #35 0x000000000047a056 in PyDict_GetItemWithError (op={}, key=(((((((((((((((((0x0, 'port', 'family', 'type', 'proto', 'flags', 'addrlist', 'res', 'af', 'socktype', 'canonname', 'sa'), 'kwds', 'typed', 'kwd_mark', 'fasttypes', 'sorted', 'tuple', 'type', 'len', 'key', 'sorted_items', 'item'), '_imp_module', 'module_type', 'name', 'module', 'loader', 'spec', 'self_module', 'builtin_name', 'builtin_module', 'thread_module', 'weakref_module'), '_resolve_name', '_imp', 'acquire_lock', 'sys', 'modules', '_find_and_load', '_gcd_import', 'release_lock', 'format', 'ImportError', '_lock_unlock_module'), 'sys', 'modules', '_call_with_frames_removed', '__path__', 'AttributeError', '_ERR_MSG', 'format', 'ImportError', '_find_spec', '_load_unlocked', 'setattr'), 'lstat', 'OSError', 'stat', 'S_ISLNK', 'st_mode', 'isinstance', 'bytes', 'join', 'realpath', 'st_dev', 'st_ino'), 're', 'search', 'start', 'end', 'environ', 'i', 'm', 'j', 'name', 'value', 'tail'), 'isinstance', 'bytes', 'set', 'min', 'max', 'enumerate', 'join', 'TypeError', 'AttributeError', 'genericpath', '_check_arg_types'...(truncated)) at Objects/dictobject.c:1143 #36 0x000000000047a1e8 in _PyDict_LoadGlobal (globals=0x7ffff7e85988, builtins=0x7ffff7f5bb08, key=(((((((((((((((((0x0, 'port', 'family', 'type', 'proto', 'flags', 'addrlist', 'res', 'af', 'socktype', 'canonname', 'sa'), 'kwds', 'typed', 'kwd_mark', 'fasttypes', 'sorted', 'tuple', 'type', 'len', 'key', 'sorted_items', 'item'), '_imp_module', 'module_type', 'name', 'module', 'loader', 'spec', 'self_module', 'builtin_name', 'builtin_module', 'thread_module', 'weakref_module'), '_resolve_name', '_imp', 'acquire_lock', 'sys', 'modules', '_find_and_load', '_gcd_import', 'release_lock', 'format', 'ImportError', '_lock_unlock_module'), 'sys', 'modules', '_call_with_frames_removed', '__path__', 'AttributeError', '_ERR_MSG', 'format', 'ImportError', '_find_spec', '_load_unlocked', 'setattr'), 'lstat', 'OSError', 'stat', 'S_ISLNK', 'st_mode', 'isinstance', 'bytes', 'join', 'realpath', 'st_dev', 'st_ino'), 're', 'search', 'start', 'end', 'environ', 'i', 'm', 'j', 'name', 'value', 'tail'), 'isinstance', 'bytes', 'set', 'min', 'max', 'enumerate', 'join', 'TypeError', 'AttributeError', 'genericpath', '_check_arg_types'...(truncated)) at Objects/dictobject.c:1192 Python Exception Can't convert 'tuple' object to str implicitly: #37 0x0000000000509117 in PyEval_EvalFrameEx (f=, throwflag=0) at Python/ceval.c:2408 #38 0x0000000000511d0b in _PyEval_EvalCodeWithName (_co=, globals={}, locals=0x0, args=0x7ffff685c178, argcount=1, kws=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0, name=0x0, qualname=0x0) at Python/ceval.c:4071 #39 0x0000000000511e00 in PyEval_EvalCodeEx (_co=, globals={}, locals=0x0, args=0x7ffff685c178, argcount=1, kws=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at Python/ceval.c:4092 #40 0x00000000005db41c in function_call (func=, arg=(,), kw=0x0) at Objects/funcobject.c:627 #41 0x000000000043ae8f in PyObject_Call (func=, arg=(,), kw=0x0) at Objects/abstract.c:2166 #42 0x00000000005cb13c in method_call (func=, arg=(,), kw=0x0) at Objects/classobject.c:330 #43 0x000000000043ae8f in PyObject_Call (func=, arg=(), kw=0x0) at Objects/abstract.c:2166 #44 0x00000000005138a9 in PyEval_CallObjectWithKeywords (func=, arg=(), kw=0x0) at Python/ceval.c:4633 #45 0x00000000004abf3e in slot_tp_repr (self=) at Objects/typeobject.c:5992 #46 0x0000000000488ef9 in PyObject_Repr (v=) at Objects/object.c:482 #47 0x00000000004c03fb in unicode_fromformat_arg (writer=0x7fffffffde90, f=0x7ffff6ed9850 "R", vargs=0x7fffffffded0) at Objects/unicodeobject.c:2645 #48 0x00000000004c0754 in PyUnicode_FromFormatV (format=0x7ffff6ed9846 "unclosed %R", vargs=0x7fffffffdf40) at Objects/unicodeobject.c:2710 #49 0x00000000004f90e7 in PyErr_WarnFormat (category=, stack_level=1, format=0x7ffff6ed9846 "unclosed %R") at Python/_warnings.c:895 #50 0x00007ffff6ed438a in sock_dealloc (s=0x7ffff6842c10) at /root/test/test35/cpython/Modules/socketmodule.c:4177 #51 0x000000000049d02c in subtype_dealloc (self=) at Objects/typeobject.c:1209 #52 0x00000000004781c5 in free_keys_object (keys=0xa79e40) at Objects/dictobject.c:351 #53 0x000000000047a908 in PyDict_Clear (op={}) at Objects/dictobject.c:1388 #54 0x000000000047df02 in dict_tp_clear (op={}) at Objects/dictobject.c:2595 #55 0x00000000005679de in delete_garbage (collectable=0x7fffffffe2d0, old=0x8ce440 ) at Modules/gcmodule.c:866 #56 0x0000000000567e30 in collect (generation=2, n_collected=0x0, n_uncollectable=0x0, nofail=1) at Modules/gcmodule.c:1014 #57 0x0000000000568e84 in _PyGC_CollectNoFail () at Modules/gcmodule.c:1605 #58 0x0000000000532023 in PyImport_Cleanup () at Python/import.c:481 #59 0x0000000000542083 in Py_Finalize () at Python/pylifecycle.c:576 #60 0x0000000000420fdf in Py_Main (argc=2, argv=0x92d010) at Modules/main.c:798 #61 0x000000000041bc4f in main (argc=2, argv=0x7fffffffe728) at ./Programs/python.c:65 (gdb)