Skip to content

runtime: freebsd/amd64 runtime crashes with heavy threading #7307

@gopherbot

Description

@gopherbot

by thomas.e.zander:

What steps will reproduce the problem?
1. See http://play.golang.org/p/XMTOGXKuIR
2. Execute the program locally (you need /bin/ls and a file system tree)
3. Program crashes in >90% of all cases
4. If you hit one of the cases in which it did not crash, jump to 3.

What is the expected output?
No output, just exiting with return code 0 at some point.

What do you see instead?
All kinds of runtime panics, stack traces etc, for instance the attached one.


Which compiler are you using (5g, 6g, 8g, gccgo)?
6g


Which operating system are you using?
FreeBSD-10 amd64

Which version are you using?  (run 'go version')
go version go1.2 freebsd/amd64

Please provide any additional information below.
Problem seems to be triggered by setting runtime.GOMAXPROCS. Commenting out the line in
given example program makes it run stable.

Attachments:

  1. errlog.txt (23862 bytes)

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeSuggestedIssues that may be good for new contributors looking for work to do.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions