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 Bryce Miller
Recipients Bryce Miller
Date 2016-01-02.05:50:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
test_gdb fails for me on OSX

Steps I did to duplicate: 
Checked out fresh '2.7' branch from
From the new cypthon dir ran: 
make test
./Lib/test/ -v test_gdb

Attached the full verbose output. 

I am looking at Issue23137 and the output messages look different than mine, so I'm posting this as a separate issue. Perhaps it is duplicate. 

34 tracebacks included in attachment, but below is a sample for reference: 

FAIL: test_NULL_instance_dict (test.test_gdb.PrettyPrintTests)
Ensure that a PyInstanceObject with with a NULL in_dict is handled
Traceback (most recent call last):
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/", line 521, in test_NULL_instance_dict
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/", line 459, in assertSane
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/", line 239, in get_gdb_repr
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/", line 224, in get_stack_trace
    self.assertEqual(unexpected_errlines, [])
AssertionError: Lists differ: ['Unable to find Mach task por... != []

First list contains 4 additional elements.
First extra element 0:
Unable to find Mach task port for process-id 53220: (os/kern) failure (0x5).
Date User Action Args
2016-01-02 05:50:07Bryce Millersetrecipients: + Bryce Miller
2016-01-02 05:50:06Bryce Millersetmessageid: <>
2016-01-02 05:50:06Bryce Millerlinkissue25992 messages
2016-01-02 05:50:05Bryce Millercreate