Skip to content

D2BS is not responding... starting profile #20

@empty2fill

Description

@empty2fill
  1. Got following error when Start profile.
    "D2BS is not responding... starting profile"

  2. After some debugging...
    Checking whether the D2 process is responding using Process.HasExited is not work in my case.
    Process.HasExited internally call Kernel32.OpenProcess. And OpenProcess a Protected process access denied even with PROCESS_QUERY_LIMITED_INFORMATION.

  3. Quick fix : Bypass d2Profile.NoResponse check
    or
    directly call
    Kernel32.GetExitCodeProcess(D2ProcessInfo.hProcess, out exitCode)

  4. Environment
    Avira antivirus
    Windows 7 SP1 x64, Korean
    Microsoft Visual C++ 2010 Redistributable 10.0.30319
    .netframework 4.5 ~ 4.7.2
    D2 1.14d English
    D2BS to 1.6.4U and D2Bot # to 20.6.1.100

  5. Process.HasExited Access denied
    https://www.giorgi.dev/net/access-denied-process-bugs/
    https://stackoverflow.com/questions/28303436/openprocess-access-denied-error-only-on-windows-8-1

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