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

Segmentation fault (core dumped) Found when we import "schedule" and "mysql.connector" togather. #81028

Closed
umasolution mannequin opened this issue May 8, 2019 · 2 comments
Labels
stdlib Python modules in the Lib dir

Comments

@umasolution
Copy link
Mannequin

umasolution mannequin commented May 8, 2019

BPO 36847
Nosy @tirkarthi, @umasolution
Files
  • poc.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 2019-05-08.03:10:12.195>
    created_at = <Date 2019-05-08.02:52:46.322>
    labels = ['library']
    title = 'Segmentation fault (core dumped) Found when we import "schedule" and "mysql.connector" togather.'
    updated_at = <Date 2019-05-08.03:10:12.194>
    user = 'https://github.com/umasolution'

    bugs.python.org fields:

    activity = <Date 2019-05-08.03:10:12.194>
    actor = 'jay.net.in'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-05-08.03:10:12.195>
    closer = 'jay.net.in'
    components = ['Library (Lib)']
    creation = <Date 2019-05-08.02:52:46.322>
    creator = 'jay.net.in'
    dependencies = []
    files = ['48312']
    hgrepos = []
    issue_num = 36847
    keywords = []
    message_count = 2.0
    messages = ['341848', '341849']
    nosy_count = 2.0
    nosy_names = ['xtreak', 'jay.net.in']
    pr_nums = []
    priority = 'normal'
    resolution = 'third party'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue36847'
    versions = ['Python 2.7']

    @umasolution
    Copy link
    Mannequin Author

    umasolution mannequin commented May 8, 2019

    When we import following two library, then coredump found.

    import sys
    #!/usr/bin/python
    
    import schedule
    import mysql.connector

    Python 2.7.12
    Ubuntu 16.04 x64

    Package Version
    ---------------------- -------
    adium-theme-ubuntu 0.3.4
    configparser 3.7.4
    mysql-connector-python 8.0.16
    MySQL-python 1.2.5
    pip 19.1.1
    protobuf 3.7.1
    py-mysql 1.0
    schedule 0.6.0
    selenium 3.141.0
    setuptools 20.7.0
    six 1.12.0
    unity-lens-photos 1.0
    urllib3 1.25.2
    wheel 0.29.0

    @umasolution umasolution mannequin added the stdlib Python modules in the Lib dir label May 8, 2019
    @tirkarthi
    Copy link
    Member

    Thanks for the report. schedule and mysql-connector are not part of standard library distributed with CPython. This tracker deals with issues in CPython. I would propose closing it as third party unless you can reproduce the segfault without third party code.

    @umasolution umasolution mannequin closed this as completed May 8, 2019
    @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
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant