_lsprof.Profiler._creturn_callback()
segfaults
#126220
Labels
extension-modules
C modules in the Modules dir
type-crash
A hard crash of the interpreter, possibly with a core dump
Crash report
What happened?
It's possible to crash Python by simply calling the
._creturn_callback()
or the._ccall_callback()
methods of theProfiler
class in either_lsprof
orcProfile
.Backtrace looks like:
Found using fusil by @vstinner.
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux, Windows
Output from running 'python -VV' on the command line:
No response
Linked PRs
_lsprof.Profiler
methods with 0 args #126233The text was updated successfully, but these errors were encountered: