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 sam.kimbrel
Recipients ronaldoussoren, sam.kimbrel
Date 2014-04-16.18:50:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1397674257.45.0.239061101467.issue21263@psf.upfronthosting.co.za>
In-reply-to
Content
test_gdb fails under OS X 10.9.2 and gdb 7.6.1 (built with homebrew on Apple LLVM version 5.1 (clang-503.0.40)):

FAIL: test_pycfunction (test.test_gdb.PyBtTests)
Verify that "py-bt" displays invocations of PyCFunction instances
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/skimbrel/cpython/Lib/test/test_gdb.py", line 789, in test_pycfunction
    cmds_after_breakpoint=['bt', 'py-bt'],
  File "/Users/skimbrel/cpython/Lib/test/test_gdb.py", line 182, in get_stack_trace
    self.assertEqual(unexpected_errlines, [])
AssertionError: Lists differ: ['No stack.', "Python Exception <class 'gd[109 chars]ed.'] != []

First list contains 3 additional elements.
First extra element 0:
No stack.

+ []
- ['No stack.',
-  "Python Exception <class 'gdb.error'> No frame is currently selected.: ",
-  'Error occurred in Python command: No frame is currently selected.']

======================================================================
FAIL: test_threads (test.test_gdb.PyBtTests)
Verify that "py-bt" indicates threads that are waiting for the GIL
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/skimbrel/cpython/Lib/test/test_gdb.py", line 736, in test_threads
    self.assertIn('Waiting for the GIL', gdb_output)
AssertionError: 'Waiting for the GIL' not found in 'Breakpoint 1 at 0x1001c78f0: file Python/bltinmodule.c, line 991.\n[New Thread 0x170b of process 41733]\n[New Thread 0x1803 of process 41733]\n[New Thread 0x1903 of process 41733]\n[New Thread 0x1a03 of process 41733]\n\nBreakpoint 1, builtin_id (self=<module at remote 0x100603358>, v=42) at Python/bltinmodule.c:991\n991\t    return PyLong_FromVoidPtr(v);\n\nThread 5 (Thread 0x1a03 of process 41733):\nTraceback (most recent call first):\n\nThread 4 (Thread 0x1903 of process 41733):\nTraceback (most recent call first):\n\nThread 3 (Thread 0x1803 of process 41733):\nTraceback (most recent call first):\n\nThread 2 (Thread 0x170b of process 41733):\nTraceback (most recent call first):\n\nThread 1 (Thread 0x1503 of process 41733):\nTraceback (most recent call first):\n  File "<string>", line 18, in <module>\n'

----------------------------------------------------------------------
Ran 45 tests in 19.277s

FAILED (failures=2)
History
Date User Action Args
2014-04-16 18:50:57sam.kimbrelsetrecipients: + sam.kimbrel, ronaldoussoren
2014-04-16 18:50:57sam.kimbrelsetmessageid: <1397674257.45.0.239061101467.issue21263@psf.upfronthosting.co.za>
2014-04-16 18:50:57sam.kimbrellinkissue21263 messages
2014-04-16 18:50:56sam.kimbrelcreate