Created
August 4, 2025 21:41
-
-
Save pablogsal/5230ffa6e8981a53d63c854cb2949725 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #1 _PyCode_GetTLBCArray (co=0x0) at ./Include/internal/pycore_code.h:529 | |
| 529 return _Py_STATIC_CAST(_PyCodeArray *, | |
| (gdb) up | |
| #2 _PyFrame_GetBytecode (f=0x727f2e2331a8) at ./Include/internal/pycore_interpframe.h:32 | |
| 32 _PyCodeArray *tlbc = _PyCode_GetTLBCArray(co); | |
| (gdb) up | |
| #3 PyUnstable_InterpreterFrame_GetLine (frame=0x727f2e2331a8) at Python/frame.c:149 | |
| 149 int addr = _PyInterpreterFrame_LASTI(frame) * sizeof(_Py_CODEUNIT); | |
| (gdb) p *frame | |
| $1 = {f_executable = 0x0, previous = 0x727f2e233128, f_funcobj = 0x0, | |
| f_globals = {'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <type at remote 0x3aebc283400>, '__spec__': None, '__builtins__': <module at remote 0x3aebc342990>, 'sys': <module at remote 0x3aebc340aa0>, 'threading': <module at remote 0x3aebc747210>, 'time': <module at remote 0x3aebc741bd0>, 'MemoryAllocator': <type at remote 0x3aebd550000>, 'stop_looping': <Event(_cond=<Condition(_lock=<_thread.lock at remote 0x3aebc693f10>, _waiters=<collections.deque at remote 0x3aebd723200>, acquire=<built-in method acquire of _thread.lock object at remote 0x3aebc693f10>, locked=<built-in method locked of _thread.lock object at remote 0x3aebc693f10>, release=<built-in method release of _thread.lock object at remote 0x3aebc693f10>) at remote 0x3aebc5a7e50>, _flag=True) at remote 0x3aebc5a7d10>, 'io_thread_body': <function at remote 0x3aebd53d380>, 'alloc_thread_body': <function at remote 0x3aebd53d440>, 'foo': <function at remote 0x3aebd53d500>, 'bar': <function at remote 0x3aebd53d5c0>, 'baz': <function at r...(truncated), | |
| f_builtins = {'__name__': 'builtins', '__doc__': "Built-in functions, types, exceptions, and other objects.\n\nThis module provides direct access to all 'built-in'\nidentifiers of Python; for example, builtins.len is\nthe full name for the built-in function len().\n\nThis module is not normally accessed explicitly by most\napplications, but can be useful in modules that provide\nobjects with the same name as a built-in value, but in\nwhich the built-in of that name is also needed.", '__package__': '', '__loader__': <type at remote 0x3aebc283400>, '__spec__': <ModuleSpec(_cached=None, _set_fileattr=False, _uninitialized_submodules=[], loader=<type at remote 0x3aebc283400>, loader_state=None, name='builtins', origin='built-in', submodule_search_locations=None) at remote 0x3aebc5a0150>, '__build_class__': <built-in method __build_class__ of module object at remote 0x3aebc342990>, '__import__': <built-in method __import__ of module object at remote 0x3aebc342990>, 'abs': <built-in method abs of module object at remote 0x3aebc...(truncated), | |
| f_locals = 0x0, frame_obj = 0x0, instr_ptr = 0x3aec0050272, stackpointer = 0x727f2e2331f8, tlbc_index = 2, return_offset = 4, owner = 0 '\000', visited = 0 '\000', localsplus = { | |
| <MemoryAllocator() at remote 0x3aec0210470>}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment