Skip to content

debug.log being created in some folders at startup with handle held #247673

Closed

Description

Does this issue occur when all extensions are disabled?: Yes but it has one fewer line than with extensions enabled; without extensions:

[0428/150906.648:ERROR:registration_protocol_win.cc(108)] CreateFile: The system cannot find the file specified. (0x2)

with extensions:

[0428/151027.528:ERROR:registration_protocol_win.cc(108)] CreateFile: The system cannot find the file specified. (0x2)
[0428/151031.107:ERROR:registration_protocol_win.cc(108)] CreateFile: The system cannot find the file specified. (0x2)
Version: 1.99.2 (system setup)
Commit: 4949701c880d4bdb949e3c0e6b400288da7f474b
Date: 2025-04-10T01:21:25.295Z
Electron: 34.3.2
ElectronBuildId: 11161073
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100

Steps to Reproduce:

  1. Open some folders with code . or code --disable-extensions .

EDIT:

I found a pattern that causes the issue. The simplest folder that has this issues is a folder with one folder called src within which is an empty file called __main__.py

Activity

  1. added
    bug
    windows
    electron
    on Apr 30, 2025
  2. added this to the May 2025 milestone on May 20, 2025
  3. added
    unreleased
    insiders-released
    and removed
    unreleased
    on May 20, 2025
  4. locked and limited conversation to collaborators on Jul 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugelectroninsiders-releasedverifiedwindows

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions