Skip to content

net/http: data race and nil pointer deref #7595

@augustoroman

Description

@augustoroman
I'm getting a reliable crash from a nil pointer dereference deep in the net/http
package, immediately after some data races.  This occurs for a particular, large request
(112MB) that crashes the backend server and subsequently kills the proxy with the nil
pointer deference.

Attached are race logs and panic stack traces from go 1.2 and 1.2.1.  The core proxy
code is also attached.

Attachments:

  1. go1.2 race and stack trace.txt (35107 bytes)
  2. go1.2.1 race and stack trace.txt (36204 bytes)
  3. proxy.go (6067 bytes)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions