Skip to content

signal handler failure in secondary proc on OS X / 386 / Snow Leopard #510

@hoisie

Description

@hoisie
What steps will reproduce the problem?
1. Run the code at http://gopaste.org/view/J3lpo
2. The worker goroutine fails and terminates silently

What is the expected output? What do you see instead?
It should crash and show a stack trace. Instead it runs fine. If the crash
happens on a main goroutine, the program runs great. 

What is your $GOOS?  $GOARCH?
darwin/386

Which revision are you using?  (hg identify)
e73e37a4a6da tip

Please provide any additional information below.

I'm not sure if there's a runtime option to enable stack trace dumps when
goroutine crashes. Right now I'm writing a work queue system which runs on
many goroutines, and debugging is annoying because of the silent fails.

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