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.

classification
Title: test_gdb fails on Sparc Ubuntu
Type: Stage:
Components: Versions: Python 2.7
process
Status: closed Resolution: duplicate
Dependencies: Superseder: Failures seen in test_gdb on buildbots
View: 8330
Assigned To: dmalcolm Nosy List: dmalcolm, ezio.melotti, loewis
Priority: normal Keywords: buildbot

Created on 2010-04-07 19:10 by loewis, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (5)
msg102558 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2010-04-07 19:10
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.
msg102559 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2010-04-07 19:11
Test disabled in r79896.
msg102560 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2010-04-07 19:14
See also #8330, same failure, different buildbot.
Unless they need to be tracked separately I'll close this as duplicate
msg102562 - (view) Author: Dave Malcolm (dmalcolm) (Python committer) Date: 2010-04-07 19:35
( #8330 has a patch for a DeprecationWarning )
msg102572 - (view) Author: Dave Malcolm (dmalcolm) (Python committer) Date: 2010-04-07 22:28
( #8330 has a patch which may fix this )
History
Date User Action Args
2022-04-11 14:56:59adminsetgithub: 52584
2010-04-07 22:28:05dmalcolmsetmessages: + msg102572
2010-04-07 19:35:54dmalcolmsetmessages: + msg102562
2010-04-07 19:28:40loewissetstatus: open -> closed
resolution: duplicate
superseder: Failures seen in test_gdb on buildbots
2010-04-07 19:14:49ezio.melottisetnosy: + ezio.melotti
messages: + msg102560
2010-04-07 19:11:58loewissetmessages: + msg102559
2010-04-07 19:10:33loewiscreate