Skip to content

Logging is sometimes re-entrant #192

@LeonarddeR

Description

@LeonarddeR

Within NVDA, we use comtypes to access com objects. Until now, we ignored logging messages coming from comtypes. When I started investigating piping comtypes logging to the NVDA log, I noticed that NVDA crashed in a few minutes after enabling debug logging.

Here is an example traceback generated when comtypes logging is set to debug. It looks like some log messages generate another message that causes re-entrancy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions