-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
test_frame does crash randomly on Linux (x86-64, ppc64le, s390x) #133261
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
The crash might be related to the recent trashcan change: 44e4c47 |
Extract of the gdb backtrace:
|
GCC 9 and older don't have __has_builtin(), but have __builtin_frame_address() function.
Also happened randomly on my Windows 11 buildbot: |
Oh strange. This bug looks more like #133199 : assertion failure in _PyObject_GC_UNTRACK().
|
GCC 9 and older don't have __has_builtin(), but have __builtin_frame_address() function.
@ambv: Would you mind to open a separated issue for the Windows failure? It's a different root cause related to _PyObject_GC_UNTRACK(). |
Since the PR was merged, the s390x RHEL8 buildbot started failing: https://buildbot.python.org/#/builders/442/builds/9249 |
Can also reproduce (~25% of the time) on my machine, x86-64 Fedora 42. |
The crash or the GC untrack assertion error? |
The assertion error, apologies, I should have specified. |
Can you please open a new issue for the assertion error? |
I can reproduce the crash ("Fatal Python error: Segmentation fault") on x86-64 Fedora 42:
Output:
|
@markshannon: I don't understand why |
Fix a random crash in test_frame.test_repr_deep() on x86-64.
Fix a random crash in test_frame.test_repr_deep() on x86-64.
Fix a random crash in test_frame.test_repr_deep() on x86-64.
I wrote #133401 to fix test_frame random crash. |
I also saw the crash on "PPC64LE RHEL8 LTO + PGO 3.x" buildbot: https://buildbot.python.org/#/builders/458/builds/6121
|
I also saw the crash on "s390x RHEL8 LTO + PGO 3.x" buildbot: https://buildbot.python.org/#/builders/442/builds/9283 test_repr_deep (test.test_frame.FrameLocalsProxyMappingTests.test_repr_deep) ... Fatal Python error: Segmentation fault
|
That's a bit surprising. |
It appears that |
Fixed by #133431. Thanks @markshannon. |
I reopen the issue, sadly an assertion fails on x86 (32-bit): #133431 (comment) |
Make sure trashcan pointer look mortal -- 32 bit
Has the merge of #133450 fixed this? |
I believe so, yes. |
Crash report
Example: https://buildbot.python.org/#/builders/64/builds/9301
Linked PRs
The text was updated successfully, but these errors were encountered: