Pystack

Latest version: v1.4.1

Safety actively analyzes 685838 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.4.1

--------------------------

Features
~~~~~~~~

- Improve our ability to debug Python 3.13 processes when the ``_Py_DebugOffsets`` cannot be located by accounting for a structure layout change in CPython 3.13.0rc3 (the reversion of the incremental cyclic garbage collector). (213)

1.4.0

--------------------------

Features
~~~~~~~~

- Add support for Python 3.13 (186)
- Add support for gzip compressed corefiles (171)
- Add a new ``--version`` command line flag to show the version of pystack (203)
- Support debugging free-threading (a.k.a. "nogil") Python 3.13 builds. Note that PyStack can't itself be run with ``python3.13t``, it can only attach to a ``python3.13t`` process or core file from another interpreter. (206)


Bug Fixes
~~~~~~~~~

- Fix a bug that was causing Python scripts executed directly via shebang to report the shell script as the executable. (184)
- Heap corruption could cause PyStack to fail to generate a stack when ``--locals`` mode was used. This has been fixed by falling back to a reasonable default when attempting to format the repr of a local variable causes a dereference of an invalid pointer. (194)
- Fix a crash when analysing processes where the eval loop has a shim frame at the bottom of the stack (204)

1.3.0

--------------------------

Bug Fixes
~~~~~~~~~

- Add a patch to the bundled elfutils used to create wheels to account for a bug when analysing cores with interleaved segments (153)
- Removed the unused ``--self`` flag. (141)
- Fix some instances when identifying the pthread id was failing in systems without GLIBC (152)
- Fix several some race conditions when stopping threads in multithreaded programs (155)
- Ensure log messages that contain non-UTF-8 data are not lost (155)

1.2.0

--------------------------

Features
~~~~~~~~

- Add support for Python 3.12 (108)
- Improve the performance of reading memory from running processes (124)
- Improve the performance of reading memory from core files (126)

1.1.0

--------------------------

Bug Fixes
~~~~~~~~~

- Allow building with older elfutils than 0.188 when building with glibc (for musl libc we still need newer versions). (40)
- Improve error reporting when attaching to a process is forbidden. (98)
- Fix a crash that could occur under some unusual conditions if elfutils could not unwind the stack. (101)
- Drop a use of the f-string ``=`` specifier, which wasn't introduced until Python 3.8 (running PyStack with Python 3.7 was failing because of this). (92)

1.0.1

--------------------------

No significant changes.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.