sandboxie-plus / Sandboxie

Sandboxie Plus & Classic
https://Sandboxie-Plus.com
GNU General Public License v3.0
13.86k stars 1.54k forks source link

OPEN FILE, SAVE AS, on every program is broken, click and nothing happen #984

Closed diieg707 closed 3 years ago

diieg707 commented 3 years ago

OPEN FILE, SAVE AS, commands on every program is broken, click and window doesn't appear

sandboxie plus 0.8.7

isaak654 commented 3 years ago

1) Is it a clean Plus installation or an installation upgraded from previous versions (if yes, which ones)? 2) Windows edition and version? (i.e. Windows 10 Pro 20H2). 3) Any security software running in the background? 4) Possibly attach any screenshot or describe your problem in steps like this:

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error
diieg707 commented 3 years ago

it is a clean plus installation 0.8.7 w10 version 1803 (os build 17134.285) no security software running

no screenshot, just try with VLC, mpc classic and other programs: CLICK OPEN FILE, OPEN FOLDER, SAVE AS commands doesn't work

isaak654 commented 3 years ago

I've just tried with VLC and notepad both sandboxed... open file and save dialogs run fine here. Windows 10 20h2 - 0.8.7

diieg707 commented 3 years ago

otepad both s

my notepad doesn't even open bro

Capture

diieg707 commented 3 years ago

just to mention that previous versions are working fine..

installed classic 5.49.7 and it's working fine then upgraded to latest 0.8.7/5.50.7 and these problems occur.

DavidXanatos commented 3 years ago

could you pelase test some inbetween verions between 5.49.7 and 5.50.7 are quite a few versions

diieg707 commented 3 years ago

7 and 5.5

0.8.2 is the last variation that works, problem persists in 0.8.7b, (0.8.2 have issues deleting sandbox, that you fixed in latest buildings)

note that in mpc classic the buttons turn black

i was going to test Release v0.8.5 / 5.50.5 but it seems you forgot to post the files, just assets are available

Capture

isaak654 commented 3 years ago

I need to know if you also encountered #968 when switching from a Plus version to another.

diieg707 commented 3 years ago

rom a Plus versio

i encounted this error when switching from classic to plus 0.8.7, but a simple reboot resolves the issue, not a big deal

DavidXanatos commented 3 years ago

v0.8.5 / 5.50.5 is same as v0.8.6 / 5.50.6 except one bugfix

could you please v0.8.2 with first the SbieDll.dll from 0.8.6 than the SbieSvc.exe and than the SbieDrv.sys the files should be interchangeable and it would help me a lot to know in which component the breaking change is located, as I can not reproduce the issue locally.

Please note the because of the code signing when trying the SbieSvc.exe from 0.8.6 you will need to take the updated sandman.exe with the sandman.exe.sig and if testing the new driver you need the newer SbieSvc.exe with the accompanying SbieSvc.exe.sig

diieg707 commented 3 years ago

v0.8.5 / 5.50.5 is same as v0.8.6 / 5.50.6 except one bugfix

could you please v0.8.2 with first the SbieDll.dll from 0.8.6 than the SbieSvc.exe and than the SbieDrv.sys the files should be interchangeable and it would help me a lot to know in which component the breaking change is located, as I can not reproduce the issue locally.

Please note the because of the code signing when trying the SbieSvc.exe from 0.8.6 you will need to take the updated sandman.exe with the sandman.exe.sig and if testing the new driver you need the newer SbieSvc.exe with the accompanying SbieSvc.exe.sig

hello man, i didn't understand well what you wrote..

but the problem is related to services, if i open 0.8.2, start it's services and close it, then start 0.8.6 problem doesn't occur, as you can see no black mpc buttons

solv

diieg707 commented 3 years ago

how to place services from 0.8.2 to 0.8.6?

isaak654 commented 3 years ago

Sandboxie service is the SbieSvc.exe file located in the main Sandboxie installation folder.

diieg707 commented 3 years ago

oxi

i tried to put SbieSvc.exe on 0.8.6 but it didn't work

isaak654 commented 3 years ago

i tried to put SbieSvc.exe on 0.8.6 but it didn't work

Did you rename the SbieSvc.exe.sig file to something else?

diieg707 commented 3 years ago

i tried to put SbieSvc.exe on 0.8.6 but it didn't work

Did you rename the SbieSvc.exe.sig file to something else?

There's no SbieSvc.exe.sig in 082 and i also deleted SbieSvc.exe.sig on 086 before open it

DavidXanatos commented 3 years ago

go the other way instal the old build and then put the new svc in it

diieg707 commented 3 years ago

go the other way instal the old build and then put the new svc in it I tried that quite some time, the times I manage it to work mpc opened with black buttons, and open file dialog broken other times showed errors on notification

DavidXanatos commented 3 years ago

Ok lets make it simple

  1. go to the maintenace menu of your sandman and click stop all
  2. exit sandman
  3. rename your instalation folder to somethign else
  4. download one of the prepared test instals
  5. extract it in place of your original instalation folder
  6. start samdman let it start the drv and svc
  7. test if it works
  8. repeat for the other test install

test installs http://xanasoft.com/Downloads/Sandboxie-Plus 0.8.2 with 0.8.6 SbieDll.zip http://xanasoft.com/Downloads/Sandboxie-Plus 0.8.2 with 0.8.6 SbieSvc.zip

diieg707 commented 3 years ago

4. nload one

i think you didn't post properly your test installs

DavidXanatos commented 3 years ago

just copy the entire test up to zip and paste it

isaak654 commented 3 years ago

i think you didn't post properly your test installs

You can still copy and paste both URLs, it's just GitHub that doesn't handle the spaces.

diieg707 commented 3 years ago

tests done, here's what i did..

i made sure sandboxie asked to create services on both cases and also to crean up services when closing programs

i hope i did it right

0.8.6 SbieDll sbiedll

0.8.6 SbieSvc svc

diieg707 commented 3 years ago

can't open anything on 8.2 with 0.8.6 SbieDll, and show errors on notification

and 8.2 with 8.6 SbieSvc don't even open

DavidXanatos commented 3 years ago

ah damn there seam to be an incompatibility with the sbiedll i have compiled fresh working inbetween builds, 3 in total all in one zip http://xanasoft.com/Downloads/testbuilds-0.8.2-0.8.6.0.zip test them one after the other and tell me with which the issues appear

diieg707 commented 3 years ago

ah damn there seam to be an incompatibility with the sbiedll i have compiled fresh working inbetween builds, 3 in total all in one zip http://xanasoft.com/Downloads/testbuilds-0.8.2-0.8.6.0.zip test them one after the other and tell me with which the issues appear

Sandboxie-Plus 0.8.2_with_0.8.6_sbiedll open file dialog broken, (error deleting sandbox (with programs open))

Sandboxie-Plus 0.8.2_with_0.8.6_sbiedll_and_sbiesvc open file dialog broken, (error deleting box (with programs open)) doesn't occur

Sandboxie-Plus 0.8.2_with_0.8.6_sbiesvc open file dialog WORKS, (error deleting box (with programs open))

DavidXanatos commented 3 years ago

ok good so thet tells be the breakign change for you is in sbiedll.dll, please stay tuned I'll cook up some more test builds with a more fine grained changes, so we can pin point what exactly caused the issue...

diieg707 commented 3 years ago

ok good so thet tells be the breakign change for you is in sbiedll.dll, please stay tuned I'll cook up some more test builds with a more fine grained changes, so we can pin point what exactly caused the issue...

ok

DavidXanatos commented 3 years ago

here thay are: http://xanasoft.com/Downloads/testbuilds-0.8.2-0.8.6.0-misc.zip

diieg707 commented 3 years ago

here thay are: http://xanasoft.com/Downloads/testbuilds-0.8.2-0.8.6.0-misc.zip

do you expect to find some other bug? i tested the first 3 folders and open file dialog works in all of them

DavidXanatos commented 3 years ago

one of them should break it if non of them braks it we have a problem

diieg707 commented 3 years ago

the last one didn't work, this is the buggy one Sandboxie-Plus_0.8.2_obj

one of them should break it if non of them braks it we have a problem

DavidXanatos commented 3 years ago

the last one didn't work, this is the buggy one Sandboxie-Plus_0.8.2_obj

hmm... damn it... that was the fix for #951 please test this one also http://xanasoft.com/Downloads/Sandboxie-Plus_0.8.2_obj_a.zip does this one work of break?

diieg707 commented 3 years ago

Sandboxie-Plus_0.8.2_obj_a.zip this one break

DavidXanatos commented 3 years ago

ok and this one: http://xanasoft.com/Downloads/Sandboxie-Plus_0.8.2_obj_b.zip

diieg707 commented 3 years ago

Sandboxie-Plus_0.8.2_obj_b.zip

Sandboxie-Plus_0.8.2_obj_b.zip break too

DavidXanatos commented 3 years ago

that is not good it means that the fix for the mentioned issue breaks sbie for you and it seams only for you as others do not complain, not sure why that is. I'll add a switch and make the old behaviorue that worked for you default as the change seams to break in your usecase more than the fix fixes in the other case

diieg707 commented 3 years ago

that is not good it means that the fix for the mentioned issue breaks sbie for you and it seams only for you as others do not complain, not sure why that is. I'll add a switch and make the old behaviorue that worked for you default as the change seams to break in your usecase more than the fix fixes in the other case

thank you man

DavidXanatos commented 3 years ago

please also test the builds with your other issue #985

DavidXanatos commented 3 years ago

PS: also are you using any other security software, or virtualization or sandboxing software? IMHO something is messing with the object name resolution on your system, not sure what though

diieg707 commented 3 years ago

sure

i use Flattastic OS, no security software on my system tray i only have steam, IDM, Pdanet and intel hd graphics

diieg707 commented 3 years ago

PS: also are you using any other security software, or virtualization or sandboxing software? IMHO something is messing with the object name resolution on your system, not sure what though

BTW you said on #951 that you could use NtQueryObject instead but have to check if this can cause any other issues

DavidXanatos commented 3 years ago

yea apparently it does, after some more testing it seals windows 10 build 1803 it doe snot work properly, but on 7 ot does so really streange