This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Crash for test test_importlib
Type: crash Stage: resolved
Components: Tests Versions: Python 3.7
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: brett.cannon, eric.snow, furzoom, vstinner
Priority: normal Keywords:

Created on 2019-05-06 03:27 by furzoom, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
import_test.log furzoom, 2019-05-06 03:27
Messages (4)
msg341481 - (view) Author: Furzoom (furzoom) Date: 2019-05-06 03:27
0:06:04 load avg: 0.73 [185/416] test_importlib
Fatal Python error: Segmentation fault

Current thread 0x00002b774411ee40 (most recent call first):
  File "/home/mn/Downloads/Python-3.7.3/Lib/test/support/__init__.py", line 1543 in gc_collect
  File "/home/mn/Downloads/Python-3.7.3/Lib/test/test_importlib/test_locks.py", line 132 in test_all_locks
  File "/home/mn/Downloads/Python-3.7.3/Lib/unittest/case.py", line 615 in run
  File "/home/mn/Downloads/Python-3.7.3/Lib/unittest/case.py", line 663 in __call__
  File "/home/mn/Downloads/Python-3.7.3/Lib/unittest/suite.py", line 122 in run
  File "/home/mn/Downloads/Python-3.7.3/Lib/unittest/suite.py", line 84 in __call__
  File "/home/mn/Downloads/Python-3.7.3/Lib/unittest/suite.py", line 122 in run
  File "/home/mn/Downloads/Python-3.7.3/Lib/unittest/suite.py", line 84 in __call__
  File "/home/mn/Downloads/Python-3.7.3/Lib/unittest/suite.py", line 122 in run
  File "/home/mn/Downloads/Python-3.7.3/Lib/unittest/suite.py", line 84 in __call__
  File "/home/mn/Downloads/Python-3.7.3/Lib/unittest/suite.py", line 122 in run
  File "/home/mn/Downloads/Python-3.7.3/Lib/unittest/suite.py", line 84 in __call__
  File "/home/mn/Downloads/Python-3.7.3/Lib/unittest/suite.py", line 122 in run
  File "/home/mn/Downloads/Python-3.7.3/Lib/unittest/suite.py", line 84 in __call__
  File "/home/mn/Downloads/Python-3.7.3/Lib/test/support/testresult.py", line 162 in run
  File "/home/mn/Downloads/Python-3.7.3/Lib/test/support/__init__.py", line 1899 in _run_suite
  File "/home/mn/Downloads/Python-3.7.3/Lib/test/support/__init__.py", line 1995 in run_unittest
  File "/home/mn/Downloads/Python-3.7.3/Lib/test/libregrtest/runtest.py", line 178 in test_runner
  File "/home/mn/Downloads/Python-3.7.3/Lib/test/libregrtest/runtest.py", line 182 in runtest_inner
  File "/home/mn/Downloads/Python-3.7.3/Lib/test/libregrtest/runtest.py", line 137 in runtest
  File "/home/mn/Downloads/Python-3.7.3/Lib/test/libregrtest/main.py", line 408 in run_tests_sequential
  File "/home/mn/Downloads/Python-3.7.3/Lib/test/libregrtest/main.py", line 515 in run_tests
  File "/home/mn/Downloads/Python-3.7.3/Lib/test/libregrtest/main.py", line 619 in _main
  File "/home/mn/Downloads/Python-3.7.3/Lib/test/libregrtest/main.py", line 586 in main
  File "/home/mn/Downloads/Python-3.7.3/Lib/test/libregrtest/main.py", line 640 in main
  File "/home/mn/Downloads/Python-3.7.3/Lib/test/regrtest.py", line 46 in _main
  File "/home/mn/Downloads/Python-3.7.3/Lib/test/regrtest.py", line 50 in <module>
  File "/home/mn/Downloads/Python-3.7.3/Lib/runpy.py", line 85 in _run_code
  File "/home/mn/Downloads/Python-3.7.3/Lib/runpy.py", line 193 in _run_module_as_main
msg341482 - (view) Author: Furzoom (furzoom) Date: 2019-05-06 03:32
Thread 1 (Thread 0x2b2679113e00 (LWP 22373)):
#0  0x00002b2679c56c37 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00002b2679c5a028 in __GI_abort () at abort.c:89
#2  0x00000000004571ef in fatal_error (prefix=prefix@entry=0x5d4190 <__func__.13297> "_PySys_BeginInit", msg=msg@entry=0x5d3d4f "can't initialize sys module", status=status@entry=-1)
    at Python/pylifecycle.c:2179
#3  0x000000000045747c in _Py_FatalInitError (err=...) at Python/pylifecycle.c:2198
#4  0x000000000056c372 in pymain_init (pymain=pymain@entry=0x7fffb85610a0) at Modules/main.c:3001
#5  0x000000000056cc79 in pymain_main (pymain=pymain@entry=0x7fffb85610a0) at Modules/main.c:3033
#6  0x000000000056d38c in _Py_UnixMain (argc=<optimized out>, argv=<optimized out>) at Modules/main.c:3073
#7  0x00002b2679c41f45 in __libc_start_main (main=0x4a2790 <main>, argc=6, argv=0x7fffb85611e8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffb85611d8)
    at libc-start.c:287
#8  0x000000000056a0b6 in _start ()
msg341544 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-05-06 15:48
Hi Furzoom. Would you mind to provide more info about what you are trying to do? What is your operating system? How did you download Python? How did you compile Python? What is your operating system? Can you show the command that you used to run tests?
msg343716 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-05-27 23:59
> Hi Furzoom. Would you mind to provide more info about what you are trying to do? What is your operating system? How did you download Python? How did you compile Python? What is your operating system? Can you show the command that you used to run tests?

No reply in 20 days, I close the issue.

If you provide more info later, we can investigate!
History
Date User Action Args
2022-04-11 14:59:14adminsetgithub: 80990
2019-05-27 23:59:04vstinnersetstatus: open -> closed
resolution: out of date
messages: + msg343716

stage: resolved
2019-05-06 15:48:21vstinnersetmessages: + msg341544
2019-05-06 12:17:40eric.snowsetnosy: + brett.cannon, eric.snow
2019-05-06 07:59:18SilentGhostsetnosy: + vstinner
2019-05-06 03:32:56furzoomsetmessages: + msg341482
2019-05-06 03:27:39furzoomcreate