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

multiprocessing generates a fatal error #54841

Closed
brianquinlan opened this issue Dec 5, 2010 · 9 comments
Closed

multiprocessing generates a fatal error #54841

brianquinlan opened this issue Dec 5, 2010 · 9 comments
Labels
stdlib Python modules in the Lib dir type-crash A hard crash of the interpreter, possibly with a core dump

Comments

@brianquinlan
Copy link
Contributor

BPO 10632
Nosy @brianquinlan, @orsenthil, @pitrou, @davidmalcolm, @sandrotosi
Superseder
  • bpo-10632: multiprocessing generates a fatal error
  • 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 2011-04-27.17:11:18.861>
    created_at = <Date 2010-12-05.18:53:49.961>
    labels = ['library', 'type-crash']
    title = 'multiprocessing generates a fatal error'
    updated_at = <Date 2011-04-27.17:16:34.274>
    user = 'https://github.com/brianquinlan'

    bugs.python.org fields:

    activity = <Date 2011-04-27.17:16:34.274>
    actor = 'pitrou'
    assignee = 'jnoller'
    closed = True
    closed_date = <Date 2011-04-27.17:11:18.861>
    closer = 'jnoller'
    components = ['Library (Lib)']
    creation = <Date 2010-12-05.18:53:49.961>
    creator = 'bquinlan'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 10632
    keywords = []
    message_count = 9.0
    messages = ['123433', '132410', '132418', '132429', '132634', '132681', '132696', '134590', '134597']
    nosy_count = 7.0
    nosy_names = ['bquinlan', 'orsenthil', 'pitrou', 'jnoller', 'dmalcolm', 'sandro.tosi', 'neologix']
    pr_nums = []
    priority = 'high'
    resolution = 'duplicate'
    stage = 'needs patch'
    status = 'closed'
    superseder = '10632'
    type = 'crash'
    url = 'https://bugs.python.org/issue10632'
    versions = ['Python 3.2']

    @brianquinlan
    Copy link
    Contributor Author

    multiprocessing generates fatal error "Invalid thread state for this thread" in PyThreadState_Swap

    This seems to happen on RHEL 5 and Centos 5.5

    Here is the minimal repro:
    >>> import multiprocessing.managers
    >>> mpp = multiprocessing.Pool(4)
    >>> sm = multiprocessing.managers.SyncManager()
    >>> sm.start()

    See http://bugs.python.org/issue10517 for more details

    @brianquinlan brianquinlan added stdlib Python modules in the Lib dir type-crash A hard crash of the interpreter, possibly with a core dump labels Dec 5, 2010
    @brianquinlan brianquinlan changed the title multiprocessing gene multiprocessing generates a fatal error Dec 5, 2010
    @sandrotosi
    Copy link
    Contributor

    Hi Brian,
    are you able to replicate it? I just build 3.2 and default (3.3) on a Debian unstable system and wasn't able to replicate it (with a busy loop like while date ; do ./python -c "import multiprocessing.managers ; mpp = multiprocessing.Pool(4); sm = multiprocessing.managers.SyncManager(); sm.start()" ; done )

    @brianquinlan
    Copy link
    Contributor Author

    No, I wasn't able to replicate.

    @sandrotosi
    Copy link
    Contributor

    can we close this issue then?

    @orsenthil
    Copy link
    Member

    I wonder if this is CentOS and RHEL specific. Unable to reproduce this on Ubuntu.

    @davidmalcolm
    Copy link
    Member

    This is indeed looking like it's RHEL-specific.

    I was about to close it out as a duplicate of bpo-10517, but I'm wondering why Brian chose to open it as a separate bug.

    @brianquinlan
    Copy link
    Contributor Author

    Filing a new bug might have been a mistake. Once the investigation in bpo-10517 isolated the failure as being in a different module, I thought it best to file a new bug with a minimal repro case.

    Fill free to cleanup.

    @neologix
    Copy link
    Mannequin

    neologix mannequin commented Apr 27, 2011

    It's a duplicate of http://bugs.python.org/issue10517

    @jnoller
    Copy link
    Mannequin

    jnoller mannequin commented Apr 27, 2011

    Dupe of bpo-10517

    @jnoller jnoller mannequin closed this as completed Apr 27, 2011
    @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-crash A hard crash of the interpreter, possibly with a core dump
    Projects
    None yet
    Development

    No branches or pull requests

    4 participants