Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/go: hangs with 100% CPU on import of absolute path #27474
It works with
Of course it tells me this because
The thing is,
Worth noting that
Not sure if this behavior is intended or not either.
Thank you for your help in advance!
Changing the import path to the absolute path ("./logger" -> "/home/bmeh/foo/logger") makes
The directory is empty.
and it just hangs indefinitely.
Hi @bmeh ,
This appears to be a question rather than a Go bug. We do not use the issue tracker for general discussions or questions like these. The Github bug tracker is only used for tracking bugs and proposals going through the Proposal Process.
You might want to take a look at Questions wiki page; it has a list of good places for asking questions.
Therefore closing this issue.
@myitcv Please take a look at the original post, I edited it a couple of days ago. I don't think it's supposed to hang indefinitely and eat 100% CPU seemingly doing nothing (see the last lines of
Feel free to change the title of this issue accordingly if it indeed is a bug.
@bmeh as you point out, relative import paths will not work. They might work with
Using an absolute path for an import path is also undefined (although I agree it should fail more gracefully than simply hanging). I will retitle the issue for this bug.
From the directory layout in your original description it looks like you want a