Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pdb crashes when jumping over "with" statement #67220

Closed
DSP mannequin opened this issue Dec 11, 2014 · 4 comments
Closed

pdb crashes when jumping over "with" statement #67220

DSP mannequin opened this issue Dec 11, 2014 · 4 comments
Labels
stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error

Comments

@DSP
Copy link
Mannequin

DSP mannequin commented Dec 11, 2014

BPO 23031
Nosy @ned-deily, @xdegaye
Files
  • pdb_segfault.py
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2014-12-13.11:08:31.211>
    created_at = <Date 2014-12-11.15:59:56.184>
    labels = ['type-bug', 'library']
    title = 'pdb crashes when jumping over "with" statement'
    updated_at = <Date 2014-12-13.11:08:31.210>
    user = 'https://bugs.python.org/DSP'

    bugs.python.org fields:

    activity = <Date 2014-12-13.11:08:31.210>
    actor = 'DSP'
    assignee = 'none'
    closed = True
    closed_date = <Date 2014-12-13.11:08:31.211>
    closer = 'DSP'
    components = ['Library (Lib)']
    creation = <Date 2014-12-11.15:59:56.184>
    creator = 'DSP'
    dependencies = []
    files = ['37416']
    hgrepos = []
    issue_num = 23031
    keywords = []
    message_count = 4.0
    messages = ['232481', '232498', '232501', '232602']
    nosy_count = 3.0
    nosy_names = ['ned.deily', 'xdegaye', 'DSP']
    pr_nums = []
    priority = 'normal'
    resolution = 'out of date'
    stage = None
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue23031'
    versions = ['Python 2.7']

    @DSP
    Copy link
    Mannequin Author

    DSP mannequin commented Dec 11, 2014

    -> print(1)
    (Pdb) jump 6
    Segmentation fault

    @DSP DSP mannequin added stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error labels Dec 11, 2014
    @ned-deily
    Copy link
    Member

    Sorry, I wasn't able to reproduce this. What platform are you running on and what is the output from the following?

    python2.7 -c 'import sys;print(sys.version)'

    @DSP
    Copy link
    Mannequin Author

    DSP mannequin commented Dec 11, 2014

    Sorry, it happens in:
    2.7.3 |EPD 7.3-2 (64-bit)| (default, Apr 11 2012, 17:52:16) \n[GCC 4.1.2 20080704 (Red Hat 4.1.2-44)]

    Works as expected in 2.7.8 and 3.3.2
    2.7.8 (default, Jun 30 2014, 16:03:49) [MSC v.1500 32 bit (Intel)]
    3.3.2 (v3.3.2:d047928ae3f6, May 16 2013, 00:03:43) [MSC v.1600 32 bit (Intel)]

    @xdegaye
    Copy link
    Mannequin

    xdegaye mannequin commented Dec 13, 2014

    This has been fixed by bpo-14612 for version 2.7.4.

    @DSP DSP mannequin closed this as completed Dec 13, 2014
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant