sandboxie-plus / Sandboxie

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

Firefox crashes on Windows 7*64 #3088

Open KT907 opened 1 year ago

KT907 commented 1 year ago

Describe what you noticed and did

Firefox does not work on Windows 7*64. In this case, Librewolf. Both in the classical version and in plus. The frame is also moving to the taskbar. v90-115. There are no problems outside the sandbox. песок1 песок2 песок3

How often did you encounter it so far?

No response

Affected program

Firefox 90-115

Download link

Not available

Where is the program located?

Not relevant to my request.

Expected behavior

how browsers work

What is your Windows edition and version?

Windows 7-64

In which Windows account you have this problem?

A local account (Standard user).

Please mention any installed security software

Not available

What version of Sandboxie are you running?

5.64.6

Is it a new installation of Sandboxie?

I recently did a new clean installation.

Is it a regression?

Not available

In which sandbox type you have this problem?

Not relevant to my request.

Can you reproduce this problem on a new empty sandbox?

Not relevant to my request.

Did you previously enable some security policy settings outside Sandboxie?

No

Crash dump

Not available

Trace log

Not available

Sandboxie.ini configuration

#
# Sandboxie configuration file
#

[GlobalSettings]
Template=7zipShellEx
EditAdminOnly=y
ForceDisableAdminOnly=y
ForgetPassword=y

[DefaultBox]
ConfigLevel=10
BlockNetworkFiles=y
Template=BlockTelemetry
Template=SkipHook
Template=FileCopy
Template=BlockPorts
Template=LingerPrograms
Template=AutoRecoverIgnore
RecoverFolder=%{*****}%
RecoverFolder=%Personal%
RecoverFolder=%Desktop%
BorderColor=#400000,on,2
Enabled=y
BoxNameTitle=-
AutoDelete=y
NeverDelete=n
NotifyInternetAccessDenied=y
ProcessGroup=<InternetAccess>,firefox.exe,librewolf.exe,chrome.exe,palemoon.exe,domainhostingview.exe
ClosedFilePath=!<InternetAccess>,InternetAccessDevices

[UserSettings_*****]
SbieCtrl_UserName=user
SbieCtrl_BoxExpandedView=DefaultBox
SbieCtrl_NextUpdateCheck=-1
SbieCtrl_EnableLogonStart=n
SbieCtrl_EnableAutoStart=y
SbieCtrl_AddDesktopIcon=n
SbieCtrl_AddQuickLaunchIcon=n
SbieCtrl_AddContextMenu=y
SbieCtrl_AddSendToMenu=n
SbieCtrl_UpdateCheckNotify=y
SbieCtrl_AutoApplySettings=n
SbieCtrl_SettingChangeNotify=n
SbieCtrl_HideWindowNotify=n
SbieCtrl_WindowCoords=322,32,1237,945
SbieCtrl_ActiveView=40021
SbieCtrl_ProcessViewColumnWidths=250,70,300
SbieCtrl_ExplorerNotify=n
SbieCtrl_ReloadConfNotify=n
SbieCtrl_EditConfNotify=n

[UserSettings_*****]
SbieCtrl_UserName=user
SbieCtrl_NextUpdateCheck=-1
SbieCtrl_UpdateCheckNotify=y
SbieCtrl_EnableLogonStart=n
SbieCtrl_EnableAutoStart=y
SbieCtrl_AddDesktopIcon=n
SbieCtrl_AddQuickLaunchIcon=n
SbieCtrl_AddContextMenu=y
SbieCtrl_AddSendToMenu=n
SbieCtrl_AutoApplySettings=n
SbieCtrl_SettingChangeNotify=n
SbieCtrl_HideWindowNotify=n
SbieCtrl_WindowCoords=317,23,1243,988
SbieCtrl_ActiveView=40021
SbieCtrl_ProcessViewColumnWidths=250,70,300
SbieCtrl_ExplorerNotify=n
SbieCtrl_BoxExpandedView=TestBox,DefaultBox
SbieCtrl_HideMessage=2205,WMI \\user-ПК\ROOT\WMI:WmiMonitorDescriptorMethods::WmiGetMonitorRawEEdidV1Block
SbieCtrl_HideMessage=2205,WMI IWbemServices 24
SbieCtrl_RecoverTarget=C:\Users\user\Downloads
SbieCtrl_SaveRecoverTargets=y

[TestBox]
Enabled=y
ConfigLevel=10
BlockNetworkFiles=y
Template=BlockTelemetry
Template=SkipHook
Template=FileCopy
Template=BlockPorts
Template=LingerPrograms
Template=AutoRecoverIgnore
RecoverFolder=%{*****}%
RecoverFolder=%Personal%
RecoverFolder=%Desktop%
BorderColor=#808000,on,2
BoxNameTitle=-
ForceProcess=freetube.exe
KT907 commented 1 year ago

I'll add some more information. There is a version of Librewolf 88 it works in the sandbox without any problems. I checked the 89th version it also works. Starting at 90 it crashes. I suspect that subsequent versions do not work in the same way. Windows 7 is not my primary working system. I decided to update the browsers on it and identified the problem. There are no problems with chromium and Pale Moon also works properly. I have now launched Librewolf 115. Photo below: песок4

bastik-1001 commented 1 year ago

I just want to point out that this does not happen for Firefox (64bit) up to 115 on Windows 7 64bit. It could still be an incompatibility, that should be addressed. The only reason for me to reply is to state that this does not apply to all Firefox based browsers.

KT907 commented 1 year ago

Starting from version 90 to 115, there is an incompatibility. Tested on three different Windows 7 configurations. All my systems are 64bit and so are my browsers. Here is the photo of the launch of the new version of Firefox 115_ESR: ff1

KT907 commented 1 year ago

And the color frame showing the browser working in the sandbox is also broken. If the browser is expanded to full screen, it is displayed at a 90-degree angle without covering the entire display. In the plus version, it generally moves to the taskbar. The first published photo shows it.

KT907 commented 1 year ago

I just want to point out that this does not happen for Firefox (64bit) up to 115 on Windows 7 64bit.

Proof: ff2 ff3

offhub commented 1 year ago

Firefox 115.0.2 opened without crashing.

LibreWolf 115.0.2-2 crashes may not be caused by Sandboxie. LibreWolf also crashed when running outside the sandbox. After searching I found the following problem.

LibreWolf v112.0-1 crashes under Windows 7

  1. Go to about:config
  2. Set network.cache.shutdown_purge_in_background_task to false
bastik-1001 commented 1 year ago

I am sorry to hear that Firefox is indeed affected for you. My assumption that it was due to LibreWolf being a bit different and Sandboxie being incompatible with those changes, turned out to be incorrect.

KT907 commented 1 year ago

LibreWolf 115.0.2-2 crashes may not be caused by Sandboxie. LibreWolf also crashed when running outside the sandbox. After searching I found the following problem.

I don't use the 112 version. Currently, there are no problems with the browser working outside the sandbox on board 114. The same goes for Firefox.

KT907 commented 1 year ago

I am sorry to hear that Firefox is indeed affected for you. My assumption that it was due to LibreWolf being a bit different and Sandboxie being incompatible with those changes, turned out to be incorrect.

These browsers share the same codebase. Librewolf and Firefox don't work. Outside of the sandbox, these browsers work without problems. What logical conclusion can be drawn from this information?)

KT907 commented 1 year ago

The sandbox had a similar problem with the TOR browser. Inoperable 64-bit versions. It was fixed in the future. I didn't check the performance of 32-bit Firefox and Librewolf. There is no Windows 7 at hand right now.

offhub commented 1 year ago

It would be helpful if you could share the crash dump files with us.

%LocalAppData%\CrashDumps
%AppData%\Mozilla\Firefox\Crash Reports\pending

Note: Also check the sandboxed paths.

KT907 commented 1 year ago

It would be helpful if you could share the crash dump files with us

I checked 32-bit browsers. They don't work either. After completing the work, an interesting notification appeared in the sandbox: prf1

I pulled dumps from the sandbox. How can I upload a 7-zip archive here?

offhub commented 1 year ago

I pulled dumps from the sandbox. How can I upload a 7-zip archive here?

Attaching files

KT907 commented 1 year ago

:) Action scenario: Firefox is not installed in Windows 7. I installed 115ESR in the sandbox, reproduced the error, and extracted the browser dumps. pending.zip

offhub commented 1 year ago

According to the reports, it was a font-related crash.

MOZ_CRASH Reason (Sanitized) | unable to find a usable font (xxx)

Can you try after adding the following setting in GlobalSettings?

EnableWin32kHooks=n

KT907 commented 1 year ago

According to the reports, it was a font-related crash.

MOZ_CRASH Reason (Sanitized) | unable to find a usable font (xxx)

Can you try after adding the following setting in GlobalSettings?

EnableWin32kHooks=n

The second photo shows a broken font in Ublock. In all extensions, the same thing happens on websites. As a result, the browser crashes. The Firefox settings interface is displayed correctly.

Adding the parameter "EnableWin32kHooks=n" did not solve the problem.

offhub commented 1 year ago

Disabling the Windows Font Cache Service may cause some applications to crash when sandboxed.

KT907 commented 1 year ago

Disabling the Windows Font Cache Service may cause some applications to crash when sandboxed.

I confirm this. The Windows Font cache service has been disabled. Installed "manually". The browser is now working properly. Thank you for your help in solving this problem.

KT907 commented 1 year ago

There is still a problem with the incorrect border display, which shows how the application works in an isolated environment. This happens in full-screen mode. In the classic version, it is not displayed in the upper and still left part of the browser. In the plus version, it moves to the taskbar. About this parameter: br1