Skip to content

Segmentation Fault when accessing a particular commit author #1205

Closed
@jfkelley

Description

@jfkelley

I happened across a particular commit (LJF2402901363/javaWeb-bookManagementSystem@3e9d6b6) where accessing the author causes a crash:

import pygit2
repo = pygit2.clone_repository('https://github.com/LJF2402901363/javaWeb-bookManagementSystem.git', '.')
commit = repo.get('3e9d6b6f06d5abc25dd2a5b1b0f9fae10b09c20d')
commit.author

That code exits with "Segmentation Fault".
The encoding/decoding going on is beyond my understanding, but it would be nice if whatever is special with that commit just raised a regular recoverable error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions