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
test_importlib creates a coredump on AMD64 FreeBSD 10.x Shared 3.7 #77810
Comments
http://buildbot.python.org/all/#/builders/124/builds/315 Warning -- files was modified by test_importlib |
The problem comes from MultiPhaseExtensionModuleTests.test_bad_traverse() of Lib/test/test_importlib/extension/test_loader.py. This test runs the following code: import importlib.util as util
spec = util.find_spec('_testmultiphase')
spec.name = '_testmultiphase_with_bad_traverse'
m = spec.loader.create_module(spec) I confirm that this script does crash and may generate a core dump: vstinner@apu$ ./python x.py Python traceback of the crash: (gdb) py-bt
Traceback (most recent call first):
<built-in method create_dynamic of module object at remote 0x7ffff7f37458>
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 1043, in create_module
File "x.py", line 4, in <module>
m = spec.loader.create_module(spec) C traceback: Program received signal SIGSEGV, Segmentation fault. |
The test creating the coredump has been added by bpo-32374. |
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: