Skip to content

Chrome crashes and states handle is invalid #256

@MicXDev

Description

@MicXDev

Description

Hi folks,
Upon testing for about 20 minutes Chrome just closed and outputted this on the console

Exception ignored while calling deallocator <function Chrome.__del__ at 0x000002325DA09590>:
Traceback (most recent call last):
  File "C:\Users\Mic\AppData\Roaming\Python\Python314\site-packages\undetected_chromedriver\__init__.py", line 843, in __del__
  File "C:\Users\Mic\AppData\Roaming\Python\Python314\site-packages\undetected_chromedriver\__init__.py", line 798, in quit
OSError: [WinError 6] The handle is invalid

I've already whacked this error message on my discussion post, but I have decided to formally put it in Issues as that's where it's meant to go. Please see if this bug can be fixed if you can.

Best regards,
Mic

Minimal Reproduction

Simply left it running for 20 minutes and came back to notice Chrome crashed with this output

Error

Image

Operating System Version

Windows 10 Enterprise (1809, 17763.1)

Browser and Browser Version

Chrome 144.0.7559.x

Python Version

3.14.2

Program Version

bd0871c

Any other information or context?

No response

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions