Skip to content

SIGSEGV in runtime.gostartcallfn #6055

Closed
@gopherbot

Description

@gopherbot

by arnehormann:

What steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.
1. http://play.golang.org/p/TBjBo7ntJO

What do you see instead?

Stacktrace at
http://pastebin.com/79L9TjYG

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

6g

Which operating system are you using?

OS x 10.8.4

Which version are you using?  (run 'go version')

go version devel +50c9f3544eed Tue Aug 06 21:49:03 2013 +1000 darwin/amd64

Please provide any additional information below.

I was playing around with the recent Go/Scala benchmark at
http://eng.42go.com/scala-vs-go-tcp-benchmark/
When I commented the runtime.GOMAXPROCS(4), started the server and then started the
client, I got "fatal error: checkdead: runnable g". I didn't get it every
time, but 3 out of 5 times. I tried to build a reproducer and changed more than just the
two invocations of GOMAXPROCS. Now its a SIGSEGV.

The code is really bad, but it probably still shouldn't crash the runtime this way.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions