Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

playground: Play gets "Error communicating with remote server" running a very simple function #5744

Closed
gopherbot opened this issue Jun 20, 2013 · 3 comments

Comments

@gopherbot
Copy link
Contributor

by Jens.Alfke:

I have a very short program that seems to cause something to break in the
play.golang.org runner, causing the web UI to output "Error communicating with
remote server" instead of the expected output.

What steps will reproduce the problem?
1. Run http://play.golang.org/p/DGwJxtT2BR

What is the expected output?
It should output the line "EXIT" followed by a panic report (due to the nil
pointer access.)

What do you see instead?
"Error communicating with remote server."

Notes:
* If you comment out the "defer" call in the function, it will behave as
expected; so it's some kind of problem running the deferred code while handling a panic.
* A simpler nil-pointer dereference does _not_ trigger this problem; it has something to
do with the Timer.Stop method.
@ianlancetaylor
Copy link
Member

Comment 1:

Probably the same as issue #5745.

@adg
Copy link
Contributor

adg commented Jun 21, 2013

Comment 2:

Owner changed to @adg.

Status changed to Accepted.

@adg
Copy link
Contributor

adg commented Jun 27, 2013

Comment 3:

Status changed to Fixed.

@golang golang locked and limited conversation to collaborators Jun 24, 2016
@rsc rsc unassigned adg Jun 22, 2022
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants