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.

Author Michael.Blume
Recipients Michael.Blume
Date 2010-07-05.07:27:39
SpamBayes Score 0.0002808983
Marked as misclassified No
Message-id <1278314862.38.0.121904956787.issue9163@psf.upfronthosting.co.za>
In-reply-to
Content
After building Python 2.7 on two separate X68 Ubuntu boxes, test_gdb failed both times.

./configure
make
make test

output follows:


test_gdb
test test_gdb failed -- Traceback (most recent call last):
  File "/home/mike/workspace/Python-2.7/Lib/test/test_gdb.py", line 637, in test_basic_command
    ''')
  File "/home/mike/workspace/Python-2.7/Lib/test/test_gdb.py", line 163, in assertMultilineMatches
    msg='%r did not match %r' % (actual, pattern))
AssertionError: 'Breakpoint 1 at 0x80957d6: file Objects/object.c, line 329.\n[Thread debugging using libthread_db enabled]\n\nBreakpoint 1, PyObject_Print (op=42, fp=0x401cf4e0, flags=1) at Objects/object.c:329\n329\t{\n#3 Frame 0x81e322c, for file /home/mike/workspace/Python-2.7/Lib/test/gdb_sample.py, line 10, in baz (args=(1, 2, 3))\n    print(42)\n#7 (unable to read python frame information)\n#10 Frame 0x81d5544, for file /home/mike/workspace/Python-2.7/Lib/test/gdb_sample.py, line 7, in bar (a=1, b=2, c=3)\n    baz(a, b, c)\n#13 Frame 0x81d53dc, for file /home/mike/workspace/Python-2.7/Lib/test/gdb_sample.py, line 4, in foo (a=1, b=2, c=3)\n    bar(a, b, c)\n' did not match '^.*\n#[0-9]+ Frame 0x[0-9a-f]+, for file .*gdb_sample.py, line 7, in bar \\(a=1, b=2, c=3\\)\n    baz\\(a, b, c\\)\n#[0-9]+ Frame 0x[0-9a-f]+, for file .*gdb_sample.py, line 4, in foo \\(a=1, b=2, c=3\\)\n    bar\\(a, b, c\\)\n#[0-9]+ Frame 0x[0-9a-f]+, for file .*gdb_sample.py, line 12, in <module> \\(\\)\nfoo\\(1, 2, 3\\)\n'

machines have the following packages installed, with the following versions:
gdb 7.1-1ubuntu2
libgdb-dev 7.1-1ubuntu2
History
Date User Action Args
2010-07-05 07:27:42Michael.Blumesetrecipients: + Michael.Blume
2010-07-05 07:27:42Michael.Blumesetmessageid: <1278314862.38.0.121904956787.issue9163@psf.upfronthosting.co.za>
2010-07-05 07:27:41Michael.Blumelinkissue9163 messages
2010-07-05 07:27:39Michael.Blumecreate