From a8ab774aec55fc200859a1c3b9202080093d1d30 Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Tue, 15 Feb 2011 15:15:51 -0500 Subject: Cope with backtraces where the thread says "Thread 0xb78516c0 (LWP 17355)", rather than just a decimal --- backtrace.py | 19 +- data/rhbz-677051-attachment-478410.txt | 890 +++++++++++++++++++++++++++++++++ test_backtrace_parser.py | 29 ++ 3 files changed, 929 insertions(+), 9 deletions(-) create mode 100644 data/rhbz-677051-attachment-478410.txt create mode 100644 test_backtrace_parser.py diff --git a/backtrace.py b/backtrace.py index 8d33577..57e907e 100644 --- a/backtrace.py +++ b/backtrace.py @@ -17,9 +17,9 @@ class Thread(object): ''' Class representing a thread within a backtrace ''' - def __init__(self, index, pid): + def __init__(self, index, extra): self.index = index - self.pid = pid + self.extra = extra self.frames = {} self.framelist = [] @@ -27,27 +27,26 @@ class Backtrace(object): ''' Class representing a parsed backtrace ''' - def __init__(self, string): + def __init__(self, string, debug=False): ''' Parse the given string (from gdb) ''' - debug = False self._string = string - if debug: - print string + #if debug: + # print string self._crash_site = None self._thread = None self._threads = {} self._frame = None for line in string.splitlines(): if debug: - print repr(line) - m = re.match('^Thread ([0-9]+) \(Thread ([0-9]+)\):$', line) + print 'GOT LINE: %r' % line + m = re.match('^Thread ([0-9]+) \(Thread (.*)\):$', line) if m: if debug: print 'THREAD START:', m.groups() self._thread = Thread(int(m.group(1)), - int(m.group(2))) + m.group(2)) self._threads[self._thread.index] = self._thread self._frame = None continue @@ -67,6 +66,8 @@ class Backtrace(object): m.group(4)) if self._thread is None: + if debug: + print 'GOT CRASH SITE' self._crash_site = f self._frame = None continue diff --git a/data/rhbz-677051-attachment-478410.txt b/data/rhbz-677051-attachment-478410.txt new file mode 100644 index 0000000..f50af1f --- /dev/null +++ b/data/rhbz-677051-attachment-478410.txt @@ -0,0 +1,890 @@ +warning: core file may not match specified executable file. +Missing separate debuginfo for +Try: yum --disablerepo='*' --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/db/78dae5a0a81dd4fb25b818163e1a7488d570cc /var/cache/abrt-di/usr/lib/debug/.build-id/db/78dae5a0a81dd4fb25b818163e1a7488d570cc +[New LWP 17355] +warning: File "/usr/lib/debug/lib/libpthread-2.13.90.so.debug" has a different build-id, file skipped +warning: the debug information found in "/usr/lib/debug//lib/libpthread-2.13.90.so.debug" does not match "/lib/libpthread-2.13.90.so" (CRC mismatch). + +warning: the debug information found in "/usr/lib/debug/lib/libpthread-2.13.90.so.debug" does not match "/lib/libpthread-2.13.90.so" (CRC mismatch). + +Missing separate debuginfo for /lib/libpthread-2.13.90.so +Try: yum --disablerepo='*' --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/5c/32d3f531f25710a213121f90bde9f1649b92dc.debug /var/cache/abrt-di/usr/lib/debug/.build-id/5c/32d3f531f25710a213121f90bde9f1649b92dc.debug +[Thread debugging using libthread_db enabled] +warning: File "/usr/lib/debug/lib/libdl-2.13.90.so.debug" has a different build-id, file skipped +warning: the debug information found in "/usr/lib/debug//lib/libdl-2.13.90.so.debug" does not match "/lib/libdl-2.13.90.so" (CRC mismatch). + +warning: the debug information found in "/usr/lib/debug/lib/libdl-2.13.90.so.debug" does not match "/lib/libdl-2.13.90.so" (CRC mismatch). + +Missing separate debuginfo for /lib/libdl-2.13.90.so +Try: yum --disablerepo='*' --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/2d/8a484e59521bd48992936abbfb0d83fd02c2b4.debug /var/cache/abrt-di/usr/lib/debug/.build-id/2d/8a484e59521bd48992936abbfb0d83fd02c2b4.debug +warning: File "/usr/lib/debug/lib/libutil-2.13.90.so.debug" has a different build-id, file skipped +warning: the debug information found in "/usr/lib/debug//lib/libutil-2.13.90.so.debug" does not match "/lib/libutil-2.13.90.so" (CRC mismatch). + +warning: the debug information found in "/usr/lib/debug/lib/libutil-2.13.90.so.debug" does not match "/lib/libutil-2.13.90.so" (CRC mismatch). + +Missing separate debuginfo for /lib/libutil-2.13.90.so +Try: yum --disablerepo='*' --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/bd/7947025afb13049ae6196f83464c79b8abe28c.debug /var/cache/abrt-di/usr/lib/debug/.build-id/bd/7947025afb13049ae6196f83464c79b8abe28c.debug +warning: File "/usr/lib/debug/lib/libm-2.13.90.so.debug" has a different build-id, file skipped +warning: the debug information found in "/usr/lib/debug//lib/libm-2.13.90.so.debug" does not match "/lib/libm-2.13.90.so" (CRC mismatch). + +warning: the debug information found in "/usr/lib/debug/lib/libm-2.13.90.so.debug" does not match "/lib/libm-2.13.90.so" (CRC mismatch). + +Missing separate debuginfo for /lib/libm-2.13.90.so +Try: yum --disablerepo='*' --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/ff/26b6eae4b748e5dd295d5be3f71db6d16a5a50.debug /var/cache/abrt-di/usr/lib/debug/.build-id/ff/26b6eae4b748e5dd295d5be3f71db6d16a5a50.debug +warning: File "/usr/lib/debug/lib/libc-2.13.90.so.debug" has a different build-id, file skipped +warning: the debug information found in "/usr/lib/debug//lib/libc-2.13.90.so.debug" does not match "/lib/libc-2.13.90.so" (CRC mismatch). + +warning: the debug information found in "/usr/lib/debug/lib/libc-2.13.90.so.debug" does not match "/lib/libc-2.13.90.so" (CRC mismatch). + +Missing separate debuginfo for /lib/libc-2.13.90.so +Try: yum --disablerepo='*' --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/d6/67de5136729d5ea26a2de71c60a1c1dcc9449a.debug /var/cache/abrt-di/usr/lib/debug/.build-id/d6/67de5136729d5ea26a2de71c60a1c1dcc9449a.debug +warning: File "/usr/lib/debug/lib/ld-2.13.90.so.debug" has a different build-id, file skipped +warning: the debug information found in "/usr/lib/debug//lib/ld-2.13.90.so.debug" does not match "/lib/ld-2.13.90.so" (CRC mismatch). + +warning: the debug information found in "/usr/lib/debug/lib/ld-2.13.90.so.debug" does not match "/lib/ld-2.13.90.so" (CRC mismatch). + +Missing separate debuginfo for /lib/ld-2.13.90.so +Try: yum --disablerepo='*' --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/c6/df611185516c8124cad48f128f5ff1801a45f0.debug /var/cache/abrt-di/usr/lib/debug/.build-id/c6/df611185516c8124cad48f128f5ff1801a45f0.debug +warning: File "/usr/lib/debug/lib/libresolv-2.13.90.so.debug" has a different build-id, file skipped +warning: the debug information found in "/usr/lib/debug//lib/libresolv-2.13.90.so.debug" does not match "/lib/libresolv-2.13.90.so" (CRC mismatch). + +warning: the debug information found in "/usr/lib/debug/lib/libresolv-2.13.90.so.debug" does not match "/lib/libresolv-2.13.90.so" (CRC mismatch). + +Missing separate debuginfo for /lib/libresolv-2.13.90.so +Try: yum --disablerepo='*' --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/12/095f8120356d7e0f72c3f21ac15ee2a05add5b.debug /var/cache/abrt-di/usr/lib/debug/.build-id/12/095f8120356d7e0f72c3f21ac15ee2a05add5b.debug +warning: File "/usr/lib/debug/lib/librt-2.13.90.so.debug" has a different build-id, file skipped +warning: the debug information found in "/usr/lib/debug//lib/librt-2.13.90.so.debug" does not match "/lib/librt-2.13.90.so" (CRC mismatch). + +warning: the debug information found in "/usr/lib/debug/lib/librt-2.13.90.so.debug" does not match "/lib/librt-2.13.90.so" (CRC mismatch). + +Missing separate debuginfo for /lib/librt-2.13.90.so +Try: yum --disablerepo='*' --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/e5/111cce7e0fe1152ff04d0ab7526280c749297d.debug /var/cache/abrt-di/usr/lib/debug/.build-id/e5/111cce7e0fe1152ff04d0ab7526280c749297d.debug +warning: File "/usr/lib/debug/lib/libnss_files-2.13.90.so.debug" has a different build-id, file skipped +warning: the debug information found in "/usr/lib/debug//lib/libnss_files-2.13.90.so.debug" does not match "/lib/libnss_files-2.13.90.so" (CRC mismatch). + +warning: the debug information found in "/usr/lib/debug/lib/libnss_files-2.13.90.so.debug" does not match "/lib/libnss_files-2.13.90.so" (CRC mismatch). + +Missing separate debuginfo for /lib/libnss_files-2.13.90.so +Try: yum --disablerepo='*' --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/34/90e0b73acda7fa5b27908a1f28b070952f5c9b.debug /var/cache/abrt-di/usr/lib/debug/.build-id/34/90e0b73acda7fa5b27908a1f28b070952f5c9b.debug +warning: File "/usr/lib/debug/lib/libcrypt-2.13.90.so.debug" has a different build-id, file skipped +warning: the debug information found in "/usr/lib/debug//lib/libcrypt-2.13.90.so.debug" does not match "/lib/libcrypt-2.13.90.so" (CRC mismatch). + +warning: the debug information found in "/usr/lib/debug/lib/libcrypt-2.13.90.so.debug" does not match "/lib/libcrypt-2.13.90.so" (CRC mismatch). + +Missing separate debuginfo for /lib/libcrypt-2.13.90.so +Try: yum --disablerepo='*' --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/b8/6b21c8951c8bde1108bda2c8b0ffb05a171ec0.debug /var/cache/abrt-di/usr/lib/debug/.build-id/b8/6b21c8951c8bde1108bda2c8b0ffb05a171ec0.debug +warning: File "/usr/lib/debug/lib/libnss_dns-2.13.90.so.debug" has a different build-id, file skipped +warning: the debug information found in "/usr/lib/debug//lib/libnss_dns-2.13.90.so.debug" does not match "/lib/libnss_dns-2.13.90.so" (CRC mismatch). + +warning: the debug information found in "/usr/lib/debug/lib/libnss_dns-2.13.90.so.debug" does not match "/lib/libnss_dns-2.13.90.so" (CRC mismatch). + +Missing separate debuginfo for /lib/libnss_dns-2.13.90.so +Try: yum --disablerepo='*' --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/96/d47a93e4971dc629802565e0a7cd75dc403c6d.debug /var/cache/abrt-di/usr/lib/debug/.build-id/96/d47a93e4971dc629802565e0a7cd75dc403c6d.debug +Core was generated by `/usr/bin/python -tt /usr/sbin/yum-complete-transaction'. +Program terminated with signal 11, Segmentation fault. +#0 0x4d2ade0a in _PyType_Lookup (type=0xb727bf40, name='cursor') at /usr/src/debug/Python-2.7.1/Objects/typeobject.c:2457 +2457 { + +Thread 1 (Thread 0xb78516c0 (LWP 17355)): +#0 0x4d2ade0a in _PyType_Lookup (type=0xb727bf40, name='cursor') at /usr/src/debug/Python-2.7.1/Objects/typeobject.c:2457 + i = + n = + mro = + res = + base = + dict = + h = +#1 0x4d29453b in _PyObject_GenericGetAttrWithDict (obj=, name='cursor', dict=0x0) at /usr/src/debug/Python-2.7.1/Objects/object.c:1382 + tp = 0xb727bf40 + descr = 0x0 + res = 0x0 + f = + dictoffset = + dictptr = +#2 0x4d29479d in PyObject_GenericGetAttr (obj=, name='cursor') at /usr/src/debug/Python-2.7.1/Objects/object.c:1454 +No locals. +#3 0x4d293aa0 in PyObject_GetAttr (v=, name=) at /usr/src/debug/Python-2.7.1/Objects/object.c:1191 + tp = 0xb727bf40 +#4 0x4d2ed77a in PyEval_EvalFrameEx (f=Frame 0x9dcb20c, for file /usr/lib/python2.7/site-packages/yum/sqlitesack.py, line 1362, in searchPrco (self=, __opt3072273132=None, cache=0, _dir_setup_metadata_cookie='/var/cache/yum/i386/15/adobe-linux-i386/cachecookie', __opt3072272268=None, quick_enable_disable={}, cfg=], _options={}, _defaults=None, _optionxformsource=<...>) at remote 0x8d03c8c>, _optionxformsource=<...>, _optionxformvalue=, _parse_exc=True, _sectionxformsource=None, _data=, + oparg = + why = WHY_NOT + err = 0 + x = + v = + w = + u = + t = + stream = 0x0 + fastlocals = 0x9dcb344 + freevars = 0x9dcb38c + retval = 0x0 + tstate = 0x8950050 + co = 0xb71ccc80 + instr_ub = -1 + instr_lb = 0 + instr_prev = -1 + first_instr = 0x8b59b6c "|" + names = ('_skip_all', 'misc', 'string_to_prco_tuple', 'Errors', 'MiscError', 'PackageSackError', 'to_unicode', 'True', 're_glob', 'False', 'primarydb', 'items', 'cursor', 'executeSQL', '_sql_pkgKey2po', 're_filename', 'None', 'append', 'checkPrco', 'extend', '_search_primary_files', 're_primary_filename', 'unique', 'searchFiles') + consts = ('return list of packages matching name and prcotype ', 'glob', '=', 'select DISTINCT pkgKey from %s where name %s ?', 'provides', None) +#5 0x4d2f2ae0 in PyEval_EvalCodeEx (co=0xb71ccc80, globals={'decodefiletypelist': , 'Errors': , 'to_unicode': , 'YumSqlitePackageSack': , 'misc': , '_excluder_match': , 'sql_esc_glob': , 'to_utf8': , 'encodefiletypelist': , 'RpmBase': , 'operator': , 'YumAvailablePackage': , 'executeSQL': , '__package__': 'yum', 're': , '_parse_pkg_n': , 'YumAvailablePackageSqlite': , 'encodefilenamelist': , '__doc__': None, '_share_data': , '_parse_pkg': , 'warnings': , '__builtins__': {'bytearray': , __opt3072273132=None, cache=0, _dir_setup_metadata_cookie='/var/cache/yum/i386/15/adobe-linux-i386/cachecookie', __opt3072272268=None, quick_enable_disable={}, cfg=], _options={}, _defaults=None, _optionxformsource=<...>) at remote 0x8d03c8c>, _optionxformsource=<...>, _optionxformvalue=, _parse_exc=True, _sectionxformsource=None, _data=, + u = +#6 0x4d27cf2d in function_call (func=, arg=(, __opt3072273132=None, cache=0, _dir_setup_metadata_cookie='/var/cache/yum/i386/15/adobe-linux-i386/cachecookie', __opt3072272268=None, quick_enable_disable={}, cfg=], _options={}, _defaults=None, _optionxformsource=<...>) at remote 0x8d03c8c>, _optionxformsource=<...>, _optionxformvalue=, _parse_exc=True, _sectionxformsource=None, _data=, + argdefs = + kwtuple = () + d = 0x0 + k = 0xb7811038 + nk = + nd = 0 +#7 0x4d2558bd in PyObject_Call (func=, arg=(, __opt3072273132=None, cache=0, _dir_setup_metadata_cookie='/var/cache/yum/i386/15/adobe-linux-i386/cachecookie', __opt3072272268=None, quick_enable_disable={}, cfg=], _options={}, _defaults=None, _optionxformsource=<...>) at remote 0x8d03c8c>, _optionxformsource=<...>, _optionxformvalue=, _parse_exc=True, _sectionxformsource=None, _data=, + call = 0x4d27cda0 +#8 0x4d2efd7d in ext_do_call (nk=158182132, na=0, flags=, pp_stack=0xbfa6f704, func=) at /usr/src/debug/Python-2.7.1/Python/ceval.c:4385 + kwdict = {} + nstar = + callargs = (, __opt3072273132=None, cache=0, _dir_setup_metadata_cookie='/var/cache/yum/i386/15/adobe-linux-i386/cachecookie', __opt3072272268=None, quick_enable_disable={}, cfg=], _options={}, _defaults=None, _optionxformsource=<...>) at remote 0x8d03c8c>, _optionxformsource=<...>, _optionxformvalue=, _parse_exc=True, _sectionxformsource=None, _data=, + result = 0x0 +#9 PyEval_EvalFrameEx (f=Frame 0x97e5374, for file /usr/lib/python2.7/site-packages/yum/sqlitesack.py, line 46, in newFunc (args=(, __opt3072273132=None, cache=0, _dir_setup_metadata_cookie='/var/cache/yum/i386/15/adobe-linux-i386/cachecookie', __opt3072272268=None, quick_enable_disable={}, cfg=], _options={}, _defaults=None, _optionxformsource=<...>) at remote 0x8d03c8c>, _optionxformsource=<...>, _optionxformvalue=, _parse_exc=True, _sectionxformsource=None, _data=, + na = 0 + nk = 158182132 + n = + pfunc = 0x97e54bc + sp = 0x97e54c0 + stack_pointer = + next_instr = 0xb71a76d3 "SWnv" + opcode = 146414439 + oparg = + why = WHY_NOT + err = 0 + x = 0x0 + v = + w = + u = + t = + stream = 0x0 + fastlocals = 0x97e54ac + freevars = 0x97e54b8 + retval = 0x0 + tstate = 0x8950050 + co = 0xb71c2188 + instr_ub = -1 + instr_lb = 0 + instr_prev = -1 + first_instr = 0xb71a76c4 "y\021" + names = ('sqlutils', 'sqlite', 'Error', 'sys', 'hexversion', 'hasattr', 'Errors', 'RepoError', 'str', 'message') + consts = (None, 33882112, 'message') +#10 0x4d2f2ae0 in PyEval_EvalCodeEx (co=0xb71c2188, globals={'decodefiletypelist': , 'Errors': , 'to_unicode': , 'YumSqlitePackageSack': , 'misc': , '_excluder_match': , 'sql_esc_glob': , 'to_utf8': , 'encodefiletypelist': , 'RpmBase': , 'operator': , 'YumAvailablePackage': , 'executeSQL': , '__package__': 'yum', 're': , '_parse_pkg_n': , 'YumAvailablePackageSqlite': , 'encodefilenamelist': , '__doc__': None, '_share_data': , '_parse_pkg': , 'warnings': , '__builtins__': {'bytearray': ,)) at /usr/src/debug/Python-2.7.1/Python/ceval.c:3312 + f = Frame 0x97e5374, for file /usr/lib/python2.7/site-packages/yum/sqlitesack.py, line 46, in newFunc (args=(, __opt3072273132=None, cache=0, _dir_setup_metadata_cookie='/var/cache/yum/i386/15/adobe-linux-i386/cachecookie', __opt3072272268=None, quick_enable_disable={}, cfg=], _options={}, _defaults=None, _optionxformsource=<...>) at remote 0x8d03c8c>, _optionxformsource=<...>, _optionxformvalue=, _parse_exc=True, _sectionxformsource=None, _data=, + u = +#11 0x4d2f0ce2 in fast_function (nk=, na=3, n=3, pp_stack=0xbfa6f874, func=) at /usr/src/debug/Python-2.7.1/Python/ceval.c:4168 + co = + nd = 0 + globals = {'decodefiletypelist': , 'Errors': , 'to_unicode': , 'YumSqlitePackageSack': , 'misc': , '_excluder_match': , 'sql_esc_glob': , 'to_utf8': , 'encodefiletypelist': , 'RpmBase': , 'operator': , 'YumAvailablePackage': , 'executeSQL': , '__package__': 'yum', 're': , '_parse_pkg_n': , 'YumAvailablePackageSqlite': , 'encodefilenamelist': , '__doc__': None, '_share_data': , '_parse_pkg': , 'warnings': , '__builtins__': {'bytearray': + d = +#12 call_function (oparg=, pp_stack=0xbfa6f874) at /usr/src/debug/Python-2.7.1/Python/ceval.c:4093 + func = + w = + na = 3 + nk = + n = 3 + pfunc = 0x9dd8120 + x = +#13 PyEval_EvalFrameEx (f=Frame 0x9dd7fdc, for file /usr/lib/python2.7/site-packages/yum/sqlitesack.py, line 1400, in searchProvides (self=, __opt3072273132=None, cache=0, _dir_setup_metadata_cookie='/var/cache/yum/i386/15/adobe-linux-i386/cachecookie', __opt3072272268=None, quick_enable_disable={}, cfg=], _options={}, _defaults=None, _optionxformsource=<...>) at remote 0x8d03c8c>, _optionxformsource=<...>, _optionxformvalue=, _parse_exc=True, _sectionxformsource=None, _data=, + next_instr = 0xb71cb266 "}\002" + opcode = + oparg = + why = WHY_NOT + err = 0 + x = + v = + w = + u = + t = + stream = 0x0 + fastlocals = 0x9dd8114 + freevars = 0x9dd8120 + retval = 0x0 + tstate = 0x8950050 + co = 0xb71ccd10 + instr_ub = -1 + instr_lb = 0 + instr_prev = -1 + first_instr = 0xb71cb244 "|\001" + names = ('_provmatch_fails', 'searchPrco', 'add') + consts = ('return list of packages providing name (any evr and flag)', 'provides') +#14 0x4d2f2ae0 in PyEval_EvalCodeEx (co=0xb71ccd10, globals={'decodefiletypelist': , 'Errors': , 'to_unicode': , 'YumSqlitePackageSack': , 'misc': , '_excluder_match': , 'sql_esc_glob': , 'to_utf8': , 'encodefiletypelist': , 'RpmBase': , 'operator': , 'YumAvailablePackage': , 'executeSQL': , '__package__': 'yum', 're': , '_parse_pkg_n': , 'YumAvailablePackageSqlite': , 'encodefilenamelist': , '__doc__': None, '_share_data': , '_parse_pkg': , 'warnings': , '__builtins__': {'bytearray': , __opt3072273132=None, cache=0, _dir_setup_metadata_cookie='/var/cache/yum/i386/15/adobe-linux-i386/cachecookie', __opt3072272268=None, quick_enable_disable={}, cfg=], _options={}, _defaults=None, _optionxformsource=<...>) at remote 0x8d03c8c>, _optionxformsource=<...>, _optionxformvalue=, _parse_exc=True, _sectionxformsource=None, _data=, + u = +#15 0x4d27ce38 in function_call (func=, arg=(, __opt3072273132=None, cache=0, _dir_setup_metadata_cookie='/var/cache/yum/i386/15/adobe-linux-i386/cachecookie', __opt3072272268=None, quick_enable_disable={}, cfg=], _options={}, _defaults=None, _optionxformsource=<...>) at remote 0x8d03c8c>, _optionxformsource=<...>, _optionxformvalue=, _parse_exc=True, _sectionxformsource=None, _data=, + argdefs = + kwtuple = 0x0 + d = 0x0 + k = 0x0 + nk = 0 + nd = 0 +#16 0x4d2558bd in PyObject_Call (func=, arg=(, __opt3072273132=None, cache=0, _dir_setup_metadata_cookie='/var/cache/yum/i386/15/adobe-linux-i386/cachecookie', __opt3072272268=None, quick_enable_disable={}, cfg=], _options={}, _defaults=None, _optionxformsource=<...>) at remote 0x8d03c8c>, _optionxformsource=<...>, _optionxformvalue=, _parse_exc=True, _sectionxformsource=None, _data=, + call = 0x4d27cda0 +#17 0x4d2654c4 in instancemethod_call (func=, arg=(, __opt3072273132=None, cache=0, _dir_setup_metadata_cookie='/var/cache/yum/i386/15/adobe-linux-i386/cachecookie', __opt3072272268=None, quick_enable_disable={}, cfg=], _options={}, _defaults=None, _optionxformsource=<...>) at remote 0x8d03c8c>, _optionxformsource=<...>, _optionxformvalue=, _parse_exc=True, _sectionxformsource=None, _data=, + klass = + result = +#18 0x4d2558bd in PyObject_Call (func=, arg=('0:gnupg-1.4.11-3.fc15.i686',), kw=0x0) at /usr/src/debug/Python-2.7.1/Objects/abstract.c:2529 + result = + call = 0x4d265340 +#19 0x4d2ebff9 in PyEval_CallObjectWithKeywords (func=, arg=('0:gnupg-1.4.11-3.fc15.i686',), kw=0x0) at /usr/src/debug/Python-2.7.1/Python/ceval.c:3941 + result = +#20 0x4d2ea234 in builtin_apply (self=0x0, args=(, ('0:gnupg-1.4.11-3.fc15.i686',))) at /usr/src/debug/Python-2.7.1/Python/bltinmodule.c:195 + func = + alist = ('0:gnupg-1.4.11-3.fc15.i686',) + kwdict = 0x0 + t = 0x0 + retval = 0x0 +#21 0x4d291eca in PyCFunction_Call (func=, arg=(, ('0:gnupg-1.4.11-3.fc15.i686',)), kw=0x0) at /usr/src/debug/Python-2.7.1/Objects/methodobject.c:81 + f = 0xb782d68c + meth = 0x4d2ea140 + self = + size = +#22 0x4d2f0bf7 in call_function (oparg=, pp_stack=0xbfa6fe24) at /usr/src/debug/Python-2.7.1/Python/ceval.c:4072 + callargs = (, ('0:gnupg-1.4.11-3.fc15.i686',)) + flags = 1 + tstate = + func = + w = + na = 143982672 + nk = + n = 2 + pfunc = 0x9dc0114 + x = +#23 PyEval_EvalFrameEx (f=Frame 0x9dbffbc, for file /usr/lib/python2.7/site-packages/yum/packageSack.py, line 598, in _computeAggregateListResult (self=, __opt3072273132=None, cache=0, _dir_setup_metadata_cookie='/var/cache/yum/i386/15/rpmfusion-nonfree-rawhide-debuginfo/cachecookie', __opt3072272268=None, quick_enable_disable={}, cfg=], _options={}, _defaults=None, _optionxformsource=<...>) at remote 0x8d27acc>, _optionxformsource=<...>, _optionxformvalue=, _parse_exc=True, _sectionxformsource=None, _data=, 'fnmatch': , 'PackageSack': , 'warnings': , '__builtins__': {'bytearray': , 'IndexError': , 'all': , 'help': <_Helper at remote 0xb778feac>, 'vars': , 'SyntaxError': , 'unicode': , 'UnicodeDecodeError': , 'memoryview': , 'isinstance': , 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2010 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', _Printe...(truncated), locals=0x0, args=0x8cec5d4, argcount=3, kws=0x8cec5e0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.1/Python/ceval.c:3312 + f = Frame 0x9dbffbc, for file /usr/lib/python2.7/site-packages/yum/packageSack.py, line 598, in _computeAggregateListResult (self=, __opt3072273132=None, cache=0, _dir_setup_metadata_cookie='/var/cache/yum/i386/15/rpmfusion-nonfree-rawhide-debuginfo/cachecookie', __opt3072272268=None, quick_enable_disable={}, cfg=], _options={}, _defaults=None, _optionxformsource=<...>) at remote 0x8d27acc>, _optionxformsource=<...>, _optionxformvalue=, _parse_exc=True, _sectionxformsource=None, _data=, 'fnmatch': , 'PackageSack': , 'warnings': , '__builtins__': {'bytearray': , 'IndexError': , 'all': , 'help': <_Helper at remote 0xb778feac>, 'vars': , 'SyntaxError': , 'unicode': , 'UnicodeDecodeError': , 'memoryview': , 'isinstance': , 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2010 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', _Printe...(truncated) + argdefs = + d = +#26 call_function (oparg=, pp_stack=0xbfa6ff94) at /usr/src/debug/Python-2.7.1/Python/ceval.c:4093 + func = + w = + na = 3 + nk = + n = 3 + pfunc = 0x8cec5d4 + x = +#27 PyEval_EvalFrameEx (f=Frame 0x8cec494, for file /usr/lib/python2.7/site-packages/yum/packageSack.py, line 426, in searchProvides (self=, __opt3072273132=None, cache=0, _dir_setup_metadata_cookie='/var/cache/yum/i386/15/rpmfusion-nonfree-rawhide-debuginfo/cachecookie', __opt3072272268=None, quick_enable_disable={}, cfg=], _options={}, _defaults=None, _optionxformsource=<...>) at remote 0x8d27acc>, _optionxformsource=<...>, _optionxformvalue=, _parse_exc=True, _sectionxformsource=None, _data=, na=0, n=2, pp_stack=0xbfa70094, func=) at /usr/src/debug/Python-2.7.1/Python/ceval.c:4158 + retval = 0x0 + i = + fastlocals = 0x8cec5cc + f = Frame 0x8cec494, for file /usr/lib/python2.7/site-packages/yum/packageSack.py, line 426, in searchProvides (self=, __opt3072273132=None, cache=0, _dir_setup_metadata_cookie='/var/cache/yum/i386/15/rpmfusion-nonfree-rawhide-debuginfo/cachecookie', __opt3072272268=None, quick_enable_disable={}, cfg=], _options={}, _defaults=None, _optionxformsource=<...>) at remote 0x8d27acc>, _optionxformsource=<...>, _optionxformvalue=, _parse_exc=True, _sectionxformsource=None, _data=, 'fnmatch': , 'PackageSack': , 'warnings': , '__builtins__': {'bytearray': , 'IndexError': , 'all': , 'help': <_Helper at remote 0xb778feac>, 'vars': , 'SyntaxError': , 'unicode': , 'UnicodeDecodeError': , 'memoryview': , 'isinstance': , 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2010 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', _Printe...(truncated) + argdefs = + d = 0x0 +#29 call_function (oparg=, pp_stack=0xbfa70094) at /usr/src/debug/Python-2.7.1/Python/ceval.c:4093 + func = + w = + na = 0 + nk = + n = 2 + pfunc = 0x8d010b0 + x = +#30 PyEval_EvalFrameEx (f=Frame 0x8d00f6c, for file /usr/lib/python2.7/site-packages/yum/__init__.py, line 2990, in returnPackagesByDep (self=, 'localinstall': , 'groupinfo': , 'localupdate': <...>, 'resolvedep': , 'erase': , 'deplist': , 'check': , 'groupremove': , 'help': , 'makecache': + next_instr = 0xb7545395 "}\002" + opcode = + oparg = + why = WHY_NOT + err = 0 + x = 0x0 + v = + w = + u = + t = + stream = 0x0 + fastlocals = 0x8d010a4 + freevars = 0x8d010b0 + retval = 0x0 + tstate = 0x8950050 + co = 0xb7546b18 + instr_ub = -1 + instr_lb = 0 + instr_prev = -1 + first_instr = 0xb754537c "|\001" + names = ('pkgSack', 'searchProvides') + consts = ('Pass in a generic [build]require string and this function will \n pass back the packages it finds providing that dep.',) +#31 0x4d2f22b7 in fast_function (nk=, na=0, n=2, pp_stack=0xbfa70194, func=) at /usr/src/debug/Python-2.7.1/Python/ceval.c:4158 + retval = 0x0 + i = + fastlocals = 0x8d010a4 + f = Frame 0x8d00f6c, for file /usr/lib/python2.7/site-packages/yum/__init__.py, line 2990, in returnPackagesByDep (self=, 'localinstall': , 'groupinfo': , 'localupdate': <...>, 'resolvedep': , 'erase': , 'deplist': , 'check': , 'groupremove': , 'help': , 'makecache': + nd = 0 + globals = {'TR_DEPENDSON': 6, 'Errors': , 'canCoinstall': , '__path__': ['/usr/lib/python2.7/site-packages/yum'], 'YumAvailablePackage': , 'TS_FAILED': 100, 'tempfile': , 'TS_UPDATED': 90, 'transactioninfo': , 'TS_INSTALL': 20, 'TS_INSTALL_STATES': [20, 30, 10, 60], 'ConfigParser': , 'rpmsack': , 'string': , 'packagesNewestByName': , 'format_number': , 'callbacks': , 'varReplace': , '__version__': '3.2.29', 'num': '29', 'TS_OBSOLETED': 50, 'archDifference': , 'PATTERNS_INDEXED_MAX': 128, 'metalink': , 'TX_GREY': 1, 'PLUG_OPT_STRING': 0, 'PLUG_OPT_BOOL': 3, 'TR_OBSOLETEDBY': 4, 'REPO_PROBLEM_OTHER': 4, 'ListPackageSack':...(truncated) + argdefs = + d = 0x0 +#32 call_function (oparg=, pp_stack=0xbfa70194) at /usr/src/debug/Python-2.7.1/Python/ceval.c:4093 + func = + w = + na = 0 + nk = + n = 2 + pfunc = 0x9dc0e58 + x = +#33 PyEval_EvalFrameEx (f=Frame 0x9dc0cbc, for file /usr/lib/python2.7/site-packages/yum/__init__.py, line 3313, in install (self=, 'localinstall': , 'groupinfo': , 'localupdate': <...>, 'resolvedep': , 'erase': , 'deplist': , 'check': , 'groupremove': , 'help': , 'makecache': + next_instr = 0x8a1ef69 "}\006" + opcode = + oparg = + why = WHY_NOT + err = 0 + x = 0x0 + v = + w = + u = + t = + stream = 0x0 + fastlocals = 0x9dc0df4 + freevars = 0x9dc0e58 + retval = 0x0 + tstate = 0x8950050 + co = 0xb754a6e0 + instr_ub = -1 + instr_lb = 0 + instr_prev = -1 + first_instr = 0x8a1ee1c "g" + names = ('False', 'isinstance', 'YumAvailablePackage', 'YumLocalPackage', 'append', 'Errors', 'InstallError', '_', '_minus_deselect', '_at_groupinstall', 'True', 'pkgSack', 'returnPackages', 'extend', 'verbose_logger', 'debug', 'returnPackagesByDep', 'yum', 'YumBaseError', 'logger', 'critical', 'to_unicode', 'misc', 're_glob', 'bestPackagesFromList', '_nevra_kwarg_parse', 'searchNevra', 'arch', 'multilib', 'conf', 'multilib_policy', 'legit_multi_arches', 'name', 'packagesNewestByName', 'values', 'rpmdb', 'warning', 'tsInfo', 'exists', 'pkgtup', 'getMembersWithState', 'TS_INSTALL_STATES', 'log', 'logginglevels', 'DEBUG_1', 'getMembers', 'up', 'updating_dict', 'update', '_test_loop', '_pkg2obspkg', 'None', 'obsoletedBy', 'provides_for', 'install', 'contains', 'TS_REMOVE_STATES', 'allowedMultipleInstalls', 'verEQ', '_add_prob_flags', 'rpm', 'RPMPROB_FILTER_REPLACEPKG', 'RPMPROB_FILTER_REPLACENEWFILES', 'RPMPROB_FILTER_REPLACEOLDFILES', 'remove', 'verGT', 'canCoinstall', 'RPMPROB_FILTER_OLDPACKAGE', 'getObsoletesList', '...(truncated) + consts = ('try to mark for install the item specified. Uses provided package \n object, if available. If not it uses the kwargs and gets the best\n packages from the keyword options provided \n returns the list of txmbr of the items it installs\n \n ', 'Package Object was not a package object instance', 'Nothing specified to install', 'pattern', 0, '-', '@', 'patterns', 'ignore_case', 'Checking for virtual provide or file-provide for %s', 'No Match for argument: %s', 'single_name', 'name', 'epoch', 'arch', 'ver', 'version', 'rel', 'release', 'best', 'noarch', 1, 'pkgtup', 'Package %s installed and not available', 'No package(s) available to install', 'Package: %s - already in transaction set', 'po', 'limit', 'Package %s is obsoleted by %s which is already installed', 'provides_for', 'Package %s is obsoleted by %s, but obsoleting package does not provide for requirements', 'Package %s is obsoleted by %s, trying to install %s instead', 'Package %s already installed and ...(truncated) +#34 0x4d2f2ae0 in PyEval_EvalCodeEx (co=0xb754a6e0, globals={'TR_DEPENDSON': 6, 'Errors': , 'canCoinstall': , '__path__': ['/usr/lib/python2.7/site-packages/yum'], 'YumAvailablePackage': , 'TS_FAILED': 100, 'tempfile': , 'TS_UPDATED': 90, 'transactioninfo': , 'TS_INSTALL': 20, 'TS_INSTALL_STATES': [20, 30, 10, 60], 'ConfigParser': , 'rpmsack': , 'string': , 'packagesNewestByName': , 'format_number': , 'callbacks': , 'varReplace': , '__version__': '3.2.29', 'num': '29', 'TS_OBSOLETED': 50, 'archDifference': , 'PATTERNS_INDEXED_MAX': 128, 'metalink': , 'TX_GREY': 1, 'PLUG_OPT_STRING': 0, 'PLUG_OPT_BOOL': 3, 'TR_OBSOLETEDBY': 4, 'REPO_PROBLEM_OTHER': 4, 'ListPackageSack':...(truncated), locals=0x0, args=0x8c8a398, argcount=1, kws=0x8c8a39c, kwcount=1, defs=0x8be5a98, defcount=1, closure=0x0) at /usr/src/debug/Python-2.7.1/Python/ceval.c:3312 + f = Frame 0x9dc0cbc, for file /usr/lib/python2.7/site-packages/yum/__init__.py, line 3313, in install (self=, 'localinstall': , 'groupinfo': , 'localupdate': <...>, 'resolvedep': , 'erase': , 'deplist': , 'check': , 'groupremove': , 'help': , 'makecache': + u = +#35 0x4d2f0ce2 in fast_function (nk=, na=1, n=3, pp_stack=0xbfa70304, func=) at /usr/src/debug/Python-2.7.1/Python/ceval.c:4168 + co = + nd = 1 + globals = {'TR_DEPENDSON': 6, 'Errors': , 'canCoinstall': , '__path__': ['/usr/lib/python2.7/site-packages/yum'], 'YumAvailablePackage': , 'TS_FAILED': 100, 'tempfile': , 'TS_UPDATED': 90, 'transactioninfo': , 'TS_INSTALL': 20, 'TS_INSTALL_STATES': [20, 30, 10, 60], 'ConfigParser': , 'rpmsack': , 'string': , 'packagesNewestByName': , 'format_number': , 'callbacks': , 'varReplace': , '__version__': '3.2.29', 'num': '29', 'TS_OBSOLETED': 50, 'archDifference': , 'PATTERNS_INDEXED_MAX': 128, 'metalink': , 'TX_GREY': 1, 'PLUG_OPT_STRING': 0, 'PLUG_OPT_BOOL': 3, 'TR_OBSOLETEDBY': 4, 'REPO_PROBLEM_OTHER': 4, 'ListPackageSack':...(truncated) + argdefs = + d = +#36 call_function (oparg=, pp_stack=0xbfa70304) at /usr/src/debug/Python-2.7.1/Python/ceval.c:4093 + func = + w = + na = 1 + nk = + n = 3 + pfunc = 0x8c8a398 + x = +#37 PyEval_EvalFrameEx (f=Frame 0x8c8a224, for file /usr/sbin/yum-complete-transaction, line 199, in main (self=, 'localinstall': , 'groupinfo': , 'localupdate': <...>, 'resolvedep': , 'erase': , 'deplist': , 'check': , 'groupremove': , 'help': , 'makecache': + next_instr = 0x8a1ea25 "\001Wq*\002\004t\001" + opcode = + oparg = + why = WHY_NOT + err = 0 + x = + v = + w = + u = + t = + stream = 0x0 + fastlocals = 0x8c8a35c + freevars = 0x8c8a394 + retval = 0x0 + tstate = 0x8950050 + co = 0xb77bd3c8 + instr_ub = -1 + instr_lb = 0 + instr_prev = -1 + first_instr = 0x8a1e81c "y\020" + names = ('doUtilConfigSetup', 'yum', 'Errors', 'RepoError', 'logger', 'error', 'sys', 'exit', 'conf', 'uid', 'doUtilYumSetup', 'run_with_package_names', 'add', 'find_unfinished_transactions', 'persistdir', 'endswith', 'append', 'cleanup', 'clean_up_ts_files', 'len', 'find_ts_remaining', 'MiscError', 'bugtracker_url', 'install', 'InstallError', 'rpmdb', 'matchPackageNames', 'remove', 'tsInfo', 'hasattr', 'doUtilBuildTransaction', 'False', 'buildTransaction', 'YumBaseError', 'critical', 'True', 'join', 'doUtilTransaction', 'str') + consts = (None, 'Cannot handle specific enablerepo/disablerepo options.', 50, 0, 'Error: You must be root to run yum-complete-transaction.', 1, 'yum-utils', 'disabled', 'No unfinished transactions left.', 'Cleaning up unfinished transaction journals', 'Cleaning up %s', -1, 'There are %d outstanding transactions to complete. Finishing the most recent one', 'yumlibpath', 'Error: %s', 'Please report this error to: %s', 'The remaining transaction had %d elements left to run', 'install', 'pattern', 'erase', 'po', 'doUtilBuildTransaction', 'unfinished_transactions_check', 'Error building transaction: %s', '\n\nTransaction size changed - this means we are not doing the\nsame transaction as we were before. Aborting and disabling\nthis transaction.', '\nYou could try running: package-cleanup --problems\n package-cleanup --dupes\n rpm -Va --nofiles --nodigest', 'disable', '\nTransaction files renamed to:\n %s', '\n ', 'Nothing in the unfinished transaction to cleanup.', 'Cleaning up...(truncated) +#38 0x4d2f22b7 in fast_function (nk=, na=0, n=1, pp_stack=0xbfa70404, func=) at /usr/src/debug/Python-2.7.1/Python/ceval.c:4158 + retval = 0x0 + i = + fastlocals = 0x8c8a35c + f = Frame 0x8c8a224, for file /usr/sbin/yum-complete-transaction, line 199, in main (self=, 'localinstall': , 'groupinfo': , 'localupdate': <...>, 'resolvedep': , 'erase': , 'deplist': , 'check': , 'groupremove': , 'help': , 'makecache': + nd = 0 + globals = {'find_unfinished_transactions': , 'setup_locale': , '__builtins__': , '__file__': '/usr/sbin/yum-complete-transaction', 'YumCompleteTransaction': , '__package__': None, 'sys': , 'yum': , 'logging': , 'YumUtilBase': , '__name__': '__main__', 'os': , '__doc__': None, 'find_ts_remaining': } + argdefs = + d = 0x0 +#39 call_function (oparg=, pp_stack=0xbfa70404) at /usr/src/debug/Python-2.7.1/Python/ceval.c:4093 + func = + w = + na = 0 + nk = + n = 1 + pfunc = 0x8a889a0 + x = +#40 PyEval_EvalFrameEx (f=Frame 0x8a88864, for file /usr/sbin/yum-complete-transaction, line 118, in __init__ (self=, 'localinstall': , 'groupinfo': , 'localupdate': <...>, 'resolvedep': , 'erase': , 'deplist': , 'check': , 'groupremove': , 'help': , 'makecache': + next_instr = 0xb781bf14 "\001d" + opcode = + oparg = + why = WHY_NOT + err = 0 + x = 0x0 + v = + w = + u = + t = + stream = 0x0 + fastlocals = 0x8a8899c + freevars = 0x8a889a0 + retval = 0x0 + tstate = 0x8950050 + co = 0xb77b6cc8 + instr_ub = -1 + instr_lb = 0 + instr_prev = -1 + first_instr = 0xb781be94 "t" + names = ('YumUtilBase', '__init__', 'YumCompleteTransaction', 'NAME', 'VERSION', 'USAGE', 'logging', 'getLogger', 'logger', 'getOptionParser', 'optparser', 'hasattr', 'getOptionGroup', 'optparser_grp', 'addCmdOptions', 'main') + consts = (None, 'yum.verbose.cli.yumcompletets', 'getOptionGroup') +#41 0x4d2f2ae0 in PyEval_EvalCodeEx (co=0xb77b6cc8, globals={'find_unfinished_transactions': , 'setup_locale': , '__builtins__': , '__file__': '/usr/sbin/yum-complete-transaction', 'YumCompleteTransaction': , '__package__': None, 'sys': , 'yum': , 'logging': , 'YumUtilBase': , '__name__': '__main__', 'os': , '__doc__': None, 'find_ts_remaining': }, locals=0x0, args=0xb75608d8, argcount=1, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.1/Python/ceval.c:3312 + f = Frame 0x8a88864, for file /usr/sbin/yum-complete-transaction, line 118, in __init__ (self=, 'localinstall': , 'groupinfo': , 'localupdate': <...>, 'resolvedep': , 'erase': , 'deplist': , 'check': , 'groupremove': , 'help': , 'makecache': + u = +#42 0x4d27ce38 in function_call (func=, arg=(, 'localinstall': , 'groupinfo': , 'localupdate': <...>, 'resolvedep': , 'erase': , 'deplist': , 'check': , 'groupremove': , 'help': , 'makecache': , 'upgrade': + argdefs = + kwtuple = 0x0 + d = 0x0 + k = 0x0 + nk = 0 + nd = 0 +#43 0x4d2558bd in PyObject_Call (func=, arg=(, 'localinstall': , 'groupinfo': , 'localupdate': <...>, 'resolvedep': , 'erase': , 'deplist': , 'check': , 'groupremove': , 'help': , 'makecache': , 'upgrade': + call = 0x4d27cda0 +#44 0x4d2654c4 in instancemethod_call (func=, arg=(, 'localinstall': , 'groupinfo': , 'localupdate': <...>, 'resolvedep': , 'erase': , 'deplist': , 'check': , 'groupremove': , 'help': , 'makecache': , 'upgrade': + klass = + result = +#45 0x4d2558bd in PyObject_Call (func=, arg=(), kw=0x0) at /usr/src/debug/Python-2.7.1/Objects/abstract.c:2529 + result = + call = 0x4d265340 +#46 0x4d2ae0d6 in slot_tp_init (self=, 'localinstall': , 'groupinfo': , 'localupdate': <...>, 'resolvedep': , 'erase': , 'deplist': , 'check': , 'groupremove': , 'help': , 'makecache': , 'upgrade': + res = +#47 0x4d2add66 in type_call (type=, args=(), kwds=0x0) at /usr/src/debug/Python-2.7.1/Objects/typeobject.c:728 + obj = , 'localinstall': , 'groupinfo': , 'localupdate': <...>, 'resolvedep': , 'erase': , 'deplist': , 'check': , 'groupremove': , 'help': , 'makecache': , 'upgrade': , arg=(), kw=0x0) at /usr/src/debug/Python-2.7.1/Objects/abstract.c:2529 + result = + call = 0x4d2adce0 +#49 0x4d2f0324 in do_call (nk=, na=0, pp_stack=0xbfa70984, func=) at /usr/src/debug/Python-2.7.1/Python/ceval.c:4290 + callargs = () + kwdict = 0x0 + result = 0x0 +#50 call_function (oparg=, pp_stack=0xbfa70984) at /usr/src/debug/Python-2.7.1/Python/ceval.c:4095 + func = + w = + na = 0 + nk = + n = 0 + pfunc = 0x896cbbc + x = +#51 PyEval_EvalFrameEx (f=Frame 0x896ca84, for file /usr/sbin/yum-complete-transaction, line 256, in (), throwflag=0) at /usr/src/debug/Python-2.7.1/Python/ceval.c:2722 + sp = 0x896cbc0 + stack_pointer = + next_instr = 0x8a13bdc "Z\021" + opcode = + oparg = + why = WHY_NOT + err = 0 + x = 0x0 + v = + w = + u = + t = + stream = 0x0 + fastlocals = 0x896cbbc + freevars = 0x896cbbc + retval = 0x0 + tstate = 0x8950050 + co = 0xb77c4068 + instr_ub = -1 + instr_lb = 0 + instr_prev = -1 + first_instr = 0x8a13aec "d" + names = ('sys', 'path', 'insert', 'yum', 'yum.misc', 'setup_locale', 'utils', 'YumUtilBase', 'logging', 'os', 'os.path', 'find_unfinished_transactions', 'find_ts_remaining', 'ImportError', 'glob', 'YumCompleteTransaction', '__name__', 'util') + consts = (-1, None, 0, '/usr/share/yum-cli', ('setup_locale',), ('YumUtilBase',), ('find_unfinished_transactions', 'find_ts_remaining'), '/var/lib/yum', , , 'YumCompleteTransaction', , '__main__') +#52 0x4d2f2ae0 in PyEval_EvalCodeEx (co=0xb77c4068, globals={'find_unfinished_transactions': , 'setup_locale': , '__builtins__': , '__file__': '/usr/sbin/yum-complete-transaction', 'YumCompleteTransaction': , '__package__': None, 'sys': , 'yum': , 'logging': , 'YumUtilBase': , '__name__': '__main__', 'os': , '__doc__': None, 'find_ts_remaining': }, locals={'find_unfinished_transactions': , 'setup_locale': , '__builtins__': , '__file__': '/usr/sbin/yum-complete-transaction', 'YumCompleteTransaction': , '__package__': None, 'sys': , 'yum': , 'logging': , 'YumUtilBase': , '__name__': '__main__', 'os': , '__doc__': None, 'find_ts_remaining': }, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.1/Python/ceval.c:3312 + f = Frame 0x896ca84, for file /usr/sbin/yum-complete-transaction, line 256, in () + retval = 0x0 + fastlocals = 0x896cbbc + freevars = 0x896cbbc + tstate = 0x8950050 + x = + u = +#53 0x4d2f2c34 in PyEval_EvalCode (co=0xb77c4068, globals={'find_unfinished_transactions': , 'setup_locale': , '__builtins__': , '__file__': '/usr/sbin/yum-complete-transaction', 'YumCompleteTransaction': , '__package__': None, 'sys': , 'yum': , 'logging': , 'YumUtilBase': , '__name__': '__main__', 'os': , '__doc__': None, 'find_ts_remaining': }, locals={'find_unfinished_transactions': , 'setup_locale': , '__builtins__': , '__file__': '/usr/sbin/yum-complete-transaction', 'YumCompleteTransaction': , '__package__': None, 'sys': , 'yum': , 'logging': , 'YumUtilBase': , '__name__': '__main__', 'os': , '__doc__': None, 'find_ts_remaining': }) at /usr/src/debug/Python-2.7.1/Python/ceval.c:671 +No locals. +#54 0x4d30cc7c in run_mod (mod=, filename=, globals={'find_unfinished_transactions': , 'setup_locale': , '__builtins__': , '__file__': '/usr/sbin/yum-complete-transaction', 'YumCompleteTransaction': , '__package__': None, 'sys': , 'yum': , 'logging': , 'YumUtilBase': , '__name__': '__main__', 'os': , '__doc__': None, 'find_ts_remaining': }, locals={'find_unfinished_transactions': , 'setup_locale': , '__builtins__': , '__file__': '/usr/sbin/yum-complete-transaction', 'YumCompleteTransaction': , '__package__': None, 'sys': , 'yum': , 'logging': , 'YumUtilBase': , '__name__': '__main__', 'os': , '__doc__': None, 'find_ts_remaining': }, flags=0xbfa70c2c, arena=0x89b9090) at /usr/src/debug/Python-2.7.1/Python/pythonrun.c:1354 + co = 0xb77c4068 + v = +#55 0x4d30dbd3 in PyRun_FileExFlags (fp=0x896ca78, filename=0xbfa722d6 "/usr/sbin/yum-complete-transaction", start=257, globals={'find_unfinished_transactions': , 'setup_locale': , '__builtins__': , '__file__': '/usr/sbin/yum-complete-transaction', 'YumCompleteTransaction': , '__package__': None, 'sys': , 'yum': , 'logging': , 'YumUtilBase': , '__name__': '__main__', 'os': , '__doc__': None, 'find_ts_remaining': }, locals={'find_unfinished_transactions': , 'setup_locale': , '__builtins__': , '__file__': '/usr/sbin/yum-complete-transaction', 'YumCompleteTransaction': , '__package__': None, 'sys': , 'yum': , 'logging': , 'YumUtilBase': , '__name__': '__main__', 'os': , '__doc__': None, 'find_ts_remaining': }, closeit=1, flags=0xbfa70c2c) at /usr/src/debug/Python-2.7.1/Python/pythonrun.c:1340 + ret = + mod = 0x8a16420 + arena = 0x89b9090 +#56 0x4d30e8bc in PyRun_SimpleFileExFlags (fp=0x896ca78, filename=0xbfa722d6 "/usr/sbin/yum-complete-transaction", closeit=1, flags=0xbfa70c2c) at /usr/src/debug/Python-2.7.1/Python/pythonrun.c:944 + m = + d = {'find_unfinished_transactions': , 'setup_locale': , '__builtins__': , '__file__': '/usr/sbin/yum-complete-transaction', 'YumCompleteTransaction': , '__package__': None, 'sys': , 'yum': , 'logging': , 'YumUtilBase': , '__name__': '__main__', 'os': , '__doc__': None, 'find_ts_remaining': } + v = + ext = 0xbfa722f4 "tion" + set_file_name = 1 + ret = + len = +#57 0x4d30f472 in PyRun_AnyFileExFlags (fp=0x896ca78, filename=0xbfa722d6 "/usr/sbin/yum-complete-transaction", closeit=1, flags=0xbfa70c2c) at /usr/src/debug/Python-2.7.1/Python/pythonrun.c:748 +No locals. +#58 0x4d320a3c in Py_Main (argc=3, argv=0xbfa70d14) at /usr/src/debug/Python-2.7.1/Modules/main.c:599 + c = + sts = + command = 0x0 + filename = 0xbfa722d6 "/usr/sbin/yum-complete-transaction" + module = 0x0 + fp = 0x896ca78 + p = + unbuffered = 1 + skipfirstline = 0 + stdin_is_interactive = 1 + help = -1079565610 + version = 1 + saw_unbuffered_flag = 1 + cf = {cf_flags = 0} +#59 0x080485c8 in main (argc=3, argv=0xbfa70d14) at /usr/src/debug/Python-2.7.1/Modules/python.c:23 +No locals. +From To Syms Read Shared Object Library +0x4d24a990 0x4d338188 Yes /usr/lib/libpython2.7.so.1.0 +0x49d89630 0x49d9567c Yes (*) /lib/libpthread-2.13.90.so +0x49d7ea60 0x49d7fa8c Yes (*) /lib/libdl-2.13.90.so +0x4ced4a20 0x4ced542c Yes (*) /lib/libutil-2.13.90.so +0x49da54b0 0x49dc0bac Yes (*) /lib/libm-2.13.90.so +0x49c06c00 0x49d22414 Yes (*) /lib/libc-2.13.90.so +0x49bcd850 0x49be542f Yes (*) /lib/ld-2.13.90.so +0xb7872870 0xb7873148 Yes /usr/lib/python2.7/lib-dynload/syslog.so +0xb786e030 0xb786f1a8 Yes /usr/lib/python2.7/lib-dynload/timemodule.so +0xb7868170 0xb7869e38 Yes /usr/lib/python2.7/lib-dynload/selectmodule.so +0xb7864950 0xb78658b8 Yes /usr/lib/python2.7/lib-dynload/fcntlmodule.so +0xb785d730 0xb78605c8 Yes /usr/lib/python2.7/lib-dynload/_struct.so +0xb7857a00 0xb7859ce8 Yes /usr/lib/python2.7/lib-dynload/binascii.so +0xb7853f00 0xb7854f58 Yes /usr/lib/python2.7/lib-dynload/cStringIO.so +0xb7780ce0 0xb77870b8 Yes /usr/lib/python2.7/lib-dynload/_socketmodule.so +0xb777ca90 0xb777d558 Yes /usr/lib/python2.7/lib-dynload/_functoolsmodule.so +0xb77771d0 0xb777a0f8 Yes /usr/lib/python2.7/lib-dynload/_ssl.so +0x42087eb0 0x420bf76c Yes /usr/lib/libssl.so.10 +0x41f28e80 0x4200f16c Yes /lib/libcrypto.so.10 +0x4a59a540 0x4a5c9cfc Yes /lib/libgssapi_krb5.so.2 +0x4a5e6190 0x4a6644dc Yes /lib/libkrb5.so.3 +0x4a3ffe30 0x4a400ba8 Yes /lib/libcom_err.so.2 +0x4a6bfc00 0x4a6da5fc Yes /lib/libk5crypto.so.3 +0x4a1b5620 0x4a1c577c Yes (*) /lib/libresolv-2.13.90.so +0x49dfa670 0x49e07298 Yes /lib/libz.so.1.2.5 +0x4a6b2d10 0x4a6b802c Yes /lib/libkrb5support.so.0 +0x4a405860 0x4a405fc8 Yes /lib/libkeyutils.so.1 +0x4a0752b0 0x4a086f78 Yes /lib/libselinux.so.1 +0xb75256a0 0xb752d45c Yes /usr/lib/python2.7/site-packages/rpm/_rpmmodule.so +0x420df6f0 0x4211e9ec Yes /usr/lib/librpm.so.2 +0x4a702ce0 0x4a7048b8 Yes /lib/libcap.so.2.17 +0x4afc8580 0x4afccbb8 Yes /lib/libacl.so.1.1.0 +0x4b0a5250 0x4b1d8c28 Yes /lib/libdb-4.8.so +0x41eb5120 0x41ecccdc Yes /usr/lib/librpmio.so.2 +0x44136180 0x4422b60c Yes /usr/lib/libnss3.so +0x4a6f0000 0x4a6fd4a8 Yes /lib/libbz2.so.1.0.6 +0x4a242f10 0x4a251f98 Yes /usr/lib/libelf-0.151.so +0x4aa74350 0x4aa79b28 Yes /lib/libpopt.so.0.0.0 +0x4e0acd20 0x4e0c5a9c Yes /usr/lib/liblzma.so.5.0.1 +0x4e070f90 0x4e08eb9c Yes /usr/lib/liblua-5.1.so +0x49def8c0 0x49df36ec Yes (*) /lib/librt-2.13.90.so +0x41c54f30 0x41c6be2c Yes /lib/libgcc_s.so.1 +0x4ae0ade0 0x4ae0d558 Yes /lib/libattr.so.1 +0x4cb49c90 0x4cb56048 Yes /usr/lib/libnssutil3.so +0x4cb3ee40 0x4cb40818 Yes /lib/libplc4.so +0x4cae3ab0 0x4cae4a98 Yes /lib/libplds4.so +0x4cb6a7f0 0x4cb8dcf8 Yes /lib/libnspr4.so +0xb74f2a40 0xb74f9d6c Yes (*) /lib/libnss_files-2.13.90.so +0xb74b5c00 0xb74e3ddc Yes /usr/lib/libsoftokn3.so +0x442d2410 0x4434c72c Yes /usr/lib/libsqlite3.so.0 +0x440d69f0 0x4410951c Yes /usr/lib/libfreebl3.so +0xb751dd60 0xb751e73c Yes /usr/lib/python2.7/site-packages/rpm/_rpmbmodule.so +0x41c76710 0x41c8f47c Yes /usr/lib/librpmbuild.so.2 +0x47b65a90 0x47b78428 Yes /usr/lib/libmagic.so.1 +0xb751b580 0xb751b87c Yes /usr/lib/python2.7/site-packages/rpm/_rpmsmodule.so +0xb7518380 0xb7519abc Yes /usr/lib/librpmsign.so.0 +0xb75124b0 0xb7514d78 Yes /usr/lib/python2.7/lib-dynload/_collectionsmodule.so +0xb750a0d0 0xb750c438 Yes /usr/lib/python2.7/lib-dynload/operator.so +0xb74057e0 0xb740a7e8 Yes /usr/lib/python2.7/lib-dynload/itertoolsmodule.so +0xb75056f0 0xb7505de8 Yes /usr/lib/python2.7/lib-dynload/_bisectmodule.so +0xb7501820 0xb7502948 Yes /usr/lib/python2.7/lib-dynload/_heapq.so +0xb73f4590 0xb73ffab8 Yes /usr/lib/python2.7/lib-dynload/cPickle.so +0xb73aa3f0 0xb73ad608 Yes /usr/lib/python2.7/lib-dynload/math.so +0xb73a5d20 0xb73a6b58 Yes /usr/lib/python2.7/lib-dynload/_hashlib.so +0xb74febb0 0xb74ff848 Yes /usr/lib/python2.7/lib-dynload/_randommodule.so +0xb73a1fa0 0xb73a36c8 Yes /usr/lib/python2.7/lib-dynload/_localemodule.so +0xb735ad70 0xb735d658 Yes /usr/lib/python2.7/lib-dynload/stropmodule.so +0xb7311960 0xb7315688 Yes /usr/lib/python2.7/lib-dynload/arraymodule.so +0xb7301fa0 0xb730a228 Yes /usr/lib/python2.7/site-packages/pycurl.so +0x44675c70 0x446bad28 Yes /usr/lib/libcurl.so.4 +0x4d0ecd30 0x4d0f17d8 Yes /lib/libidn.so.11 +0x44514710 0x4451c33c Yes /usr/lib/liblber-2.4.so.2 +0x4447e0b0 0x444afc0c Yes /usr/lib/libldap-2.4.so.2 +0x4429aff0 0x442c06ac Yes /usr/lib/libssl3.so +0x44270010 0x4428b28c Yes /usr/lib/libsmime3.so +0x446d3510 0x446eca78 Yes /usr/lib/libssh2.so.1 +0x439a31a0 0x439b3c18 Yes /usr/lib/libsasl2.so.2 +0x4396d8e0 0x43972b1c Yes (*) /lib/libcrypt-2.13.90.so +0xb72b9cc0 0xb72bb988 Yes /usr/lib/python2.7/lib-dynload/zlibmodule.so +0xb729c210 0xb72ac898 Yes /usr/lib/python2.7/lib-dynload/_io.so +0xb7291660 0xb72950b8 Yes /usr/lib/python2.7/lib-dynload/bz2.so +0xb728d840 0xb728dd98 Yes /usr/lib/python2.7/lib-dynload/grpmodule.so +0xb727f5f0 0xb7285258 Yes /usr/lib/python2.7/site-packages/gpgme/_gpgme.so +0xb7228050 0xb724ba98 Yes /usr/lib/libgpgme.so.11 +0x4aa82630 0x4aa82c08 Yes /lib/libgpg-error.so.0 +0xb71916a0 0xb719a908 Yes /usr/lib/python2.7/lib-dynload/datetime.so +0xb7270720 0xb7277c08 Yes /usr/lib/python2.7/lib-dynload/_sqlite3.so +0xb7262f00 0xb7268538 Yes /usr/lib/python2.7/site-packages/_sqlitecache.so +0x4eb91750 0x4ec3004c Yes /lib/libglib-2.0.so.0 +0x4a77ccb0 0x4a86a8a8 Yes /usr/lib/libxml2.so.2 +0xb725d200 0xb725dbe8 Yes /usr/lib/python2.7/lib-dynload/termios.so +0xb71810b0 0xb718a3e8 Yes /usr/lib/python2.7/lib-dynload/_curses.so +0x49ea6120 0x49eca3d8 Yes /lib/libncursesw.so.5 +0x4aa19d40 0x4aa247d8 Yes /lib/libtinfo.so.5 +0xb71755b0 0xb717a988 Yes /usr/lib/python2.7/lib-dynload/_elementtree.so +0xb712c040 0xb7144ef8 Yes /lib/libexpat.so.1 +0xb716a290 0xb716f5f8 Yes /usr/lib/python2.7/lib-dynload/pyexpat.so +0xb710c8b0 0xb7118eb8 Yes /usr/lib/python2.7/site-packages/_dbus_bindings.so +0x47f176a0 0x47f46acc Yes /lib/libdbus-1.so.3 +0xb1cacc00 0xb1cb0a8c Yes (*) /lib/libnss_dns-2.13.90.so +0xb1c79c80 0xb1c9ad7c Yes /usr/lib/libnsspem.so +(*): Shared library is missing debugging information. +$1 = 0x0 +$2 = 0x0 +eax 0xb727bf40 -1222131904 +ecx 0xb727bf40 -1222131904 +edx 0x8b8335c 146289500 +ebx 0x4d2ade0b 1294654987 +esp 0xbfa6f33c 0xbfa6f33c +ebp 0xbfa6f348 0xbfa6f348 +esi 0xb71c42c0 -1222884672 +edi 0xb727bf40 -1222131904 +eip 0x4d2ade0a 0x4d2ade0a <_PyType_Lookup+10> +eflags 0x210207 [ CF PF IF RF ID ] +cs 0x73 115 +ss 0x7b 123 +ds 0x7b 123 +es 0x7b 123 +fs 0x0 0 +gs 0x33 51 +Dump of assembler code for function _PyType_Lookup: + 0x4d2ade00 <+0>: push %ebp + 0x4d2ade01 <+1>: mov %esp,%ebp + 0x4d2ade03 <+3>: push %edi + 0x4d2ade04 <+4>: push %esi + 0x4d2ade05 <+5>: push %ebx + 0x4d2ade06 <+6>: call 0x4d24aa59 <__i686.get_pc_thunk.bx> + 0x4d2ade0b <+11>: add $0xdbd01,%ebx + 0x4d2ade11 <+17>: lea -0x2c(%esp),%esp + 0x4d2ade15 <+21>: mov 0xc(%ebp),%edx + 0x4d2ade18 <+24>: mov 0x4(%edx),%eax + 0x4d2ade1b <+27>: cmp -0x64(%ebx),%eax + 0x4d2ade21 <+33>: jne 0x4d2ade68 <_PyType_Lookup+104> + 0x4d2ade23 <+35>: cmpl $0x64,0x8(%edx) + 0x4d2ade27 <+39>: jg 0x4d2ade68 <_PyType_Lookup+104> + 0x4d2ade29 <+41>: mov 0x8(%ebp),%ecx + 0x4d2ade2c <+44>: testb $0x8,0x56(%ecx) + 0x4d2ade30 <+48>: je 0x4d2ade68 <_PyType_Lookup+104> + 0x4d2ade32 <+50>: mov 0xc(%ebp),%esi + 0x4d2ade35 <+53>: mov 0xc0(%ecx),%ecx + 0x4d2ade3b <+59>: mov %ecx,%edx + 0x4d2ade3d <+61>: imul 0xc(%esi),%edx + 0x4d2ade41 <+65>: shr $0x16,%edx + 0x4d2ade44 <+68>: lea (%edx,%edx,2),%edx + 0x4d2ade47 <+71>: lea 0x2e734(%ebx,%edx,4),%edx + 0x4d2ade4e <+78>: cmp (%edx),%ecx + 0x4d2ade50 <+80>: jne 0x4d2ade68 <_PyType_Lookup+104> + 0x4d2ade52 <+82>: cmp %esi,0x4(%edx) + 0x4d2ade55 <+85>: jne 0x4d2ade68 <_PyType_Lookup+104> + 0x4d2ade57 <+87>: mov 0x8(%edx),%edi + 0x4d2ade5a <+90>: lea 0x2c(%esp),%esp + 0x4d2ade5e <+94>: mov %edi,%eax + 0x4d2ade60 <+96>: pop %ebx + 0x4d2ade61 <+97>: pop %esi + 0x4d2ade62 <+98>: pop %edi + 0x4d2ade63 <+99>: pop %ebp + 0x4d2ade64 <+100>: ret + 0x4d2ade65 <+101>: lea 0x0(%esi),%esi + 0x4d2ade68 <+104>: mov 0x8(%ebp),%ecx + 0x4d2ade6b <+107>: xor %edi,%edi + 0x4d2ade6d <+109>: mov 0xac(%ecx),%edx + 0x4d2ade73 <+115>: test %edx,%edx + 0x4d2ade75 <+117>: je 0x4d2ade5a <_PyType_Lookup+90> + 0x4d2ade77 <+119>: mov 0x8(%edx),%esi + 0x4d2ade7a <+122>: test %esi,%esi + 0x4d2ade7c <+124>: mov %esi,-0x1c(%ebp) + 0x4d2ade7f <+127>: jle 0x4d2aded0 <_PyType_Lookup+208> + 0x4d2ade81 <+129>: xor %esi,%esi + 0x4d2ade83 <+131>: mov %edx,%edi + 0x4d2ade85 <+133>: jmp 0x4d2adead <_PyType_Lookup+173> + 0x4d2ade87 <+135>: nop + 0x4d2ade88 <+136>: mov 0x84(%eax),%eax + 0x4d2ade8e <+142>: mov 0xc(%ebp),%ecx + 0x4d2ade91 <+145>: mov %eax,(%esp) + 0x4d2ade94 <+148>: mov %ecx,0x4(%esp) + 0x4d2ade98 <+152>: call 0x4d24890c + 0x4d2ade9d <+157>: test %eax,%eax + 0x4d2ade9f <+159>: jne 0x4d2adf48 <_PyType_Lookup+328> + 0x4d2adea5 <+165>: lea 0x1(%esi),%esi + 0x4d2adea8 <+168>: cmp %esi,-0x1c(%ebp) + 0x4d2adeab <+171>: jle 0x4d2adec8 <_PyType_Lookup+200> + 0x4d2adead <+173>: mov 0xc(%edi,%esi,4),%eax + 0x4d2adeb1 <+177>: mov -0x368(%ebx),%edx + 0x4d2adeb7 <+183>: cmp %edx,0x4(%eax) + 0x4d2adeba <+186>: jne 0x4d2ade88 <_PyType_Lookup+136> + 0x4d2adebc <+188>: mov 0xc(%eax),%eax + 0x4d2adebf <+191>: jmp 0x4d2ade8e <_PyType_Lookup+142> + 0x4d2adec1 <+193>: lea 0x0(%esi,%eiz,1),%esi + 0x4d2adec8 <+200>: mov 0xc(%ebp),%edx + 0x4d2adecb <+203>: mov %eax,%edi + 0x4d2adecd <+205>: mov 0x4(%edx),%eax + 0x4d2aded0 <+208>: cmp -0x64(%ebx),%eax + 0x4d2aded6 <+214>: jne 0x4d2ade5a <_PyType_Lookup+90> + 0x4d2aded8 <+216>: mov 0xc(%ebp),%ecx + 0x4d2adedb <+219>: cmpl $0x64,0x8(%ecx) + 0x4d2adedf <+223>: jg 0x4d2ade5a <_PyType_Lookup+90> + 0x4d2adee5 <+229>: mov 0x8(%ebp),%eax + 0x4d2adee8 <+232>: call 0x4d2ad2e0 + 0x4d2adeed <+237>: test %eax,%eax + 0x4d2adeef <+239>: je 0x4d2ade5a <_PyType_Lookup+90> + 0x4d2adef5 <+245>: mov 0x8(%ebp),%esi + 0x4d2adef8 <+248>: mov 0xc(%ebp),%eax + 0x4d2adefb <+251>: lea 0x2e734(%ebx),%ecx + 0x4d2adf01 <+257>: mov %ecx,-0x1c(%ebp) + 0x4d2adf04 <+260>: mov 0xc0(%esi),%edx + 0x4d2adf0a <+266>: mov %edx,%esi + 0x4d2adf0c <+268>: imul 0xc(%eax),%esi + 0x4d2adf10 <+272>: shr $0x16,%esi + 0x4d2adf13 <+275>: lea (%esi,%esi,2),%eax + 0x4d2adf16 <+278>: lea (%ecx,%eax,4),%eax + 0x4d2adf19 <+281>: mov %edx,(%eax) + 0x4d2adf1b <+283>: mov 0xc(%ebp),%edx + 0x4d2adf1e <+286>: mov %edi,0x8(%eax) + 0x4d2adf21 <+289>: addl $0x1,(%edx) + 0x4d2adf24 <+292>: mov 0x4(%eax),%edx + 0x4d2adf27 <+295>: mov (%edx),%ecx + 0x4d2adf29 <+297>: sub $0x1,%ecx + 0x4d2adf2c <+300>: test %ecx,%ecx + 0x4d2adf2e <+302>: mov %ecx,(%edx) + 0x4d2adf30 <+304>: je 0x4d2adf61 <_PyType_Lookup+353> + 0x4d2adf32 <+306>: mov -0x1c(%ebp),%ecx + 0x4d2adf35 <+309>: lea (%esi,%esi,2),%eax + 0x4d2adf38 <+312>: mov 0xc(%ebp),%esi + 0x4d2adf3b <+315>: mov %esi,0x4(%ecx,%eax,4) + 0x4d2adf3f <+319>: jmp 0x4d2ade5a <_PyType_Lookup+90> + 0x4d2adf44 <+324>: lea 0x0(%esi,%eiz,1),%esi + 0x4d2adf48 <+328>: mov 0xc(%ebp),%esi + 0x4d2adf4b <+331>: mov %eax,%edi + 0x4d2adf4d <+333>: mov 0x4(%esi),%eax + 0x4d2adf50 <+336>: cmp -0x64(%ebx),%eax + 0x4d2adf56 <+342>: jne 0x4d2ade5a <_PyType_Lookup+90> + 0x4d2adf5c <+348>: jmp 0x4d2aded8 <_PyType_Lookup+216> + 0x4d2adf61 <+353>: mov 0x4(%eax),%edx + 0x4d2adf64 <+356>: mov 0x4(%edx),%eax + 0x4d2adf67 <+359>: mov %edx,(%esp) + 0x4d2adf6a <+362>: call *0x18(%eax) + 0x4d2adf6d <+365>: jmp 0x4d2adf32 <_PyType_Lookup+306> +End of assembler dump. diff --git a/test_backtrace_parser.py b/test_backtrace_parser.py new file mode 100644 index 0000000..e2d831f --- /dev/null +++ b/test_backtrace_parser.py @@ -0,0 +1,29 @@ +import unittest +from backtrace import Backtrace + +class TestParser(unittest.TestCase): + def test_bz677051(self): + text = open('data/rhbz-677051-attachment-478410.txt', 'r').read() + bt = Backtrace(text) + + thread, frame = bt.get_crash_site() + self.assertEquals(thread.index, 1) + self.assertEquals(thread.extra, '0xb78516c0 (LWP 17355)') + #self.assertEquals(len(thread.frames), 59) + #self.assertEquals(len(thread.framelist), 59) + + self.assertEquals(frame.index, 0) + self.assertEquals(frame.address, 0x4d2ade0a) + self.assertEquals(frame.function, '_PyType_Lookup') + self.assertEquals(frame.info, + "(type=0xb727bf40, name='cursor') at /usr/src/debug/Python-2.7.1/Objects/typeobject.c:2457\n" + " i = \n" + " n = \n" + " mro = \n" + " res = \n" + " base = \n" + " dict = \n" + " h = ") + +if __name__ == '__main__': + unittest.main() -- cgit