Issue23137
This issue tracker has been migrated to GitHub,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2014-12-30 23:49 by vlee, last changed 2022-04-11 14:58 by admin. This issue is now closed.
Messages (4) | |||
---|---|---|---|
msg233224 - (view) | Author: Vinson Lee (vlee) * | Date: 2014-12-30 23:49 | |
Python 2.7.9 test_gdb fails on CentOS 7. $./python Lib/test/regrtest.py -v test_gdb == CPython 2.7.9 (default, Dec 22 2014, 10:54:52) [GCC 4.8.2 20140120 (Red Hat 4.8.2-16)] == Linux-3.10.0-123.13.2.el7.x86_64-x86_64-with-centos-7.0.1406-Core little-endian == Python-2.7.9/build/test_python_16739 Testing with flags: sys.flags(debug=0, py3k_warning=0, division_warning=0, division_new=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=0, no_user_site=0, no_site=0, ignore_environment=0, tabcheck=0, verbose=0, unicode=0, bytes_warning=0, hash_randomization=0) [1/1] test_gdb test_NULL_instance_dict (test.test_gdb.PrettyPrintTests) Ensure that a PyInstanceObject with with a NULL in_dict is handled ... FAIL test_NULL_ob_type (test.test_gdb.PrettyPrintTests) Ensure that a PyObject* with NULL ob_type is handled gracefully ... FAIL test_NULL_ptr (test.test_gdb.PrettyPrintTests) Ensure that a NULL PyObject* is handled gracefully ... FAIL test_builtin_function (test.test_gdb.PrettyPrintTests) ... FAIL test_builtin_method (test.test_gdb.PrettyPrintTests) ... FAIL test_builtins_help (test.test_gdb.PrettyPrintTests) Ensure that the new-style class _Helper in site.py can be handled ... FAIL test_classic_class (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of classic class instances ... FAIL test_corrupt_ob_type (test.test_gdb.PrettyPrintTests) Ensure that a PyObject* with a corrupt ob_type is handled gracefully ... FAIL test_corrupt_tp_flags (test.test_gdb.PrettyPrintTests) Ensure that a PyObject* with a type with corrupt tp_flags is handled ... FAIL test_corrupt_tp_name (test.test_gdb.PrettyPrintTests) Ensure that a PyObject* with a type with corrupt tp_name is handled ... FAIL test_dicts (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of dictionaries ... FAIL test_exceptions (test.test_gdb.PrettyPrintTests) ... FAIL test_frames (test.test_gdb.PrettyPrintTests) ... ok test_frozensets (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of frozensets ... FAIL test_getting_backtrace (test.test_gdb.PrettyPrintTests) ... ok test_int (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of various "int" values ... FAIL test_lists (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of lists ... FAIL test_long (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of various "long" values ... FAIL test_modern_class (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of new-style class instances ... FAIL test_selfreferential_dict (test.test_gdb.PrettyPrintTests) Ensure that a reference loop involving a dict doesn't lead proxyval ... FAIL test_selfreferential_list (test.test_gdb.PrettyPrintTests) Ensure that a reference loop involving a list doesn't lead proxyval ... FAIL test_selfreferential_new_style_instance (test.test_gdb.PrettyPrintTests) ... FAIL test_selfreferential_old_style_instance (test.test_gdb.PrettyPrintTests) ... FAIL test_sets (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of sets ... FAIL test_singletons (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of True, False and None ... FAIL test_strings (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of strings ... FAIL test_subclassing_list (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of an instance of a list subclass ... FAIL test_subclassing_tuple (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of an instance of a tuple subclass ... FAIL test_truncation (test.test_gdb.PrettyPrintTests) Verify that very long output is truncated ... FAIL test_tuples (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of tuples ... FAIL test_unicode (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of unicode values ... FAIL test_basic_command (test.test_gdb.PyListTests) Verify that the "py-list" command works ... skipped 'Python was compiled with optimizations' test_one_abs_arg (test.test_gdb.PyListTests) Verify the "py-list" command with one absolute argument ... skipped 'Python was compiled with optimizations' test_two_abs_args (test.test_gdb.PyListTests) Verify the "py-list" command with two absolute arguments ... skipped 'Python was compiled with optimizations' test_down_at_bottom (test.test_gdb.StackNavigationTests) Verify handling of "py-down" at the bottom of the stack ... ok test_pyup_command (test.test_gdb.StackNavigationTests) Verify that the "py-up" command works ... skipped 'Python was compiled with optimizations' test_up_at_top (test.test_gdb.StackNavigationTests) Verify handling of "py-up" at the top of the stack ... ok test_up_then_down (test.test_gdb.StackNavigationTests) Verify "py-up" followed by "py-down" ... skipped 'Python was compiled with optimizations' test_basic_command (test.test_gdb.PyBtTests) Verify that the "py-bt" command works ... skipped 'Python was compiled with optimizations' test_basic_command (test.test_gdb.PyPrintTests) Verify that the "py-print" command works ... skipped 'Python was compiled with optimizations' test_print_after_up (test.test_gdb.PyPrintTests) ... skipped 'Python was compiled with optimizations' test_printing_builtin (test.test_gdb.PyPrintTests) ... skipped 'Python was compiled with optimizations' test_printing_global (test.test_gdb.PyPrintTests) ... skipped 'Python was compiled with optimizations' test_basic_command (test.test_gdb.PyLocalsTests) ... skipped 'Python was compiled with optimizations' test_locals_after_up (test.test_gdb.PyLocalsTests) ... skipped 'Python was compiled with optimizations' ====================================================================== FAIL: test_NULL_instance_dict (test.test_gdb.PrettyPrintTests) Ensure that a PyInstanceObject with with a NULL in_dict is handled ---------------------------------------------------------------------- Traceback (most recent call last): File "Python-2.7.9/Lib/test/test_gdb.py", line 476, in test_NULL_instance_dict exptype='Foo') File "Python-2.7.9/Lib/test/test_gdb.py", line 432, in assertSane (gdb_repr, gdb_output)) AssertionError: Unexpected gdb representation: 'op@entry=<Foo at remote 0x7ffff7f96710>' Breakpoint 1 at 0x45d9c0: PyObject_Print. (2 locations) [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Breakpoint 1, PyObject_Print (op=op@entry=<Foo(an_int=42) at remote 0x7ffff7f96710>, fp=0x7ffff74b1400 <_IO_2_1_stdout_>, flags=flags@entry=1) at Objects/object.c:329 329 { #0 PyObject_Print (op=op@entry=<Foo at remote 0x7ffff7f96710>, fp=0x7ffff74b1400 <_IO_2_1_stdout_>, flags=flags@entry=1) at Objects/object.c:329 #1 0x000000000043a38c in file_PyObject_Print (f=0x7ffff7fc3150, f=0x7ffff7fc3150, flags=1, op=<Foo at remote 0x7ffff7f96710>) at Objects/fileobject.c:110 #2 PyFile_WriteObject (v=v@entry=<Foo at remote 0x7ffff7f96710>, f=f@entry=<file at remote 0x7ffff7fc3150>, flags=flags@entry=1) at Objects/fileobject.c:2579 #3 0x00000000004b3bbf in PyEval_EvalFrameEx (f=f@entry=Frame 0x7ffff7f23050, for file <string>, line 6, in <module> (), throwflag=throwflag@entry=0) at Python/ceval.c:1771 #4 0x00000000004b69f8 in PyEval_EvalCodeEx (co=co@entry=0x7ffff7fb4bb0, globals=globals@entry={'foo': <Foo at remote 0x7ffff7f96710>, '__builtins__': <module at remote 0x7ffff7fa1b08>, '__package__': None, '__name__': '__main__', 'Foo': <classobj at remote 0x7ffff7f9a1f0>, '__doc__': None}, locals=locals@entry={'foo': <Foo at remote 0x7ffff7f96710>, '__builtins__': <module at remote 0x7ffff7fa1b08>, '__package__': None, '__name__': '__main__', 'Foo': <classobj at remote 0x7ffff7f9a1f0>, '__doc__': None}, args=args@entry=0x0, argcount=argcount@entry=0, kws=kws@entry=0x0, kwcount=kwcount@entry=0, defs=defs@entry=0x0, defcount=defcount@entry=0, closure=closure@entry=0x0) at Python/ceval.c:3265 #5 0x00000000004b6b22 in PyEval_EvalCode (co=co@entry=0x7ffff7fb4bb0, globals=globals@entry={'foo': <Foo at remote 0x7ffff7f96710>, '__builtins__': <module at remote 0x7ffff7fa1b08>, '__package__': None, '__name__': '__main__', 'Foo': <classobj at remote 0x7ffff7f9a1f0>, '__doc__': None}, locals=locals@entry={'foo': <Foo at remote 0x7ffff7f96710>, '__builtins__': <module at remote 0x7ffff7fa1b08>, '__package__': None, '__name__': '__main__', 'Foo': <classobj at remote 0x7ffff7f9a1f0>, '__doc__': None}) at Python/ceval.c:667 #6 0x00000000004e6d62 in run_mod (arena=0x7f6710, flags=0x7fffffffe310, locals={'foo': <Foo at remote 0x7ffff7f96710>, '__builtins__': <module at remote 0x7ffff7fa1b08>, '__package__': None, '__name__': '__main__', 'Foo': <classobj at remote 0x7ffff7f9a1f0>, '__doc__': None}, globals={'foo': <Foo at remote 0x7ffff7f96710>, '__builtins__': <module at remote 0x7ffff7fa1b08>, '__package__': None, '__name__': '__main__', 'Foo': <classobj at remote 0x7ffff7f9a1f0>, '__doc__': None}, filename=0x549f56 "<string>", mod=0x835030) at Python/pythonrun.c:1371 #7 PyRun_StringFlags (flags=0x7fffffffe310, locals={'foo': <Foo at remote 0x7ffff7f96710>, '__builtins__': <module at remote 0x7ffff7fa1b08>, '__package__': None, '__name__': '__main__', 'Foo': <classobj at remote 0x7ffff7f9a1f0>, '__doc__': None}, globals={'foo': <Foo at remote 0x7ffff7f96710>, '__builtins__': <module at remote 0x7ffff7fa1b08>, '__package__': None, '__name__': '__main__', 'Foo': <classobj at remote 0x7ffff7f9a1f0>, '__doc__': None}, start=257, str=0x7ef010 "\nclass Foo:\n pass\nfoo = Foo()\nfoo.an_int = 42\nprint foo\n") at Python/pythonrun.c:1334 #8 PyRun_SimpleStringFlags (command=command@entry=0x7ef010 "\nclass Foo:\n pass\nfoo = Foo()\nfoo.an_int = 42\nprint foo\n", flags=flags@entry=0x7fffffffe310) at Python/pythonrun.c:975 #9 0x0000000000415548 in Py_Main (argc=<optimized out>, argv=<optimized out>) at Modules/main.c:584 #10 0x00007ffff7117af5 in __libc_start_main () from /lib64/libc.so.6 #11 0x0000000000414b91 in _start () ====================================================================== FAIL: test_NULL_ob_type (test.test_gdb.PrettyPrintTests) Ensure that a PyObject* with NULL ob_type is handled gracefully ---------------------------------------------------------------------- Traceback (most recent call last): File "Python-2.7.9/Lib/test/test_gdb.py", line 447, in test_NULL_ob_type 'set op->ob_type=0') File "Python-2.7.9/Lib/test/test_gdb.py", line 432, in assertSane (gdb_repr, gdb_output)) AssertionError: Unexpected gdb representation: 'op@entry=<unknown at remote 0x807568>' Breakpoint 1 at 0x45d9c0: PyObject_Print. (2 locations) [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Breakpoint 1, PyObject_Print (op=op@entry=42, fp=0x7ffff74b1400 <_IO_2_1_stdout_>, flags=flags@entry=1) at Objects/object.c:329 329 { #0 PyObject_Print (op=op@entry=<unknown at remote 0x807568>, fp=0x7ffff74b1400 <_IO_2_1_stdout_>, flags=flags@entry=1) at Objects/object.c:329 #1 0x000000000043a38c in file_PyObject_Print (f=0x7ffff7fc3150, f=0x7ffff7fc3150, flags=1, op=<unknown at remote 0x807568>) at Objects/fileobject.c:110 #2 PyFile_WriteObject (v=v@entry=<unknown at remote 0x807568>, f=f@entry=<file at remote 0x7ffff7fc3150>, flags=flags@entry=1) at Objects/fileobject.c:2579 #3 0x00000000004b3bbf in PyEval_EvalFrameEx (f=f@entry=Frame 0x7ffff7f921f8, for file <string>, line 1, in <module> (), throwflag=throwflag@entry=0) at Python/ceval.c:1771 #4 0x00000000004b69f8 in PyEval_EvalCodeEx (co=co@entry=0x7ffff7fb4830, globals=globals@entry={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', '__doc__': None, '__package__': None}, locals=locals@entry={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', '__doc__': None, '__package__': None}, args=args@entry=0x0, argcount=argcount@entry=0, kws=kws@entry=0x0, kwcount=kwcount@entry=0, defs=defs@entry=0x0, defcount=defcount@entry=0, closure=closure@entry=0x0) at Python/ceval.c:3265 #5 0x00000000004b6b22 in PyEval_EvalCode (co=co@entry=0x7ffff7fb4830, globals=globals@entry={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', '__doc__': None, '__package__': None}, locals=locals@entry={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', '__doc__': None, '__package__': None}) at Python/ceval.c:667 #6 0x00000000004e6d62 in run_mod (arena=0x7f66e0, flags=0x7fffffffe340, locals={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', '__doc__': None, '__package__': None}, globals={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', '__doc__': None, '__package__': None}, filename=0x549f56 "<string>", mod=0x834da8) at Python/pythonrun.c:1371 #7 PyRun_StringFlags (flags=0x7fffffffe340, locals={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', '__doc__': None, '__package__': None}, globals={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', '__doc__': None, '__package__': None}, start=257, str=0x7ef010 "print 42\n") at Python/pythonrun.c:1334 #8 PyRun_SimpleStringFlags (command=command@entry=0x7ef010 "print 42\n", flags=flags@entry=0x7fffffffe340) at Python/pythonrun.c:975 #9 0x0000000000415548 in Py_Main (argc=<optimized out>, argv=<optimized out>) at Modules/main.c:584 #10 0x00007ffff7117af5 in __libc_start_main () from /lib64/libc.so.6 #11 0x0000000000414b91 in _start () ====================================================================== FAIL: test_NULL_ptr (test.test_gdb.PrettyPrintTests) Ensure that a NULL PyObject* is handled gracefully ---------------------------------------------------------------------- Traceback (most recent call last): File "Python-2.7.9/Lib/test/test_gdb.py", line 442, in test_NULL_ptr self.assertEqual(gdb_repr, '0x0') AssertionError: '0x0, op@entry=42' != '0x0' ====================================================================== FAIL: test_builtin_function (test.test_gdb.PrettyPrintTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "Python-2.7.9/Lib/test/test_gdb.py", line 579, in test_builtin_function self.assertEqual(gdb_repr, '<built-in function len>') AssertionError: 'op@entry=<built-in function len>' != '<built-in function len>' ====================================================================== FAIL: test_builtin_method (test.test_gdb.PrettyPrintTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "Python-2.7.9/Lib/test/test_gdb.py", line 586, in test_builtin_method (gdb_repr, gdb_output)) AssertionError: Unexpected gdb representation: 'op@entry=<built-in method readlines of file object at remote 0x7ffff7fc3150>' Breakpoint 1 at 0x45d9c0: PyObject_Print. (2 locations) [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Breakpoint 1, PyObject_Print (op=op@entry=<built-in method readlines of file object at remote 0x7ffff7fc3150>, fp=0x7ffff74b1400 <_IO_2_1_stdout_>, flags=flags@entry=1) at Objects/object.c:329 329 { #0 PyObject_Print (op=op@entry=<built-in method readlines of file object at remote 0x7ffff7fc3150>, fp=0x7ffff74b1400 <_IO_2_1_stdout_>, flags=flags@entry=1) at Objects/object.c:329 #1 0x000000000043a38c in file_PyObject_Print (f=0x7ffff7fc3150, f=0x7ffff7fc3150, flags=1, op=<built-in method readlines of file object at remote 0x7ffff7fc3150>) at Objects/fileobject.c:110 #2 PyFile_WriteObject (v=v@entry=<built-in method readlines of file object at remote 0x7ffff7fc3150>, f=f@entry=<file at remote 0x7ffff7fc3150>, flags=flags@entry=1) at Objects/fileobject.c:2579 #3 0x00000000004b3bbf in PyEval_EvalFrameEx (f=f@entry=Frame 0x7ffff7fca200, for file <string>, line 1, in <module> (), throwflag=throwflag@entry=0) at Python/ceval.c:1771 #4 0x00000000004b69f8 in PyEval_EvalCodeEx (co=co@entry=0x7ffff7fb4830, globals=globals@entry={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', 'sys': <module at remote 0x7ffff7fa1bb0>, '__doc__': None, '__package__': None}, locals=locals@entry={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', 'sys': <module at remote 0x7ffff7fa1bb0>, '__doc__': None, '__package__': None}, args=args@entry=0x0, argcount=argcount@entry=0, kws=kws@entry=0x0, kwcount=kwcount@entry=0, defs=defs@entry=0x0, defcount=defcount@entry=0, closure=closure@entry=0x0) at Python/ceval.c:3265 #5 0x00000000004b6b22 in PyEval_EvalCode (co=co@entry=0x7ffff7fb4830, globals=globals@entry={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', 'sys': <module at remote 0x7ffff7fa1bb0>, '__doc__': None, '__package__': None}, locals=locals@entry={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', 'sys': <module at remote 0x7ffff7fa1bb0>, '__doc__': None, '__package__': None}) at Python/ceval.c:667 #6 0x00000000004e6d62 in run_mod (arena=0x7f66f0, flags=0x7fffffffe320, locals={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', 'sys': <module at remote 0x7ffff7fa1bb0>, '__doc__': None, '__package__': None}, globals={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', 'sys': <module at remote 0x7ffff7fa1bb0>, '__doc__': None, '__package__': None}, filename=0x549f56 "<string>", mod=0x834e80) at Python/pythonrun.c:1371 #7 PyRun_StringFlags (flags=0x7fffffffe320, locals={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', 'sys': <module at remote 0x7ffff7fa1bb0>, '__doc__': None, '__package__': None}, globals={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', 'sys': <module at remote 0x7ffff7fa1bb0>, '__doc__': None, '__package__': None}, start=257, str=0x7ef010 "import sys; print sys.stdout.readlines\n") at Python/pythonrun.c:1334 #8 PyRun_SimpleStringFlags (command=command@entry=0x7ef010 "import sys; print sys.stdout.readlines\n", flags=flags@entry=0x7fffffffe320) at Python/pythonrun.c:975 #9 0x0000000000415548 in Py_Main (argc=<optimized out>, argv=<optimized out>) at Modules/main.c:584 #10 0x00007ffff7117af5 in __libc_start_main () from /lib64/libc.so.6 #11 0x0000000000414b91 in _start () ====================================================================== FAIL: test_builtins_help (test.test_gdb.PrettyPrintTests) Ensure that the new-style class _Helper in site.py can be handled ---------------------------------------------------------------------- Traceback (most recent call last): File "Python-2.7.9/Lib/test/test_gdb.py", line 486, in test_builtins_help msg='Unexpected rendering %r' % gdb_repr) AssertionError: Unexpected rendering 'op@entry=<_Helper at remote 0x7ffff7eefd90>' ====================================================================== FAIL: test_classic_class (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of classic class instances ---------------------------------------------------------------------- Traceback (most recent call last): File "Python-2.7.9/Lib/test/test_gdb.py", line 360, in test_classic_class msg='Unexpected classic-class rendering %r' % gdb_repr) AssertionError: Unexpected classic-class rendering 'op@entry=<Foo(an_int=42) at remote 0x7ffff7f96710>' ====================================================================== FAIL: test_corrupt_ob_type (test.test_gdb.PrettyPrintTests) Ensure that a PyObject* with a corrupt ob_type is handled gracefully ---------------------------------------------------------------------- Traceback (most recent call last): File "Python-2.7.9/Lib/test/test_gdb.py", line 453, in test_corrupt_ob_type expvalue=42) File "Python-2.7.9/Lib/test/test_gdb.py", line 432, in assertSane (gdb_repr, gdb_output)) AssertionError: Unexpected gdb representation: 'op@entry=<unknown at remote 0x807568>' Breakpoint 1 at 0x45d9c0: PyObject_Print. (2 locations) [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Breakpoint 1, PyObject_Print (op=op@entry=42, fp=0x7ffff74b1400 <_IO_2_1_stdout_>, flags=flags@entry=1) at Objects/object.c:329 329 { #0 PyObject_Print (op=op@entry=<unknown at remote 0x807568>, fp=0x7ffff74b1400 <_IO_2_1_stdout_>, flags=flags@entry=1) at Objects/object.c:329 #1 0x000000000043a38c in file_PyObject_Print (f=0x7ffff7fc3150, f=0x7ffff7fc3150, flags=1, op=<unknown at remote 0x807568>) at Objects/fileobject.c:110 #2 PyFile_WriteObject (v=v@entry=<unknown at remote 0x807568>, f=f@entry=<file at remote 0x7ffff7fc3150>, flags=flags@entry=1) at Objects/fileobject.c:2579 #3 0x00000000004b3bbf in PyEval_EvalFrameEx (f=f@entry=Frame 0x7ffff7f921f8, for file <string>, line 1, in <module> (), throwflag=throwflag@entry=0) at Python/ceval.c:1771 #4 0x00000000004b69f8 in PyEval_EvalCodeEx (co=co@entry=0x7ffff7fb4830, globals=globals@entry={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', '__doc__': None, '__package__': None}, locals=locals@entry={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', '__doc__': None, '__package__': None}, args=args@entry=0x0, argcount=argcount@entry=0, kws=kws@entry=0x0, kwcount=kwcount@entry=0, defs=defs@entry=0x0, defcount=defcount@entry=0, closure=closure@entry=0x0) at Python/ceval.c:3265 #5 0x00000000004b6b22 in PyEval_EvalCode (co=co@entry=0x7ffff7fb4830, globals=globals@entry={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', '__doc__': None, '__package__': None}, locals=locals@entry={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', '__doc__': None, '__package__': None}) at Python/ceval.c:667 #6 0x00000000004e6d62 in run_mod (arena=0x7f66e0, flags=0x7fffffffe340, locals={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', '__doc__': None, '__package__': None}, globals={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', '__doc__': None, '__package__': None}, filename=0x549f56 "<string>", mod=0x834da8) at Python/pythonrun.c:1371 #7 PyRun_StringFlags (flags=0x7fffffffe340, locals={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', '__doc__': None, '__package__': None}, globals={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', '__doc__': None, '__package__': None}, start=257, str=0x7ef010 "print 42\n") at Python/pythonrun.c:1334 #8 PyRun_SimpleStringFlags (command=command@entry=0x7ef010 "print 42\n", flags=flags@entry=0x7fffffffe340) at Python/pythonrun.c:975 #9 0x0000000000415548 in Py_Main (argc=<optimized out>, argv=<optimized out>) at Modules/main.c:584 #10 0x00007ffff7117af5 in __libc_start_main () from /lib64/libc.so.6 #11 0x0000000000414b91 in _start () ====================================================================== FAIL: test_corrupt_tp_flags (test.test_gdb.PrettyPrintTests) Ensure that a PyObject* with a type with corrupt tp_flags is handled ---------------------------------------------------------------------- Traceback (most recent call last): File "Python-2.7.9/Lib/test/test_gdb.py", line 459, in test_corrupt_tp_flags expvalue=42) File "Python-2.7.9/Lib/test/test_gdb.py", line 432, in assertSane (gdb_repr, gdb_output)) AssertionError: Unexpected gdb representation: 'op@entry=<int at remote 0x807568>' Breakpoint 1 at 0x45d9c0: PyObject_Print. (2 locations) [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Breakpoint 1, PyObject_Print (op=op@entry=42, fp=0x7ffff74b1400 <_IO_2_1_stdout_>, flags=flags@entry=1) at Objects/object.c:329 329 { #0 PyObject_Print (op=op@entry=<int at remote 0x807568>, fp=0x7ffff74b1400 <_IO_2_1_stdout_>, flags=flags@entry=1) at Objects/object.c:329 #1 0x000000000043a38c in file_PyObject_Print (f=0x7ffff7fc3150, f=0x7ffff7fc3150, flags=1, op=<int at remote 0x807568>) at Objects/fileobject.c:110 #2 PyFile_WriteObject (v=v@entry=<int at remote 0x807568>, f=f@entry=<file at remote 0x7ffff7fc3150>, flags=flags@entry=1) at Objects/fileobject.c:2579 #3 0x00000000004b3bbf in PyEval_EvalFrameEx (f=f@entry=Frame 0x7ffff7f921f8, for file <string>, line 1, in <module> (), throwflag=throwflag@entry=0) at Python/ceval.c:1771 #4 0x00000000004b69f8 in PyEval_EvalCodeEx (co=co@entry=0x7ffff7fb4830, globals=globals@entry={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', '__doc__': None, '__package__': None}, locals=locals@entry={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', '__doc__': None, '__package__': None}, args=args@entry=0x0, argcount=argcount@entry=0, kws=kws@entry=0x0, kwcount=kwcount@entry=0, defs=defs@entry=0x0, defcount=defcount@entry=0, closure=closure@entry=0x0) at Python/ceval.c:3265 #5 0x00000000004b6b22 in PyEval_EvalCode (co=co@entry=0x7ffff7fb4830, globals=globals@entry={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', '__doc__': None, '__package__': None}, locals=locals@entry={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', '__doc__': None, '__package__': None}) at Python/ceval.c:667 #6 0x00000000004e6d62 in run_mod (arena=0x7f66e0, flags=0x7fffffffe340, locals={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', '__doc__': None, '__package__': None}, globals={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', '__doc__': None, '__package__': None}, filename=0x549f56 "<string>", mod=0x834da8) at Python/pythonrun.c:1371 #7 PyRun_StringFlags (flags=0x7fffffffe340, locals={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', '__doc__': None, '__package__': None}, globals={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', '__doc__': None, '__package__': None}, start=257, str=0x7ef010 "print 42\n") at Python/pythonrun.c:1334 #8 PyRun_SimpleStringFlags (command=command@entry=0x7ef010 "print 42\n", flags=flags@entry=0x7fffffffe340) at Python/pythonrun.c:975 #9 0x0000000000415548 in Py_Main (argc=<optimized out>, argv=<optimized out>) at Modules/main.c:584 #10 0x00007ffff7117af5 in __libc_start_main () from /lib64/libc.so.6 #11 0x0000000000414b91 in _start () ====================================================================== FAIL: test_corrupt_tp_name (test.test_gdb.PrettyPrintTests) Ensure that a PyObject* with a type with corrupt tp_name is handled ---------------------------------------------------------------------- Traceback (most recent call last): File "Python-2.7.9/Lib/test/test_gdb.py", line 465, in test_corrupt_tp_name expvalue=42) File "Python-2.7.9/Lib/test/test_gdb.py", line 432, in assertSane (gdb_repr, gdb_output)) AssertionError: Unexpected gdb representation: 'op@entry=<unknown at remote 0x807568>' Breakpoint 1 at 0x45d9c0: PyObject_Print. (2 locations) [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Breakpoint 1, PyObject_Print (op=op@entry=42, fp=0x7ffff74b1400 <_IO_2_1_stdout_>, flags=flags@entry=1) at Objects/object.c:329 329 { #0 PyObject_Print (op=op@entry=<unknown at remote 0x807568>, fp=0x7ffff74b1400 <_IO_2_1_stdout_>, flags=flags@entry=1) at Objects/object.c:329 #1 0x000000000043a38c in file_PyObject_Print (f=0x7ffff7fc3150, f=0x7ffff7fc3150, flags=1, op=<unknown at remote 0x807568>) at Objects/fileobject.c:110 #2 PyFile_WriteObject (v=v@entry=<unknown at remote 0x807568>, f=f@entry=<file at remote 0x7ffff7fc3150>, flags=flags@entry=1) at Objects/fileobject.c:2579 #3 0x00000000004b3bbf in PyEval_EvalFrameEx (f=f@entry=Frame 0x7ffff7f921f8, for file <string>, line 1, in <module> (), throwflag=throwflag@entry=0) at Python/ceval.c:1771 #4 0x00000000004b69f8 in PyEval_EvalCodeEx (co=co@entry=0x7ffff7fb4830, globals=globals@entry={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', '__doc__': None, '__package__': None}, locals=locals@entry={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', '__doc__': None, '__package__': None}, args=args@entry=0x0, argcount=argcount@entry=0, kws=kws@entry=0x0, kwcount=kwcount@entry=0, defs=defs@entry=0x0, defcount=defcount@entry=0, closure=closure@entry=0x0) at Python/ceval.c:3265 #5 0x00000000004b6b22 in PyEval_EvalCode (co=co@entry=0x7ffff7fb4830, globals=globals@entry={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', '__doc__': None, '__package__': None}, locals=locals@entry={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', '__doc__': None, '__package__': None}) at Python/ceval.c:667 #6 0x00000000004e6d62 in run_mod (arena=0x7f66e0, flags=0x7fffffffe340, locals={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', '__doc__': None, '__package__': None}, globals={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', '__doc__': None, '__package__': None}, filename=0x549f56 "<string>", mod=0x834da8) at Python/pythonrun.c:1371 #7 PyRun_StringFlags (flags=0x7fffffffe340, locals={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', '__doc__': None, '__package__': None}, globals={'__builtins__': <module at remote 0x7ffff7fa1b08>, '__name__': '__main__', '__doc__': None, '__package__': None}, start=257, str=0x7ef010 "print 42\n") at Python/pythonrun.c:1334 #8 PyRun_SimpleStringFlags (command=command@entry=0x7ef010 "print 42\n", flags=flags@entry=0x7fffffffe340) at Python/pythonrun.c:975 #9 0x0000000000415548 in Py_Main (argc=<optimized out>, argv=<optimized out>) at Modules/main.c:584 #10 0x00007ffff7117af5 in __libc_start_main () from /lib64/libc.so.6 #11 0x0000000000414b91 in _start () ====================================================================== FAIL: test_dicts (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of dictionaries ---------------------------------------------------------------------- Traceback (most recent call last): File "Python-2.7.9/Lib/test/test_gdb.py", line 251, in test_dicts self.assertGdbRepr({}) File "Python-2.7.9/Lib/test/test_gdb.py", line 226, in assertGdbRepr self.assertEqual(gdb_repr, repr(val)) AssertionError: 'op@entry={}' != '{}' ====================================================================== FAIL: test_exceptions (test.test_gdb.PrettyPrintTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "Python-2.7.9/Lib/test/test_gdb.py", line 337, in test_exceptions "exceptions.RuntimeError('I am an error',)") AssertionError: "op@entry=exceptions.RuntimeError('I am an error',)" != "exceptions.RuntimeError('I am an error',)" ====================================================================== FAIL: test_frozensets (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of frozensets ---------------------------------------------------------------------- Traceback (most recent call last): File "Python-2.7.9/Lib/test/test_gdb.py", line 318, in test_frozensets self.assertGdbRepr(frozenset()) File "Python-2.7.9/Lib/test/test_gdb.py", line 226, in assertGdbRepr self.assertEqual(gdb_repr, repr(val)) AssertionError: 'op@entry=frozenset([])' != 'frozenset([])' ====================================================================== FAIL: test_int (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of various "int" values ---------------------------------------------------------------------- Traceback (most recent call last): File "Python-2.7.9/Lib/test/test_gdb.py", line 230, in test_int self.assertGdbRepr(42) File "Python-2.7.9/Lib/test/test_gdb.py", line 226, in assertGdbRepr self.assertEqual(gdb_repr, repr(val)) AssertionError: 'op@entry=42' != '42' ====================================================================== FAIL: test_lists (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of lists ---------------------------------------------------------------------- Traceback (most recent call last): File "Python-2.7.9/Lib/test/test_gdb.py", line 257, in test_lists self.assertGdbRepr([]) File "Python-2.7.9/Lib/test/test_gdb.py", line 226, in assertGdbRepr self.assertEqual(gdb_repr, repr(val)) AssertionError: 'op@entry=[]' != '[]' ====================================================================== FAIL: test_long (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of various "long" values ---------------------------------------------------------------------- Traceback (most recent call last): File "Python-2.7.9/Lib/test/test_gdb.py", line 238, in test_long self.assertGdbRepr(0L) File "Python-2.7.9/Lib/test/test_gdb.py", line 226, in assertGdbRepr self.assertEqual(gdb_repr, repr(val)) AssertionError: 'op@entry=0L' != '0L' ====================================================================== FAIL: test_modern_class (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of new-style class instances ---------------------------------------------------------------------- Traceback (most recent call last): File "Python-2.7.9/Lib/test/test_gdb.py", line 372, in test_modern_class msg='Unexpected new-style class rendering %r' % gdb_repr) AssertionError: Unexpected new-style class rendering 'op@entry=<Foo(an_int=42) at remote 0x7ffff7f70310>' ====================================================================== FAIL: test_selfreferential_dict (test.test_gdb.PrettyPrintTests) Ensure that a reference loop involving a dict doesn't lead proxyval ---------------------------------------------------------------------- Traceback (most recent call last): File "Python-2.7.9/Lib/test/test_gdb.py", line 507, in test_selfreferential_dict self.assertEqual(gdb_repr, "{'foo': {'bar': {...}}}") AssertionError: "op@entry={'foo': {'bar': {...}}}" != "{'foo': {'bar': {...}}}" ====================================================================== FAIL: test_selfreferential_list (test.test_gdb.PrettyPrintTests) Ensure that a reference loop involving a list doesn't lead proxyval ---------------------------------------------------------------------- Traceback (most recent call last): File "Python-2.7.9/Lib/test/test_gdb.py", line 494, in test_selfreferential_list self.assertEqual(gdb_repr, '[3, 4, 5, [...]]') AssertionError: 'op@entry=[3, 4, 5, [...]]' != '[3, 4, 5, [...]]' ====================================================================== FAIL: test_selfreferential_new_style_instance (test.test_gdb.PrettyPrintTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "Python-2.7.9/Lib/test/test_gdb.py", line 533, in test_selfreferential_new_style_instance (gdb_repr, gdb_output)) AssertionError: Unexpected gdb representation: 'op@entry=<Foo(an_attr=<...>) at remote 0x7ffff7f70310>' Breakpoint 1 at 0x45d9c0: PyObject_Print. (2 locations) [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Breakpoint 1, PyObject_Print (op=op@entry=<Foo(an_attr=<...>) at remote 0x7ffff7f70310>, fp=0x7ffff74b1400 <_IO_2_1_stdout_>, flags=flags@entry=1) at Objects/object.c:329 329 { #0 PyObject_Print (op=op@entry=<Foo(an_attr=<...>) at remote 0x7ffff7f70310>, fp=0x7ffff74b1400 <_IO_2_1_stdout_>, flags=flags@entry=1) at Objects/object.c:329 #1 0x000000000043a38c in file_PyObject_Print (f=0x7ffff7fc3150, f=0x7ffff7fc3150, flags=1, op=<Foo(an_attr=<...>) at remote 0x7ffff7f70310>) at Objects/fileobject.c:110 #2 PyFile_WriteObject (v=v@entry=<Foo(an_attr=<...>) at remote 0x7ffff7f70310>, f=f@entry=<file at remote 0x7ffff7fc3150>, flags=flags@entry=1) at Objects/fileobject.c:2579 #3 0x00000000004b3bbf in PyEval_EvalFrameEx (f=f@entry=Frame 0x7ffff7f23050, for file <string>, line 6, in <module> (), throwflag=throwflag@entry=0) at Python/ceval.c:1771 #4 0x00000000004b69f8 in PyEval_EvalCodeEx (co=co@entry=0x7ffff7fb4bb0, globals=globals@entry={'foo': <Foo(an_attr=<...>) at remote 0x7ffff7f70310>, '__builtins__': <module at remote 0x7ffff7fa1b08>, '__package__': None, '__name__': '__main__', 'Foo': <type at remote 0x849560>, '__doc__': None}, locals=locals@entry={'foo': <Foo(an_attr=<...>) at remote 0x7ffff7f70310>, '__builtins__': <module at remote 0x7ffff7fa1b08>, '__package__': None, '__name__': '__main__', 'Foo': <type at remote 0x849560>, '__doc__': None}, args=args@entry=0x0, argcount=argcount@entry=0, kws=kws@entry=0x0, kwcount=kwcount@entry=0, defs=defs@entry=0x0, defcount=defcount@entry=0, closure=closure@entry=0x0) at Python/ceval.c:3265 #5 0x00000000004b6b22 in PyEval_EvalCode (co=co@entry=0x7ffff7fb4bb0, globals=globals@entry={'foo': <Foo(an_attr=<...>) at remote 0x7ffff7f70310>, '__builtins__': <module at remote 0x7ffff7fa1b08>, '__package__': None, '__name__': '__main__', 'Foo': <type at remote 0x849560>, '__doc__': None}, locals=locals@entry={'foo': <Foo(an_attr=<...>) at remote 0x7ffff7f70310>, '__builtins__': <module at remote 0x7ffff7fa1b08>, '__package__': None, '__name__': '__main__', 'Foo': <type at remote 0x849560>, '__doc__': None}) at Python/ceval.c:667 #6 0x00000000004e6d62 in run_mod (arena=0x7f6710, flags=0x7fffffffe300, locals={'foo': <Foo(an_attr=<...>) at remote 0x7ffff7f70310>, '__builtins__': <module at remote 0x7ffff7fa1b08>, '__package__': None, '__name__': '__main__', 'Foo': <type at remote 0x849560>, '__doc__': None}, globals={'foo': <Foo(an_attr=<...>) at remote 0x7ffff7f70310>, '__builtins__': <module at remote 0x7ffff7fa1b08>, '__package__': None, '__name__': '__main__', 'Foo': <type at remote 0x849560>, '__doc__': None}, filename=0x549f56 "<string>", mod=0x835078) at Python/pythonrun.c:1371 #7 PyRun_StringFlags (flags=0x7fffffffe300, locals={'foo': <Foo(an_attr=<...>) at remote 0x7ffff7f70310>, '__builtins__': <module at remote 0x7ffff7fa1b08>, '__package__': None, '__name__': '__main__', 'Foo': <type at remote 0x849560>, '__doc__': None}, globals={'foo': <Foo(an_attr=<...>) at remote 0x7ffff7f70310>, '__builtins__': <module at remote 0x7ffff7fa1b08>, '__package__': None, '__name__': '__main__', 'Foo': <type at remote 0x849560>, '__doc__': None}, start=257, str=0x7ef010 "\nclass Foo(object):\n pass\nfoo = Foo()\nfoo.an_attr = foo\nprint foo\n") at Python/pythonrun.c:1334 #8 PyRun_SimpleStringFlags (command=command@entry=0x7ef010 "\nclass Foo(object):\n pass\nfoo = Foo()\nfoo.an_attr = foo\nprint foo\n", flags=flags@entry=0x7fffffffe300) at Python/pythonrun.c:975 #9 0x0000000000415548 in Py_Main (argc=<optimized out>, argv=<optimized out>) at Modules/main.c:584 #10 0x00007ffff7117af5 in __libc_start_main () from /lib64/libc.so.6 #11 0x0000000000414b91 in _start () ====================================================================== FAIL: test_selfreferential_old_style_instance (test.test_gdb.PrettyPrintTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "Python-2.7.9/Lib/test/test_gdb.py", line 520, in test_selfreferential_old_style_instance (gdb_repr, gdb_output)) AssertionError: Unexpected gdb representation: 'op@entry=<Foo(an_attr=<...>) at remote 0x7ffff7f966c8>' Breakpoint 1 at 0x45d9c0: PyObject_Print. (2 locations) [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Breakpoint 1, PyObject_Print (op=op@entry=<Foo(an_attr=<...>) at remote 0x7ffff7f966c8>, fp=0x7ffff74b1400 <_IO_2_1_stdout_>, flags=flags@entry=1) at Objects/object.c:329 329 { #0 PyObject_Print (op=op@entry=<Foo(an_attr=<...>) at remote 0x7ffff7f966c8>, fp=0x7ffff74b1400 <_IO_2_1_stdout_>, flags=flags@entry=1) at Objects/object.c:329 #1 0x000000000043a38c in file_PyObject_Print (f=0x7ffff7fc3150, f=0x7ffff7fc3150, flags=1, op=<Foo(an_attr=<...>) at remote 0x7ffff7f966c8>) at Objects/fileobject.c:110 #2 PyFile_WriteObject (v=v@entry=<Foo(an_attr=<...>) at remote 0x7ffff7f966c8>, f=f@entry=<file at remote 0x7ffff7fc3150>, flags=flags@entry=1) at Objects/fileobject.c:2579 #3 0x00000000004b3bbf in PyEval_EvalFrameEx (f=f@entry=Frame 0x7ffff7f23050, for file <string>, line 6, in <module> (), throwflag=throwflag@entry=0) at Python/ceval.c:1771 #4 0x00000000004b69f8 in PyEval_EvalCodeEx (co=co@entry=0x7ffff7fb4bb0, globals=globals@entry={'foo': <Foo(an_attr=<...>) at remote 0x7ffff7f966c8>, '__builtins__': <module at remote 0x7ffff7fa1b08>, '__package__': None, '__name__': '__main__', 'Foo': <classobj at remote 0x7ffff7f9a1f0>, '__doc__': None}, locals=locals@entry={'foo': <Foo(an_attr=<...>) at remote 0x7ffff7f966c8>, '__builtins__': <module at remote 0x7ffff7fa1b08>, '__package__': None, '__name__': '__main__', 'Foo': <classobj at remote 0x7ffff7f9a1f0>, '__doc__': None}, args=args@entry=0x0, argcount=argcount@entry=0, kws=kws@entry=0x0, kwcount=kwcount@entry=0, defs=defs@entry=0x0, defcount=defcount@entry=0, closure=closure@entry=0x0) at Python/ceval.c:3265 #5 0x00000000004b6b22 in PyEval_EvalCode (co=co@entry=0x7ffff7fb4bb0, globals=globals@entry={'foo': <Foo(an_attr=<...>) at remote 0x7ffff7f966c8>, '__builtins__': <module at remote 0x7ffff7fa1b08>, '__package__': None, '__name__': '__main__', 'Foo': <classobj at remote 0x7ffff7f9a1f0>, '__doc__': None}, locals=locals@entry={'foo': <Foo(an_attr=<...>) at remote 0x7ffff7f966c8>, '__builtins__': <module at remote 0x7ffff7fa1b08>, '__package__': None, '__name__': '__main__', 'Foo': <classobj at remote 0x7ffff7f9a1f0>, '__doc__': None}) at Python/ceval.c:667 #6 0x00000000004e6d62 in run_mod (arena=0x7f6710, flags=0x7fffffffe300, locals={'foo': <Foo(an_attr=<...>) at remote 0x7ffff7f966c8>, '__builtins__': <module at remote 0x7ffff7fa1b08>, '__package__': None, '__name__': '__main__', 'Foo': <classobj at remote 0x7ffff7f9a1f0>, '__doc__': None}, globals={'foo': <Foo(an_attr=<...>) at remote 0x7ffff7f966c8>, '__builtins__': <module at remote 0x7ffff7fa1b08>, '__package__': None, '__name__': '__main__', 'Foo': <classobj at remote 0x7ffff7f9a1f0>, '__doc__': None}, filename=0x549f56 "<string>", mod=0x835030) at Python/pythonrun.c:1371 #7 PyRun_StringFlags (flags=0x7fffffffe300, locals={'foo': <Foo(an_attr=<...>) at remote 0x7ffff7f966c8>, '__builtins__': <module at remote 0x7ffff7fa1b08>, '__package__': None, '__name__': '__main__', 'Foo': <classobj at remote 0x7ffff7f9a1f0>, '__doc__': None}, globals={'foo': <Foo(an_attr=<...>) at remote 0x7ffff7f966c8>, '__builtins__': <module at remote 0x7ffff7fa1b08>, '__package__': None, '__name__': '__main__', 'Foo': <classobj at remote 0x7ffff7f9a1f0>, '__doc__': None}, start=257, str=0x7ef010 "\nclass Foo:\n pass\nfoo = Foo()\nfoo.an_attr = foo\nprint foo\n") at Python/pythonrun.c:1334 #8 PyRun_SimpleStringFlags (command=command@entry=0x7ef010 "\nclass Foo:\n pass\nfoo = Foo()\nfoo.an_attr = foo\nprint foo\n", flags=flags@entry=0x7fffffffe300) at Python/pythonrun.c:975 #9 0x0000000000415548 in Py_Main (argc=<optimized out>, argv=<optimized out>) at Modules/main.c:584 #10 0x00007ffff7117af5 in __libc_start_main () from /lib64/libc.so.6 #11 0x0000000000414b91 in _start () ====================================================================== FAIL: test_sets (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of sets ---------------------------------------------------------------------- Traceback (most recent call last): File "Python-2.7.9/Lib/test/test_gdb.py", line 299, in test_sets self.assertGdbRepr(set()) File "Python-2.7.9/Lib/test/test_gdb.py", line 226, in assertGdbRepr self.assertEqual(gdb_repr, repr(val)) AssertionError: 'op@entry=set([])' != 'set([])' ====================================================================== FAIL: test_singletons (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of True, False and None ---------------------------------------------------------------------- Traceback (most recent call last): File "Python-2.7.9/Lib/test/test_gdb.py", line 245, in test_singletons self.assertGdbRepr(True) File "Python-2.7.9/Lib/test/test_gdb.py", line 226, in assertGdbRepr self.assertEqual(gdb_repr, repr(val)) AssertionError: 'op@entry=True' != 'True' ====================================================================== FAIL: test_strings (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of strings ---------------------------------------------------------------------- Traceback (most recent call last): File "Python-2.7.9/Lib/test/test_gdb.py", line 262, in test_strings self.assertGdbRepr('') File "Python-2.7.9/Lib/test/test_gdb.py", line 226, in assertGdbRepr self.assertEqual(gdb_repr, repr(val)) AssertionError: "op@entry=''" != "''" ====================================================================== FAIL: test_subclassing_list (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of an instance of a list subclass ---------------------------------------------------------------------- Traceback (most recent call last): File "Python-2.7.9/Lib/test/test_gdb.py", line 385, in test_subclassing_list msg='Unexpected new-style class rendering %r' % gdb_repr) AssertionError: Unexpected new-style class rendering 'op@entry=<Foo(an_int=42) at remote 0x7ffff7f804c8>' ====================================================================== FAIL: test_subclassing_tuple (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of an instance of a tuple subclass ---------------------------------------------------------------------- Traceback (most recent call last): File "Python-2.7.9/Lib/test/test_gdb.py", line 399, in test_subclassing_tuple msg='Unexpected new-style class rendering %r' % gdb_repr) AssertionError: Unexpected new-style class rendering 'op@entry=<Foo(an_int=42) at remote 0x7ffff7f8b530>' ====================================================================== FAIL: test_truncation (test.test_gdb.PrettyPrintTests) Verify that very long output is truncated ---------------------------------------------------------------------- Traceback (most recent call last): File "Python-2.7.9/Lib/test/test_gdb.py", line 553, in test_truncation "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, " AssertionError: 'op@entry=[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226...(truncated)' != '[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226...(truncated)' ====================================================================== FAIL: test_tuples (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of tuples ---------------------------------------------------------------------- Traceback (most recent call last): File "Python-2.7.9/Lib/test/test_gdb.py", line 269, in test_tuples self.assertGdbRepr(tuple()) File "Python-2.7.9/Lib/test/test_gdb.py", line 226, in assertGdbRepr self.assertEqual(gdb_repr, repr(val)) AssertionError: 'op@entry=()' != '()' ====================================================================== FAIL: test_unicode (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of unicode values ---------------------------------------------------------------------- Traceback (most recent call last): File "Python-2.7.9/Lib/test/test_gdb.py", line 276, in test_unicode self.assertGdbRepr(u'') File "Python-2.7.9/Lib/test/test_gdb.py", line 226, in assertGdbRepr self.assertEqual(gdb_repr, repr(val)) AssertionError: "op@entry=u''" != "u''" ---------------------------------------------------------------------- Ran 45 tests in 8.235s FAILED (failures=29, skipped=12) 1 test failed: test_gdb |
|||
msg237519 - (view) | Author: Mark Lawrence (BreamoreBoy) * | Date: 2015-03-08 08:28 | |
Frankly I've no idea who should be looking at this issue. |
|||
msg256067 - (view) | Author: Martin Panter (martin.panter) * | Date: 2015-12-07 20:52 | |
All the op@entry=. . . stuff suggests that this is the same problem as in Issue 17126; maybe a duplicate? |
|||
msg367361 - (view) | Author: Zachary Ware (zach.ware) * | Date: 2020-04-27 02:49 | |
As Python 2.7 has reached end-of-life, I'm closing this issue. As Martin mentioned, this looks likely to be a duplicate of bpo-17126 anyway. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:58:11 | admin | set | github: 67326 |
2020-04-27 02:49:31 | zach.ware | set | status: open -> closed resolution: out of date stage: resolved |
2020-04-27 02:49:24 | zach.ware | set | nosy:
+ zach.ware messages: + msg367361 |
2019-02-24 22:12:26 | BreamoreBoy | set | nosy:
- BreamoreBoy |
2015-12-07 20:52:00 | martin.panter | set | nosy:
+ martin.panter messages: + msg256067 |
2015-03-08 08:38:40 | SilentGhost | set | nosy:
+ vstinner, benjamin.peterson |
2015-03-08 08:28:33 | BreamoreBoy | set | type: behavior messages: + msg237519 nosy: + BreamoreBoy |
2014-12-30 23:49:10 | vlee | create |