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
Python 3.9.0b3 crash on compile() in PyAST_Check() when the _ast module is loaded more than once #85366
Comments
Built with pyenv on Fedora 32. Discovered while testing PyBuilder for 3.9 compatibility. $ abrt gdb e6ad9db
GNU gdb (GDB) Fedora 9.1-5.fc32
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>. For help, type "help". |
I can't seem to be able to attach a gziped coredump (7MB) |
@arcivanov what kind of input do you pass to the compile function which leads this crash? |
Can you provide a script to reproduce the issue? |
I'm right now rerunning the script with debug-level build of CPython and will report as soon as I have more data. |
I can say that it is always reproduced, both in Travis environment (Ubuntu) and in Fedora. |
If you aren't able to share some reproducer snippets, would you try a bisect? An interesting commit would be this ac46eb4 to try and check if this crash happens before and after it? |
So as soon as I started using CPython 3.9.0b3 with debug, the stack trace changed and the corruption apparently occurs in the GC, probably because the assertion is triggered vs release-style build:
$ abrt gdb 78446a5
GNU gdb (GDB) Fedora 9.1-5.fc32
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>. For help, type "help". |
Can you please provide a reproducer? Does PyBuilder use C extensions? |
No C extensions, working on giving you a reproducer. |
How to reproduce:
The failure occurs in the integration test smoke test in smoke_clean_tests.py |
Once any of the integration tests run, the integration test environment is created and the test can be run directly from the command line via: '.../pybuilder/target/venv/test/cpython-3.9.0.beta.3/bin/python' '.../pybuilder/src/integrationtest/python/smoke_clean_tests.py' |
My guess is that the issue is related to the sys.modules manipulation, i.e. these parts of the integration test harness: def smoke_test(self, *args):
old_argv = list(sys.argv)
del sys.argv[:]
sys.argv.append(self.build_py)
sys.argv.extend(args)
old_modules = dict(sys.modules)
old_meta_path = list(sys.meta_path)
old_cwd = getcwd()
chdir(self.tmp_directory)
try:
return run_path(self.build_py, run_name="__main__")
except SystemExit as e:
self.assertEqual(e.code, 0, "Test did not exit successfully")
finally:
del sys.argv[:]
sys.argv.extend(old_argv)
sys.modules.clear()
sys.modules.update(old_modules)
def smoke_test_module(self, module, *args):
old_argv = list(sys.argv)
del sys.argv[:]
sys.argv.append("bogus")
sys.argv.extend(args)
old_modules = dict(sys.modules)
old_meta_path = list(sys.meta_path)
old_cwd = getcwd()
chdir(self.tmp_directory)
try:
return run_module(module, run_name="__main__")
except SystemExit as e:
self.assertEqual(e.code, 0, "Test did not exit successfully")
finally:
del sys.argv[:]
sys.argv.extend(old_argv)
sys.modules.clear()
sys.modules.update(old_modules)
|
To complete this report, this is a regression. This exact code runs perfectly in 2.7, 3.5 - 3.8. This is the PR in Travis: https://travis-ci.org/github/pybuilder/pybuilder/builds/704312142 |
A shorter reproducer; >>> import sys
>>> sys.modules.clear()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
RuntimeError: lost builtins module
>>> import _ast
>>> import gc
>>> gc.collect()
Modules/gcmodule.c:114: gc_decref: Assertion "gc_get_refs(g) > 0" failed: refcount is too small
Enable tracemalloc to get the memory block allocation traceback object address : 0x7f4c22f843b0 Fatal Python error: _PyObject_AssertFailed: _PyObject_AssertFailed Current thread 0x00007f4c23a5d280 (most recent call first): |
That's not an entirely accurate reproducer as the references to the modules are still held in the collection when the sys.modules.clear() is called. |
|
If I'm not wrong, this is the commit that introduced the regression. commit ac46eb4 (HEAD -> bpo-xxxxx)
|
I can reproduce the crash using the following script.py: import gc; gc.set_threshold(5)
import sys
old_modules = dict(sys.modules)
sys.modules.clear()
sys.modules.update(old_modules)
import _ast
import gc
gc.collect() And the command: PyInit__ast() is called twice. That's surprising: builtin extension modules should only be initialized once. |
I cannot reproduce msg372859 crash anymore. I tested 3.9 and master branches. I close the issue. Thanks Arcadiy Ivanov for testing beta releases ;-) |
I'm reopening this as the original SEGV didn't go away in 3.9 beta 4. It looks like debug build caught an assertion and prevented the SEGV from triggering. |
Confirmed not fixed. Taken with 3.9 branch as of today. (pyb-3.9-dev-d) [arcivanov@ai-karellen-lap pybuilder]$ abrt gdb 1f24453 For help, type "help". |
> Program received signal SIGSEGV, Segmentation fault.
0x0000000000623339 in _Py_IS_TYPE (ob=0x0, type=0x8609e0 <PyType_Type>) at ./Include/object.h:128
128 return ob->ob_type == type;
(gdb) py-bt
Traceback (most recent call first):
<built-in method compile of module object at remote 0x7fffeabc3a10>
File "/home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/ast.py", line 306, in parse
lines.append(next_line)
File "/home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/ast.py", line 62, in literal_eval
node_or_string = parse(node_or_string, mode='eval')
File "./src/main/python/pybuilder/python_env.py", line 83, in populate
python_info = ast.literal_eval(result)
File "./src/main/python/pybuilder/reactor.py", line 409, in __init__
self.propagate_property("explicit_namespaces")
File "./src/main/python/pybuilder/cli.py", line 238, in init_reactor
reactor = Reactor(logger, execution_manager)
File "./src/main/python/pybuilder/cli.py", line 415, in main
reactor = init_reactor(logger)
File "./src/main/python/pybuilder/__init__.py", line 34, in bootstrap
sys.exit(pybuilder.cli.main(*sys.argv[1:]))
File "/tmp/IntegrationTestSupporthzc3tee0/build.py", line 31, in <module>
bootstrap()
<built-in method exec of module object at remote 0x7fffeabc3a10>
File "/home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/runpy.py", line 343, in _run_code
File "/home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/runpy.py", line 353, in _run_module_code
File "/home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/runpy.py", line 524, in run_path
File "/home/arcivanov/Documents/src/arcivanov/pybuilder/src/integrationtest/python/smoke_itest_support.py", line 72, in smoke_test
return run_path(self.build_py, run_name="__main__")
File "/home/arcivanov/Documents/src/arcivanov/pybuilder/src/integrationtest/python/smoke_clean_tests.py", line 30, in test_build_then_clean
self.smoke_test("-v", "-X", "clean")
File "/home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/unittest/case.py", line 550, in _callTestMethod
method()
File "/home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/unittest/case.py", line 1617, in run
File "/home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/unittest/case.py", line 653, in __call__
return self.run(*args, **kwds)
File "/home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/unittest/suite.py", line 378, in run
File "/home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/unittest/suite.py", line 84, in __call__
return self.run(*args, **kwds)
File "/home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/unittest/suite.py", line 378, in run
File "/home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/unittest/suite.py", line 84, in __call__
return self.run(*args, **kwds)
File "/home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/unittest/runner.py", line 432, in run
File "/home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/unittest/main.py", line 783, in runTests
File "/home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/unittest/main.py", line 101, in __init__
self.runTests()
File "/home/arcivanov/Documents/src/arcivanov/pybuilder/src/integrationtest/python/smoke_clean_tests.py", line 34, in <module>
unittest.main()
(gdb) py-bt-full
#7 <built-in method compile of module object at remote 0x7fffeabc3a10>
#11 Frame 0xb67600, for file /home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/ast.py, line 306, in parse (source="{'_platform': 'linux', '_os_name': 'posix', '_executable': ('/home/arcivanov/Documents/src/arcivanov/pybuilder/target/venv/test/cpython-3.9.0.beta.4/bin/python',), '_exec_dir': '/home/arcivanov/Documents/src/arcivanov/pybuilder/target/venv/test/cpython-3.9.0.beta.4/bin', '_name': 'CPython', '_type': 'cpython', '_version': (3, 9, 0, 'beta', 4), '_is_pypy': False, '_is_64bit': True, '_versioned_dir_name': 'cpython-3.9.0.beta.4', '_environ': {'SHELL': '/bin/bash', 'SESSION_MANAGER': 'local/unix:@/tmp/.ICE-unix/6175,unix/unix:/tmp/.ICE-unix/6175', 'WINDOWID': '56623111', 'COLORTERM': 'truecolor', 'PYENV_SHELL': 'bash', 'XDG_CONFIG_DIRS': '/etc/xdg:/usr/share/kde-settings/kde-profile/default/xdg', 'HISTCONTROL': 'ignoredups', 'XDG_MENU_PREFIX': 'kf5-', 'rvm_prefix': '/home/arcivanov', 'HISTSIZE': '-1', 'HOSTNAME': 'ai-karellen-lap', 'LANGUAGE': '', 'JAVA_HOME': '/home/arcivanov/devhome/current/j...(truncated)
lines.append(next_line)
#18 Frame 0x7fffe92ad230, for file /home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/ast.py, line 62, in literal_eval (node_or_string="{'_platform': 'linux', '_os_name': 'posix', '_executable': ('/home/arcivanov/Documents/src/arcivanov/pybuilder/target/venv/test/cpython-3.9.0.beta.4/bin/python',), '_exec_dir': '/home/arcivanov/Documents/src/arcivanov/pybuilder/target/venv/test/cpython-3.9.0.beta.4/bin', '_name': 'CPython', '_type': 'cpython', '_version': (3, 9, 0, 'beta', 4), '_is_pypy': False, '_is_64bit': True, '_versioned_dir_name': 'cpython-3.9.0.beta.4', '_environ': {'SHELL': '/bin/bash', 'SESSION_MANAGER': 'local/unix:@/tmp/.ICE-unix/6175,unix/unix:/tmp/.ICE-unix/6175', 'WINDOWID': '56623111', 'COLORTERM': 'truecolor', 'PYENV_SHELL': 'bash', 'XDG_CONFIG_DIRS': '/etc/xdg:/usr/share/kde-settings/kde-profile/default/xdg', 'HISTCONTROL': 'ignoredups', 'XDG_MENU_PREFIX': 'kf5-', 'rvm_prefix': '/home/arcivanov', 'HISTSIZE': '-1', 'HOSTNAME': 'ai-karellen-lap', 'LANGUAGE': '', 'JAVA_HOME': '/home/arcivan...(truncated)
node_or_string = parse(node_or_string, mode='eval')
#25 Frame 0x7fffe9324810, for file ./src/main/python/pybuilder/python_env.py, line 83, in populate (self=<PythonEnv(_env_dir='/home/arcivanov/Documents/src/arcivanov/pybuilder/target/venv/test/cpython-3.9.0.beta.4', _reactor=<Reactor(logger=<ColoredStdOutLogger(filters=[], _name=None, level=10, formatter=None, lock=<_thread.RLock at remote 0x7fffe9309e00>) at remote 0x7fffe9309500>, execution_manager=<ExecutionManager(logger=<...>, _tasks={}, _task_dependencies={}, _dependencies_pending_tasks={}, _actions={}, _execute_before={}, _execute_after={}, _initializers=[], _finalizers=[], _dependencies_resolved=False, _actions_executed=[], _tasks_executed=[], _current_task=None, _current_execution_plan=None, _exclude_optional_tasks=[], _exclude_tasks=[], _exclude_all_optional=False) at remote 0x7fffe9309c80>, plugin_loader=<DispatchingPluginLoader(logger=<...>, _loaders=(<BuiltinPluginLoader(logger=<...>) at remote 0x7fffe9309af0>, <DownloadingPluginLoader(logger=<...>) at remote 0x7fffe9309b90>)) at remote 0x7fffe9309f5...(truncated)
python_info = ast.literal_eval(result)
#32 Frame 0x7fffe98d4810, for file ./src/main/python/pybuilder/reactor.py, line 409, in __init__ (self=<Reactor(logger=<ColoredStdOutLogger(filters=[], _name=None, level=10, formatter=None, lock=<_thread.RLock at remote 0x7fffe9309e00>) at remote 0x7fffe9309500>, execution_manager=<ExecutionManager(logger=<...>, _tasks={}, _task_dependencies={}, _dependencies_pending_tasks={}, _actions={}, _execute_before={}, _execute_after={}, _initializers=[], _finalizers=[], _dependencies_resolved=False, _actions_executed=[], _tasks_executed=[], _current_task=None, _current_execution_plan=None, _exclude_optional_tasks=[], _exclude_tasks=[], _exclude_all_optional=False) at remote 0x7fffe9309c80>, plugin_loader=<DispatchingPluginLoader(logger=<...>, _loaders=(<BuiltinPluginLoader(logger=<...>) at remote 0x7fffe9309af0>, <DownloadingPluginLoader(logger=<...>) at remote 0x7fffe9309b90>)) at remote 0x7fffe9309f50>, _plugins=[], _pending_plugin_installs=[], _plugins_imported=set(), _deferred_plugins=<ModuleTraversalTree(_entries={},...(truncated)
self.propagate_property("explicit_namespaces")
#44 Frame 0x7fffe92aa5c0, for file ./src/main/python/pybuilder/cli.py, line 238, in init_reactor (logger=<ColoredStdOutLogger(filters=[], _name=None, level=10, formatter=None, lock=<_thread.RLock at remote 0x7fffe9309e00>) at remote 0x7fffe9309500>, execution_manager=<ExecutionManager(logger=<...>, _tasks={}, _task_dependencies={}, _dependencies_pending_tasks={}, _actions={}, _execute_before={}, _execute_after={}, _initializers=[], _finalizers=[], _dependencies_resolved=False, _actions_executed=[], _tasks_executed=[], _current_task=None, _current_execution_plan=None, _exclude_optional_tasks=[], _exclude_tasks=[], _exclude_all_optional=False) at remote 0x7fffe9309c80>)
reactor = Reactor(logger, execution_manager)
#51 Frame 0xd57ab0, for file ./src/main/python/pybuilder/cli.py, line 415, in main (args=('-v', '-X', 'clean'), options=<Values(list_tasks=False, list_plan_tasks=False, start_project=False, update_project=False, project_directory='.', offline=False, environments=[], property_overrides={}, exclude_optional_tasks=[], exclude_all_optional=False, exclude_tasks=[], reset_plugins=False, debug=True, verbose=True, quiet=False, very_quiet=False, force_color=False, no_color=False) at remote 0x7fffe9309be0>, arguments=['clean'], start=<datetime.datetime at remote 0x7fffe98ce2c0>, logger=<ColoredStdOutLogger(filters=[], _name=None, level=10, formatter=None, lock=<_thread.RLock at remote 0x7fffe9309e00>) at remote 0x7fffe9309500>)
reactor = init_reactor(logger)
#59 Frame 0xd01210, for file ./src/main/python/pybuilder/__init__.py, line 34, in bootstrap (sys=<module at remote 0x7fffeabba2f0>, inspect=<module at remote 0x7fffea2780b0>, BuildFailedException=<type at remote 0xd92460>, current_frame=Frame 0xd01210, for file ./src/main/python/pybuilder/__init__.py, line 34, in bootstrap (sys=<module at remote 0x7fffeabba2f0>, inspect=<module at remote 0x7fffea2780b0>, BuildFailedException=<type at remote 0xd92460>, current_frame=Frame 0xd01210, for file ./src/main/python/pybuilder/__init__.py, line 34, in bootstrap (sys=<module at remote 0x7fffeabba2f0>, inspect=<module at remote 0x7fffea2780b0>, BuildFailedException=<type at remote 0xd92460>, current_frame=Frame 0xd01210, for file ./src/main/python/pybuilder/__init__.py, line 34, in bootstrap (sys=<module at remote 0x7fffeabba2f0>, inspect=<module at remote 0x7fffea2780b0>, BuildFailedException=<type at remote 0xd92460>, current_frame=Frame 0xd01210, for file ./src/main/python/pybuilder/__init__.py, line 34, in bootstrap (sys...(truncated)
sys.exit(pybuilder.cli.main(*sys.argv[1:]))
#66 Frame 0xd49dc0, for file /tmp/IntegrationTestSupporthzc3tee0/build.py, line 31, in <module> ()
bootstrap()
#74 <built-in method exec of module object at remote 0x7fffeabc3a10>
#78 Frame 0xcaa760, for file /home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/runpy.py, line 343, in _run_code (code=<code at remote 0x7fffe978f110>, run_globals={'__name__': '__main__', '__doc__': None, '__package__': '', '__loader__': None, '__spec__': None, '__file__': '/tmp/IntegrationTestSupporthzc3tee0/build.py', '__cached__': None, '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': <type at remote 0x8c3e50>, '__spec__': <ModuleSpec(name='builtins', loader=<type at remote 0x8c3e50>, origin='built-in', loader_state=None, submodule_search_locations=None, _set_fileattr=False, _cached=None) at remote 0x7fffeab6a0f0>, '__build_class__': <built-in method __build_class__ of module object at remote 0x7fffeabc3a10>, '__import__': <built-in method __import__ of module object at remote 0x7fffeabc3a10>, 'abs': <built-in method abs of module obje...(truncated)
#85 Frame 0xd518f0, for file /home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/runpy.py, line 353, in _run_module_code (code=<code at remote 0x7fffe978f110>, init_globals=None, mod_name='__main__', mod_spec=None, pkg_name='', script_name='/tmp/IntegrationTestSupporthzc3tee0/build.py', fname='/tmp/IntegrationTestSupporthzc3tee0/build.py', temp_module=<_TempModule(mod_name='__main__', module=<module at remote 0x7fffe98c1dd0>, _saved_module=[<module at remote 0x7fffeab12ad0>]) at remote 0x7fffe9e9c820>, mod_globals={'__name__': '__main__', '__doc__': None, '__package__': '', '__loader__': None, '__spec__': None, '__file__': '/tmp/IntegrationTestSupporthzc3tee0/build.py', '__cached__': None, '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': <type at remote 0x8c3e50>, '__spec__': <ModuleSpec(name='builtins', loader=<type at remote 0x8c3e50>, or...(truncated)
#92 Frame 0xad23d0, for file /home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/runpy.py, line 524, in run_path (path_name='/tmp/IntegrationTestSupporthzc3tee0/build.py', init_globals=None, run_name='__main__', pkg_name='', importer=None, is_NullImporter=False, code=<code at remote 0x7fffe978f110>, fname='/tmp/IntegrationTestSupporthzc3tee0/build.py')
#99 Frame 0xcfa980, for file /home/arcivanov/Documents/src/arcivanov/pybuilder/src/integrationtest/python/smoke_itest_support.py, line 72, in smoke_test (self=<CleanSmokeTest(_testMethodName='test_build_then_clean', _outcome=<_Outcome(expecting_failure=False, result=<TextTestResult(failfast=False, failures=[], errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, tb_locals=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7fffeab115f0>, _original_stderr=<_io.TextIOWrapper at remote 0x7fffeab116e0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7fffeab116e0>) at remote 0x7fffea65d910>, showAll=False, dots=True, descriptions=True, _testRunEntered=True, _moduleSetUpFailed=False, _previousTestClass=<type at remote 0x9f0a60>) at remote 0x7fffea65d5a0>, result_supports_subtests=True, success=True, skipped=[], expectedFailure=None, errors=[(<...>, None)]) at remote 0x7fffea65daa...(truncated)
return run_path(self.build_py, run_name="__main__")
#106 Frame 0xa04100, for file /home/arcivanov/Documents/src/arcivanov/pybuilder/src/integrationtest/python/smoke_clean_tests.py, line 30, in test_build_then_clean (self=<CleanSmokeTest(_testMethodName='test_build_then_clean', _outcome=<_Outcome(expecting_failure=False, result=<TextTestResult(failfast=False, failures=[], errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, tb_locals=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7fffeab115f0>, _original_stderr=<_io.TextIOWrapper at remote 0x7fffeab116e0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7fffeab116e0>) at remote 0x7fffea65d910>, showAll=False, dots=True, descriptions=True, _testRunEntered=True, _moduleSetUpFailed=False, _previousTestClass=<type at remote 0x9f0a60>) at remote 0x7fffea65d5a0>, result_supports_subtests=True, success=True, skipped=[], expectedFailure=None, errors=[(<...>, None)]) at remote 0x7f...(truncated)
self.smoke_test("-v", "-X", "clean")
#115 Frame 0x9d3e90, for file /home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/unittest/case.py, line 550, in _callTestMethod (self=<CleanSmokeTest(_testMethodName='test_build_then_clean', _outcome=<_Outcome(expecting_failure=False, result=<TextTestResult(failfast=False, failures=[], errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, tb_locals=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7fffeab115f0>, _original_stderr=<_io.TextIOWrapper at remote 0x7fffeab116e0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7fffeab116e0>) at remote 0x7fffea65d910>, showAll=False, dots=True, descriptions=True, _testRunEntered=True, _moduleSetUpFailed=False, _previousTestClass=<type at remote 0x9f0a60>) at remote 0x7fffea65d5a0>, result_supports_subtests=True, success=True, skipped=[], expectedFailure=None, errors=[(<...>, None)]) at remote 0x7fffea65daa0>, _testMethodDo...(truncated)
method()
#122 Frame 0x9fb190, for file /home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/unittest/case.py, line 1617, in run (self=<CleanSmokeTest(_testMethodName='test_build_then_clean', _outcome=<_Outcome(expecting_failure=False, result=<TextTestResult(failfast=False, failures=[], errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, tb_locals=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7fffeab115f0>, _original_stderr=<_io.TextIOWrapper at remote 0x7fffeab116e0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7fffeab116e0>) at remote 0x7fffea65d910>, showAll=False, dots=True, descriptions=True, _testRunEntered=True, _moduleSetUpFailed=False, _previousTestClass=<type at remote 0x9f0a60>) at remote 0x7fffea65d5a0>, result_supports_subtests=True, success=True, skipped=[], expectedFailure=None, errors=[(<...>, None)]) at remote 0x7fffea65daa0>, _testMethodDoc=None, _cl...(truncated)
#132 Frame 0x7fffea662050, for file /home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/unittest/case.py, line 653, in __call__ (self=<CleanSmokeTest(_testMethodName='test_build_then_clean', _outcome=<_Outcome(expecting_failure=False, result=<TextTestResult(failfast=False, failures=[], errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, tb_locals=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7fffeab115f0>, _original_stderr=<_io.TextIOWrapper at remote 0x7fffeab116e0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7fffeab116e0>) at remote 0x7fffea65d910>, showAll=False, dots=True, descriptions=True, _testRunEntered=True, _moduleSetUpFailed=False, _previousTestClass=<type at remote 0x9f0a60>) at remote 0x7fffea65d5a0>, result_supports_subtests=True, success=True, skipped=[], expectedFailure=None, errors=[(<...>, None)]) at remote 0x7fffea65daa0>, _testMethodDoc...(truncated)
return self.run(*args, **kwds)
#143 Frame 0x7fffea661810, for file /home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/unittest/suite.py, line 378, in run (self=<TestSuite(_tests=[<CleanSmokeTest(_testMethodName='test_build_then_clean', _outcome=<_Outcome(expecting_failure=False, result=<TextTestResult(failfast=False, failures=[], errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, tb_locals=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7fffeab115f0>, _original_stderr=<_io.TextIOWrapper at remote 0x7fffeab116e0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7fffeab116e0>) at remote 0x7fffea65d910>, showAll=False, dots=True, descriptions=True, _testRunEntered=True, _moduleSetUpFailed=False, _previousTestClass=<type at remote 0x9f0a60>) at remote 0x7fffea65d5a0>, result_supports_subtests=True, success=True, skipped=[], expectedFailure=None, errors=[(<...>, None)]) at remote 0x7fffea65daa0>,...(truncated)
#153 Frame 0x7fffea6a7b30, for file /home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/unittest/suite.py, line 84, in __call__ (self=<TestSuite(_tests=[<CleanSmokeTest(_testMethodName='test_build_then_clean', _outcome=<_Outcome(expecting_failure=False, result=<TextTestResult(failfast=False, failures=[], errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, tb_locals=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7fffeab115f0>, _original_stderr=<_io.TextIOWrapper at remote 0x7fffeab116e0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7fffeab116e0>) at remote 0x7fffea65d910>, showAll=False, dots=True, descriptions=True, _testRunEntered=True, _moduleSetUpFailed=False, _previousTestClass=<type at remote 0x9f0a60>) at remote 0x7fffea65d5a0>, result_supports_subtests=True, success=True, skipped=[], expectedFailure=None, errors=[(<...>, None)]) at remote 0x7fffea65da...(truncated)
return self.run(*args, **kwds)
#164 Frame 0x7fffea661620, for file /home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/unittest/suite.py, line 378, in run (self=<TestSuite(_tests=[<TestSuite(_tests=[<CleanSmokeTest(_testMethodName='test_build_then_clean', _outcome=<_Outcome(expecting_failure=False, result=<TextTestResult(failfast=False, failures=[], errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, tb_locals=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7fffeab115f0>, _original_stderr=<_io.TextIOWrapper at remote 0x7fffeab116e0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7fffeab116e0>) at remote 0x7fffea65d910>, showAll=False, dots=True, descriptions=True, _testRunEntered=True, _moduleSetUpFailed=False, _previousTestClass=<type at remote 0x9f0a60>) at remote 0x7fffea65d5a0>, result_supports_subtests=True, success=True, skipped=[], expectedFailure=None, errors=[(<...>, None)]) at remo...(truncated)
#174 Frame 0x7fffea6a7960, for file /home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/unittest/suite.py, line 84, in __call__ (self=<TestSuite(_tests=[<TestSuite(_tests=[<CleanSmokeTest(_testMethodName='test_build_then_clean', _outcome=<_Outcome(expecting_failure=False, result=<TextTestResult(failfast=False, failures=[], errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, tb_locals=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7fffeab115f0>, _original_stderr=<_io.TextIOWrapper at remote 0x7fffeab116e0>, _mirrorOutput=False, stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7fffeab116e0>) at remote 0x7fffea65d910>, showAll=False, dots=True, descriptions=True, _testRunEntered=True, _moduleSetUpFailed=False, _previousTestClass=<type at remote 0x9f0a60>) at remote 0x7fffea65d5a0>, result_supports_subtests=True, success=True, skipped=[], expectedFailure=None, errors=[(<...>, None)]) at ...(truncated)
return self.run(*args, **kwds)
#185 Frame 0x9f3b90, for file /home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/unittest/runner.py, line 432, in run (self=<TextTestRunner(stream=<_WritelnDecorator(stream=<_io.TextIOWrapper at remote 0x7fffeab116e0>) at remote 0x7fffea65d910>, descriptions=True, verbosity=1, failfast=False, buffer=False, tb_locals=False, warnings=None) at remote 0x7fffea68ca50>, test=<TestSuite(_tests=[<TestSuite(_tests=[<CleanSmokeTest(_testMethodName='test_build_then_clean', _outcome=<_Outcome(expecting_failure=False, result=<TextTestResult(failfast=False, failures=[], errors=[], testsRun=1, skipped=[], expectedFailures=[], unexpectedSuccesses=[], shouldStop=False, buffer=False, tb_locals=False, _stdout_buffer=None, _stderr_buffer=None, _original_stdout=<_io.TextIOWrapper at remote 0x7fffeab115f0>, _original_stderr=<_io.TextIOWrapper at remote 0x7fffeab116e0>, _mirrorOutput=False, stream=<...>, showAll=False, dots=True, descriptions=True, _testRunEntered=True, _moduleSetUpFailed=False, _previousTestClass=<type at remo...(truncated)
#192 Frame 0x7fffea661050, for file /home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/unittest/main.py, line 783, in runTests (self=<TestProgram(module=<module at remote 0x7fffeab12ad0>, exit=True, failfast=False, catchbreak=False, verbosity=1, buffer=False, tb_locals=False, warnings=None, defaultTest=None, testRunner=<type at remote 0x9ab0e0>, testLoader=<TestLoader(errors=[], _loading_packages=set()) at remote 0x7fffea8fca00>, progName='smoke_clean_tests.py', testNamePatterns=[], _main_parser=<ArgumentParser(description=None, argument_default=None, prefix_chars='-', conflict_handler='error', _registries={'action': {None: <type at remote 0x99ab00>, 'store': <type at remote 0x99ab00>, 'store_const': <type at remote 0x99aee0>, 'store_true': <type at remote 0x99b2c0>, 'store_false': <type at remote 0x99b6a0>, 'append': <type at remote 0x99ba80>, 'append_const': <type at remote 0x99be60>, 'count': <type at remote 0x99c240>, 'help': <type at remote 0x99c620>, 'version': <type at remote 0x99ca00>, 'parsers': ...(truncated)
#199 Frame 0x9f0e40, for file /home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/unittest/main.py, line 101, in __init__ (self=<TestProgram(module=<module at remote 0x7fffeab12ad0>, exit=True, failfast=False, catchbreak=False, verbosity=1, buffer=False, tb_locals=False, warnings=None, defaultTest=None, testRunner=<type at remote 0x9ab0e0>, testLoader=<TestLoader(errors=[], _loading_packages=set()) at remote 0x7fffea8fca00>, progName='smoke_clean_tests.py', testNamePatterns=[], _main_parser=<ArgumentParser(description=None, argument_default=None, prefix_chars='-', conflict_handler='error', _registries={'action': {None: <type at remote 0x99ab00>, 'store': <type at remote 0x99ab00>, 'store_const': <type at remote 0x99aee0>, 'store_true': <type at remote 0x99b2c0>, 'store_false': <type at remote 0x99b6a0>, 'append': <type at remote 0x99ba80>, 'append_const': <type at remote 0x99be60>, 'count': <type at remote 0x99c240>, 'help': <type at remote 0x99c620>, 'version': <type at remote 0x99ca00>, 'parsers': <type ...(truncated)
self.runTests()
#211 Frame 0x9115d0, for file /home/arcivanov/Documents/src/arcivanov/pybuilder/src/integrationtest/python/smoke_clean_tests.py, line 34, in <module> ()
unittest.main() |
(gdb) bt |
Right, the fix was merged after v3.9.0b4 was merged. The fix will be part of the next 3.9 release ("3.9.0 beta 5: Monday, 2020-07-20"). Usually, issues are closed when fixes are merged, not when new versions including the fix are released. |
I'm working on a short reproducer, but otherwise reproducer is exactly the same as described in https://bugs.python.org/issue41194#msg372854 The way I bumped into this is trying to confirm the fix in Beta 4 (which apparently didn't make it, as you mentioned). |
"Short" reproducer: repro.py:
script.py:
|
$ PYTHONWARNINGS=ignore gdb --args /home/arcivanov/Documents/src/arcivanov/pybuilder/target/venv/test/cpython-3.9.0.beta.4/bin/python ./repro.py
GNU gdb (GDB) Fedora 9.1-5.fc32
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Program received signal SIGSEGV, Segmentation fault.
0x0000000000623339 in _Py_IS_TYPE (ob=0x0, type=0x8609e0 <PyType_Type>) at ./Include/object.h:128
128 return ob->ob_type == type;
Missing separate debuginfos, use: dnf debuginfo-install libxcrypt-4.4.16-3.fc32.x86_64
(gdb)
(gdb) bt
#0 0x0000000000623339 in _Py_IS_TYPE (ob=0x0, type=0x8609e0 <PyType_Type>) at ./Include/object.h:128
#1 0x0000000000623487 in _PyType_CheckExact (op=0x0) at ./Include/object.h:641
#2 0x0000000000628d85 in object_recursive_isinstance (tstate=0x8b19a0,
inst="{'_platform': 'linux', '_os_name': 'posix', '_executable': ('/home/arcivanov/Documents/src/arcivanov/pybuilder/target/venv/test/cpython-3.9.0.beta.4/bin/python',), '_exec_dir': '/home/arcivanov/Documents/src/arcivanov/pybuilder/target/venv/test/cpython-3.9.0.beta.4/bin', '_name': 'CPython', '_type': 'cpython', '_version': (3, 9, 0, 'beta', 4), '_is_pypy': False, '_is_64bit': True, '_versioned_dir_name': 'cpython-3.9.0.beta.4', '_environ': {'SHELL': '/bin/bash', 'SESSION_MANAGER': 'local/unix:@/tmp/.ICE-unix/6175,unix/unix:/tmp/.ICE-unix/6175', 'WINDOWID': '56623111', 'COLORTERM': 'truecolor', 'PYENV_SHELL': 'bash', 'XDG_CONFIG_DIRS': '/etc/xdg:/usr/share/kde-settings/kde-profile/default/xdg', 'HISTCONTROL': 'ignoredups', 'XDG_MENU_PREFIX': 'kf5-', 'rvm_prefix': '/home/arcivanov', 'HISTSIZE': '-1', 'HOSTNAME': 'ai-karellen-lap', 'LANGUAGE': '', 'JAVA_HOME': '/home/arcivanov/devhome/current/jdk', 'SSH_AUTH_SOCK': '/tmp/ssh-2nZCuLIsvvyW/agent.5125', 'SHELL_SESSION_ID': '1fe1a56ee9dd4fac85", cls=0x0) at Objects/abstract.c:2495
#3 0x0000000000628fdc in PyObject_IsInstance (
inst="{'_platform': 'linux', '_os_name': 'posix', '_executable': ('/home/arcivanov/Documents/src/arcivanov/pybuilder/target/venv/test/cpython-3.9.0.beta.4/bin/python',), '_exec_dir': '/home/arcivanov/Documents/src/arcivanov/pybuilder/target/venv/test/cpython-3.9.0.beta.4/bin', '_name': 'CPython', '_type': 'cpython', '_version': (3, 9, 0, 'beta', 4), '_is_pypy': False, '_is_64bit': True, '_versioned_dir_name': 'cpython-3.9.0.beta.4', '_environ': {'SHELL': '/bin/bash', 'SESSION_MANAGER': 'local/unix:@/tmp/.ICE-unix/6175,unix/unix:/tmp/.ICE-unix/6175', 'WINDOWID': '56623111', 'COLORTERM': 'truecolor', 'PYENV_SHELL': 'bash', 'XDG_CONFIG_DIRS': '/etc/xdg:/usr/share/kde-settings/kde-profile/default/xdg', 'HISTCONTROL': 'ignoredups', 'XDG_MENU_PREFIX': 'kf5-', 'rvm_prefix': '/home/arcivanov', 'HISTSIZE': '-1', 'HOSTNAME': 'ai-karellen-lap', 'LANGUAGE': '', 'JAVA_HOME': '/home/arcivanov/devhome/current/jdk', 'SSH_AUTH_SOCK': '/tmp/ssh-2nZCuLIsvvyW/agent.5125', 'SHELL_SESSION_ID': '1fe1a56ee9dd4fac85", cls=0x0) at Objects/abstract.c:2551
#4 0x0000000000682420 in PyAST_Check (
obj="{'_platform': 'linux', '_os_name': 'posix', '_executable': ('/home/arcivanov/Documents/src/arcivanov/pybuilder/target/venv/test/cpython-3.9.0.beta.4/bin/python',), '_exec_dir': '/home/arcivanov/Documents/src/arcivanov/pybuilder/target/venv/test/cpython-3.9.0.beta.4/bin', '_name': 'CPython', '_type': 'cpython', '_version': (3, 9, 0, 'beta', 4), '_is_pypy': False, '_is_64bit': True, '_versioned_dir_name': 'cpython-3.9.0.beta.4', '_environ': {'SHELL': '/bin/bash', 'SESSION_MANAGER': 'local/unix:@/tmp/.ICE-unix/6175,unix/unix:/tmp/.ICE-unix/6175', 'WINDOWID': '56623111', 'COLORTERM': 'truecolor', 'PYENV_SHELL': 'bash', 'XDG_CONFIG_DIRS': '/etc/xdg:/usr/share/kde-settings/kde-profile/default/xdg', 'HISTCONTROL': 'ignoredups', 'XDG_MENU_PREFIX': 'kf5-', 'rvm_prefix': '/home/arcivanov', 'HISTSIZE': '-1', 'HOSTNAME': 'ai-karellen-lap', 'LANGUAGE': '', 'JAVA_HOME': '/home/arcivanov/devhome/current/jdk', 'SSH_AUTH_SOCK': '/tmp/ssh-2nZCuLIsvvyW/agent.5125', 'SHELL_SESSION_ID': '1fe1a56ee9dd4fac85") at Python/Python-ast.c:10356
#5 0x000000000069c754 in builtin_compile_impl (module=<module at remote 0x7fffeabc3a10>,
source="{'_platform': 'linux', '_os_name': 'posix', '_executable': ('/home/arcivanov/Documents/src/arcivanov/pybuilder/target/venv/test/cpython-3.9.0.beta.4/bin/python',), '_exec_dir': '/home/arcivanov/Documents/src/arcivanov/pybuilder/target/venv/test/cpython-3.9.0.beta.4/bin', '_name': 'CPython', '_type': 'cpython', '_version': (3, 9, 0, 'beta', 4), '_is_pypy': False, '_is_64bit': True, '_versioned_dir_name': 'cpython-3.9.0.beta.4', '_environ': {'SHELL': '/bin/bash', 'SESSION_MANAGER': 'local/unix:@/tmp/.ICE-unix/6175,unix/unix:/tmp/.ICE-unix/6175', 'WINDOWID': '56623111', 'COLORTERM': 'truecolor', 'PYENV_SHELL': 'bash', 'XDG_CONFIG_DIRS': '/etc/xdg:/usr/share/kde-settings/kde-profile/default/xdg', 'HISTCONTROL': 'ignoredups', 'XDG_MENU_PREFIX': 'kf5-', 'rvm_prefix': '/home/arcivanov', 'HISTSIZE': '-1', 'HOSTNAME': 'ai-karellen-lap', 'LANGUAGE': '', 'JAVA_HOME': '/home/arcivanov/devhome/current/jdk', 'SSH_AUTH_SOCK': '/tmp/ssh-2nZCuLIsvvyW/agent.5125', 'SHELL_SESSION_ID': '1fe1a56ee9dd4fac85", filename='<unknown>', mode=0x7fffeabc42f0 "eval",
flags=1024, dont_inherit=0, optimize=-1, feature_version=-1) at Python/bltinmodule.c:784
#6 0x000000000069aa72 in builtin_compile (module=<module at remote 0x7fffeabc3a10>, args=0x7fffffff02b0, nargs=4, kwnames=('_feature_version',)) at Python/clinic/bltinmodule.c.h:274
#7 0x0000000000655297 in cfunction_vectorcall_FASTCALL_KEYWORDS (func=<built-in method compile of module object at remote 0x7fffeabc3a10>, args=0x9c8a00, nargsf=9223372036854775812, kwnames=('_feature_version',)) at Objects/methodobject.c:440
#8 0x0000000000509a31 in _PyObject_VectorcallTstate (tstate=0x8b19a0, callable=<built-in method compile of module object at remote 0x7fffeabc3a10>, args=0x9c8a00, nargsf=9223372036854775812, kwnames=('_feature_version',)) at ./Include/cpython/abstract.h:118
#9 0x0000000000509a90 in PyObject_Vectorcall (callable=<built-in method compile of module object at remote 0x7fffeabc3a10>, args=0x9c8a00, nargsf=9223372036854775812, kwnames=('_feature_version',)) at ./Include/cpython/abstract.h:127
#10 0x000000000051ea52 in call_function (tstate=0x8b19a0, pp_stack=0x7fffffff0518, oparg=5, kwnames=('_feature_version',)) at Python/ceval.c:5044
#11 0x00000000005197ff in _PyEval_EvalFrameDefault (tstate=0x8b19a0,
f=Frame 0x9c8850, for file /home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/ast.py, line 306, in parse (source="{'_platform': 'linux', '_os_name': 'posix', '_executable': ('/home/arcivanov/Documents/src/arcivanov/pybuilder/target/venv/test/cpython-3.9.0.beta.4/bin/python',), '_exec_dir': '/home/arcivanov/Documents/src/arcivanov/pybuilder/target/venv/test/cpython-3.9.0.beta.4/bin', '_name': 'CPython', '_type': 'cpython', '_version': (3, 9, 0, 'beta', 4), '_is_pypy': False, '_is_64bit': True, '_versioned_dir_name': 'cpython-3.9.0.beta.4', '_environ': {'SHELL': '/bin/bash', 'SESSION_MANAGER': 'local/unix:@/tmp/.ICE-unix/6175,unix/unix:/tmp/.ICE-unix/6175', 'WINDOWID': '56623111', 'COLORTERM': 'truecolor', 'PYENV_SHELL': 'bash', 'XDG_CONFIG_DIRS': '/etc/xdg:/usr/share/kde-settings/kde-profile/default/xdg', 'HISTCONTROL': 'ignoredups', 'XDG_MENU_PREFIX': 'kf5-', 'rvm_prefix': '/home/arcivanov', 'HISTSIZE': '-1', 'HOSTNAME': 'ai-karellen-lap', 'LANGUAGE': '', 'JAVA_HOME': '/home/arcivanov/devhome/current/j...(truncated), throwflag=0)
at Python/ceval.c:3507
#12 0x0000000000509cde in _PyEval_EvalFrame (tstate=0x8b19a0,
f=Frame 0x9c8850, for file /home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/ast.py, line 306, in parse (source="{'_platform': 'linux', '_os_name': 'posix', '_executable': ('/home/arcivanov/Documents/src/arcivanov/pybuilder/target/venv/test/cpython-3.9.0.beta.4/bin/python',), '_exec_dir': '/home/arcivanov/Documents/src/arcivanov/pybuilder/target/venv/test/cpython-3.9.0.beta.4/bin', '_name': 'CPython', '_type': 'cpython', '_version': (3, 9, 0, 'beta', 4), '_is_pypy': False, '_is_64bit': True, '_versioned_dir_name': 'cpython-3.9.0.beta.4', '_environ': {'SHELL': '/bin/bash', 'SESSION_MANAGER': 'local/unix:@/tmp/.ICE-unix/6175,unix/unix:/tmp/.ICE-unix/6175', 'WINDOWID': '56623111', 'COLORTERM': 'truecolor', 'PYENV_SHELL': 'bash', 'XDG_CONFIG_DIRS': '/etc/xdg:/usr/share/kde-settings/kde-profile/default/xdg', 'HISTCONTROL': 'ignoredups', 'XDG_MENU_PREFIX': 'kf5-', 'rvm_prefix': '/home/arcivanov', 'HISTSIZE': '-1', 'HOSTNAME': 'ai-karellen-lap', 'LANGUAGE': '', 'JAVA_HOME': '/home/arcivanov/devhome/current/j...(truncated), throwflag=0)
at ./Include/internal/pycore_ceval.h:40
#13 0x000000000051cf4e in _PyEval_EvalCode (tstate=0x8b19a0, _co=<code at remote 0x7fffea863ee0>,
globals={'__name__': 'ast', '__doc__': '\n ast\n ~~~\n\n The `ast` module helps Python applications to process trees of the Python\n abstract syntax grammar. The abstract syntax itself might change with\n each Python release; this module helps to find out programmatically what\n the current grammar looks like and allows modifications of it.\n\n An abstract syntax tree can be generated by passing `ast.PyCF_ONLY_AST` as\n a flag to the `compile()` builtin function or by using the `parse()`\n function from this module. The result will be a tree of objects whose\n classes all inherit from `ast.AST`.\n\n A modified abstract syntax tree can be compiled into a Python code object\n using the built-in `compile()` function.\n\n Additionally various helper functions are provided that make working with\n the trees simpler. The main intention of the helper functions and this\n module in general is to provide an easy to use interface for libraries\n that work tightly with the pyth...(truncated), locals=0x0,
args=0x7fffea8161e8, argcount=1, kwnames=0x7fffea7fc3d8, kwargs=0x7fffea8161f0, kwcount=1, kwstep=1, defs=0x7fffea8ab978, defcount=2, kwdefs={'type_comments': False, 'feature_version': None}, closure=0x0, name='parse', qualname='parse') at Python/ceval.c:4299
#14 0x0000000000431853 in _PyFunction_Vectorcall (func=<function at remote 0x7fffea7cc410>, stack=0x7fffea8161e8, nargsf=9223372036854775809, kwnames=('mode',)) at Objects/call.c:395
#15 0x0000000000509a31 in _PyObject_VectorcallTstate (tstate=0x8b19a0, callable=<function at remote 0x7fffea7cc410>, args=0x7fffea8161e8, nargsf=9223372036854775809, kwnames=('mode',)) at ./Include/cpython/abstract.h:118
#16 0x0000000000509a90 in PyObject_Vectorcall (callable=<function at remote 0x7fffea7cc410>, args=0x7fffea8161e8, nargsf=9223372036854775809, kwnames=('mode',)) at ./Include/cpython/abstract.h:127
#17 0x000000000051ea52 in call_function (tstate=0x8b19a0, pp_stack=0x7fffffff1d38, oparg=2, kwnames=('mode',)) at Python/ceval.c:5044
#18 0x00000000005197ff in _PyEval_EvalFrameDefault (tstate=0x8b19a0,
f=Frame 0x7fffea816050, for file /home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/ast.py, line 62, in literal_eval (node_or_string="{'_platform': 'linux', '_os_name': 'posix', '_executable': ('/home/arcivanov/Documents/src/arcivanov/pybuilder/target/venv/test/cpython-3.9.0.beta.4/bin/python',), '_exec_dir': '/home/arcivanov/Documents/src/arcivanov/pybuilder/target/venv/test/cpython-3.9.0.beta.4/bin', '_name': 'CPython', '_type': 'cpython', '_version': (3, 9, 0, 'beta', 4), '_is_pypy': False, '_is_64bit': True, '_versioned_dir_name': 'cpython-3.9.0.beta.4', '_environ': {'SHELL': '/bin/bash', 'SESSION_MANAGER': 'local/unix:@/tmp/.ICE-unix/6175,unix/unix:/tmp/.ICE-unix/6175', 'WINDOWID': '56623111', 'COLORTERM': 'truecolor', 'PYENV_SHELL': 'bash', 'XDG_CONFIG_DIRS': '/etc/xdg:/usr/share/kde-settings/kde-profile/default/xdg', 'HISTCONTROL': 'ignoredups', 'XDG_MENU_PREFIX': 'kf5-', 'rvm_prefix': '/home/arcivanov', 'HISTSIZE': '-1', 'HOSTNAME': 'ai-karellen-lap', 'LANGUAGE': '', 'JAVA_HOME': '/home/arcivan...(truncated), throwflag=0)
at Python/ceval.c:3507
#19 0x0000000000509cde in _PyEval_EvalFrame (tstate=0x8b19a0,
f=Frame 0x7fffea816050, for file /home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/ast.py, line 62, in literal_eval (node_or_string="{'_platform': 'linux', '_os_name': 'posix', '_executable': ('/home/arcivanov/Documents/src/arcivanov/pybuilder/target/venv/test/cpython-3.9.0.beta.4/bin/python',), '_exec_dir': '/home/arcivanov/Documents/src/arcivanov/pybuilder/target/venv/test/cpython-3.9.0.beta.4/bin', '_name': 'CPython', '_type': 'cpython', '_version': (3, 9, 0, 'beta', 4), '_is_pypy': False, '_is_64bit': True, '_versioned_dir_name': 'cpython-3.9.0.beta.4', '_environ': {'SHELL': '/bin/bash', 'SESSION_MANAGER': 'local/unix:@/tmp/.ICE-unix/6175,unix/unix:/tmp/.ICE-unix/6175', 'WINDOWID': '56623111', 'COLORTERM': 'truecolor', 'PYENV_SHELL': 'bash', 'XDG_CONFIG_DIRS': '/etc/xdg:/usr/share/kde-settings/kde-profile/default/xdg', 'HISTCONTROL': 'ignoredups', 'XDG_MENU_PREFIX': 'kf5-', 'rvm_prefix': '/home/arcivanov', 'HISTSIZE': '-1', 'HOSTNAME': 'ai-karellen-lap', 'LANGUAGE': '', 'JAVA_HOME': '/home/arcivan...(truncated), throwflag=0)
at ./Include/internal/pycore_ceval.h:40
#20 0x000000000051cf4e in _PyEval_EvalCode (tstate=0x8b19a0, _co=<code at remote 0x7fffea876930>,
globals={'__name__': 'ast', '__doc__': '\n ast\n ~~~\n\n The `ast` module helps Python applications to process trees of the Python\n abstract syntax grammar. The abstract syntax itself might change with\n each Python release; this module helps to find out programmatically what\n the current grammar looks like and allows modifications of it.\n\n An abstract syntax tree can be generated by passing `ast.PyCF_ONLY_AST` as\n a flag to the `compile()` builtin function or by using the `parse()`\n function from this module. The result will be a tree of objects whose\n classes all inherit from `ast.AST`.\n\n A modified abstract syntax tree can be compiled into a Python code object\n using the built-in `compile()` function.\n\n Additionally various helper functions are provided that make working with\n the trees simpler. The main intention of the helper functions and this\n module in general is to provide an easy to use interface for libraries\n that work tightly with the pyth...(truncated), locals=0x0,
args=0x7fffea9321c8, argcount=1, kwnames=0x0, kwargs=0x7fffea9321d0, kwcount=0, kwstep=1, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0, name='literal_eval', qualname='literal_eval') at Python/ceval.c:4299
#21 0x0000000000431853 in _PyFunction_Vectorcall (func=<function at remote 0x7fffea7f7e10>, stack=0x7fffea9321c8, nargsf=9223372036854775809, kwnames=0x0) at Objects/call.c:395
#22 0x0000000000509a31 in _PyObject_VectorcallTstate (tstate=0x8b19a0, callable=<function at remote 0x7fffea7f7e10>, args=0x7fffea9321c8, nargsf=9223372036854775809, kwnames=0x0) at ./Include/cpython/abstract.h:118
#23 0x0000000000509a90 in PyObject_Vectorcall (callable=<function at remote 0x7fffea7f7e10>, args=0x7fffea9321c8, nargsf=9223372036854775809, kwnames=0x0) at ./Include/cpython/abstract.h:127
#24 0x000000000051ea52 in call_function (tstate=0x8b19a0, pp_stack=0x7fffffff3578, oparg=1, kwnames=0x0) at Python/ceval.c:5044
#25 0x00000000005193a1 in _PyEval_EvalFrameDefault (tstate=0x8b19a0, f=Frame 0x7fffea932050, for file script.py, line 27, in <module> (), throwflag=0) at Python/ceval.c:3459
#26 0x0000000000509cde in _PyEval_EvalFrame (tstate=0x8b19a0, f=Frame 0x7fffea932050, for file script.py, line 27, in <module> (), throwflag=0) at ./Include/internal/pycore_ceval.h:40
#27 0x000000000051cf4e in _PyEval_EvalCode (tstate=0x8b19a0, _co=<code at remote 0x7fffeaab9450>,
globals={'__name__': '__main__', '__doc__': None, '__package__': '', '__loader__': None, '__spec__': None, '__file__': 'script.py', '__cached__': None, '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': <type at remote 0x8c35e0>, '__spec__': <ModuleSpec(name='builtins', loader=<type at remote 0x8c35e0>, origin='built-in', loader_state=None, submodule_search_locations=None, _set_fileattr=False, _cached=None) at remote 0x7fffeab6a0f0>, '__build_class__': <built-in method __build_class__ of module object at remote 0x7fffeabc3a10>, '__import__': <built-in method __import__ of module object at remote 0x7fffeabc3a10>, 'abs': <built-in method abs of module object at remote 0x7fffeabc3a10>, 'all': <built-in method all of module object at remote 0x7fffeabc3a10>, 'any': <built-in method any of module object at remote 0x7fffeabc3a10>, 'ascii': <built-in method asci...(truncated),
locals={'__name__': '__main__', '__doc__': None, '__package__': '', '__loader__': None, '__spec__': None, '__file__': 'script.py', '__cached__': None, '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': <type at remote 0x8c35e0>, '__spec__': <ModuleSpec(name='builtins', loader=<type at remote 0x8c35e0>, origin='built-in', loader_state=None, submodule_search_locations=None, _set_fileattr=False, _cached=None) at remote 0x7fffeab6a0f0>, '__build_class__': <built-in method __build_class__ of module object at remote 0x7fffeabc3a10>, '__import__': <built-in method __import__ of module object at remote 0x7fffeabc3a10>, 'abs': <built-in method abs of module object at remote 0x7fffeabc3a10>, 'all': <built-in method all of module object at remote 0x7fffeabc3a10>, 'any': <built-in method any of module object at remote 0x7fffeabc3a10>, 'ascii': <built-in method asci...(truncated), args=0x0,
argcount=0, kwnames=0x0, kwargs=0x0, kwcount=0, kwstep=2, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0, name=0x0, qualname=0x0) at Python/ceval.c:4299
#28 0x000000000051d051 in _PyEval_EvalCodeWithName (_co=<code at remote 0x7fffeaab9450>,
globals={'__name__': '__main__', '__doc__': None, '__package__': '', '__loader__': None, '__spec__': None, '__file__': 'script.py', '__cached__': None, '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': <type at remote 0x8c35e0>, '__spec__': <ModuleSpec(name='builtins', loader=<type at remote 0x8c35e0>, origin='built-in', loader_state=None, submodule_search_locations=None, _set_fileattr=False, _cached=None) at remote 0x7fffeab6a0f0>, '__build_class__': <built-in method __build_class__ of module object at remote 0x7fffeabc3a10>, '__import__': <built-in method __import__ of module object at remote 0x7fffeabc3a10>, 'abs': <built-in method abs of module object at remote 0x7fffeabc3a10>, 'all': <built-in method all of module object at remote 0x7fffeabc3a10>, 'any': <built-in method any of module object at remote 0x7fffeabc3a10>, 'ascii': <built-in method asci...(truncated),
locals={'__name__': '__main__', '__doc__': None, '__package__': '', '__loader__': None, '__spec__': None, '__file__': 'script.py', '__cached__': None, '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': <type at remote 0x8c35e0>, '__spec__': <ModuleSpec(name='builtins', loader=<type at remote 0x8c35e0>, origin='built-in', loader_state=None, submodule_search_locations=None, _set_fileattr=False, _cached=None) at remote 0x7fffeab6a0f0>, '__build_class__': <built-in method __build_class__ of module object at remote 0x7fffeabc3a10>, '__import__': <built-in method __import__ of module object at remote 0x7fffeabc3a10>, 'abs': <built-in method abs of module object at remote 0x7fffeabc3a10>, 'all': <built-in method all of module object at remote 0x7fffeabc3a10>, 'any': <built-in method any of module object at remote 0x7fffeabc3a10>, 'ascii': <built-in method asci...(truncated), args=0x0,
argcount=0, kwnames=0x0, kwargs=0x0, kwcount=0, kwstep=2, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0, name=0x0, qualname=0x0) at Python/ceval.c:4331
#29 0x000000000051d0d9 in PyEval_EvalCodeEx (_co=<code at remote 0x7fffeaab9450>,
globals={'__name__': '__main__', '__doc__': None, '__package__': '', '__loader__': None, '__spec__': None, '__file__': 'script.py', '__cached__': None, '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': <type at remote 0x8c35e0>, '__spec__': <ModuleSpec(name='builtins', loader=<type at remote 0x8c35e0>, origin='built-in', loader_state=None, submodule_search_locations=None, _set_fileattr=False, _cached=None) at remote 0x7fffeab6a0f0>, '__build_class__': <built-in method __build_class__ of module object at remote 0x7fffeabc3a10>, '__import__': <built-in method __import__ of module object at remote 0x7fffeabc3a10>, 'abs': <built-in method abs of module object at remote 0x7fffeabc3a10>, 'all': <built-in method all of module object at remote 0x7fffeabc3a10>, 'any': <built-in method any of module object at remote 0x7fffeabc3a10>, 'ascii': <built-in method asci...(truncated),
locals={'__name__': '__main__', '__doc__': None, '__package__': '', '__loader__': None, '__spec__': None, '__file__': 'script.py', '__cached__': None, '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': <type at remote 0x8c35e0>, '__spec__': <ModuleSpec(name='builtins', loader=<type at remote 0x8c35e0>, origin='built-in', loader_state=None, submodule_search_locations=None, _set_fileattr=False, _cached=None) at remote 0x7fffeab6a0f0>, '__build_class__': <built-in method __build_class__ of module object at remote 0x7fffeabc3a10>, '__import__': <built-in method __import__ of module object at remote 0x7fffeabc3a10>, 'abs': <built-in method abs of module object at remote 0x7fffeabc3a10>, 'all': <built-in method all of module object at remote 0x7fffeabc3a10>, 'any': <built-in method any of module object at remote 0x7fffeabc3a10>, 'ascii': <built-in method asci...(truncated), args=0x0,
argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at Python/ceval.c:4347
#30 0x000000000050bbc0 in PyEval_EvalCode (co=<code at remote 0x7fffeaab9450>,
globals={'__name__': '__main__', '__doc__': None, '__package__': '', '__loader__': None, '__spec__': None, '__file__': 'script.py', '__cached__': None, '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': <type at remote 0x8c35e0>, '__spec__': <ModuleSpec(name='builtins', loader=<type at remote 0x8c35e0>, origin='built-in', loader_state=None, submodule_search_locations=None, _set_fileattr=False, _cached=None) at remote 0x7fffeab6a0f0>, '__build_class__': <built-in method __build_class__ of module object at remote 0x7fffeabc3a10>, '__import__': <built-in method __import__ of module object at remote 0x7fffeabc3a10>, 'abs': <built-in method abs of module object at remote 0x7fffeabc3a10>, 'all': <built-in method all of module object at remote 0x7fffeabc3a10>, 'any': <built-in method any of module object at remote 0x7fffeabc3a10>, 'ascii': <built-in method asci...(truncated),
locals={'__name__': '__main__', '__doc__': None, '__package__': '', '__loader__': None, '__spec__': None, '__file__': 'script.py', '__cached__': None, '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': <type at remote 0x8c35e0>, '__spec__': <ModuleSpec(name='builtins', loader=<type at remote 0x8c35e0>, origin='built-in', loader_state=None, submodule_search_locations=None, _set_fileattr=False, _cached=None) at remote 0x7fffeab6a0f0>, '__build_class__': <built-in method __build_class__ of module object at remote 0x7fffeabc3a10>, '__import__': <built-in method __import__ of module object at remote 0x7fffeabc3a10>, 'abs': <built-in method abs of module object at remote 0x7fffeabc3a10>, 'all': <built-in method all of module object at remote 0x7fffeabc3a10>, 'any': <built-in method any of module object at remote 0x7fffeabc3a10>, 'ascii': <built-in method asci...(truncated))
at Python/ceval.c:809
#31 0x000000000069ce37 in builtin_exec_impl (module=<module at remote 0x7fffeabc3a10>, source=<code at remote 0x7fffeaab9450>,
globals={'__name__': '__main__', '__doc__': None, '__package__': '', '__loader__': None, '__spec__': None, '__file__': 'script.py', '__cached__': None, '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': <type at remote 0x8c35e0>, '__spec__': <ModuleSpec(name='builtins', loader=<type at remote 0x8c35e0>, origin='built-in', loader_state=None, submodule_search_locations=None, _set_fileattr=False, _cached=None) at remote 0x7fffeab6a0f0>, '__build_class__': <built-in method __build_class__ of module object at remote 0x7fffeabc3a10>, '__import__': <built-in method __import__ of module object at remote 0x7fffeabc3a10>, 'abs': <built-in method abs of module object at remote 0x7fffeabc3a10>, 'all': <built-in method all of module object at remote 0x7fffeabc3a10>, 'any': <built-in method any of module object at remote 0x7fffeabc3a10>, 'ascii': <built-in method asci...(truncated),
locals={'__name__': '__main__', '__doc__': None, '__package__': '', '__loader__': None, '__spec__': None, '__file__': 'script.py', '__cached__': None, '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': <type at remote 0x8c35e0>, '__spec__': <ModuleSpec(name='builtins', loader=<type at remote 0x8c35e0>, origin='built-in', loader_state=None, submodule_search_locations=None, _set_fileattr=False, _cached=None) at remote 0x7fffeab6a0f0>, '__build_class__': <built-in method __build_class__ of module object at remote 0x7fffeabc3a10>, '__import__': <built-in method __import__ of module object at remote 0x7fffeabc3a10>, 'abs': <built-in method abs of module object at remote 0x7fffeabc3a10>, 'all': <built-in method all of module object at remote 0x7fffeabc3a10>, 'any': <built-in method any of module object at remote 0x7fffeabc3a10>, 'ascii': <built-in method asci...(truncated))
at Python/bltinmodule.c:1035
#32 0x000000000069ac76 in builtin_exec (module=<module at remote 0x7fffeabc3a10>, args=0x9b3e60, nargs=2) at Python/clinic/bltinmodule.c.h:396
#33 0x00000000006551f4 in cfunction_vectorcall_FASTCALL (func=<built-in method exec of module object at remote 0x7fffeabc3a10>, args=0x9b3e60, nargsf=9223372036854775810, kwnames=0x0) at Objects/methodobject.c:424
#34 0x0000000000509a31 in _PyObject_VectorcallTstate (tstate=0x8b19a0, callable=<built-in method exec of module object at remote 0x7fffeabc3a10>, args=0x9b3e60, nargsf=9223372036854775810, kwnames=0x0) at ./Include/cpython/abstract.h:118
#35 0x0000000000509a90 in PyObject_Vectorcall (callable=<built-in method exec of module object at remote 0x7fffeabc3a10>, args=0x9b3e60, nargsf=9223372036854775810, kwnames=0x0) at ./Include/cpython/abstract.h:127
#36 0x000000000051ea52 in call_function (tstate=0x8b19a0, pp_stack=0x7fffffff4f18, oparg=2, kwnames=0x0) at Python/ceval.c:5044
#37 0x0000000000519598 in _PyEval_EvalFrameDefault (tstate=0x8b19a0,
f=Frame 0x9b3ca0, for file /home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/runpy.py, line 343, in _run_code (code=<code at remote 0x7fffeaab9450>, run_globals={'__name__': '__main__', '__doc__': None, '__package__': '', '__loader__': None, '__spec__': None, '__file__': 'script.py', '__cached__': None, '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': <type at remote 0x8c35e0>, '__spec__': <ModuleSpec(name='builtins', loader=<type at remote 0x8c35e0>, origin='built-in', loader_state=None, submodule_search_locations=None, _set_fileattr=False, _cached=None) at remote 0x7fffeab6a0f0>, '__build_class__': <built-in method __build_class__ of module object at remote 0x7fffeabc3a10>, '__import__': <built-in method __import__ of module object at remote 0x7fffeabc3a10>, 'abs': <built-in method abs of module object at remote 0x7fffeabc3a10>, 'all'...(truncated), throwflag=0)
at Python/ceval.c:3490
#38 0x0000000000509cde in _PyEval_EvalFrame (tstate=0x8b19a0,
f=Frame 0x9b3ca0, for file /home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/runpy.py, line 343, in _run_code (code=<code at remote 0x7fffeaab9450>, run_globals={'__name__': '__main__', '__doc__': None, '__package__': '', '__loader__': None, '__spec__': None, '__file__': 'script.py', '__cached__': None, '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': <type at remote 0x8c35e0>, '__spec__': <ModuleSpec(name='builtins', loader=<type at remote 0x8c35e0>, origin='built-in', loader_state=None, submodule_search_locations=None, _set_fileattr=False, _cached=None) at remote 0x7fffeab6a0f0>, '__build_class__': <built-in method __build_class__ of module object at remote 0x7fffeabc3a10>, '__import__': <built-in method __import__ of module object at remote 0x7fffeabc3a10>, 'abs': <built-in method abs of module object at remote 0x7fffeabc3a10>, 'all'...(truncated), throwflag=0)
at ./Include/internal/pycore_ceval.h:40
#39 0x000000000051cf4e in _PyEval_EvalCode (tstate=0x8b19a0, _co=<code at remote 0x7fffeaab9790>,
globals={'__name__': 'runpy', '__doc__': 'runpy.py - locating and running Python code using the module namespace\n\nProvides support for locating and running Python scripts using the Python\nmodule namespace instead of the native filesystem.\n\nThis allows Python code to play nicely with non-filesystem based PEP 302\nimporters when locating support scripts as well as when importing modules.\n', '__package__': '', '__loader__': <SourceFileLoader(name='runpy', path='/home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/runpy.py') at remote 0x7fffeaa980a0>, '__spec__': <ModuleSpec(name='runpy', loader=<...>, origin='/home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/runpy.py', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached='/home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/__pycache__/runpy.cpython-39.pyc', _initializing=False) at remote 0x7fffeaa980f0>, '__file__': '/home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/runpy.py', '__cached__': '/home/arciv...(truncated), locals=0x0,
args=0x9b3c18, argcount=7, kwnames=0x0, kwargs=0x9b3c50, kwcount=0, kwstep=1, defs=0x7fffeaaaaed8, defcount=5, kwdefs=0x0, closure=0x0, name='_run_code', qualname='_run_code') at Python/ceval.c:4299
#40 0x0000000000431853 in _PyFunction_Vectorcall (func=<function at remote 0x7fffeab9bd70>, stack=0x9b3c18, nargsf=9223372036854775815, kwnames=0x0) at Objects/call.c:395
#41 0x0000000000509a31 in _PyObject_VectorcallTstate (tstate=0x8b19a0, callable=<function at remote 0x7fffeab9bd70>, args=0x9b3c18, nargsf=9223372036854775815, kwnames=0x0) at ./Include/cpython/abstract.h:118
#42 0x0000000000509a90 in PyObject_Vectorcall (callable=<function at remote 0x7fffeab9bd70>, args=0x9b3c18, nargsf=9223372036854775815, kwnames=0x0) at ./Include/cpython/abstract.h:127
#43 0x000000000051ea52 in call_function (tstate=0x8b19a0, pp_stack=0x7fffffff6738, oparg=7, kwnames=0x0) at Python/ceval.c:5044
#44 0x0000000000519598 in _PyEval_EvalFrameDefault (tstate=0x8b19a0,
f=Frame 0x9b3a50, for file /home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/runpy.py, line 353, in _run_module_code (code=<code at remote 0x7fffeaab9450>, init_globals=None, mod_name='__main__', mod_spec=None, pkg_name='', script_name='script.py', fname='script.py', temp_module=<_TempModule(mod_name='__main__', module=<module at remote 0x7fffea7f4f50>, _saved_module=[<module at remote 0x7fffeab12b90>]) at remote 0x7fffea917aa0>, mod_globals={'__name__': '__main__', '__doc__': None, '__package__': '', '__loader__': None, '__spec__': None, '__file__': 'script.py', '__cached__': None, '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': <type at remote 0x8c35e0>, '__spec__': <ModuleSpec(name='builtins', loader=<type at remote 0x8c35e0>, origin='built-in', loader_state=None, submodule_search_locations=None, _set_fileattr=False, _cached=None) a...(truncated), throwflag=0)
at Python/ceval.c:3490
#45 0x0000000000509cde in _PyEval_EvalFrame (tstate=0x8b19a0,
f=Frame 0x9b3a50, for file /home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/runpy.py, line 353, in _run_module_code (code=<code at remote 0x7fffeaab9450>, init_globals=None, mod_name='__main__', mod_spec=None, pkg_name='', script_name='script.py', fname='script.py', temp_module=<_TempModule(mod_name='__main__', module=<module at remote 0x7fffea7f4f50>, _saved_module=[<module at remote 0x7fffeab12b90>]) at remote 0x7fffea917aa0>, mod_globals={'__name__': '__main__', '__doc__': None, '__package__': '', '__loader__': None, '__spec__': None, '__file__': 'script.py', '__cached__': None, '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': <type at remote 0x8c35e0>, '__spec__': <ModuleSpec(name='builtins', loader=<type at remote 0x8c35e0>, origin='built-in', loader_state=None, submodule_search_locations=None, _set_fileattr=False, _cached=None) a...(truncated), throwflag=0)
at ./Include/internal/pycore_ceval.h:40
#46 0x000000000051cf4e in _PyEval_EvalCode (tstate=0x8b19a0, _co=<code at remote 0x7fffeaab9860>,
globals={'__name__': 'runpy', '__doc__': 'runpy.py - locating and running Python code using the module namespace\n\nProvides support for locating and running Python scripts using the Python\nmodule namespace instead of the native filesystem.\n\nThis allows Python code to play nicely with non-filesystem based PEP 302\nimporters when locating support scripts as well as when importing modules.\n', '__package__': '', '__loader__': <SourceFileLoader(name='runpy', path='/home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/runpy.py') at remote 0x7fffeaa980a0>, '__spec__': <ModuleSpec(name='runpy', loader=<...>, origin='/home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/runpy.py', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached='/home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/__pycache__/runpy.cpython-39.pyc', _initializing=False) at remote 0x7fffeaa980f0>, '__file__': '/home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/runpy.py', '__cached__': '/home/arciv...(truncated), locals=0x0,
args=0x994310, argcount=3, kwnames=0x7fffeaa98568, kwargs=0x994328, kwcount=2, kwstep=1, defs=0x7fffeaab6928, defcount=5, kwdefs=0x0, closure=0x0, name='_run_module_code', qualname='_run_module_code') at Python/ceval.c:4299
#47 0x0000000000431853 in _PyFunction_Vectorcall (func=<function at remote 0x7fffea8e7af0>, stack=0x994310, nargsf=9223372036854775811, kwnames=('pkg_name', 'script_name')) at Objects/call.c:395
#48 0x0000000000509a31 in _PyObject_VectorcallTstate (tstate=0x8b19a0, callable=<function at remote 0x7fffea8e7af0>, args=0x994310, nargsf=9223372036854775811, kwnames=('pkg_name', 'script_name')) at ./Include/cpython/abstract.h:118
#49 0x0000000000509a90 in PyObject_Vectorcall (callable=<function at remote 0x7fffea8e7af0>, args=0x994310, nargsf=9223372036854775811, kwnames=('pkg_name', 'script_name')) at ./Include/cpython/abstract.h:127
#50 0x000000000051ea52 in call_function (tstate=0x8b19a0, pp_stack=0x7fffffff7f48, oparg=5, kwnames=('pkg_name', 'script_name')) at Python/ceval.c:5044
#51 0x00000000005197ff in _PyEval_EvalFrameDefault (tstate=0x8b19a0,
f=Frame 0x994140, for file /home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/runpy.py, line 524, in run_path (path_name='script.py', init_globals=None, run_name='__main__', pkg_name='', importer=None, is_NullImporter=False, code=<code at remote 0x7fffeaab9450>, fname='script.py'), throwflag=0) at Python/ceval.c:3507
#52 0x0000000000509cde in _PyEval_EvalFrame (tstate=0x8b19a0,
f=Frame 0x994140, for file /home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/runpy.py, line 524, in run_path (path_name='script.py', init_globals=None, run_name='__main__', pkg_name='', importer=None, is_NullImporter=False, code=<code at remote 0x7fffeaab9450>, fname='script.py'), throwflag=0) at ./Include/internal/pycore_ceval.h:40
#53 0x000000000051cf4e in _PyEval_EvalCode (tstate=0x8b19a0, _co=<code at remote 0x7fffeaa9c040>,
globals={'__name__': 'runpy', '__doc__': 'runpy.py - locating and running Python code using the module namespace\n\nProvides support for locating and running Python scripts using the Python\nmodule namespace instead of the native filesystem.\n\nThis allows Python code to play nicely with non-filesystem based PEP 302\nimporters when locating support scripts as well as when importing modules.\n', '__package__': '', '__loader__': <SourceFileLoader(name='runpy', path='/home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/runpy.py') at remote 0x7fffeaa980a0>, '__spec__': <ModuleSpec(name='runpy', loader=<...>, origin='/home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/runpy.py', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached='/home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/__pycache__/runpy.cpython-39.pyc', _initializing=False) at remote 0x7fffeaa980f0>, '__file__': '/home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/runpy.py', '__cached__': '/home/arciv...(truncated), locals=0x0,
args=0x969508, argcount=1, kwnames=0x7fffeabcd478, kwargs=0x969510, kwcount=1, kwstep=1, defs=0x7fffeaa98608, defcount=2, kwdefs=0x0, closure=0x0, name='run_path', qualname='run_path') at Python/ceval.c:4299
#54 0x0000000000431853 in _PyFunction_Vectorcall (func=<function at remote 0x7fffea8e7eb0>, stack=0x969508, nargsf=9223372036854775809, kwnames=('run_name',)) at Objects/call.c:395
#55 0x0000000000509a31 in _PyObject_VectorcallTstate (tstate=0x8b19a0, callable=<function at remote 0x7fffea8e7eb0>, args=0x969508, nargsf=9223372036854775809, kwnames=('run_name',)) at ./Include/cpython/abstract.h:118
#56 0x0000000000509a90 in PyObject_Vectorcall (callable=<function at remote 0x7fffea8e7eb0>, args=0x969508, nargsf=9223372036854775809, kwnames=('run_name',)) at ./Include/cpython/abstract.h:127
#57 0x000000000051ea52 in call_function (tstate=0x8b19a0, pp_stack=0x7fffffff9768, oparg=2, kwnames=('run_name',)) at Python/ceval.c:5044
#58 0x00000000005197ff in _PyEval_EvalFrameDefault (tstate=0x8b19a0,
f=Frame 0x969360, for file /home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py, line 17, in smoke_test (script='script.py', args=(), old_argv=['./repro.py'], old_modules={'sys': <module at remote 0x7fffeabba2f0>, 'builtins': <module at remote 0x7fffeabc3a10>, '_frozen_importlib': <module at remote 0x7fffeab60a70>, '_imp': <module at remote 0x7fffeab60a10>, '_thread': <module at remote 0x7fffeab6e3b0>, '_warnings': <module at remote 0x7fffeab6ef50>, '_weakref': <module at remote 0x7fffeab6f350>, '_frozen_importlib_external': <module at remote 0x7fffeab6fcb0>, 'posix': <module at remote 0x7fffeab6fb30>, '_io': <module at remote 0x7fffeab33290>, 'marshal': <module at remote 0x7fffeab3bdd0>, 'time': <module at remote 0x7fffeab47290>, 'zipimport': <module at remote 0x7fffeab3d350>, '_codecs': <module at remote 0x7fffeaaeaa10>, 'codecs': <module at remote 0x7fffeab57710>, 'encodings.aliases': <module at remote 0x7fffeaaea5f0>, 'encodings': <module at remote 0x7fffeab4d830>, 'encodings.utf_8': <module at remo...(truncated), throwflag=0)
at Python/ceval.c:3507
#59 0x0000000000509cde in _PyEval_EvalFrame (tstate=0x8b19a0,
f=Frame 0x969360, for file /home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py, line 17, in smoke_test (script='script.py', args=(), old_argv=['./repro.py'], old_modules={'sys': <module at remote 0x7fffeabba2f0>, 'builtins': <module at remote 0x7fffeabc3a10>, '_frozen_importlib': <module at remote 0x7fffeab60a70>, '_imp': <module at remote 0x7fffeab60a10>, '_thread': <module at remote 0x7fffeab6e3b0>, '_warnings': <module at remote 0x7fffeab6ef50>, '_weakref': <module at remote 0x7fffeab6f350>, '_frozen_importlib_external': <module at remote 0x7fffeab6fcb0>, 'posix': <module at remote 0x7fffeab6fb30>, '_io': <module at remote 0x7fffeab33290>, 'marshal': <module at remote 0x7fffeab3bdd0>, 'time': <module at remote 0x7fffeab47290>, 'zipimport': <module at remote 0x7fffeab3d350>, '_codecs': <module at remote 0x7fffeaaeaa10>, 'codecs': <module at remote 0x7fffeab57710>, 'encodings.aliases': <module at remote 0x7fffeaaea5f0>, 'encodings': <module at remote 0x7fffeab4d830>, 'encodings.utf_8': <module at remo...(truncated), throwflag=0)
at ./Include/internal/pycore_ceval.h:40
#60 0x000000000051cf4e in _PyEval_EvalCode (tstate=0x8b19a0, _co=<code at remote 0x7fffeaaa2a00>,
globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py') at remote 0x7fffeab0abe0>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7fffeabc3a10>, '__file__': '/home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py', '__cached__': None, 'sys': <module at remote 0x7fffeabba2f0>, 'getcwd': <built-in method getcwd of module object at remote 0x7fffeab6fb30>, 'chdir': <built-in method chdir of module object at remote 0x7fffeab6fb30>, 'run_path': <function at remote 0x7fffea8e7eb0>, 'smoke_test': <function at remote 0x7fffeaaa8190>}, locals=0x0, args=0x910810, argcount=1, kwnames=0x0, kwargs=0x910818, kwcount=0, kwstep=1,
defs=0x0, defcount=0, kwdefs=0x0, closure=0x0, name='smoke_test', qualname='smoke_test') at Python/ceval.c:4299
#61 0x0000000000431853 in _PyFunction_Vectorcall (func=<function at remote 0x7fffeaaa8190>, stack=0x910810, nargsf=9223372036854775809, kwnames=0x0) at Objects/call.c:395
#62 0x0000000000509a31 in _PyObject_VectorcallTstate (tstate=0x8b19a0, callable=<function at remote 0x7fffeaaa8190>, args=0x910810, nargsf=9223372036854775809, kwnames=0x0) at ./Include/cpython/abstract.h:118
#63 0x0000000000509a90 in PyObject_Vectorcall (callable=<function at remote 0x7fffeaaa8190>, args=0x910810, nargsf=9223372036854775809, kwnames=0x0) at ./Include/cpython/abstract.h:127
#64 0x000000000051ea52 in call_function (tstate=0x8b19a0, pp_stack=0x7fffffffaf98, oparg=1, kwnames=0x0) at Python/ceval.c:5044
#65 0x0000000000519598 in _PyEval_EvalFrameDefault (tstate=0x8b19a0, f=Frame 0x9106a0, for file /home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py, line 35, in <module> (), throwflag=0) at Python/ceval.c:3490
#66 0x0000000000509cde in _PyEval_EvalFrame (tstate=0x8b19a0, f=Frame 0x9106a0, for file /home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py, line 35, in <module> (), throwflag=0) at ./Include/internal/pycore_ceval.h:40
#67 0x000000000051cf4e in _PyEval_EvalCode (tstate=0x8b19a0, _co=<code at remote 0x7fffeaaa2d40>,
globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py') at remote 0x7fffeab0abe0>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7fffeabc3a10>, '__file__': '/home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py', '__cached__': None, 'sys': <module at remote 0x7fffeabba2f0>, 'getcwd': <built-in method getcwd of module object at remote 0x7fffeab6fb30>, 'chdir': <built-in method chdir of module object at remote 0x7fffeab6fb30>, 'run_path': <function at remote 0x7fffea8e7eb0>, 'smoke_test': <function at remote 0x7fffeaaa8190>},
locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py') at remote 0x7fffeab0abe0>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7fffeabc3a10>, '__file__': '/home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py', '__cached__': None, 'sys': <module at remote 0x7fffeabba2f0>, 'getcwd': <built-in method getcwd of module object at remote 0x7fffeab6fb30>, 'chdir': <built-in method chdir of module object at remote 0x7fffeab6fb30>, 'run_path': <function at remote 0x7fffea8e7eb0>, 'smoke_test': <function at remote 0x7fffeaaa8190>}, args=0x0, argcount=0, kwnames=0x0, kwargs=0x0, kwcount=0, kwstep=2, defs=0x0, defcount=0,
kwdefs=0x0, closure=0x0, name=0x0, qualname=0x0) at Python/ceval.c:4299
--Type <RET> for more, q to quit, c to continue without paging--c
#68 0x000000000051d051 in _PyEval_EvalCodeWithName (_co=<code at remote 0x7fffeaaa2d40>, globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py') at remote 0x7fffeab0abe0>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7fffeabc3a10>, '__file__': '/home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py', '__cached__': None, 'sys': <module at remote 0x7fffeabba2f0>, 'getcwd': <built-in method getcwd of module object at remote 0x7fffeab6fb30>, 'chdir': <built-in method chdir of module object at remote 0x7fffeab6fb30>, 'run_path': <function at remote 0x7fffea8e7eb0>, 'smoke_test': <function at remote 0x7fffeaaa8190>}, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py') at remote 0x7fffeab0abe0>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7fffeabc3a10>, '__file__': '/home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py', '__cached__': None, 'sys': <module at remote 0x7fffeabba2f0>, 'getcwd': <built-in method getcwd of module object at remote 0x7fffeab6fb30>, 'chdir': <built-in method chdir of module object at remote 0x7fffeab6fb30>, 'run_path': <function at remote 0x7fffea8e7eb0>, 'smoke_test': <function at remote 0x7fffeaaa8190>}, args=0x0, argcount=0, kwnames=0x0, kwargs=0x0, kwcount=0, kwstep=2, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0, name=0x0, qualname=0x0) at Python/ceval.c:4331
#69 0x000000000051d0d9 in PyEval_EvalCodeEx (_co=<code at remote 0x7fffeaaa2d40>, globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py') at remote 0x7fffeab0abe0>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7fffeabc3a10>, '__file__': '/home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py', '__cached__': None, 'sys': <module at remote 0x7fffeabba2f0>, 'getcwd': <built-in method getcwd of module object at remote 0x7fffeab6fb30>, 'chdir': <built-in method chdir of module object at remote 0x7fffeab6fb30>, 'run_path': <function at remote 0x7fffea8e7eb0>, 'smoke_test': <function at remote 0x7fffeaaa8190>}, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py') at remote 0x7fffeab0abe0>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7fffeabc3a10>, '__file__': '/home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py', '__cached__': None, 'sys': <module at remote 0x7fffeabba2f0>, 'getcwd': <built-in method getcwd of module object at remote 0x7fffeab6fb30>, 'chdir': <built-in method chdir of module object at remote 0x7fffeab6fb30>, 'run_path': <function at remote 0x7fffea8e7eb0>, 'smoke_test': <function at remote 0x7fffeaaa8190>}, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at Python/ceval.c:4347
#70 0x000000000050bbc0 in PyEval_EvalCode (co=<code at remote 0x7fffeaaa2d40>, globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py') at remote 0x7fffeab0abe0>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7fffeabc3a10>, '__file__': '/home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py', '__cached__': None, 'sys': <module at remote 0x7fffeabba2f0>, 'getcwd': <built-in method getcwd of module object at remote 0x7fffeab6fb30>, 'chdir': <built-in method chdir of module object at remote 0x7fffeab6fb30>, 'run_path': <function at remote 0x7fffea8e7eb0>, 'smoke_test': <function at remote 0x7fffeaaa8190>}, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py') at remote 0x7fffeab0abe0>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7fffeabc3a10>, '__file__': '/home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py', '__cached__': None, 'sys': <module at remote 0x7fffeabba2f0>, 'getcwd': <built-in method getcwd of module object at remote 0x7fffeab6fb30>, 'chdir': <built-in method chdir of module object at remote 0x7fffeab6fb30>, 'run_path': <function at remote 0x7fffea8e7eb0>, 'smoke_test': <function at remote 0x7fffeaaa8190>}) at Python/ceval.c:809
#71 0x000000000056eaf9 in run_eval_code_obj (tstate=0x8b19a0, co=0x7fffeaaa2d40, globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py') at remote 0x7fffeab0abe0>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7fffeabc3a10>, '__file__': '/home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py', '__cached__': None, 'sys': <module at remote 0x7fffeabba2f0>, 'getcwd': <built-in method getcwd of module object at remote 0x7fffeab6fb30>, 'chdir': <built-in method chdir of module object at remote 0x7fffeab6fb30>, 'run_path': <function at remote 0x7fffea8e7eb0>, 'smoke_test': <function at remote 0x7fffeaaa8190>}, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py') at remote 0x7fffeab0abe0>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7fffeabc3a10>, '__file__': '/home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py', '__cached__': None, 'sys': <module at remote 0x7fffeabba2f0>, 'getcwd': <built-in method getcwd of module object at remote 0x7fffeab6fb30>, 'chdir': <built-in method chdir of module object at remote 0x7fffeab6fb30>, 'run_path': <function at remote 0x7fffea8e7eb0>, 'smoke_test': <function at remote 0x7fffeaaa8190>}) at Python/pythonrun.c:1178
#72 0x000000000056ebe2 in run_mod (mod=0x93a0d8, filename='/home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py', globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py') at remote 0x7fffeab0abe0>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7fffeabc3a10>, '__file__': '/home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py', '__cached__': None, 'sys': <module at remote 0x7fffeabba2f0>, 'getcwd': <built-in method getcwd of module object at remote 0x7fffeab6fb30>, 'chdir': <built-in method chdir of module object at remote 0x7fffeab6fb30>, 'run_path': <function at remote 0x7fffea8e7eb0>, 'smoke_test': <function at remote 0x7fffeaaa8190>}, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py') at remote 0x7fffeab0abe0>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7fffeabc3a10>, '__file__': '/home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py', '__cached__': None, 'sys': <module at remote 0x7fffeabba2f0>, 'getcwd': <built-in method getcwd of module object at remote 0x7fffeab6fb30>, 'chdir': <built-in method chdir of module object at remote 0x7fffeab6fb30>, 'run_path': <function at remote 0x7fffea8e7eb0>, 'smoke_test': <function at remote 0x7fffeaaa8190>}, flags=0x7fffffffc9a8, arena=0x7fffeaaa7b20) at Python/pythonrun.c:1199
#73 0x000000000056e971 in PyRun_FileExFlags (fp=0x8aebf0, filename_str=0x7fffeaa837e0 "/home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py", start=257, globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py') at remote 0x7fffeab0abe0>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7fffeabc3a10>, '__file__': '/home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py', '__cached__': None, 'sys': <module at remote 0x7fffeabba2f0>, 'getcwd': <built-in method getcwd of module object at remote 0x7fffeab6fb30>, 'chdir': <built-in method chdir of module object at remote 0x7fffeab6fb30>, 'run_path': <function at remote 0x7fffea8e7eb0>, 'smoke_test': <function at remote 0x7fffeaaa8190>}, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py') at remote 0x7fffeab0abe0>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7fffeabc3a10>, '__file__': '/home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py', '__cached__': None, 'sys': <module at remote 0x7fffeabba2f0>, 'getcwd': <built-in method getcwd of module object at remote 0x7fffeab6fb30>, 'chdir': <built-in method chdir of module object at remote 0x7fffeab6fb30>, 'run_path': <function at remote 0x7fffea8e7eb0>, 'smoke_test': <function at remote 0x7fffeaaa8190>}, closeit=1, flags=0x7fffffffc9a8) at Python/pythonrun.c:1116
#74 0x000000000056d447 in PyRun_SimpleFileExFlags (fp=0x8aebf0, filename=0x7fffeaa837e0 "/home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py", closeit=1, flags=0x7fffffffc9a8) at Python/pythonrun.c:438
#75 0x000000000056c958 in PyRun_AnyFileExFlags (fp=0x8aebf0, filename=0x7fffeaa837e0 "/home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py", closeit=1, flags=0x7fffffffc9a8) at Python/pythonrun.c:87
#76 0x000000000041e6e8 in pymain_run_file (config=0x8b0470, cf=0x7fffffffc9a8) at Modules/main.c:369
#77 0x000000000041ecd8 in pymain_run_python (exitcode=0x7fffffffc9ec) at Modules/main.c:594
#78 0x000000000041edc9 in Py_RunMain () at Modules/main.c:673
#79 0x000000000041ee43 in pymain_main (args=0x7fffffffca50) at Modules/main.c:703
#80 0x000000000041eebd in Py_BytesMain (argc=2, argv=0x7fffffffcb88) at Modules/main.c:727
#81 0x000000000041d786 in main (argc=2, argv=0x7fffffffcb88) at ./Programs/python.c:15
(gdb) py
py-bt py-down py-locals py-up pyframev pylocals pystack python
py-bt-full py-list py-print pyframe pyg pyo pystackv python-interactive
(gdb) py-bt-full
#7 <built-in method compile of module object at remote 0x7fffeabc3a10>
#11 Frame 0x9c8850, for file /home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/ast.py, line 306, in parse (source="{'_platform': 'linux', '_os_name': 'posix', '_executable': ('/home/arcivanov/Documents/src/arcivanov/pybuilder/target/venv/test/cpython-3.9.0.beta.4/bin/python',), '_exec_dir': '/home/arcivanov/Documents/src/arcivanov/pybuilder/target/venv/test/cpython-3.9.0.beta.4/bin', '_name': 'CPython', '_type': 'cpython', '_version': (3, 9, 0, 'beta', 4), '_is_pypy': False, '_is_64bit': True, '_versioned_dir_name': 'cpython-3.9.0.beta.4', '_environ': {'SHELL': '/bin/bash', 'SESSION_MANAGER': 'local/unix:@/tmp/.ICE-unix/6175,unix/unix:/tmp/.ICE-unix/6175', 'WINDOWID': '56623111', 'COLORTERM': 'truecolor', 'PYENV_SHELL': 'bash', 'XDG_CONFIG_DIRS': '/etc/xdg:/usr/share/kde-settings/kde-profile/default/xdg', 'HISTCONTROL': 'ignoredups', 'XDG_MENU_PREFIX': 'kf5-', 'rvm_prefix': '/home/arcivanov', 'HISTSIZE': '-1', 'HOSTNAME': 'ai-karellen-lap', 'LANGUAGE': '', 'JAVA_HOME': '/home/arcivanov/devhome/current/j...(truncated)
lines.append(next_line)
#18 Frame 0x7fffea816050, for file /home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/ast.py, line 62, in literal_eval (node_or_string="{'_platform': 'linux', '_os_name': 'posix', '_executable': ('/home/arcivanov/Documents/src/arcivanov/pybuilder/target/venv/test/cpython-3.9.0.beta.4/bin/python',), '_exec_dir': '/home/arcivanov/Documents/src/arcivanov/pybuilder/target/venv/test/cpython-3.9.0.beta.4/bin', '_name': 'CPython', '_type': 'cpython', '_version': (3, 9, 0, 'beta', 4), '_is_pypy': False, '_is_64bit': True, '_versioned_dir_name': 'cpython-3.9.0.beta.4', '_environ': {'SHELL': '/bin/bash', 'SESSION_MANAGER': 'local/unix:@/tmp/.ICE-unix/6175,unix/unix:/tmp/.ICE-unix/6175', 'WINDOWID': '56623111', 'COLORTERM': 'truecolor', 'PYENV_SHELL': 'bash', 'XDG_CONFIG_DIRS': '/etc/xdg:/usr/share/kde-settings/kde-profile/default/xdg', 'HISTCONTROL': 'ignoredups', 'XDG_MENU_PREFIX': 'kf5-', 'rvm_prefix': '/home/arcivanov', 'HISTSIZE': '-1', 'HOSTNAME': 'ai-karellen-lap', 'LANGUAGE': '', 'JAVA_HOME': '/home/arcivan...(truncated)
node_or_string = parse(node_or_string, mode='eval')
#25 Frame 0x7fffea932050, for file script.py, line 27, in <module> ()
python_info = ast.literal_eval(result)
#33 <built-in method exec of module object at remote 0x7fffeabc3a10>
#37 Frame 0x9b3ca0, for file /home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/runpy.py, line 343, in _run_code (code=<code at remote 0x7fffeaab9450>, run_globals={'__name__': '__main__', '__doc__': None, '__package__': '', '__loader__': None, '__spec__': None, '__file__': 'script.py', '__cached__': None, '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': <type at remote 0x8c35e0>, '__spec__': <ModuleSpec(name='builtins', loader=<type at remote 0x8c35e0>, origin='built-in', loader_state=None, submodule_search_locations=None, _set_fileattr=False, _cached=None) at remote 0x7fffeab6a0f0>, '__build_class__': <built-in method __build_class__ of module object at remote 0x7fffeabc3a10>, '__import__': <built-in method __import__ of module object at remote 0x7fffeabc3a10>, 'abs': <built-in method abs of module object at remote 0x7fffeabc3a10>, 'all'...(truncated)
#44 Frame 0x9b3a50, for file /home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/runpy.py, line 353, in _run_module_code (code=<code at remote 0x7fffeaab9450>, init_globals=None, mod_name='__main__', mod_spec=None, pkg_name='', script_name='script.py', fname='script.py', temp_module=<_TempModule(mod_name='__main__', module=<module at remote 0x7fffea7f4f50>, _saved_module=[<module at remote 0x7fffeab12b90>]) at remote 0x7fffea917aa0>, mod_globals={'__name__': '__main__', '__doc__': None, '__package__': '', '__loader__': None, '__spec__': None, '__file__': 'script.py', '__cached__': None, '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': <type at remote 0x8c35e0>, '__spec__': <ModuleSpec(name='builtins', loader=<type at remote 0x8c35e0>, origin='built-in', loader_state=None, submodule_search_locations=None, _set_fileattr=False, _cached=None) a...(truncated)
#51 Frame 0x994140, for file /home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/runpy.py, line 524, in run_path (path_name='script.py', init_globals=None, run_name='__main__', pkg_name='', importer=None, is_NullImporter=False, code=<code at remote 0x7fffeaab9450>, fname='script.py')
#58 Frame 0x969360, for file /home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py, line 17, in smoke_test (script='script.py', args=(), old_argv=['./repro.py'], old_modules={'sys': <module at remote 0x7fffeabba2f0>, 'builtins': <module at remote 0x7fffeabc3a10>, '_frozen_importlib': <module at remote 0x7fffeab60a70>, '_imp': <module at remote 0x7fffeab60a10>, '_thread': <module at remote 0x7fffeab6e3b0>, '_warnings': <module at remote 0x7fffeab6ef50>, '_weakref': <module at remote 0x7fffeab6f350>, '_frozen_importlib_external': <module at remote 0x7fffeab6fcb0>, 'posix': <module at remote 0x7fffeab6fb30>, '_io': <module at remote 0x7fffeab33290>, 'marshal': <module at remote 0x7fffeab3bdd0>, 'time': <module at remote 0x7fffeab47290>, 'zipimport': <module at remote 0x7fffeab3d350>, '_codecs': <module at remote 0x7fffeaaeaa10>, 'codecs': <module at remote 0x7fffeab57710>, 'encodings.aliases': <module at remote 0x7fffeaaea5f0>, 'encodings': <module at remote 0x7fffeab4d830>, 'encodings.utf_8': <module at remo...(truncated)
return run_path(script, run_name="__main__")
#65 Frame 0x9106a0, for file /home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py, line 35, in <module> ()
smoke_test("script.py")
(gdb) py-bt
Traceback (most recent call first):
<built-in method compile of module object at remote 0x7fffeabc3a10>
File "/home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/ast.py", line 306, in parse
lines.append(next_line)
File "/home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/ast.py", line 62, in literal_eval
node_or_string = parse(node_or_string, mode='eval')
File "script.py", line 27, in <module>
python_info = ast.literal_eval(result)
<built-in method exec of module object at remote 0x7fffeabc3a10>
File "/home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/runpy.py", line 343, in _run_code
File "/home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/runpy.py", line 353, in _run_module_code
File "/home/arcivanov/.pyenv/versions/3.9-dev-debug/lib/python3.9/runpy.py", line 524, in run_path
File "/home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py", line 17, in smoke_test
return run_path(script, run_name="__main__")
File "/home/arcivanov/Documents/src/arcivanov/pybuilder/./repro.py", line 35, in <module>
smoke_test("script.py")
(gdb) |
Ok, then. I'll open a new bug. |
bpo-41261: "3.9-dev SEGV in object_recursive_isinstance in ast.literal_eval". |
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: