Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Bug with oid implicit cast inside C++ #501

Copy link
Copy link
@tbranyen

Description

@tbranyen
Issue body actions

Found a segfault when using this.commit.sha() inside a Note.remove test. I switched over to this.commit.id() instead and the segfault disappeared. The error I received was:

*** Error in `/usr/bin/node': free(): invalid size: 0x00007fffdbe986c0 ***
======= Backtrace: =========
/usr/lib/libc.so.6(+0x7198e)[0x7f802fc2198e]
/usr/lib/libc.so.6(+0x76dee)[0x7f802fc26dee]
/usr/lib/libc.so.6(+0x775cb)[0x7f802fc275cb]
/home/tim/git/nodegit/nodegit/build/Release/nodegit.node(_ZN7GitNote6RemoveERKN2v820FunctionCallbackInfoINS0_5ValueEEE+0xb42)[0x7f802ccde772]
/usr/bin/node(_ZN2v88internal25FunctionCallbackArguments4CallEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEE+0xa7)[0x5f8ab7]
/usr/bin/node[0x61590c]
[0x22e51d20740e]
Reactions are currently unavailable

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.