Issue 8337: test_gdb fails on Sparc Ubuntu (original) (raw)
test_gdb fails on Sparc-Ubuntu, e.g.
test test_gdb failed -- Traceback (most recent call last): File "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/Lib/test/test_gdb.py", line 372, in test_corrupt_tp_name 'set op->ob_type->tp_name=0xDEADBEEF') File "/home/pybot/buildarea/trunk.klose-ubuntu-sparc/build/Lib/test/test_gdb.py", line 341, in assertSane (gdb_repr, gdb_output)) AssertionError: Unexpected gdb representation: '42' Breakpoint 1 at 0x876a8: file Objects/object.c, line 330. [Thread debugging using libthread_db enabled]
Breakpoint 1, PyObject_Print (op=42, fp=0x70300d38, flags=1) at Objects/object.c:330 330 return internal_print(op, fp, flags, 0); #0 PyObject_Print (op=42, fp=0x70300d38, flags=1) at Objects/object.c:330 #1 0x000492f8 in file_PyObject_Print (op=42, f=0x70336098, flags=1) at Objects/fileobject.c:110 #2 0x00050774 in PyFile_WriteObject (v=42, f=<file at remote 0x70336098>, flags=1) at Objects/fileobject.c:2470 #3 0x00120d98 in PyEval_EvalFrameEx (f= Frame 0x2ab788, for file , line 1, in (), throwflag=0) at Python/ceval.c:1769 #4 0x00129658 in PyEval_EvalCodeEx (co=0x70353c28, globals= {'builtins': <module at remote 0x7032d508>, 'name': 'main', 'doc': None, 'package': None}, locals= {'builtins': <module at remote 0x7032d508>, 'name': 'main', 'doc': None, 'package': None}, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:3253 #5 0x0011b99c in PyEval_EvalCode (co=0x70353c28, globals= {'builtins': <module at remote 0x7032d508>, 'name': 'main', 'doc': None, 'package': None}, locals= {'builtins': <module at remote 0x7032d508>, 'name': 'main', 'doc': None, 'package': None}) at Python/ceval.c:666 #6 0x0016c3c8 in run_mod (mod=0x2b1c38, filename=0x23d850 "", globals= {'builtins': <module at remote 0x7032d508>, 'name': 'main', 'doc': None, 'package': None}, locals= {'builtins': <module at remote 0x7032d508>, 'name': 'main', 'doc': None, 'package': None}, flags=0xfff8d664, arena=0x2b69d0) at Python/pythonrun.c:1340 #7 0x0016c240 in PyRun_StringFlags (str=0x28c008 "print 42\n", start=257, globals= {'builtins': <module at remote 0x7032d508>, 'name': 'main', 'doc': None, 'package': None}, locals= {'builtins': <module at remote 0x7032d508>, 'name': 'main', 'doc': None, 'package': None}, flags=0xfff8d664) at Python/pythonrun.c:1303 #8 0x0016a494 in PyRun_SimpleStringFlags (command=0x28c008 "print 42\n", flags=0xfff8d664) at Python/pythonrun.c:962 #9 0x0002190c in Py_Main (argc=4, argv=0xfff8d7e4) at Modules/main.c:536 #10 0x0001fe88 in main (argc=4, argv=0xfff8d7e4) at ./Modules/python.c:23
Because of these ongoing failures, I'm completely disabling the gdb tests for now.