Title: RevWalk malloc error · Issue #239 · nodegit/nodegit · GitHub
Open Graph Title: RevWalk malloc error · Issue #239 · nodegit/nodegit
X Title: RevWalk malloc error · Issue #239 · nodegit/nodegit
Description: In the lastest version of nodegit I run into malloc errors when walking the commit graph. How to reproduce Download the script at https://gist.github.com/probablycorey/438c27d57d5e287ab8bb Install the node_module f616833 so the script ca...
Open Graph Description: In the lastest version of nodegit I run into malloc errors when walking the commit graph. How to reproduce Download the script at https://gist.github.com/probablycorey/438c27d57d5e287ab8bb Install ...
X Description: In the lastest version of nodegit I run into malloc errors when walking the commit graph. How to reproduce Download the script at https://gist.github.com/probablycorey/438c27d57d5e287ab8bb Install ...
Opengraph URL: https://github.com/nodegit/nodegit/issues/239
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"RevWalk malloc error","articleBody":"In the [lastest](f61683310d131509da08709ff53f37ba86ec5e3a) version of nodegit I run into malloc errors when walking the commit graph.\n# How to reproduce\n1. Download the script at https://gist.github.com/probablycorey/438c27d57d5e287ab8bb\n2. Install the node_module nodegit@f61683310d131509da08709ff53f37ba86ec5e3a so the script can access it.\n3. Run this command (I run it on the nodegit repo):\n\n`node nodegit-bug.js /Users/corey/code/nodegit`\n1. Notice this output:\n\n```\n...\nTim Branyen\ntim@tabdeveloper.com\nTim Branyen\nnode(38239,0x7fff78ff8310) malloc: *** error for object 0x100d008b0: pointer being freed was not allocated\n*** set a breakpoint in malloc_error_break to debug\n[1] 38239 abort node nodegit-bug.js /Users/corey/code/nodegit\n```\n# Quirks\n\nIf I remove one of the `console.log` lines the script doesn't fail. If also fails if I `console.log` parts of the commit like `commit.data()` or `commit.message()`\n","author":{"url":"https://github.com/probablycorey","@type":"Person","name":"probablycorey"},"datePublished":"2014-10-13T21:47:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/239/nodegit/issues/239"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e43e34fe-77a2-8355-e9cb-93d9d0841aa1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E580:2E960D:2606101:33344AE:6A5D8DE0 |
| html-safe-nonce | 72906ce2370381c37554ed97640173dba3fcd7d9c2602b522cccac60b5425500 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTgwOjJFOTYwRDoyNjA2MTAxOjMzMzQ0QUU6NkE1RDhERTAiLCJ2aXNpdG9yX2lkIjoiMzY4NDE0Mzg0Nzg4MDYyNTYzMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c4b23d0960019e6fc53720a9ebc577f7ae56e57fb893d3114b86f3f82eee15ed |
| hovercard-subject-tag | issue:45689715 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodegit/nodegit/239/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7311ae5414c50807b51df1d80e104013a544e7a78a949cdf8f8b69f27f60e821/nodegit/nodegit/issues/239 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7311ae5414c50807b51df1d80e104013a544e7a78a949cdf8f8b69f27f60e821/nodegit/nodegit/issues/239 |
| og:image:alt | In the lastest version of nodegit I run into malloc errors when walking the commit graph. How to reproduce Download the script at https://gist.github.com/probablycorey/438c27d57d5e287ab8bb Install ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | probablycorey |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/nodegit/nodegit git https://github.com/nodegit/nodegit.git |
| octolytics-dimension-user_id | 657068 |
| octolytics-dimension-user_login | nodegit |
| octolytics-dimension-repository_id | 1383170 |
| octolytics-dimension-repository_nwo | nodegit/nodegit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1383170 |
| octolytics-dimension-repository_network_root_nwo | nodegit/nodegit |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width