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 when installed
Type: behavior Stage: patch review
Components: Tests Versions: Python 3.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: dmalcolm Nosy List: Mark.Shannon, dmalcolm, methane, pitrou, python-dev, vinay.sajip
Priority: low Keywords: patch

Created on 2011-07-30 15:06 by pitrou, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
test_gdb.log pitrou, 2011-07-30 15:06
test-gdb-patch.diff vinay.sajip, 2012-01-04 16:53 Patch to skip test_gdb if it's not run from a source build.
Messages (7)
msg141443 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2011-07-30 15:06
test_gdb doesn't work from an installed Python 3.3. I suppose gdb fails finding the plugin file for the Python executable, although it manifests in quite mysterious ways. The log is rather large, I'm attaching it just in case.
msg150617 - (view) Author: Vinay Sajip (vinay.sajip) * (Python committer) Date: 2012-01-04 16:53
Pending the real fix, I've attached a patch to skip the test if it's not a source build.
msg160074 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012-05-06 11:03
New changeset 84bbb8d2d237 by Vinay Sajip in branch 'default':
#12660: Skip test_gdb when run from an installed Python.
http://hg.python.org/cpython/rev/84bbb8d2d237
msg160101 - (view) Author: Mark Shannon (Mark.Shannon) * (Python committer) Date: 2012-05-06 17:50
python-gdb.py was modified for the new dictionary implementation.

Can you check that your 3.3 installation isn't using an earlier version of python-gdb.py?
msg221839 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2014-06-29 13:15
The changeset referenced in msg160074 is still in default, can someone pick this up please.
msg273577 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2016-08-24 16:30
New changeset ef13efb89afe by Zachary Ware in branch '2.7':
Issue #12660: Backport 84bbb8d2d237
https://hg.python.org/cpython/rev/ef13efb89afe
msg278470 - (view) Author: Inada Naoki (methane) * (Python committer) Date: 2016-10-11 11:31
Is this issue OK to close?
History
Date User Action Args
2022-04-11 14:57:20adminsetgithub: 56869
2016-12-07 09:15:02methanesetstatus: open -> closed
resolution: fixed
2016-10-13 19:25:59BreamoreBoysetnosy: - BreamoreBoy
2016-10-11 11:31:47methanesetnosy: + methane
messages: + msg278470
2016-08-24 16:30:07python-devsetmessages: + msg273577
2014-06-29 13:15:58BreamoreBoysetnosy: + BreamoreBoy
messages: + msg221839
2012-05-06 17:50:08Mark.Shannonsetnosy: + Mark.Shannon
messages: + msg160101
2012-05-06 11:03:17python-devsetnosy: + python-dev
messages: + msg160074
2012-01-04 16:53:45vinay.sajipsetfiles: + test-gdb-patch.diff

nosy: + vinay.sajip
messages: + msg150617

keywords: + patch
stage: needs patch -> patch review
2011-07-30 15:06:48pitroucreate