Skip to content

chrome.exe "zombie process" not terminated (Win 11, GoogleChromePortable) #96

@emp-00

Description

@emp-00

Boundary conditions:

  • Running single-file-cli v2.0.43 on Win11 in combination with Google Chrome Portable
  • Saved single-file.exe in this directory: E:\Single-File-cli_ChromePortable
  • Google Chrome Portable installed in E**:\Single-File-cli_ChromePortable\GoogleChromePortable**
  • No other chrome.exe processes running, I'm using Vivaldi, Brave and FIrefox (running) but no other "real" Chrome browsers on my system, I only used the Portable chrome for my command line scripting project

Command line (reproducible example, happens with any website):
single-file --browser-executable-path="D:\Single-File-cli_ChromePortable\GoogleChromePortable\GoogleChromePortable.exe" --browser-arg="--user-data-dir=D:\Single-File-cli_ChromePortable\GoogleChromePortable\Data\profile" "https://www.wikipedia.com" wikipedia.html

Symptoms:

  • In principle. the script runs fine, wikipedia.html is correctly downloaded and saved, no error message displayed
  • However, two chrome.exe "zombie processes" are remaining in running state, they are NOT terminated
  • Looking at C:\temp\UserTemp directories such as "nsr3E07.tmp" containing two files "KillProc.dll" and "registry.dll" are also remaining: the temporary directory and the two files are NOT deleted
  • When calling single-file-cli multiple times, each two more zombie processes and temporary directories/files are remaining
  • Additionally, with the 2nd call chrome is not using the desired profile any more (Default under Data\profile) due to the already running and conflicting zombie processes

Please try to reproduce, here it's 100% reproducible - also after system restart. Maybe it's caused by using Google Chrome Portable? Is the portable version not completely compatible with single-file-cli? I need to use a separate chrome(ium) browser with a separate profile for my project, that's why I chose Chrome Portable.

Currently I need to manually terminate the chrome.exe zombie processes (and the temporary files piling up) - would be great if this can be fixed. In case my command line is causing the issue, any help is appreciated! Thanks very much for the great tool, other than this, it's working perfectly!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions