Skip to content
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

The QtCreator installer nested running in Sandboxie #3153

Closed
rcdevice opened this issue Aug 3, 2023 · 4 comments
Closed

The QtCreator installer nested running in Sandboxie #3153

rcdevice opened this issue Aug 3, 2023 · 4 comments
Labels
fixed in next build Fixed in the next Sandboxie version

Comments

@rcdevice
Copy link

rcdevice commented Aug 3, 2023

Describe what you noticed and did

I want to install QtCreator in sandbox, but get the nested processes running in Sandboxie !

How often did you encounter it so far?

every time

Affected program

qt-creator-opensource-windows-x86_64-11.0.0.exe

Download link

https://download.qt.io/official_releases/qtcreator/11.0/11.0.0/qt-creator-opensource-windows-x86_64-11.0.0.exe

Where is the program located?

The program is installed only inside a sandbox (NOT in the real system anyway).

Expected behavior

I want to install QtCreator normally, like outside the sandbox.

What is your Windows edition and version?

Windows 10 LTSC 21H2 64bit

In which Windows account you have this problem?

A local account (Administrator).

Please mention any installed security software

360

What version of Sandboxie are you running?

Sandboxie-Plus-x64-v1.9.8.

Is it a new installation of Sandboxie?

I recently did a new clean installation.

Is it a regression?

No response

In which sandbox type you have this problem?

In a standard isolation sandbox (yellow sandbox icon).

Can you reproduce this problem on a new empty sandbox?

I can confirm it also on a new empty sandbox.

Did you previously enable some security policy settings outside Sandboxie?

No response

Crash dump

No response

Trace log

No response

Sandboxie.ini configuration

No response

@rcdevice rcdevice added the Confirmation pending Further confirmation is requested label Aug 3, 2023
@rcdevice
Copy link
Author

rcdevice commented Aug 3, 2023

Snap1

@okrc
Copy link
Contributor

okrc commented Aug 3, 2023

#2493

@DavidXanatos DavidXanatos added the ToDo To be done label Aug 4, 2023
@DavidXanatos DavidXanatos added fixed in next build Fixed in the next Sandboxie version and removed ToDo To be done labels Aug 4, 2023
@rcdevice
Copy link
Author

rcdevice commented Aug 5, 2023

Oh, my God! The Great DavidXanatos reply my post, It's exciting.

@DavidXanatos
Copy link
Member

It was a pretty funny bug actually, the Qt installer uses GetConsoleProcessList to determine if its running in a cmd console or was open from explorer.
When opened standalone GetConsoleProcessList returns 1 when runnign fromm an existing console it returns at least 2 (cmd.exe and theinstaller and may be whatever else uses this console)
the way sbie allocated the console window using a helper service had a short moment where the service and the applications were attached at the same time and GetConsoleProcessList returned 2 and qt's installer tryed to restart itself out of teh console but to no avail.
The fix was to add a short wait when the connect is done and check GetConsoleProcessList untill it returns 1 before returning control to the installer.
and at voila, it works :D

@offhub offhub removed the Confirmation pending Further confirmation is requested label Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed in next build Fixed in the next Sandboxie version
Projects
None yet
Development

No branches or pull requests

4 participants