-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] SbieDrv stuck at stop_pending after running a sandboxed program and exiting portable Sandman.exe v0.5.0 / 5.45.0 #189
Comments
Sometimes you may need to briefly stop running Microsoft Defender Antivirus real-time protection. However, real-time protection will soon turn on automatically again to protect your device. |
I updated my post. Windows Defender has nothing to do with this. |
Can it be that you try to stop the driver while there are still sandboxed processes running? |
Right, I mean no I don't think so. Here are two tests I performed to reproduce the stop_pending... Pre-steps before the tests:
Test 1 - Portable mode, reproducing stop_pending outside of uac protected folders:
Test 2 - Installed. reproducing stop_pending inside of uac protected folders:
Test 3 - Discovering ControlService Error 123:
Test 4 - Reproducing error code 2:
The amount of times that I've restarted just to test these... Thanks. |
I think i have found the cause of this issue, it should be fixed in the next build |
Lovely! Thank you kindly for your work! |
OS: Windows 10 x64 Build 20H2
Application: Sandboxie-Plus x64 [Portable Mode], v0.5.0 / 5.45.0
After spending hours of diagnosing the cause, this is my finding. I hope there'll be a fix.
The problem 1: The SbieDrv gets stuck at stop_pending after exiting Sandman.exe portable (clean-up of created services) once I ran program, either by within sandbox folder, open a program, or through drag & drop into SbieCtrl.exe. Although I am uncertain of every program, it happens most of the time. For example running the cmd sandboxed doesn't seems to cause stop_pending. It also does not happen if I just start and exit Sandman.exe without sandboxing anything.
Note: Windows defender realtime-protection is off every time I tested this. Otherwise SbieDrv.sys will just get blocked upon granting admin permission to Sandman.exe
Note 2: Sandboxed applications are always terminated before closing Sandman.exe and perform clean-up of created services.
The only solution so far: Restart OS.
Unrelated but Problem 2: Sandbox services are not connected upon launching Sandman.exe portable (sandbox folders are not listed while disconnected), also shows Error code 2, I don't know if the service connection is related with the displayed error code 2. I've not tested anything else.
Note: Sandboxie.ini and Sandboxie-Plus.ini is present in the folder with the executable.
Solution so far: Manually connect via context menu Sandbox > Maintenance > Connect.
...
Previously:
The first time I uninstalled Sandboxie, downloaded Sandboxie-Plus, and launch it gives me ControlService error 1061. I rebooted my PC and it went away. After playing around with it, running sandboxed programs, etc, I shut down Sandman.exe and its services.However, launching Sandman.exe gives me ControlService error 1061 again. I couldn't do anything but to restart the OS to get it working again.Even shutting off windows defender didn't help. Do I have to restart every time, or is there an underlying issue that can be fixed without restartingThanks.
The text was updated successfully, but these errors were encountered: