-
Notifications
You must be signed in to change notification settings - Fork 553
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
Many core dumps in v5.38.0 during tests on 64-bit Solaris #21535
Comments
That seems strange, That said I managed to reproduce this with Oracle Developer Studio on Oracle Linux, though I'll want a faster VM before I try resolving this further. |
|
From what I can tell this is a compiler bug. If I change HvENAME_HEK_NN() into a static function it fixes the problem. If I change the optimization level to Do the tests pass for you if you Configure with |
|
I can confirm that using |
Description
My team is trying to build 64-bit Perl 5.38.0 on Solaris. The build succeeds, but
make testreports many failures, core dumps.Steps to Reproduce
Many tests fail, but test_pl/can_isa_ok is the first one, and it looks like the rest all fail the same way, so there's no need to run any more than that one.
Here's the compiler I'm using:
Here's the stack trace from the core dump:
We happen to be using Solaris on x86, but we observe the same issue on Sparc.
With
git bisect, we determined that the commit where the failures began was 2e4090b. Specifically, it's this change in sv.c:If I revert the entire commit, or even if I revert just that one line, then all the tests pass again. Furthermore, I found that I only need to revert the
HvHasENAMEcall back toHvENAMEto make the tests pass;HvHasNAMEcan stay as-is.I'm not suggesting that there's anything wrong with the commit. I don't see anything questionable about the changes in that commit. However, there definitely seems to be something wrong related to names of stashes. Unfortunately, I have zero knowledge of Perl internals, so I'm unable to continue my investigation any further.
Expected behavior
The tests should pass.
Perl configuration
The text was updated successfully, but these errors were encountered: