Skip to content

tcpsock bug #750

@petar

Description

@petar
Before filing a bug, please check whether it has been fixed since
the latest release: run "hg pull -u" and retry what you did to
reproduce the problem.  Thanks.

What steps will reproduce the problem?

net/tcpsock.go, line 201

fd, e := internetSocket(...)

returns fd = nil, e = nil (which then causes a segfault, because fd=nil)

when invoked withing a call to net.Dial("tcp","",":60000")
and there is no-one listening on "localhost:60000"


What is your $GOOS?  $GOARCH?
darwin, amd64

Which revision are you using?  (hg identify)
76161e97acf3+ tip

Please provide any additional information below.

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