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 with unoconv #64955

Closed
Sworddragon mannequin opened this issue Feb 24, 2014 · 5 comments
Closed

Segmentation fault with unoconv #64955

Sworddragon mannequin opened this issue Feb 24, 2014 · 5 comments
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs) type-crash A hard crash of the interpreter, possibly with a core dump

Comments

@Sworddragon
Copy link
Mannequin

Sworddragon mannequin commented Feb 24, 2014

BPO 20756
Nosy @ned-deily
Files
  • backtrace.txt: GDB backtrace
  • test.odt: LibreOffice test document
  • 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-06-21.19:27:09.769>
    created_at = <Date 2014-02-24.02:13:53.417>
    labels = ['interpreter-core', 'invalid', 'type-crash']
    title = 'Segmentation fault with unoconv'
    updated_at = <Date 2014-06-21.19:32:54.792>
    user = 'https://bugs.python.org/Sworddragon'

    bugs.python.org fields:

    activity = <Date 2014-06-21.19:32:54.792>
    actor = 'ned.deily'
    assignee = 'none'
    closed = True
    closed_date = <Date 2014-06-21.19:27:09.769>
    closer = 'Sworddragon'
    components = ['Interpreter Core']
    creation = <Date 2014-02-24.02:13:53.417>
    creator = 'Sworddragon'
    dependencies = []
    files = ['34206', '34207']
    hgrepos = []
    issue_num = 20756
    keywords = []
    message_count = 5.0
    messages = ['212052', '212054', '212055', '212056', '221192']
    nosy_count = 2.0
    nosy_names = ['ned.deily', 'Sworddragon']
    pr_nums = []
    priority = 'normal'
    resolution = 'not a bug'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue20756'
    versions = ['Python 3.4']

    @Sworddragon
    Copy link
    Mannequin Author

    Sworddragon mannequin commented Feb 24, 2014

    With Python 3.4.0 RC1 on using the command "unoconv -o test.pdf test.odt" I'm getting a segmentation fault. In the attachments are the used LibreOffice document and a GDB backtrace. The used version of unoconv was 0.6-6 from Ubuntu 14.04 dev and can be currently found here: http://packages.ubuntu.com/de/source/trusty/unoconv

    @Sworddragon Sworddragon mannequin added interpreter-core (Objects, Python, Grammar, and Parser dirs) type-crash A hard crash of the interpreter, possibly with a core dump labels Feb 24, 2014
    @ned-deily
    Copy link
    Member

    I don't know anything about these programs but it appears libpyuno.so is linked with a specific version of Python 3. Was it rebuilt linked against Python 3.4, instead of Python 3.3?

    http://packages.ubuntu.com/en/trusty/python3-uno

    @Sworddragon
    Copy link
    Mannequin Author

    Sworddragon mannequin commented Feb 24, 2014

    Was it rebuilt linked against Python 3.4, instead of Python 3.3?

    I don't know. Is ../Python/pystate.c that throws the error not a part of Python?

    @ned-deily
    Copy link
    Member

    The point is that you may be inadvertently mixing a shared library (libpyuno.so) linked to a Python 3.3 interpreter with a base Python 3.4 interpreter. Unless python3-uno is very careful to use the stable ABI there is no guarantee of binary level compatibility between Python versions (3.3 vs 3.4):

    http://docs.python.org/dev/c-api/stable.html

    @Sworddragon
    Copy link
    Mannequin Author

    Sworddragon mannequin commented Jun 21, 2014

    I have retested this with the correct linked version and it is working fine now so I'm closing this ticket.

    @Sworddragon Sworddragon mannequin closed this as completed Jun 21, 2014
    @Sworddragon Sworddragon mannequin added the invalid label Jun 21, 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
    interpreter-core (Objects, Python, Grammar, and Parser dirs) type-crash A hard crash of the interpreter, possibly with a core dump
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant