[issue46394] 3.8.12: build fails because during handling of the exception, another exception occurred
Change by Tomasz Kloczko : -- title: 3.8.12: build fails because during handling of the above exception, another exception occurred -> 3.8.12: build fails because during handling of the exception, another exception occurred ___ Python tracker <https://bugs.python.org/issue46394> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue46394] 3.8.12: build fails because during handling of the above exception, another exception occurred
New submission from Tomasz Kloczko : Looks like it is some 3.8.12 build issue. /usr/bin/gcc -c -fPIC -DDYNAMIC_ANNOTATIONS_ENABLED=1 -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/ rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -Og -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -fno-semantic-interposition -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none -g -Og -I../Include/internal -IObjects -IInclude -IPython -I. -I../Include -fPIC -DPy_BUILD_CORE -o Modules/_math.o ../Modules/_math.c LD_LIBRARY_PATH=/home/tkloczko/rpmbuild/BUILD/Python-3.8.12/build-debug CC='/usr/bin/gcc' LDSHARED='/usr/bin/gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1 -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none -g ' OPT='-DDYNAMIC_ANNOTATIONS_ENABLED=1 -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -D_GNU_SOURCE -fPIC -fwrapv' _TCLTK_INCLUDES='' _TCLTK_LIBS='' ./python -E ../setup.py build Traceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILD/Python-3.8.12/Lib/subprocess.py", line 64, in import msvcrt ModuleNotFoundError: No module named 'msvcrt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "../setup.py", line 14, in from distutils import log File "/usr/lib/python3.8/site-packages/_distutils_hack/__init__.py", line 92, in create_module return importlib.import_module('setuptools._distutils') File "/home/tkloczko/rpmbuild/BUILD/Python-3.8.12/Lib/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.8/site-packages/setuptools/__init__.py", line 8, in import _distutils_hack.override # noqa: F401 File "/usr/lib/python3.8/site-packages/_distutils_hack/override.py", line 1, in __import__('_distutils_hack').do_override() File "/usr/lib/python3.8/site-packages/_distutils_hack/__init__.py", line 73, in do_override ensure_local_distutils() File "/usr/lib/python3.8/site-packages/_distutils_hack/__init__.py", line 60, in ensure_local_distutils core = importlib.import_module('distutils.core') File "/home/tkloczko/rpmbuild/BUILD/Python-3.8.12/Lib/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 17, in from distutils.dist import Distribution File "/usr/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 19, in from distutils.util import check_environ, strtobool, rfc822_escape File "/usr/lib/python3.8/site-packages/setuptool
[issue46165] pythin is core dumping with SIGILL in pytest of the jupyter-server
Tomasz Kloczko added the comment: OK accorting to your expertise this could be somethning wrong in some of the DSOs .. May I ask for a little help with pointing on possible module which i doing sometbing wrong? Just looking on top of the call trace #0 0x7f480be7a54c __pthread_kill_implementation (libc.so.6 + 0x8f54c) #1 0x7f480be2d696 raise (libc.so.6 + 0x42696) #2 0x7f480be2d740 __restore_rt (libc.so.6 + 0x42740) #3 0x7f47f9fbe8ff blake2b_init (libargon2.so.1 + 0x38ff) #4 0x7f47f9fbfb0e argon2_ctx.part.0 (libargon2.so.1 + 0x4b0e) #5 0x7f47f9fc0a9f argon2_hash (libargon2.so.1 + 0x5a9f) #6 0x7f47f9fc8f16 _cffi_f_argon2_hash (_ffi.abi3.so + 0x2f16) #7 0x7f480c0a0077 cfunction_call_varargs (libpython3.8.so.1.0 + 0xb7077) #8 0x7f480c10febb _PyObject_MakeTpCall (libpython3.8.so.1.0 + 0x126ebb) #9 0x7f480c05eee4 _PyEval_EvalFrameDefault (libpython3.8.so.1.0 + 0x75ee4) #10 0x7f480c1781b7 _PyEval_EvalCodeWithName (libpython3.8.so.1.0 + 0x18f1b7) #11 0x7f480c1787e3 _PyFunction_Vectorcall (libpython3.8.so.1.0 + 0x18f7e3) #12 0x7f480c05d42c _PyEval_EvalFrameDefault (libpython3.8.so.1.0 + 0x7442c) #13 0x7f480c05897b function_code_fastcall (libpython3.8.so.1.0 + 0x6f97b) #14 0x7f480c05d8e3 _PyEval_EvalFrameDefault (libpython3.8.so.1.0 + 0x748e3) #15 0x7f480c1781b7 _PyEval_EvalCodeWithName (libpython3.8.so.1.0 + 0x18f1b7) #16 0x7f480c1787e3 _PyFunction_Vectorcall (libpython3.8.so.1.0 + 0x18f7e3) #17 0x7f480c05d3e0 _PyEval_EvalFrameDefault (libpython3.8.so.1.0 + 0x743e0) #18 0x7f480c1781b7 _PyEval_EvalCodeWithName (libpython3.8.so.1.0 + 0x18f1b7) #19 0x7f480c1784e7 PyEval_EvalCode (libpython3.8.so.1.0 + 0x18f4e7) #20 0x7f480c1d9295 builtin_exec (libpython3.8.so.1.0 + 0x1f0295) #21 0x7f480c176c37 cfunction_vectorcall_FASTCALL (libpython3.8.so.1.0 + 0x18dc37) #22 0x7f480c05d3e0 _PyEval_EvalFrameDefault (libpython3.8.so.1.0 + 0x743e0) #23 0x7f480c05897b function_code_fastcall (libpython3.8.so.1.0 + 0x6f97b) #24 0x7f480c05d8e3 _PyEval_EvalFrameDefault (libpython3.8.so.1.0 + 0x748e3) #25 0x7f480c1781b7 _PyEval_EvalCodeWithName (libpython3.8.so.1.0 + 0x18f1b7) #26 0x7f480c1787e3 _PyFunction_Vectorcall (libpython3.8.so.1.0 + 0x18f7e3) #27 0x7f480c05e93d _PyEval_EvalFrameDefault (libpython3.8.so.1.0 + 0x7593d) #28 0x7f480c1781b7 _PyEval_EvalCodeWithName (libpython3.8.so.1.0 + 0x18f1b7) #29 0x7f480c1787e3 _PyFunction_Vectorcall (libpython3.8.so.1.0 + 0x18f7e3) #30 0x7f480c132c9a method_vectorcall (libpython3.8.so.1.0 + 0x149c9a) #31 0x7f480c05d42c _PyEval_EvalFrameDefault (libpython3.8.so.1.0 + 0x7442c) #32 0x7f480c05897b function_code_fastcall (libpython3.8.so.1.0 + 0x6f97b) #33 0x7f480c05d8e3 _PyEval_EvalFrameDefault (libpython3.8.so.1.0 + 0x748e3) #34 0x7f480c05897b function_code_fastcall (libpython3.8.so.1.0 + 0x6f97b) #35 0x7f480c1100bd PyVectorcall_Call (libpython3.8.so.1.0 + 0x1270bd) #36 0x7f480c05ada7 _PyEval_EvalFrameDefault (libpython3.8.so.1.0 + 0x71da7) #37 0x7f480c1781b7 _PyEval_EvalCodeWithName (libpython3.8.so.1.0 + 0x18f1b7) #38 0x7f480c1787e3 _PyFunction_Vectorcall (libpython3.8.so.1.0 + 0x18f7e3) #39 0x7f480c05e93d _PyEval_EvalFrameDefault (libpython3.8.so.1.0 + 0x7593d) #40 0x7f480c05897b function_code_fastcall (libpython3.8.so.1.0 + 0x6f97b) #41 0x7f480c132c9a method_vectorcall (libpython3.8.so.1.0 + 0x149c9a) #42 0x7f480c05e93d _PyEval_EvalFrameDefault (libpython3.8.so.1.0 + 0x7593d) #43 0x7f480c1781b7 _PyEval_EvalCodeWithName (libpython3.8.so.1.0 + 0x18f1b7) #44 0x7f480c1787e3 _PyFunction_Vectorcall (libpython3.8.so.1.0 + 0x18f7e3) #45 0x7f480c110246 _PyObject_FastCallDict (libpython3.8.so.1.0 + 0x127246) #46 0x7f480c11042d _PyObject_Call_Prepend (libpython3.8.so.1.0 + 0x12742d) #47 0x7f480c110501 slot_tp_call (libpython3.8.so.1.0 + 0x127501) #48 0x7f480c0a01f4 PyObject_Call (libpython3.8.so.1.0 + 0xb71f4) #49 0x7f480c05ada7 _PyEval_EvalFrameDefault (libpython3.8.so.1.0 + 0x71da7) #50 0x7f480c1781b7 _PyEval_EvalCodeWithName (libpython3.8.so
[issue46165] pythin is core dumping with SIGILL in pytest of the jupyter-server
New submission from Tomasz Kloczko : I;m packaging python modules as rpm packages and just found that package jupyter-server (1.13.1) when pytest was executed python crashed with call trace + /usr/bin/pytest -ra jupyter_server === test session starts platform linux -- Python 3.8.12, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 rootdir: /home/tkloczko/rpmbuild/BUILD/jupyter_server-1.13.1, configfile: pyproject.toml plugins: cov-3.0.0, console-scripts-1.2.0, mock-3.6.1, tornasync-0.6.0.post2, anyio-3.3.4 collected 581 items jupyter_server/auth/security.py Fatal Python error: Illegal instruction Current thread 0x7f480bd08740 (most recent call first): File "/usr/lib64/python3.8/site-packages/argon2/low_level.py", line 112 in hash_secret File "/usr/lib64/python3.8/site-packages/argon2/_password_hasher.py", line 133 in hash File "/home/tkloczko/rpmbuild/BUILD/jupyter_server-1.13.1/jupyter_server/auth/security.py", line 73 in passwd File "", line 1 in File "/usr/lib64/python3.8/doctest.py", line 1336 in __run File "/usr/lib64/python3.8/doctest.py", line 1483 in run File "/usr/lib64/python3.8/doctest.py", line 1844 in run File "/usr/lib/python3.8/site-packages/_pytest/doctest.py", line 287 in runtest File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 162 in pytest_runtest_call File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39 in _multicall File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80 in _hookexec File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265 in __call__ File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 255 in File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 311 in from_call File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 254 in call_runtest_hook File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 215 in call_and_report File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 126 in runtestprotocol File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 109 in pytest_runtest_protocol File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39 in _multicall File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80 in _hookexec File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265 in __call__ File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 348 in pytest_runtestloop File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39 in _multicall File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80 in _hookexec File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265 in __call__ File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 323 in _main File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 269 in wrap_session File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 316 in pytest_cmdline_main File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39 in _multicall File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80 in _hookexec File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265 in __call__ File "/usr/lib/python3.8/site-packages/_pytest/config/__init__.py", line 162 in main File "/usr/lib/python3.8/site-packages/_pytest/config/__init__.py", line 185 in console_main File "/usr/bin/pytest", line 33 in /var/tmp/rpm-tmp.WmHwan: line 49: 2150294 Illegal instruction (core dumped) PATH="/home/tkloczko/rpmbuild/BUILDROOT/python-jupyter-server-1.13.1-2.fc35.x86_64/usr/bin:$PATH" PYTHONDONTWRITEBYTECODE=1 SETUPTOOLS_SCM_PRETEND_VERSION=1.13.1 PYTHONPATH="${PYTHONPATH:-/home/tkloczko/rpmbuild/BUILDROOT/python-jupyter-server-1.13.1-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-jupyter-server-1.13.1-2.fc35.x86_64/usr/lib/python3.8/site-packages}" /usr/bin/pytest -ra jupyter_server I'm using my own Linux distribution (which I';m supporting for may clients) and I'm still using python 3.8.12. Here is list of modules installed in build env [tkloczko@ss-desktop SPECS]$ pip list Package Version - --- alabaster 0.7.12 anyio 3.3.4 appdirs 1.4.4 argon2-cffi 21.1.0 attrs 21.2.0 Babel 2.9.1 backcall
[issue41390] Errors and warnings on generate bytecode files
Tomasz Kloczko added the comment: Issue is that this command ends with non-zero exit code. -- ___ Python tracker <https://bugs.python.org/issue41390> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41390] Errors and warnings on generate bytecode files
Change by Tomasz Kloczko : -- title: Errors and warnings on generate butecode files -> Errors and warnings on generate bytecode files ___ Python tracker <https://bugs.python.org/issue41390> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com