-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
_lsprof.Profiler._creturn_callback()
segfaults
#126220
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
Labels
3.12
only security fixes
3.13
bugs and security fixes
3.14
bugs and security fixes
extension-modules
C modules in the Modules dir
type-crash
A hard crash of the interpreter, possibly with a core dump
Comments
Not just these two, but also others (like This happens because I am working on a fix :) |
sobolevn
added a commit
to sobolevn/cpython
that referenced
this issue
Oct 31, 2024
sobolevn
added a commit
to sobolevn/cpython
that referenced
this issue
Nov 1, 2024
sobolevn
added a commit
that referenced
this issue
Nov 1, 2024
…gs (backportable) (#126271) Co-authored-by: Erlend E. Aasland <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Nov 1, 2024
…h 0 args (backportable) (pythonGH-126271) (cherry picked from commit 28b148f) Co-authored-by: sobolevn <[email protected]> Co-authored-by: Erlend E. Aasland <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Nov 1, 2024
…h 0 args (backportable) (pythonGH-126271) (cherry picked from commit 28b148f) Co-authored-by: sobolevn <[email protected]> Co-authored-by: Erlend E. Aasland <[email protected]>
sobolevn
added a commit
that referenced
this issue
Nov 1, 2024
…th 0 args (backportable) (GH-126271) (#126311) gh-126220: Fix crash on calls to `_lsprof.Profiler` methods with 0 args (backportable) (GH-126271) (cherry picked from commit 28b148f) Co-authored-by: sobolevn <[email protected]> Co-authored-by: Erlend E. Aasland <[email protected]>
sobolevn
added a commit
that referenced
this issue
Nov 1, 2024
…th 0 args (backportable) (GH-126271) (#126310) gh-126220: Fix crash on calls to `_lsprof.Profiler` methods with 0 args (backportable) (GH-126271) (cherry picked from commit 28b148f) Co-authored-by: sobolevn <[email protected]> Co-authored-by: Erlend E. Aasland <[email protected]>
sobolevn
added a commit
that referenced
this issue
Nov 4, 2024
Co-authored-by: Erlend E. Aasland <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Nov 4, 2024
(cherry picked from commit c806cd5) Co-authored-by: sobolevn <[email protected]> Co-authored-by: Erlend E. Aasland <[email protected]>
Can we close this isue? |
picnixz
pushed a commit
to picnixz/cpython
that referenced
this issue
Dec 8, 2024
…h 0 args (backportable) (python#126271) Co-authored-by: Erlend E. Aasland <[email protected]>
picnixz
pushed a commit
to picnixz/cpython
that referenced
this issue
Dec 8, 2024
Co-authored-by: Erlend E. Aasland <[email protected]>
ebonnal
pushed a commit
to ebonnal/cpython
that referenced
this issue
Jan 12, 2025
…h 0 args (backportable) (python#126271) Co-authored-by: Erlend E. Aasland <[email protected]>
ebonnal
pushed a commit
to ebonnal/cpython
that referenced
this issue
Jan 12, 2025
Co-authored-by: Erlend E. Aasland <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
3.12
only security fixes
3.13
bugs and security fixes
3.14
bugs and security fixes
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
to Argument Clinic #126233_lsprof.Profiler
methods with 0 args (backportable) #126271_lsprof.Profiler
methods with 0 args (backportable) (GH-126271) #126310_lsprof.Profiler
methods with 0 args (backportable) (GH-126271) #126311_lsprof
to Argument Clinic (GH-126233) #126402The text was updated successfully, but these errors were encountered: