Closed tgehrig closed 13 years ago
Using gdb and python-dbg I get the following backtrace:
Program received signal SIGSEGV, Segmentation fault.
0x0000000000000035 in ?? ()
(gdb) bt
#0 0x0000000000000035 in ?? ()
#1 0x00007fffed18638f in PyDict_GetItemString (v=Traceback (most recent call last):
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 1096, in to_string
return pyop.get_truncated_repr(MAX_OUTPUT_LEN)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 184, in get_truncated_repr
self.write_repr(out, set())
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 648, in write_repr
for pyop_key, pyop_value in self.iteritems():
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 622, in iteritems
if not pyop_value.is_null():
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 196, in is_null
return 0 == long(self._gdbval)
RuntimeError: Cannot access memory at address 0x158
, key=<value optimized out>) at ../Objects/dictobject.c:2392
#2 0x00007fffed2070b9 in PyImport_AddModule (name=0x7fffeda0e5e1 "_core") at ../Python/import.c:609
#3 0x00007fffed20ef5b in Py_InitModule4_64 (name=0x7fffeda0e5e1 "_core", methods=0x7fffedd4f620, doc=0x0, passthrough=0x0, module_api_version=<value optimized out>) at ../Python/modsupport.c:65
#4 0x00007fffed77f870 in init_core () from /home/tgehrig/src/git/okapi/build/release/python/okapy/_core.so
#5 0x00000000004f7d0d in _PyImport_LoadDynamicModule (name=0x18c72b4 "_core", pathname=0x1ac96fc "/home/tgehrig/src/git/okapi/build/release/python/okapy/_core.so", fp=0x1a925a0) at ../Python/importdl.c:53
#6 0x00000000004f3d44 in load_module (name=0x18c72b4 "_core", fp=0x1a925a0, pathname=0x1ac96fc "/home/tgehrig/src/git/okapi/build/release/python/okapy/_core.so", type=3, loader=0x0) at ../Python/import.c:1834
#7 0x00000000004f75f4 in imp_load_module (self=0x0, args=('_core', <file at remote 0x18a8d00>, '/home/tgehrig/src/git/okapi/build/release/python/okapy/_core.so', ('.so', 'rb', 3))) at ../Python/import.c:3063
#8 0x00000000005bd9da in PyCFunction_Call (func=<built-in function load_module>, arg=('_core', <file at remote 0x18a8d00>, '/home/tgehrig/src/git/okapi/build/release/python/okapy/_core.so', ('.so', 'rb', 3)), kw=0x0)
at ../Objects/methodobject.c:81
#9 0x00000000004d764a in call_function (pp_stack=0x7ffffffee370, oparg=4) at ../Python/ceval.c:4013
#10 0x00000000004d258a in PyEval_EvalFrameEx (f=
Frame 0x1a92240, for file /home/tgehrig/src/git/okapi/build/release/python/okapy/core.py, line 21, in swig_import_helper (dirname=<function at remote 0xa253a8>, imp=<module at remote 0x1ad1950>, fp=<file at remote 0x18a8d00>, pathname='/home/tgehrig/src/git/okapi/build/release/python/okapy/_core.so', description=('.so', 'rb', 3)), throwflag=0) at ../Python/ceval.c:2666
#11 0x00000000004d7b04 in fast_function (func=<function at remote 0x1a765a0>, pp_stack=0x7ffffffee6d0, n=0, na=0, nk=0) at ../Python/ceval.c:4099
#12 0x00000000004d781a in call_function (pp_stack=0x7ffffffee6d0, oparg=0) at ../Python/ceval.c:4034
#13 0x00000000004d258a in PyEval_EvalFrameEx (f=Frame 0x18e21c0, for file /home/tgehrig/src/git/okapi/build/release/python/okapy/core.py, line 25, in <module> (), throwflag=0) at ../Python/ceval.c:2666
#14 0x00000000004d4e80 in PyEval_EvalCodeEx (co=0x1acb0f0, globals=
{'version_info': <sys.version_info at remote 0x7ffff7fbc890>, '__builtins__': {'bytearray': <type at remote 0x947b80>, 'IndexError': <type at remote 0x8561e0>, 'all': <built-in function all>, 'help': <_Helper at remote 0xb51bc0>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x855b60>, 'unicode': <type at remote 0x86af80>, 'UnicodeDecodeError': <type at remote 0x856b00>, 'memoryview': <type at remote 0x94c960>, 'isinstance': <built-in function isinstance>, 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2011 Python Software Foundation.\nAll Rights Reserved.\n\nCopyright (c) 2000 BeOpen.com.\nAll Rights Reserved.\n\nCopyright (c) 1995-2001 Corporation for National Research Initiatives.\nAll Rights Reserved.\n\nCopyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.\nAll Rights Reserved.', _Printer__lines=None, _Printer__name='copyright', _Printer__dirs=(), _Printer__files=(...)) at remote 0xb51920>, 'NameError': <type at remote 0x855560>, 'BytesWarning': <type at remote ...(truncated), locals=
{'version_info': <sys.version_info at remote 0x7ffff7fbc890>, '__builtins__': {'bytearray': <type at remote 0x947b80>, 'IndexError': <type at remote 0x8561e0>, 'all': <built-in function all>, 'help': <_Helper at remote 0xb51bc0>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x855b60>, 'unicode': <type at remote 0x86af80>, 'UnicodeDecodeError': <type at remote 0x856b00>, 'memoryview': <type at remote 0x94c960>, 'isinstance': <built-in function isinstance>, 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2011 Python Software Foundation.\nAll Rights Reserved.\n\nCopyright (c) 2000 BeOpen.com.\nAll Rights Reserved.\n\nCopyright (c) 1995-2001 Corporation for National Research Initiatives.\nAll Rights Reserved.\n\nCopyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.\nAll Rights Reserved.', _Printer__lines=None, _Printer__name='copyright', _Printer__dirs=(), _Printer__files=(...)) at remote 0xb51920>, 'NameError': <type at remote 0x855560>, 'BytesWarning': <type at remote ...(truncated), args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3253
#15 0x00000000004caef2 in PyEval_EvalCode (co=0x1acb0f0, globals=
{'version_info': <sys.version_info at remote 0x7ffff7fbc890>, '__builtins__': {'bytearray': <type at remote 0x947b80>, 'IndexError': <type at remote 0x8561e0>, 'all': <built-in function all>, 'help': <_Helper at remote 0xb51bc0>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x855b60>, 'unicode': <type at remote 0x86af80>, 'UnicodeDecodeError': <type at remote 0x856b00>, 'memoryview': <type at remote 0x94c960>, 'isinstance': <built-in function isinstance>, 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2011 Python Software Foundation.\nAll Rights Reserved.\n\nCopyright (c) 2000 BeOpen.com.\nAll Rights Reserved.\n\nCopyright (c) 1995-2001 Corporation for National Research Initiatives.\nAll Rights Reserved.\n\nCopyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.\nAll Rights Reserved.', _Printer__lines=None, _Printer__name='copyright', _Printer__dirs=(), _Printer__files=(...)) at remote 0xb51920>, 'NameError': <type at remote 0x855560>, 'BytesWarning': <type at remote ...(truncated), locals=
{'version_info': <sys.version_info at remote 0x7ffff7fbc890>, '__builtins__': {'bytearray': <type at remote 0x947b80>, 'IndexError': <type at remote 0x8561e0>, 'all': <built-in function all>, 'help': <_Helper at remote 0xb51bc0>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x855b60>, 'unicode': <type at remote 0x86af80>, 'UnicodeDecodeError': <type at remote 0x856b00>, 'memoryview': <type at remote 0x94c960>, 'isinstance': <built-in function isinstance>, 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2011 Python Software Foundation.\nAll Rights Reserved.\n\nCopyright (c) 2000 BeOpen.com.\nAll Rights Reserved.\n\nCopyright (c) 1995-2001 Corporation for National Research Initiatives.\nAll Rights Reserved.\n\nCopyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.\nAll Rights Reserved.', _Printer__lines=None, _Printer__name='copyright', _Printer__dirs=(), _Printer__files=(...)) at remote 0xb51920>, 'NameError': <type at remote 0x855560>, 'BytesWarning': <type at remote ...(truncated)) at ../Python/ceval.c:667
#16 0x00000000004f15c2 in PyImport_ExecCodeModuleEx (name=0x7fffffff0d50 "okapy.core", co=<code at remote 0x1acb0f0>, pathname=0x7ffffffeeb80 "/home/tgehrig/src/git/okapi/build/release/python/okapy/core.pyc") at ../Python/import.c:681
#17 0x00000000004f223f in load_source_module (name=0x7fffffff0d50 "okapy.core", pathname=0x7ffffffeeb80 "/home/tgehrig/src/git/okapi/build/release/python/okapy/core.pyc", fp=0xeeac80) at ../Python/import.c:1021
#18 0x00000000004f3d04 in load_module (name=0x7fffffff0d50 "okapy.core", fp=0xeeac80, pathname=0x7ffffffefc60 "/home/tgehrig/src/git/okapi/build/release/python/okapy/core.py", type=1, loader=0x0) at ../Python/import.c:1825
#19 0x00000000004f5eff in import_submodule (mod=<module at remote 0x18af6e0>, subname=0x7fffffff0d56 "core", fullname=0x7fffffff0d50 "okapy.core") at ../Python/import.c:2596
#20 0x00000000004f5478 in load_next (mod=<module at remote 0x18af6e0>, altmod=<module at remote 0x18af6e0>, p_name=0x7fffffff0d18, buf=0x7fffffff0d50 "okapy.core", p_buflen=0x7fffffff0d28) at ../Python/import.c:2416
#21 0x00000000004f46bd in import_module_level (name=0x0, globals=
{'__all__': ['gui', 'videoio'], '__builtins__': {'bytearray': <type at remote 0x947b80>, 'IndexError': <type at remote 0x8561e0>, 'all': <built-in function all>, 'help': <_Helper at remote 0xb51bc0>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x855b60>, 'unicode': <type at remote 0x86af80>, 'UnicodeDecodeError': <type at remote 0x856b00>, 'memoryview': <type at remote 0x94c960>, 'isinstance': <built-in function isinstance>, 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2011 Python Software Foundation.\nAll Rights Reserved.\n\nCopyright (c) 2000 BeOpen.com.\nAll Rights Reserved.\n\nCopyright (c) 1995-2001 Corporation for National Research Initiatives.\nAll Rights Reserved.\n\nCopyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.\nAll Rights Reserved.', _Printer__lines=None, _Printer__name='copyright', _Printer__dirs=(), _Printer__files=(...)) at remote 0xb51920>, 'NameError': <type at remote 0x855560>, 'BytesWarning': <type at remote 0x858b80>, 'dict': <type at re...(truncated), locals=
{'__all__': ['gui', 'videoio'], '__builtins__': {'bytearray': <type at remote 0x947b80>, 'IndexError': <type at remote 0x8561e0>, 'all': <built-in function all>, 'help': <_Helper at remote 0xb51bc0>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x855b60>, 'unicode': <type at remote 0x86af80>, 'UnicodeDecodeError': <type at remote 0x856b00>, 'memoryview': <type at remote 0x94c960>, 'isinstance': <built-in function isinstance>, 'copyright': <_Pri---Type <return> to continue, or q <return> to quit---
nter(_Printer__data='Copyright (c) 2001-2011 Python Software Foundation.\nAll Rights Reserved.\n\nCopyright (c) 2000 BeOpen.com.\nAll Rights Reserved.\n\nCopyright (c) 1995-2001 Corporation for National Research Initiatives.\nAll Rights Reserved.\n\nCopyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.\nAll Rights Reserved.', _Printer__lines=None, _Printer__name='copyright', _Printer__dirs=(), _Printer__files=(...)) at remote 0xb51920>, 'NameError': <type at remote 0x855560>, 'BytesWarning': <type at remote 0x858b80>, 'dict': <type at re...(truncated), fromlist=('*',), level=1) at ../Python/import.c:2137
#22 0x00000000004f4bcb in PyImport_ImportModuleLevel (name=0xe80314 "core", globals=
{'__all__': ['gui', 'videoio'], '__builtins__': {'bytearray': <type at remote 0x947b80>, 'IndexError': <type at remote 0x8561e0>, 'all': <built-in function all>, 'help': <_Helper at remote 0xb51bc0>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x855b60>, 'unicode': <type at remote 0x86af80>, 'UnicodeDecodeError': <type at remote 0x856b00>, 'memoryview': <type at remote 0x94c960>, 'isinstance': <built-in function isinstance>, 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2011 Python Software Foundation.\nAll Rights Reserved.\n\nCopyright (c) 2000 BeOpen.com.\nAll Rights Reserved.\n\nCopyright (c) 1995-2001 Corporation for National Research Initiatives.\nAll Rights Reserved.\n\nCopyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.\nAll Rights Reserved.', _Printer__lines=None, _Printer__name='copyright', _Printer__dirs=(), _Printer__files=(...)) at remote 0xb51920>, 'NameError': <type at remote 0x855560>, 'BytesWarning': <type at remote 0x858b80>, 'dict': <type at re...(truncated), locals=
{'__all__': ['gui', 'videoio'], '__builtins__': {'bytearray': <type at remote 0x947b80>, 'IndexError': <type at remote 0x8561e0>, 'all': <built-in function all>, 'help': <_Helper at remote 0xb51bc0>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x855b60>, 'unicode': <type at remote 0x86af80>, 'UnicodeDecodeError': <type at remote 0x856b00>, 'memoryview': <type at remote 0x94c960>, 'isinstance': <built-in function isinstance>, 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2011 Python Software Foundation.\nAll Rights Reserved.\n\nCopyright (c) 2000 BeOpen.com.\nAll Rights Reserved.\n\nCopyright (c) 1995-2001 Corporation for National Research Initiatives.\nAll Rights Reserved.\n\nCopyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.\nAll Rights Reserved.', _Printer__lines=None, _Printer__name='copyright', _Printer__dirs=(), _Printer__files=(...)) at remote 0xb51920>, 'NameError': <type at remote 0x855560>, 'BytesWarning': <type at remote 0x858b80>, 'dict': <type at re...(truncated), fromlist=('*',), level=1) at ../Python/import.c:2189
#23 0x00000000004c1617 in builtin___import__ (self=0x0, args=
('core', {'__all__': ['gui', 'videoio'], '__builtins__': {'bytearray': <type at remote 0x947b80>, 'IndexError': <type at remote 0x8561e0>, 'all': <built-in function all>, 'help': <_Helper at remote 0xb51bc0>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x855b60>, 'unicode': <type at remote 0x86af80>, 'UnicodeDecodeError': <type at remote 0x856b00>, 'memoryview': <type at remote 0x94c960>, 'isinstance': <built-in function isinstance>, 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2011 Python Software Foundation.\nAll Rights Reserved.\n\nCopyright (c) 2000 BeOpen.com.\nAll Rights Reserved.\n\nCopyright (c) 1995-2001 Corporation for National Research Initiatives.\nAll Rights Reserved.\n\nCopyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.\nAll Rights Reserved.', _Printer__lines=None, _Printer__name='copyright', _Printer__dirs=(), _Printer__files=(...)) at remote 0xb51920>, 'NameError': <type at remote 0x855560>, 'BytesWarning': <type at remote 0x858b80>, 'dict': <t...(truncated), kwds=0x0) at ../Python/bltinmodule.c:49
#24 0x00000000005bd9f8 in PyCFunction_Call (func=<built-in function __import__>, arg=
('core', {'__all__': ['gui', 'videoio'], '__builtins__': {'bytearray': <type at remote 0x947b80>, 'IndexError': <type at remote 0x8561e0>, 'all': <built-in function all>, 'help': <_Helper at remote 0xb51bc0>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x855b60>, 'unicode': <type at remote 0x86af80>, 'UnicodeDecodeError': <type at remote 0x856b00>, 'memoryview': <type at remote 0x94c960>, 'isinstance': <built-in function isinstance>, 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2011 Python Software Foundation.\nAll Rights Reserved.\n\nCopyright (c) 2000 BeOpen.com.\nAll Rights Reserved.\n\nCopyright (c) 1995-2001 Corporation for National Research Initiatives.\nAll Rights Reserved.\n\nCopyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.\nAll Rights Reserved.', _Printer__lines=None, _Printer__name='copyright', _Printer__dirs=(), _Printer__files=(...)) at remote 0xb51920>, 'NameError': <type at remote 0x855560>, 'BytesWarning': <type at remote 0x858b80>, 'dict': <t...(truncated), kw=0x0) at ../Objects/methodobject.c:85
#25 0x0000000000424a3c in PyObject_Call (func=<built-in function __import__>, arg=
('core', {'__all__': ['gui', 'videoio'], '__builtins__': {'bytearray': <type at remote 0x947b80>, 'IndexError': <type at remote 0x8561e0>, 'all': <built-in function all>, 'help': <_Helper at remote 0xb51bc0>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x855b60>, 'unicode': <type at remote 0x86af80>, 'UnicodeDecodeError': <type at remote 0x856b00>, 'memoryview': <type at remote 0x94c960>, 'isinstance': <built-in function isinstance>, 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2011 Python Software Foundation.\nAll Rights Reserved.\n\nCopyright (c) 2000 BeOpen.com.\nAll Rights Reserved.\n\nCopyright (c) 1995-2001 Corporation for National Research Initiatives.\nAll Rights Reserved.\n\nCopyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.\nAll Rights Reserved.', _Printer__lines=None, _Printer__name='copyright', _Printer__dirs=(), _Printer__files=(...)) at remote 0xb51920>, 'NameError': <type at remote 0x855560>, 'BytesWarning': <type at remote 0x858b80>, 'dict': <t...(truncated), kw=0x0) at ../Objects/abstract.c:2529
#26 0x00000000004d6de0 in PyEval_CallObjectWithKeywords (func=<built-in function __import__>, arg=
('core', {'__all__': ['gui', 'videoio'], '__builtins__': {'bytearray': <type at remote 0x947b80>, 'IndexError': <type at remote 0x8561e0>, 'all': <built-in function all>, 'help': <_Helper at remote 0xb51bc0>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x855b60>, 'unicode': <type at remote 0x86af80>, 'UnicodeDecodeError': <type at remote 0x856b00>, 'memoryview': <type at remote 0x94c960>, 'isinstance': <built-in function isinstance>, 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2011 Python Software Foundation.\nAll Rights Reserved.\n\nCopyright (c) 2000 BeOpen.com.\nAll Rights Reserved.\n\nCopyright (c) 1995-2001 Corporation for National Research Initiatives.\nAll Rights Reserved.\n\nCopyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.\nAll Rights Reserved.', _Printer__lines=None, _Printer__name='copyright', _Printer__dirs=(), _Printer__files=(...)) at remote 0xb51920>, 'NameError': <type at remote 0x855560>, 'BytesWarning': <type at remote 0x858b80>, 'dict': <t...(truncated), kw=0x0) at ../Python/ceval.c:3882
#27 0x00000000004d1204 in PyEval_EvalFrameEx (f=Frame 0x18f3b80, for file /home/tgehrig/src/git/okapi/build/release/python/okapy/__init__.py, line 25, in <module> (), throwflag=0) at ../Python/ceval.c:2333
#28 0x00000000004d4e80 in PyEval_EvalCodeEx (co=0x1605250, globals=
{'__all__': ['gui', 'videoio'], '__builtins__': {'bytearray': <type at remote 0x947b80>, 'IndexError': <type at remote 0x8561e0>, 'all': <built-in function all>, 'help': <_Helper at remote 0xb51bc0>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x855b60>, 'unicode': <type at remote 0x86af80>, 'UnicodeDecodeError': <type at remote 0x856b00>, 'memoryview': <type at remote 0x94c960>, 'isinstance': <built-in function isinstance>, 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2011 Python Software Foundation.\nAll Rights Reserved.\n\nCopyright (c) 2000 BeOpen.com.\nAll Rights Reserved.\n\nCopyright (c) 1995-2001 Corporation for National Research Initiatives.\nAll Rights Reserved.\n\nCopyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.\nAll Rights Reserved.', _Printer__lines=None, _Printer__name='copyright', _Printer__dirs=(), _Printer__files=(...)) at remote 0xb51920>, 'NameError': <type at remote 0x855560>, 'BytesWarning': <type at remote 0x858b80>, 'dict': <type at re...(truncated), locals=
{'__all__': ['gui', 'videoio'], '__builtins__': {'bytearray': <type at remote 0x947b80>, 'IndexError': <type at remote 0x8561e0>, 'all': <built-in function all>, 'help': <_Helper at remote 0xb51bc0>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x855b60>, 'unicode': <type at remote 0x86af80>, 'UnicodeDecodeError': <type at remote 0x856b00>, 'memoryview': <type at remote 0x94c960>, 'isinstance': <built-in function isinstance>, 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2011 Python Software Foundation.\nAll Rights Reserved.\n\nCopyright (c) 2000 BeOpen.com.\nAll Rights Reserved.\n\nCopyright (c) 1995-2001 Corporation for National Research Initiatives.\nAll Rights Reserved.\n\nCopyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.\nAll Rights Reserved.', _Printer__lines=None, _Printer__name='copyright', _Printer__dirs=(), _Printer__files=(...)) at remote 0xb51920>, 'NameError': <type at remote 0x855560>, 'BytesWarning': <type at remote 0x858b80>, 'dict': <type at re...(truncated), args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3253
#29 0x00000000004caef2 in PyEval_EvalCode (co=0x1605250, globals=
{'__all__': ['gui', 'videoio'], '__builtins__': {'bytearray': <type at remote 0x947b80>, 'IndexError': <type at remote 0x8561e0>, 'all': <built-in function all>, 'help': <_Helper at remote 0xb51bc0>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x855b60>, 'unicode': <type at remote 0x86af80>, 'UnicodeDecodeError': <type at remote 0x856b00>, 'memoryview': <type at remote 0x94c960>, 'isinstance': <built-in function isinstance>, 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2011 Python Software Foundation.\nAll Rights Reserved.\n\nCopyright (c) 2000 BeOpen.com.\nAll Rights Reserved.\n\nCopyright (c) 1995-2001 Corporation for National Research Initiatives.\nAll Rights Reserved.\n\nCopyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.\nAll Rights Reserved.', _Printer__lines=None, _Printer__name='copyright', _Printer__dirs=(), _Printer__files=(...)) at remote 0xb51920>, 'NameError': <type at remote 0x855560>, 'BytesWarning': <type at remote 0x858b80>, 'dict': <type at re...(truncated), locals=
{'__all__': ['gui', 'videoio'], '__builtins__': {'bytearray': <type at remote 0x947b80>, 'IndexError': <type at remote 0x8561e0>, 'all': <built-in function all>, 'help': <_Helper at remote 0xb51bc0>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x855b60>, 'unicode': <type at remote 0x86af80>, 'UnicodeDecodeError': <type at remote 0x856b00>, 'memoryview': <type at remote 0x94c960>, 'isinstance': <built-in function isinstance>, 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2011 Python Software Foundation.\nAll Rights Reserved.\n\nCopyright (c) 2000 BeOpen.com.\nAll Rights Reserved.\n\nCopyright (c) 1995-2001 Corporation for National Research Initiatives.\nAll Rights Reserved.\n\nCopyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.\nAll Rights Reserved.', _Printer__lines=None, _Printer__name='copyright', _Printer__dirs=(), _Printer__files=(...)) at remote 0xb51920>, 'NameError': <type at remote 0x855560>, 'BytesWarning': <type at remote 0x858b80>, 'dict': <type at re...(truncated)) at ../Python/ceval.c:667
#30 0x00000000004f15c2 in PyImport_ExecCodeModuleEx (name=0x7fffffff5702 "okapy", co=<code at remote 0x1605250>, pathname=0x7fffffff2440 "/home/tgehrig/src/git/okapi/build/release/python/okapy/__init__.pyc") at ../Python/import.c:681
#31 0x00000000004f223f in load_source_module (name=0x7fffffff5702 "okapy", pathname=0x7fffffff2440 "/home/tgehrig/src/git/okapi/build/release/python/okapy/__init__.pyc", fp=0x18e9620) at ../Python/import.c:1021
#32 0x00000000004f3d04 in load_module (name=0x7fffffff5702 "okapy", fp=0x18e9620, pathname=0x7fffffff3520 "/home/tgehrig/src/git/okapi/build/release/python/okapy/__init__.py", type=1, loader=0x0) at ../Python/import.c:1825
---Type <return> to continue, or q <return> to quit---
#33 0x00000000004f24fc in load_package (name=0x7fffffff5702 "okapy", pathname=0x7fffffff4600 "/home/tgehrig/src/git/okapi/build/release/python/okapy") at ../Python/import.c:1077
#34 0x00000000004f3d60 in load_module (name=0x7fffffff5702 "okapy", fp=0x0, pathname=0x7fffffff4600 "/home/tgehrig/src/git/okapi/build/release/python/okapy", type=5, loader=0x0) at ../Python/import.c:1839
#35 0x00000000004f5eff in import_submodule (mod=None, subname=0x7fffffff5702 "okapy", fullname=0x7fffffff5702 "okapy") at ../Python/import.c:2596
#36 0x00000000004f5513 in load_next (mod=<module at remote 0xf3d408>, altmod=None, p_name=0x7fffffff56b8, buf=0x7fffffff56f0 "sloth.annotations.okapy", p_buflen=0x7fffffff56c8) at ../Python/import.c:2420
#37 0x00000000004f46bd in import_module_level (name=0x0, globals=
{'logging': <module at remote 0xe84f00>, 'LOG': <Logger(name='sloth.annotations.container', parent=<RootLogger(name='root', parent=None, handlers=[], level=30, disabled=0, propagate=1, filters=[]) at remote 0xf4b060>, handlers=[], level=0, disabled=0, manager=<Manager(emittedNoHandlerWarning=0, disable=0, root=<...>, loggerDict={'sloth': <PlaceHolder(loggerMap={<...>: None, <Logger(name='sloth.annotations.model', parent=<...>, handlers=[], level=0, disabled=0, manager=<...>, propagate=1, filters=[]) at remote 0xf6d7d0>: None}) at remote 0xf6d8b0>, 'sloth.annotations.container': <...>, 'sloth.annotations': <PlaceHolder(loggerMap={<...>: None, <...>: None}) at remote 0xf6d840>, 'sloth.annotations.model': <...>}, loggerClass=None) at remote 0xf4b1b0>, propagate=1, filters=[]) at remote 0x15ad920>, 'ImproperlyConfigured': <type at remote 0xa4f140>, '__builtins__': {'bytearray': <type at remote 0x947b80>, 'IndexError': <type at remote 0x8561e0>, 'all': <built-in function all>, 'help': <_Helper at remote 0xb51bc0>,...(truncated), locals=
{'logging': <module at remote 0xe84f00>, 'LOG': <Logger(name='sloth.annotations.container', parent=<RootLogger(name='root', parent=None, handlers=[], level=30, disabled=0, propagate=1, filters=[]) at remote 0xf4b060>, handlers=[], level=0, disabled=0, manager=<Manager(emittedNoHandlerWarning=0, disable=0, root=<...>, loggerDict={'sloth': <PlaceHolder(loggerMap={<...>: None, <Logger(name='sloth.annotations.model', parent=<...>, handlers=[], level=0, disabled=0, manager=<...>, propagate=1, filters=[]) at remote 0xf6d7d0>: None}) at remote 0xf6d8b0>, 'sloth.annotations.container': <...>, 'sloth.annotations': <PlaceHolder(loggerMap={<...>: None, <...>: None}) at remote 0xf6d840>, 'sloth.annotations.model': <...>}, loggerClass=None) at remote 0xf4b1b0>, propagate=1, filters=[]) at remote 0x15ad920>, 'ImproperlyConfigured': <type at remote 0xa4f140>, '__builtins__': {'bytearray': <type at remote 0x947b80>, 'IndexError': <type at remote 0x8561e0>, 'all': <built-in function all>, 'help': <_Helper at remote 0xb51bc0>,...(truncated), fromlist=None, level=-1) at ../Python/import.c:2137
#38 0x00000000004f4bcb in PyImport_ImportModuleLevel (name=0x101f3d4 "okapy", globals=
{'logging': <module at remote 0xe84f00>, 'LOG': <Logger(name='sloth.annotations.container', parent=<RootLogger(name='root', parent=None, handlers=[], level=30, disabled=0, propagate=1, filters=[]) at remote 0xf4b060>, handlers=[], level=0, disabled=0, manager=<Manager(emittedNoHandlerWarning=0, disable=0, root=<...>, loggerDict={'sloth': <PlaceHolder(loggerMap={<...>: None, <Logger(name='sloth.annotations.model', parent=<...>, handlers=[], level=0, disabled=0, manager=<...>, propagate=1, filters=[]) at remote 0xf6d7d0>: None}) at remote 0xf6d8b0>, 'sloth.annotations.container': <...>, 'sloth.annotations': <PlaceHolder(loggerMap={<...>: None, <...>: None}) at remote 0xf6d840>, 'sloth.annotations.model': <...>}, loggerClass=None) at remote 0xf4b1b0>, propagate=1, filters=[]) at remote 0x15ad920>, 'ImproperlyConfigured': <type at remote 0xa4f140>, '__builtins__': {'bytearray': <type at remote 0x947b80>, 'IndexError': <type at remote 0x8561e0>, 'all': <built-in function all>, 'help': <_Helper at remote 0xb51bc0>,...(truncated), locals=
{'logging': <module at remote 0xe84f00>, 'LOG': <Logger(name='sloth.annotations.container', parent=<RootLogger(name='root', parent=None, handlers=[], level=30, disabled=0, propagate=1, filters=[]) at remote 0xf4b060>, handlers=[], level=0, disabled=0, manager=<Manager(emittedNoHandlerWarning=0, disable=0, root=<...>, loggerDict={'sloth': <PlaceHolder(loggerMap={<...>: None, <Logger(name='sloth.annotations.model', parent=<...>, handlers=[], level=0, disabled=0, manager=<...>, propagate=1, filters=[]) at remote 0xf6d7d0>: None}) at remote 0xf6d8b0>, 'sloth.annotations.container': <...>, 'sloth.annotations': <PlaceHolder(loggerMap={<...>: None, <...>: None}) at remote 0xf6d840>, 'sloth.annotations.model': <...>}, loggerClass=None) at remote 0xf4b1b0>, propagate=1, filters=[]) at remote 0x15ad920>, 'ImproperlyConfigured': <type at remote 0xa4f140>, '__builtins__': {'bytearray': <type at remote 0x947b80>, 'IndexError': <type at remote 0x8561e0>, 'all': <built-in function all>, 'help': <_Helper at remote 0xb51bc0>,...(truncated), fromlist=None, level=-1) at ../Python/import.c:2189
#39 0x00000000004c1617 in builtin___import__ (self=0x0, args=
('okapy', {'logging': <module at remote 0xe84f00>, 'LOG': <Logger(name='sloth.annotations.container', parent=<RootLogger(name='root', parent=None, handlers=[], level=30, disabled=0, propagate=1, filters=[]) at remote 0xf4b060>, handlers=[], level=0, disabled=0, manager=<Manager(emittedNoHandlerWarning=0, disable=0, root=<...>, loggerDict={'sloth': <PlaceHolder(loggerMap={<...>: None, <Logger(name='sloth.annotations.model', parent=<...>, handlers=[], level=0, disabled=0, manager=<...>, propagate=1, filters=[]) at remote 0xf6d7d0>: None}) at remote 0xf6d8b0>, 'sloth.annotations.container': <...>, 'sloth.annotations': <PlaceHolder(loggerMap={<...>: None, <...>: None}) at remote 0xf6d840>, 'sloth.annotations.model': <...>}, loggerClass=None) at remote 0xf4b1b0>, propagate=1, filters=[]) at remote 0x15ad920>, 'ImproperlyConfigured': <type at remote 0xa4f140>, '__builtins__': {'bytearray': <type at remote 0x947b80>, 'IndexError': <type at remote 0x8561e0>, 'all': <built-in function all>, 'help': <_Helper at remote ...(truncated), kwds=0x0) at ../Python/bltinmodule.c:49
#40 0x00000000005bd9f8 in PyCFunction_Call (func=<built-in function __import__>, arg=
('okapy', {'logging': <module at remote 0xe84f00>, 'LOG': <Logger(name='sloth.annotations.container', parent=<RootLogger(name='root', parent=None, handlers=[], level=30, disabled=0, propagate=1, filters=[]) at remote 0xf4b060>, handlers=[], level=0, disabled=0, manager=<Manager(emittedNoHandlerWarning=0, disable=0, root=<...>, loggerDict={'sloth': <PlaceHolder(loggerMap={<...>: None, <Logger(name='sloth.annotations.model', parent=<...>, handlers=[], level=0, disabled=0, manager=<...>, propagate=1, filters=[]) at remote 0xf6d7d0>: None}) at remote 0xf6d8b0>, 'sloth.annotations.container': <...>, 'sloth.annotations': <PlaceHolder(loggerMap={<...>: None, <...>: None}) at remote 0xf6d840>, 'sloth.annotations.model': <...>}, loggerClass=None) at remote 0xf4b1b0>, propagate=1, filters=[]) at remote 0x15ad920>, 'ImproperlyConfigured': <type at remote 0xa4f140>, '__builtins__': {'bytearray': <type at remote 0x947b80>, 'IndexError': <type at remote 0x8561e0>, 'all': <built-in function all>, 'help': <_Helper at remote ...(truncated), kw=0x0) at ../Objects/methodobject.c:85
#41 0x0000000000424a3c in PyObject_Call (func=<built-in function __import__>, arg=
('okapy', {'logging': <module at remote 0xe84f00>, 'LOG': <Logger(name='sloth.annotations.container', parent=<RootLogger(name='root', parent=None, handlers=[], level=30, disabled=0, propagate=1, filters=[]) at remote 0xf4b060>, handlers=[], level=0, disabled=0, manager=<Manager(emittedNoHandlerWarning=0, disable=0, root=<...>, loggerDict={'sloth': <PlaceHolder(loggerMap={<...>: None, <Logger(name='sloth.annotations.model', parent=<...>, handlers=[], level=0, disabled=0, manager=<...>, propagate=1, filters=[]) at remote 0xf6d7d0>: None}) at remote 0xf6d8b0>, 'sloth.annotations.container': <...>, 'sloth.annotations': <PlaceHolder(loggerMap={<...>: None, <...>: None}) at remote 0xf6d840>, 'sloth.annotations.model': <...>}, loggerClass=None) at remote 0xf4b1b0>, propagate=1, filters=[]) at remote 0x15ad920>, 'ImproperlyConfigured': <type at remote 0xa4f140>, '__builtins__': {'bytearray': <type at remote 0x947b80>, 'IndexError': <type at remote 0x8561e0>, 'all': <built-in function all>, 'help': <_Helper at remote ...(truncated), kw=0x0) at ../Objects/abstract.c:2529
#42 0x00000000004d6de0 in PyEval_CallObjectWithKeywords (func=<built-in function __import__>, arg=
('okapy', {'logging': <module at remote 0xe84f00>, 'LOG': <Logger(name='sloth.annotations.container', parent=<RootLogger(name='root', parent=None, handlers=[], level=30, disabled=0, propagate=1, filters=[]) at remote 0xf4b060>, handlers=[], level=0, disabled=0, manager=<Manager(emittedNoHandlerWarning=0, disable=0, root=<...>, loggerDict={'sloth': <PlaceHolder(loggerMap={<...>: None, <Logger(name='sloth.annotations.model', parent=<...>, handlers=[], level=0, disabled=0, manager=<...>, propagate=1, filters=[]) at remote 0xf6d7d0>: None}) at remote 0xf6d8b0>, 'sloth.annotations.container': <...>, 'sloth.annotations': <PlaceHolder(loggerMap={<...>: None, <...>: None}) at remote 0xf6d840>, 'sloth.annotations.model': <...>}, loggerClass=None) at remote 0xf4b1b0>, propagate=1, filters=[]) at remote 0x15ad920>, 'ImproperlyConfigured': <type at remote 0xa4f140>, '__builtins__': {'bytearray': <type at remote 0x947b80>, 'IndexError': <type at remote 0x8561e0>, 'all': <built-in function all>, 'help': <_Helper at remote ...(truncated), kw=0x0) at ../Python/ceval.c:3882
#43 0x00000000004d1204 in PyEval_EvalFrameEx (f=Frame 0x10001c0, for file /home/tgehrig/src/git/labeltool/sloth/annotations/container.py, line 25, in <module> (), throwflag=0) at ../Python/ceval.c:2333
#44 0x00000000004d4e80 in PyEval_EvalCodeEx (co=0x1023300, globals=
{'logging': <module at remote 0xe84f00>, 'LOG': <Logger(name='sloth.annotations.container', parent=<RootLogger(name='root', parent=None, handlers=[], level=30, disabled=0, propagate=1, filters=[]) at remote 0xf4b060>, handlers=[], level=0, disabled=0, manager=<Manager(emittedNoHandlerWarning=0, disable=0, root=<...>, loggerDict={'sloth': <PlaceHolder(loggerMap={<...>: None, <Logger(name='sloth.annotations.model', parent=<...>, handlers=[], level=0, disabled=0, manager=<...>, propagate=1, filters=[]) at remote 0xf6d7d0>: None}) at remote 0xf6d8b0>, 'sloth.annotations.container': <...>, 'sloth.annotations': <PlaceHolder(loggerMap={<...>: None, <...>: None}) at remote 0xf6d840>, 'sloth.annotations.model': <...>}, loggerClass=None) at remote 0xf4b1b0>, propagate=1, filters=[]) at remote 0x15ad920>, 'ImproperlyConfigured': <type at remote 0xa4f140>, '__builtins__': {'bytearray': <type at remote 0x947b80>, 'IndexError': <type at remote 0x8561e0>, 'all': <built-in function all>, 'help': <_Helper at remote 0xb51bc0>,...(truncated), locals=
{'logging': <module at remote 0xe84f00>, 'LOG': <Logger(name='sloth.annotations.container', parent=<RootLogger(name='root', parent=None, handlers=[], level=30, disabled=0, propagate=1, filters=[]) at remote 0xf4b060>, handlers=[], level=0, disabled=0, manager=<Manager(emittedNoHandlerWarning=0, disable=0, root=<...>, loggerDict={'sloth': <PlaceHolder(loggerMap={<...>: None, <Logger(name='sloth.annotations.model', parent=<...>, handlers=[], level=0, disabled=0, manager=<...>, propagate=1, filters=[]) at remote 0xf6d7d0>: None}) at remote 0xf6d8b0>, 'sloth.annotations.container': <...>, 'sloth.annotations': <PlaceHolder(loggerMap={<...>: None, <...>: None}) at remote 0xf6d840>, 'sloth.annotations.model': <...>}, loggerClass=None) at remote 0xf4b1b0>, propagate=1, filters=[]) at remote 0x15ad920>, 'ImproperlyConfigured': <type at remote 0xa4f140>, '__builtins__': {'bytearray': <type at remote 0x947b80>, 'IndexError': <type at remote 0x8561e0>, 'all': <built-in function all>, 'help': <_Helper at remote 0xb51bc0>,...(truncated), args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3253
#45 0x00000000004caef2 in PyEval_EvalCode (co=0x1023300, globals=
{'logging': <module at remote 0xe84f00>, 'LOG': <Logger(name='sloth.annotations.container', parent=<RootLogger(name='root', parent=None, handlers=[], level=30, disabled=0, propagate=1, filters=[]) at remote 0xf4b060>, handlers=[], l---Type <return> to continue, or q <return> to quit---
evel=0, disabled=0, manager=<Manager(emittedNoHandlerWarning=0, disable=0, root=<...>, loggerDict={'sloth': <PlaceHolder(loggerMap={<...>: None, <Logger(name='sloth.annotations.model', parent=<...>, handlers=[], level=0, disabled=0, manager=<...>, propagate=1, filters=[]) at remote 0xf6d7d0>: None}) at remote 0xf6d8b0>, 'sloth.annotations.container': <...>, 'sloth.annotations': <PlaceHolder(loggerMap={<...>: None, <...>: None}) at remote 0xf6d840>, 'sloth.annotations.model': <...>}, loggerClass=None) at remote 0xf4b1b0>, propagate=1, filters=[]) at remote 0x15ad920>, 'ImproperlyConfigured': <type at remote 0xa4f140>, '__builtins__': {'bytearray': <type at remote 0x947b80>, 'IndexError': <type at remote 0x8561e0>, 'all': <built-in function all>, 'help': <_Helper at remote 0xb51bc0>,...(truncated), locals=
{'logging': <module at remote 0xe84f00>, 'LOG': <Logger(name='sloth.annotations.container', parent=<RootLogger(name='root', parent=None, handlers=[], level=30, disabled=0, propagate=1, filters=[]) at remote 0xf4b060>, handlers=[], level=0, disabled=0, manager=<Manager(emittedNoHandlerWarning=0, disable=0, root=<...>, loggerDict={'sloth': <PlaceHolder(loggerMap={<...>: None, <Logger(name='sloth.annotations.model', parent=<...>, handlers=[], level=0, disabled=0, manager=<...>, propagate=1, filters=[]) at remote 0xf6d7d0>: None}) at remote 0xf6d8b0>, 'sloth.annotations.container': <...>, 'sloth.annotations': <PlaceHolder(loggerMap={<...>: None, <...>: None}) at remote 0xf6d840>, 'sloth.annotations.model': <...>}, loggerClass=None) at remote 0xf4b1b0>, propagate=1, filters=[]) at remote 0x15ad920>, 'ImproperlyConfigured': <type at remote 0xa4f140>, '__builtins__': {'bytearray': <type at remote 0x947b80>, 'IndexError': <type at remote 0x8561e0>, 'all': <built-in function all>, 'help': <_Helper at remote 0xb51bc0>,...(truncated)) at ../Python/ceval.c:667
#46 0x00000000004f15c2 in PyImport_ExecCodeModuleEx (name=0x7fffffff8fb0 "sloth.annotations.container", co=<code at remote 0x1023300>, pathname=0x7fffffff6de0 "/home/tgehrig/src/git/labeltool/sloth/annotations/container.pyc")
at ../Python/import.c:681
#47 0x00000000004f223f in load_source_module (name=0x7fffffff8fb0 "sloth.annotations.container", pathname=0x7fffffff6de0 "/home/tgehrig/src/git/labeltool/sloth/annotations/container.pyc", fp=0xed3810) at ../Python/import.c:1021
#48 0x00000000004f3d04 in load_module (name=0x7fffffff8fb0 "sloth.annotations.container", fp=0xed3810, pathname=0x7fffffff7ec0 "/home/tgehrig/src/git/labeltool/sloth/annotations/container.py", type=1, loader=0x0)
at ../Python/import.c:1825
#49 0x00000000004f5eff in import_submodule (mod=<module at remote 0xf3d408>, subname=0x7fffffff8fc2 "container", fullname=0x7fffffff8fb0 "sloth.annotations.container") at ../Python/import.c:2596
#50 0x00000000004f5478 in load_next (mod=<module at remote 0xf3d408>, altmod=<module at remote 0xf3d408>, p_name=0x7fffffff8f78, buf=0x7fffffff8fb0 "sloth.annotations.container", p_buflen=0x7fffffff8f88) at ../Python/import.c:2416
#51 0x00000000004f4745 in import_module_level (name=0x0, globals=Traceback (most recent call last):
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 1096, in to_string
return pyop.get_truncated_repr(MAX_OUTPUT_LEN)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 184, in get_truncated_repr
self.write_repr(out, set())
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 654, in write_repr
pyop_value.write_repr(out, visited)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 483, in write_repr
self.safe_tp_name(), pyop_attrdict, self.as_address())
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 390, in _write_instance_repr
pyop_val.write_repr(out, visited)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 483, in write_repr
self.safe_tp_name(), pyop_attrdict, self.as_address())
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 390, in _write_instance_repr
pyop_val.write_repr(out, visited)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 951, in write_repr
if key != 0:
RuntimeError: Cannot access memory at address 0x8
, locals=Traceback (most recent call last):
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 1096, in to_string
return pyop.get_truncated_repr(MAX_OUTPUT_LEN)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 184, in get_truncated_repr
self.write_repr(out, set())
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 654, in write_repr
pyop_value.write_repr(out, visited)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 483, in write_repr
self.safe_tp_name(), pyop_attrdict, self.as_address())
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 390, in _write_instance_repr
pyop_val.write_repr(out, visited)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 483, in write_repr
self.safe_tp_name(), pyop_attrdict, self.as_address())
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 390, in _write_instance_repr
pyop_val.write_repr(out, visited)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 951, in write_repr
if key != 0:
RuntimeError: Cannot access memory at address 0x8
, fromlist=('AnnotationContainerFactory', 'AnnotationContainer'), level=-1) at ../Python/import.c:2145
#52 0x00000000004f4bcb in PyImport_ImportModuleLevel (name=0xe87bd4 "sloth.annotations.container", globals=Traceback (most recent call last):
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 1096, in to_string
return pyop.get_truncated_repr(MAX_OUTPUT_LEN)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 184, in get_truncated_repr
self.write_repr(out, set())
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 654, in write_repr
pyop_value.write_repr(out, visited)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 483, in write_repr
self.safe_tp_name(), pyop_attrdict, self.as_address())
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 390, in _write_instance_repr
pyop_val.write_repr(out, visited)
---Type <return> to continue, or q <return> to quit---
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 483, in write_repr
self.safe_tp_name(), pyop_attrdict, self.as_address())
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 390, in _write_instance_repr
pyop_val.write_repr(out, visited)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 951, in write_repr
if key != 0:
RuntimeError: Cannot access memory at address 0x8
, locals=Traceback (most recent call last):
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 1096, in to_string
return pyop.get_truncated_repr(MAX_OUTPUT_LEN)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 184, in get_truncated_repr
self.write_repr(out, set())
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 654, in write_repr
pyop_value.write_repr(out, visited)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 483, in write_repr
self.safe_tp_name(), pyop_attrdict, self.as_address())
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 390, in _write_instance_repr
pyop_val.write_repr(out, visited)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 483, in write_repr
self.safe_tp_name(), pyop_attrdict, self.as_address())
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 390, in _write_instance_repr
pyop_val.write_repr(out, visited)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 951, in write_repr
if key != 0:
RuntimeError: Cannot access memory at address 0x8
, fromlist=('AnnotationContainerFactory', 'AnnotationContainer'), level=-1) at ../Python/import.c:2189
#53 0x00000000004c1617 in builtin___import__ (self=0x0, args=Traceback (most recent call last):
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 1096, in to_string
return pyop.get_truncated_repr(MAX_OUTPUT_LEN)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 184, in get_truncated_repr
self.write_repr(out, set())
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 1004, in write_repr
element.write_repr(out, visited)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 654, in write_repr
pyop_value.write_repr(out, visited)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 483, in write_repr
self.safe_tp_name(), pyop_attrdict, self.as_address())
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 390, in _write_instance_repr
pyop_val.write_repr(out, visited)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 483, in write_repr
self.safe_tp_name(), pyop_attrdict, self.as_address())
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 390, in _write_instance_repr
pyop_val.write_repr(out, visited)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 951, in write_repr
if key != 0:
RuntimeError: Cannot access memory at address 0x8
, kwds=0x0) at ../Python/bltinmodule.c:49
#54 0x00000000005bd9f8 in PyCFunction_Call (func=<built-in function __import__>, arg=Traceback (most recent call last):
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 1096, in to_string
return pyop.get_truncated_repr(MAX_OUTPUT_LEN)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 184, in get_truncated_repr
self.write_repr(out, set())
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 1004, in write_repr
element.write_repr(out, visited)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 654, in write_repr
pyop_value.write_repr(out, visited)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 483, in write_repr
self.safe_tp_name(), pyop_attrdict, self.as_address())
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 390, in _write_instance_repr
pyop_val.write_repr(out, visited)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 483, in write_repr
self.safe_tp_name(), pyop_attrdict, self.as_address())
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 390, in _write_instance_repr
pyop_val.write_repr(out, visited)
---Type <return> to continue, or q <return> to quit---
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 951, in write_repr
if key != 0:
RuntimeError: Cannot access memory at address 0x8
, kw=0x0) at ../Objects/methodobject.c:85
#55 0x0000000000424a3c in PyObject_Call (func=<built-in function __import__>, arg=Traceback (most recent call last):
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 1096, in to_string
return pyop.get_truncated_repr(MAX_OUTPUT_LEN)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 184, in get_truncated_repr
self.write_repr(out, set())
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 1004, in write_repr
element.write_repr(out, visited)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 654, in write_repr
pyop_value.write_repr(out, visited)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 483, in write_repr
self.safe_tp_name(), pyop_attrdict, self.as_address())
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 390, in _write_instance_repr
pyop_val.write_repr(out, visited)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 483, in write_repr
self.safe_tp_name(), pyop_attrdict, self.as_address())
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 390, in _write_instance_repr
pyop_val.write_repr(out, visited)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 951, in write_repr
if key != 0:
RuntimeError: Cannot access memory at address 0x8
, kw=0x0) at ../Objects/abstract.c:2529
#56 0x00000000004d6de0 in PyEval_CallObjectWithKeywords (func=<built-in function __import__>, arg=Traceback (most recent call last):
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 1096, in to_string
return pyop.get_truncated_repr(MAX_OUTPUT_LEN)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 184, in get_truncated_repr
self.write_repr(out, set())
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 1004, in write_repr
element.write_repr(out, visited)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 654, in write_repr
pyop_value.write_repr(out, visited)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 483, in write_repr
self.safe_tp_name(), pyop_attrdict, self.as_address())
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 390, in _write_instance_repr
pyop_val.write_repr(out, visited)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 483, in write_repr
self.safe_tp_name(), pyop_attrdict, self.as_address())
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 390, in _write_instance_repr
pyop_val.write_repr(out, visited)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 951, in write_repr
if key != 0:
RuntimeError: Cannot access memory at address 0x8
, kw=0x0) at ../Python/ceval.c:3882
#57 0x00000000004d1204 in PyEval_EvalFrameEx (f=Frame 0xed7dd0, for file /home/tgehrig/src/git/labeltool/sloth/core/labeltool.py, line 12, in <module> (), throwflag=0) at ../Python/ceval.c:2333
#58 0x00000000004d4e80 in PyEval_EvalCodeEx (co=0xe85bf0, globals=Traceback (most recent call last):
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 1096, in to_string
return pyop.get_truncated_repr(MAX_OUTPUT_LEN)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 184, in get_truncated_repr
self.write_repr(out, set())
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 654, in write_repr
pyop_value.write_repr(out, visited)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 483, in write_repr
self.safe_tp_name(), pyop_attrdict, self.as_address())
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 390, in _write_instance_repr
pyop_val.write_repr(out, visited)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 483, in write_repr
self.safe_tp_name(), pyop_attrdict, self.as_address())
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 390, in _write_instance_repr
pyop_val.write_repr(out, visited)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 951, in write_repr
if key != 0:
---Type <return> to continue, or q <return> to quit---
RuntimeError: Cannot access memory at address 0x8
, locals=Traceback (most recent call last):
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 1096, in to_string
return pyop.get_truncated_repr(MAX_OUTPUT_LEN)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 184, in get_truncated_repr
self.write_repr(out, set())
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 654, in write_repr
pyop_value.write_repr(out, visited)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 483, in write_repr
self.safe_tp_name(), pyop_attrdict, self.as_address())
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 390, in _write_instance_repr
pyop_val.write_repr(out, visited)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 483, in write_repr
self.safe_tp_name(), pyop_attrdict, self.as_address())
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 390, in _write_instance_repr
pyop_val.write_repr(out, visited)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 951, in write_repr
if key != 0:
RuntimeError: Cannot access memory at address 0x8
, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3253
#59 0x00000000004caef2 in PyEval_EvalCode (co=0xe85bf0, globals=Traceback (most recent call last):
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 1096, in to_string
return pyop.get_truncated_repr(MAX_OUTPUT_LEN)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 184, in get_truncated_repr
self.write_repr(out, set())
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 654, in write_repr
pyop_value.write_repr(out, visited)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 483, in write_repr
self.safe_tp_name(), pyop_attrdict, self.as_address())
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 390, in _write_instance_repr
pyop_val.write_repr(out, visited)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 483, in write_repr
self.safe_tp_name(), pyop_attrdict, self.as_address())
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 390, in _write_instance_repr
pyop_val.write_repr(out, visited)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 951, in write_repr
if key != 0:
RuntimeError: Cannot access memory at address 0x8
, locals=Traceback (most recent call last):
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 1096, in to_string
return pyop.get_truncated_repr(MAX_OUTPUT_LEN)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 184, in get_truncated_repr
self.write_repr(out, set())
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 654, in write_repr
pyop_value.write_repr(out, visited)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 483, in write_repr
self.safe_tp_name(), pyop_attrdict, self.as_address())
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 390, in _write_instance_repr
pyop_val.write_repr(out, visited)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 483, in write_repr
self.safe_tp_name(), pyop_attrdict, self.as_address())
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 390, in _write_instance_repr
pyop_val.write_repr(out, visited)
File "/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py", line 951, in write_repr
if key != 0:
RuntimeError: Cannot access memory at address 0x8
) at ../Python/ceval.c:667
#60 0x00000000004f15c2 in PyImport_ExecCodeModuleEx (name=0x7fffffffc870 "sloth.core.labeltool", co=<code at remote 0xe85bf0>, pathname=0x7fffffffa6a0 "/home/tgehrig/src/git/labeltool/sloth/core/labeltool.pyc")
at ../Python/import.c:681
#61 0x00000000004f223f in load_source_module (name=0x7fffffffc870 "sloth.core.labeltool", pathname=0x7fffffffa6a0 "/home/tgehrig/src/git/labeltool/sloth/core/labeltool.pyc", fp=0xed3150) at ../Python/import.c:1021
#62 0x00000000004f3d04 in load_module (name=0x7fffffffc870 "sloth.core.labeltool", fp=0xed3150, pathname=0x7fffffffb780 "/home/tgehrig/src/git/labeltool/sloth/core/labeltool.py", type=1, loader=0x0) at ../Python/import.c:1825
#63 0x00000000004f5eff in import_submodule (mod=<module at remote 0xe7e678>, subname=0x7fffffffc87b "labeltool", fullname=0x7fffffffc870 "sloth.core.labeltool") at ../Python/import.c:2596
#64 0x00000000004f5478 in load_next (mod=<module at remote 0xe7e678>, altmod=<module at remote 0xe7e678>, p_name=0x7fffffffc838, buf=0x7fffffffc870 "sloth.core.labeltool", p_buflen=0x7fffffffc848) at ../Python/import.c:2416
#65 0x00000000004f4745 in import_module_level (name=0x0, globals=
---Type <return> to continue, or q <return> to quit---
{'__builtins__': <module at remote 0x7ffff7fbe470>, '__file__': 'bin/sloth', 'QApplication': <PyQt4.QtCore.pyqtWrapperType at remote 0xcf31e0>, '__package__': None, 'sys': <module at remote 0x7ffff7fbe5a8>, '__name__': '__main__', '__doc__': None}, locals=
{'__builtins__': <module at remote 0x7ffff7fbe470>, '__file__': 'bin/sloth', 'QApplication': <PyQt4.QtCore.pyqtWrapperType at remote 0xcf31e0>, '__package__': None, 'sys': <module at remote 0x7ffff7fbe5a8>, '__name__': '__main__', '__doc__': None}, fromlist=('LabelTool',), level=-1) at ../Python/import.c:2145
#66 0x00000000004f4bcb in PyImport_ImportModuleLevel (name=0x9b28c4 "sloth.core.labeltool", globals=
{'__builtins__': <module at remote 0x7ffff7fbe470>, '__file__': 'bin/sloth', 'QApplication': <PyQt4.QtCore.pyqtWrapperType at remote 0xcf31e0>, '__package__': None, 'sys': <module at remote 0x7ffff7fbe5a8>, '__name__': '__main__', '__doc__': None}, locals=
{'__builtins__': <module at remote 0x7ffff7fbe470>, '__file__': 'bin/sloth', 'QApplication': <PyQt4.QtCore.pyqtWrapperType at remote 0xcf31e0>, '__package__': None, 'sys': <module at remote 0x7ffff7fbe5a8>, '__name__': '__main__', '__doc__': None}, fromlist=('LabelTool',), level=-1) at ../Python/import.c:2189
#67 0x00000000004c1617 in builtin___import__ (self=0x0, args=
('sloth.core.labeltool', {'__builtins__': <module at remote 0x7ffff7fbe470>, '__file__': 'bin/sloth', 'QApplication': <PyQt4.QtCore.pyqtWrapperType at remote 0xcf31e0>, '__package__': None, 'sys': <module at remote 0x7ffff7fbe5a8>, '__name__': '__main__', '__doc__': None}, {...}, ('LabelTool',)), kwds=0x0) at ../Python/bltinmodule.c:49
#68 0x00000000005bd9f8 in PyCFunction_Call (func=<built-in function __import__>, arg=
('sloth.core.labeltool', {'__builtins__': <module at remote 0x7ffff7fbe470>, '__file__': 'bin/sloth', 'QApplication': <PyQt4.QtCore.pyqtWrapperType at remote 0xcf31e0>, '__package__': None, 'sys': <module at remote 0x7ffff7fbe5a8>, '__name__': '__main__', '__doc__': None}, {...}, ('LabelTool',)), kw=0x0) at ../Objects/methodobject.c:85
#69 0x0000000000424a3c in PyObject_Call (func=<built-in function __import__>, arg=
('sloth.core.labeltool', {'__builtins__': <module at remote 0x7ffff7fbe470>, '__file__': 'bin/sloth', 'QApplication': <PyQt4.QtCore.pyqtWrapperType at remote 0xcf31e0>, '__package__': None, 'sys': <module at remote 0x7ffff7fbe5a8>, '__name__': '__main__', '__doc__': None}, {...}, ('LabelTool',)), kw=0x0) at ../Objects/abstract.c:2529
#70 0x00000000004d6de0 in PyEval_CallObjectWithKeywords (func=<built-in function __import__>, arg=
('sloth.core.labeltool', {'__builtins__': <module at remote 0x7ffff7fbe470>, '__file__': 'bin/sloth', 'QApplication': <PyQt4.QtCore.pyqtWrapperType at remote 0xcf31e0>, '__package__': None, 'sys': <module at remote 0x7ffff7fbe5a8>, '__name__': '__main__', '__doc__': None}, {...}, ('LabelTool',)), kw=0x0) at ../Python/ceval.c:3882
#71 0x00000000004d1204 in PyEval_EvalFrameEx (f=Frame 0xbb75a0, for file bin/sloth, line 4, in <module> (), throwflag=0) at ../Python/ceval.c:2333
#72 0x00000000004d4e80 in PyEval_EvalCodeEx (co=0xb26040, globals=
{'__builtins__': <module at remote 0x7ffff7fbe470>, '__file__': 'bin/sloth', 'QApplication': <PyQt4.QtCore.pyqtWrapperType at remote 0xcf31e0>, '__package__': None, 'sys': <module at remote 0x7ffff7fbe5a8>, '__name__': '__main__', '__doc__': None}, locals=
{'__builtins__': <module at remote 0x7ffff7fbe470>, '__file__': 'bin/sloth', 'QApplication': <PyQt4.QtCore.pyqtWrapperType at remote 0xcf31e0>, '__package__': None, 'sys': <module at remote 0x7ffff7fbe5a8>, '__name__': '__main__', '__doc__': None}, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3253
#73 0x00000000004caef2 in PyEval_EvalCode (co=0xb26040, globals=
{'__builtins__': <module at remote 0x7ffff7fbe470>, '__file__': 'bin/sloth', 'QApplication': <PyQt4.QtCore.pyqtWrapperType at remote 0xcf31e0>, '__package__': None, 'sys': <module at remote 0x7ffff7fbe5a8>, '__name__': '__main__', '__doc__': None}, locals=
{'__builtins__': <module at remote 0x7ffff7fbe470>, '__file__': 'bin/sloth', 'QApplication': <PyQt4.QtCore.pyqtWrapperType at remote 0xcf31e0>, '__package__': None, 'sys': <module at remote 0x7ffff7fbe5a8>, '__name__': '__main__', '__doc__': None}) at ../Python/ceval.c:667
#74 0x00000000005062b8 in run_mod (mod=0xbc42b0, filename=0x7fffffffe4c3 "bin/sloth", globals=
{'__builtins__': <module at remote 0x7ffff7fbe470>, '__file__': 'bin/sloth', 'QApplication': <PyQt4.QtCore.pyqtWrapperType at remote 0xcf31e0>, '__package__': None, 'sys': <module at remote 0x7ffff7fbe5a8>, '__name__': '__main__', '__doc__': None}, locals=
{'__builtins__': <module at remote 0x7ffff7fbe470>, '__file__': 'bin/sloth', 'QApplication': <PyQt4.QtCore.pyqtWrapperType at remote 0xcf31e0>, '__package__': None, 'sys': <module at remote 0x7ffff7fbe5a8>, '__name__': '__main__', '__doc__': None}, flags=0x7fffffffe090, arena=0xad7a60) at ../Python/pythonrun.c:1346
#75 0x0000000000506241 in PyRun_FileExFlags (fp=0xbbcec0, filename=0x7fffffffe4c3 "bin/sloth", start=257, globals=
{'__builtins__': <module at remote 0x7ffff7fbe470>, '__file__': 'bin/sloth', 'QApplication': <PyQt4.QtCore.pyqtWrapperType at remote 0xcf31e0>, '__package__': None, 'sys': <module at remote 0x7ffff7fbe5a8>, '__name__': '__main__', '__doc__': None}, locals=
{'__builtins__': <module at remote 0x7ffff7fbe470>, '__file__': 'bin/sloth', 'QApplication': <PyQt4.QtCore.pyqtWrapperType at remote 0xcf31e0>, '__package__': None, 'sys': <module at remote 0x7ffff7fbe5a8>, '__name__': '__main__', '__doc__': None}, closeit=1, flags=0x7fffffffe090) at ../Python/pythonrun.c:1332
#76 0x0000000000504b20 in PyRun_SimpleFileExFlags (fp=0xbbcec0, filename=0x7fffffffe4c3 "bin/sloth", closeit=1, flags=0x7fffffffe090) at ../Python/pythonrun.c:936
#77 0x00000000005041c4 in PyRun_AnyFileExFlags (fp=0xbbcec0, filename=0x7fffffffe4c3 "bin/sloth", closeit=1, flags=0x7fffffffe090) at ../Python/pythonrun.c:740
#78 0x0000000000419b4a in Py_Main (argc=2, argv=0x7fffffffe1d8) at ../Modules/main.c:599
#79 0x0000000000418834 in main (argc=2, argv=0x7fffffffe1d8) at ../Modules/python.c:23
using gdb and python it looks a bit different:
Program received signal SIGSEGV, Segmentation fault.
0x00007fffe63812f0 in pixman_image_composite32 () from /usr/lib/libpixman-1.so.0
(gdb) bt
#0 0x00007fffe63812f0 in pixman_image_composite32 () from /usr/lib/libpixman-1.so.0
#1 0x00007fffe8fa098a in ?? () from /usr/lib/libcairo.so.2
#2 0x00007fffe8fa1bc7 in ?? () from /usr/lib/libcairo.so.2
#3 0x00007fffe8fcf83c in ?? () from /usr/lib/libcairo.so.2
#4 0x00007fffe8fadb00 in ?? () from /usr/lib/libcairo.so.2
#5 0x00007fffe8fb1515 in ?? () from /usr/lib/libcairo.so.2
#6 0x00007fffe8fb1866 in ?? () from /usr/lib/libcairo.so.2
#7 0x00007fffe8fae181 in ?? () from /usr/lib/libcairo.so.2
#8 0x00007fffe8f87ec0 in ?? () from /usr/lib/libcairo.so.2
#9 0x00007fffe8f7ec50 in cairo_fill_preserve () from /usr/lib/libcairo.so.2
#10 0x00007fffe8f7ec69 in cairo_fill () from /usr/lib/libcairo.so.2
#11 0x00007fffd00b41e3 in ?? () from /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so
#12 0x00007fffd00ab5b5 in ?? () from /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so
#13 0x00007ffff553cdd9 in ?? () from /usr/lib/libQtGui.so.4
#14 0x00007ffff5534b0c in QGtkStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const () from /usr/lib/libQtGui.so.4
#15 0x00007ffff5631054 in QToolBar::paintEvent(QPaintEvent*) () from /usr/lib/libQtGui.so.4
#16 0x00007ffff5eb9711 in ?? () from /usr/lib/pymodules/python2.7/PyQt4/QtGui.so
#17 0x00007ffff520cc6a in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#18 0x00007ffff56329bb in QToolBar::event(QEvent*) () from /usr/lib/libQtGui.so.4
#19 0x00007ffff5e94e6d in ?? () from /usr/lib/pymodules/python2.7/PyQt4/QtGui.so
#20 0x00007ffff51bb9e4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#21 0x00007ffff51c03aa in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#22 0x00007ffff6122a59 in ?? () from /usr/lib/pymodules/python2.7/PyQt4/QtGui.so
#23 0x00007ffff4ccd49c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#24 0x00007ffff5209abd in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#25 0x00007ffff520a6d2 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#26 0x00007ffff520a58a in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#27 0x00007ffff520a58a in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#28 0x00007ffff520a58a in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#29 0x00007ffff52097fc in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QP
This segfault does not happen when using a ubuntu theme like high contrast, which probably does not use libcairo.
The solution to this problem is to build the static opencv libraries and link to them instead of dynamically linking against opencv so that libcairo and so on are not linked to from _core.so
This happens only when okapy is in the PYTHONPATH with both python2.7 and python2.6.