-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
hugo serve -D
hangs at "Start building sites" when serving locally
#10565
Comments
hugo serve -D
hangs when serving locallyhugo serve -D
hangs at "Start building sites" when serving locally
Not sure if #8166 is similar, but it hangs at Start building sites … |
My best guess is an infinite recursion in some partial, which I guess can happen. Does it happen only when running the server? Is the source somehow available for me to test/look at? |
I'm having the same issue, but with v0.110.0. Sometimes it hangs and sometimes it works, seems to be random. And when I get the project up and running it always hangs again when I change something in the scss. Co-workers working on a linux computer do not have any issues, my fellow Macbook users are having the same problems as me. repo: https://github.com/cue-lang/cuelang.org/tree/alpha |
@anne-usmedia Whenever I hear about Mac vs Linux behavior, and the project uses Hugo Modules, the first thing that comes to mind is volatility of the cache location. See https://discourse.gohugo.io/t/37837/6
|
I can also repro this. Raised golang/go#58814 on the Go side. The stack trace in that issue (like the one above) clearly shows things blocked on the cgo call to
We are not using Hugo modules AFAIK. |
Understood. I saw the go.mod and didn't look inside. |
I've tracked down the problem here. Per golang/go#58814 (comment), this is a Go problem that was fixed in golang/go@7d3a5a5. That commit is present in I notice that https://github.com/gohugoio/hugo/releases/tag/v0.111.0 has just been released. That was built using |
@Lyoness - I'd suggest this issue can be closed now per #10565 (comment) |
I can reproduce this with some consistency trying to build the Kubernetes docs locally. Out of 5 attempts it's very likely that at least one will freeze (stop making progress). |
@sftim did you see #10565 (comment)? @bep I think this can be closed so long as at least |
I'm happy to see this closed as I can't reproduce the symptoms locally any more (we - Kubernetes docs - switched to building the development container with Golang 1.20) |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
What version of Hugo are you using (
hugo version
)?Does this issue reproduce with the latest release?
at latest.
When running
hugo serve -D
the process hangs at:This starts to throttle my CPU:
Coredump here: https://gist.github.com/Lyoness/c2a4f259e652b60239892b08f07c08df
Thank you, happy to add any more context if needed.
The text was updated successfully, but these errors were encountered: