[issue8337] test_gdb fails on Sparc Ubuntu

Martin v. Löwis report at bugs.python.org
Wed Apr 7 21:10:35 CEST 2010


New submission from Martin v. Löwis <martin at v.loewis.de>:

test_gdb fails on Sparc-Ubuntu, e.g.

http://www.python.org/dev/buildbot/trunk/builders/sparc%20Ubuntu%20trunk/builds/45/steps/test/logs/stdio

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 <string>, line 1, in <module> (), 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 "<string>", 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.

----------
assignee: dmalcolm
keywords: buildbot
messages: 102558
nosy: dmalcolm, loewis
severity: normal
status: open
title: test_gdb fails on Sparc Ubuntu
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8337>
_______________________________________


More information about the Python-bugs-list mailing list