-
Notifications
You must be signed in to change notification settings - Fork 18k
os/signal: test timeout (entire VM hangs) on netbsd/386 (7.0.1 GENERIC) #16511
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
Comments
Ian is on vacation. |
Is that the same as #10027? |
the test timeout part is different from #10027.
but they might have the same cause.
|
The problem on netbsd is even worse,
the builder VM freezes (sometimes
restarts automatically) after a few builds.
so far I haven't been able to capture a
copy of the kernel messages yet.
there isn't any log on the console.
|
See if you can get the strace output (or dtruss, or whatever it is called on NetBSD) of Sounds like something is going wrong if a signal is received while handling that signal. Or, it's a problem with the alternate signal stack. |
If the entire builder VM freezes then it's probably not Go's fault. Sounds like a kernel problem. |
The same test error of Go-1.8 On NetBSD/amd64(7.0.1 GENERIC). |
CL https://golang.org/cl/47036 mentions this issue. |
Change https://golang.org/cl/80515 mentions this issue: |
Thanks to coypoop for noticing at: #22914 (comment) FreeBSD/386 and NetBSD/386 diverged between Go 1.4 and Go 1.5 when Russ sent https://golang.org/cl/135830043 (git rev 25f6b02) to change the calling convention of the C compilers to match Go. But netbsd wasn't updated. Tested on a NetBSD/386 VM, since the builders aren't back up yet (due to this bug) Fixes #22914 Updates #19339 Updates #20852 Updates #16511 Change-Id: Id76ebe8f29bcc85e39b1c11090639d906cd6cf04 Reviewed-on: https://go-review.googlesource.com/80515 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Benny Siegert <bsiegert@gmail.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This is fixed by requiring NetBSD 8-BETA+. |
I upgraded the netbsd/386 builder to the latest 7.0.1 release,
and suddenly a lot of the builds fail at os/signal.
E.g.
timeout:
https://build.golang.org/log/f4c637234824467172beb3c7fdaf61fbd403d55c
illegal instruction:
https://build.golang.org/log/d1841610bb2fd982671f4db6bd8d1836a0a2d735
(this log also shows a failure in runtime/pprof, which might be interesting
as well.)
SIGTRAP:
https://build.golang.org/log/7275a54c64635553b418a15a58475698cf772f64
Repeated run of os/signal tests showed that it's failing in TestStress.
/cc @ianlancetaylor any ideas?
The text was updated successfully, but these errors were encountered: