-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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
Fix test_importlib.test_bad_traverse for AIX #78901
Comments
bpo-32374 added a new subtest (test_bad_traverse) in test_importlib. The test succeeds when a script calling a bad_traverse exits with a non-zero status (e.g., crashes because of segmentation violation) This patch "fixes" Modules/_testmultiphase.c so that it exits with a non-zero status when a NULL pointer is accessed. This is what was causing other systems to 'crash' expectedly - while AIX was not. A simple demo program to demonstrate the difference behavior of AIX: /*
* Program to show whether an executable crashes, or not
* when a NULL pointer is accessed
* Author: AIXTOOLS
*/ #include<stdio.h>
main()
{
long *vpt = NULL;
} On AIX: On a Linux server: |
Could this also be backported to 3.6 and 3.7 please? |
could this be backported to versions 3.7, and if applicable, to version 3.6 |
On 10/03/2019 19:31, Michael Felt wrote:
|
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: