Skip to content

Memory access violation on fatal error with Windows #116502

Open
@dlaugt

Description

@dlaugt

Crash report

What happened?

I'm running a C++ application with an embedded python interpreter.

The callstack is:
_Py_FatalErrorFormat() -> which calls fatal_error() with msg = NULL
fatal_error()
fatal_output_debug()
strlen() -> memory access violation on null pointer

CPython versions tested on:

3.11

Operating systems tested on:

Windows

Output from running 'python -VV' on the command line:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS-windowsinterpreter-core(Objects, Python, Grammar, and Parser dirs)topic-C-APItype-crashA hard crash of the interpreter, possibly with a core dump

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions