Skip to content

Intermittent error when pushing #462

Closed

Description

@technoweenie

https://gist.github.com/technoweenie/182d3197b22f15942a22

Fun (io?) error: [signal 0xb code=0x1 addr=0x20 pc=0x947eb]

Waiting on the Git LFS version...

Activity

  1. changed the title [-]Intermittent null pointer when pushing[/-] [+]Intermittent error when pushing[/+] on Jul 6, 2015
  2. rubyist commented on Jul 6, 2015

    @rubyist
    Contributor

    I'm thinking the problem is here. We're reading from res.Body whether doHttpRequest() returns an error or not. There's probably a scenario where the HTTP request fails, leaving the response body nil.

  3. technoweenie commented on Jul 6, 2015

    @technoweenie
    ContributorAuthor

    Oh, good call. So I think I started the pattern of reading the extra request body to ioutil.Discard so that the keep-alive connection can get released back to the pool. But if there's an error, it gets released anyways.

  4. added a commit that references this issue on Jul 8, 2015
    58154c3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions