NScripter games crashes when running in Sandbox

Please post your problem description here

Moderator: Barb@Invincea

Post Reply
RadarNyan
Posts: 27
Joined: Thu Aug 21, 2014 2:35 pm

NScripter games crashes when running in Sandbox

Post by RadarNyan » Sat Jul 15, 2017 4:17 am

Games made with Nscripter engine (http://www.nscripter.com/) would crash when running in sandbox.
They don't crash right at the beginning, but crashes when performing some action like save/load game.

I can not provide the game itself but I have one of the crash dump attached.
I've tested more than one games and they all crash at some point. Running them outside sandbox is fine.

EDIT: There's something wrong with your attachment system, I've uploaded crash dump to Google Drive
https://drive.google.com/open?id=0Bw-XA ... 0lTbmVTQjg
Sandboxie 5.23.5 | Windows 7 SP1 x64 w/ security updates only

Barb@Invincea
Sandboxie Support
Sandboxie Support
Posts: 2337
Joined: Mon Nov 07, 2016 3:10 pm

Re: NScripter games crashes when running in Sandbox

Post by Barb@Invincea » Mon Jul 17, 2017 11:26 am

Hello RadarNyan,

Please provide the following information:
viewtopic.php?f=11&t=19746

Also, please reproduce the issue and paste the output of the Resource Access Monitor. Use the "</>" button to format it in the forum.
https://www.sandboxie.com/index.php?Res ... essMonitor
This may allow us to see what is Sandboxie trying to interact with at the moment of the crash.

Regarding the games, is there any reason why you need to run them Sandboxed? (Not all games work well inside Sandboxie).

Regards,
Barb.-

RadarNyan
Posts: 27
Joined: Thu Aug 21, 2014 2:35 pm

Re: NScripter games crashes when running in Sandbox

Post by RadarNyan » Tue Jul 25, 2017 12:03 am

I'm running Sandboxie 5.20 on Windows 7 SP1 x64. I'm not running any AntiVirus Product.

Which game doesn't matter, at least every single NScripter game I have (I can't provide them though as they're not free, but I'm sure you can find some free/demo game made with Nscripter online) would crash at some point. Even when they don't crash, the game won't render correctly, eg: I'll get something like a empty (black) srceen with text only when there should be a background picture - it seems like the game engine was unable to access some of the resource files. Here's the Resource Monitor output:

Code: Select all

(Drive)     \Device\HarddiskVolume2
(Drive)     \Device\HarddiskVolume3
(Drive)     \Device\HarddiskVolume5
(Drive)     \Device\HarddiskVolume6
(Drive)     \Device\HarddiskVolume7
(Drive)     \Device\HarddiskVolume8
(Drive)     \Device\VeraCryptVolumeB
Clsid       -------------------------------
Clsid       {BCDE0395-E52F-467C-8E3D-C4579291692E} MMDeviceEnumerator class
Clsid       {CD773740-B187-4974-A1D5-E0FF91372277} CrossProcessClientOutput Class
File/Key    -------------------------------
Image       -------------------------------
Image       *:\doujingames\toradora! - とらンス!\とらンス!.exe
Image       *:\program files\sandboxie\sandboxiedcomlaunch.exe
Image       *:\program files\sandboxie\sandboxierpcss.exe
Image       *:\windows\syswow64\werfault.exe
Image       b:\doujingames\toradora! - とらンス!\nsogg.dll
Image       c:\program files\mactype\easyhk32.dll
Image       c:\program files\mactype\mactype.dll
Image       c:\program files\sandboxie\32\sbiedll.dll
Image       c:\program files\sandboxie\sbiedll.dll
Image       c:\windows\system32\advapi32.dll
Image       c:\windows\system32\api-ms-win-core-synch-l1-2-0.dll
Image       c:\windows\system32\apphelp.dll
Image       c:\windows\system32\asycfilt.dll
Image       c:\windows\system32\audioses.dll
Image       c:\windows\system32\avrt.dll
Image       c:\windows\system32\credssp.dll
Image       c:\windows\system32\cryptbase.dll
Image       c:\windows\system32\cryptsp.dll
Image       c:\windows\system32\d2d1.dll
Image       c:\windows\system32\dsound.dll
Image       c:\windows\system32\dwmapi.dll
Image       c:\windows\system32\dwrite.dll
Image       c:\windows\system32\gdi32.dll
Image       c:\windows\system32\imm32.dll
Image       c:\windows\system32\kernel32.dll
Image       c:\windows\system32\kernelbase.dll
Image       c:\windows\system32\ksuser.dll
Image       c:\windows\system32\lpk.dll
Image       c:\windows\system32\midimap.dll
Image       c:\windows\system32\mmdevapi.dll
Image       c:\windows\system32\msacm32.dll
Image       c:\windows\system32\msacm32.drv
Image       c:\windows\system32\msctf.dll
Image       c:\windows\system32\msvcr100.dll
Image       c:\windows\system32\msvcrt.dll
Image       c:\windows\system32\nsi.dll
Image       c:\windows\system32\ntdll.dll
Image       c:\windows\system32\ole32.dll
Image       c:\windows\system32\oleaut32.dll
Image       c:\windows\system32\powrprof.dll
Image       c:\windows\system32\propsys.dll
Image       c:\windows\system32\psapi.dll
Image       c:\windows\system32\riched20.dll
Image       c:\windows\system32\rpcepmap.dll
Image       c:\windows\system32\rpcrt4.dll
Image       c:\windows\system32\rpcrtremote.dll
Image       c:\windows\system32\rpcss.dll
Image       c:\windows\system32\rsaenh.dll
Image       c:\windows\system32\sechost.dll
Image       c:\windows\system32\secur32.dll
Image       c:\windows\system32\shell32.dll
Image       c:\windows\system32\shlwapi.dll
Image       c:\windows\system32\sspicli.dll
Image       c:\windows\system32\sxs.dll
Image       c:\windows\system32\user32.dll
Image       c:\windows\system32\usp10.dll
Image       c:\windows\system32\uxtheme.dll
Image       c:\windows\system32\wdmaud.drv
Image       c:\windows\system32\winmm.dll
Image       c:\windows\system32\ws2_32.dll
Image       c:\windows\system32\xmllite.dll
Image       c:\windows\syswow64\advapi32.dll
Image       c:\windows\syswow64\cfgmgr32.dll
Image       c:\windows\syswow64\clbcatq.dll
Image       c:\windows\syswow64\cryptbase.dll
Image       c:\windows\syswow64\d2d1.dll
Image       c:\windows\syswow64\dbgeng.dll
Image       c:\windows\syswow64\dbghelp.dll
Image       c:\windows\syswow64\devobj.dll
Image       c:\windows\syswow64\dui70.dll
Image       c:\windows\syswow64\duser.dll
Image       c:\windows\syswow64\dwmapi.dll
Image       c:\windows\syswow64\dwrite.dll
Image       c:\windows\syswow64\faultrep.dll
Image       c:\windows\syswow64\gdi32.dll
Image       c:\windows\syswow64\imm32.dll
Image       c:\windows\syswow64\kernel32.dll
Image       c:\windows\syswow64\kernelbase.dll
Image       c:\windows\syswow64\lpk.dll
Image       c:\windows\syswow64\msctf.dll
Image       c:\windows\syswow64\msvcrt.dll
Image       c:\windows\syswow64\ntdll.dll
Image       c:\windows\syswow64\ole32.dll
Image       c:\windows\syswow64\oleaut32.dll
Image       c:\windows\syswow64\propsys.dll
Image       c:\windows\syswow64\psapi.dll
Image       c:\windows\syswow64\rpcrt4.dll
Image       c:\windows\syswow64\sechost.dll
Image       c:\windows\syswow64\sensapi.dll
Image       c:\windows\syswow64\setupapi.dll
Image       c:\windows\syswow64\shell32.dll
Image       c:\windows\syswow64\shlwapi.dll
Image       c:\windows\syswow64\sspicli.dll
Image       c:\windows\syswow64\user32.dll
Image       c:\windows\syswow64\usp10.dll
Image       c:\windows\syswow64\version.dll
Image       c:\windows\syswow64\wer.dll
Image       c:\windows\syswow64\werui.dll
Image       c:\windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.18837_none_41e855142bd5705d\comctl32.dll
Ipc         -------------------------------
Ipc         \BaseNamedObjects\__ComCatalogCache__
Ipc         \BaseNamedObjects\{A3BD3259-3E4F-428a-84C8-F0463A9D3EB5}
Ipc         \BaseNamedObjects\{A64C7F33-DA35-459b-96CA-63B51FB0CDB9}
Ipc         \BaseNamedObjects\RotHintTable
Ipc         \RPC Control\actkernel
Ipc         \RPC Control\epmapper
Ipc         \RPC Control\plugplay
Ipc         \Sessions\1\BaseNamedObjects\__ComCatalogCache__
Ipc         \Sessions\1\BaseNamedObjects\{A3BD3259-3E4F-428a-84C8-F0463A9D3EB5}
Ipc         \Sessions\1\BaseNamedObjects\{A64C7F33-DA35-459b-96CA-63B51FB0CDB9}
Ipc         \Sessions\1\BaseNamedObjects\ComPlusCOMRegTable
Ipc         \Sessions\1\BaseNamedObjects\DbgEngEvent_0000173C
Ipc         \Sessions\1\BaseNamedObjects\f740b372-70ec-11e7-b87f-f04da2de158a
Ipc         \Sessions\1\BaseNamedObjects\MutexDesu2
Ipc         \Sessions\1\BaseNamedObjects\OleDfRoot2182F68EA2AAE84
Ipc         \Sessions\1\BaseNamedObjects\RotHintTable
Ipc         \Sessions\1\BaseNamedObjects\SBIE_BOXED_DummyEvent_5344
Ipc         \Sessions\1\BaseNamedObjects\SBIE_BOXED_DummyEvent_5948
Ipc         \Sessions\1\BaseNamedObjects\SBIE_BOXED_DummyEvent_7708
Ipc         \Sessions\1\BaseNamedObjects\SBIE_BOXED_DummyEvent_8432
Ipc         \Sessions\1\BaseNamedObjects\SBIE_BOXED_RPCSS_SXS_READY
Ipc         \Sessions\1\BaseNamedObjects\SBIE_BOXED_ServiceInitComplete_DcomLaunch
Ipc         \Sessions\1\BaseNamedObjects\SBIE_BOXED_ServiceInitComplete_Mutex1
Ipc         \Sessions\1\BaseNamedObjects\SBIE_BOXED_ServiceInitComplete_RpcEptMapper
Ipc         \Sessions\1\BaseNamedObjects\SBIE_BOXED_ServiceInitComplete_RpcSs
Ipc         \Sessions\1\BaseNamedObjects\SboxSession
Ipc         \Sessions\1\BaseNamedObjects\ScmCreatedEvent
Ipc         \Sessions\1\BaseNamedObjects\WERReportingForProcess8432
Ipc         \Sessions\1\BaseNamedObjects\windows_shell_global_counters
Ipc         \WindowsErrorReportingServicePort
Ipc      O  \BaseNamedObjects\AudioEngineDuplicateHandleApiPort1681143817
Ipc      O  \BaseNamedObjects\mmGlobalPnpInfo
Ipc      O  \BaseNamedObjects\msctf.serverDefault1
Ipc      O  \KernelObjects\MaximumCommitCondition
Ipc      O  \KernelObjects\SystemErrorPortReady
Ipc      O  \KnownDlls\advapi32.dll
Ipc      O  \KnownDlls\gdi32.dll
Ipc      O  \KnownDlls\kernel32.dll
Ipc      O  \KnownDlls\kernelbase.dll
Ipc      O  \KnownDlls\LPK.dll
Ipc      O  \KnownDlls\MSCTF.dll
Ipc      O  \KnownDlls\MSVCRT.dll
Ipc      O  \KnownDlls\NSI.dll
Ipc      O  \KnownDlls\ole32.dll
Ipc      O  \KnownDlls\OLEAUT32.dll
Ipc      O  \KnownDlls\PSAPI.DLL
Ipc      O  \KnownDlls\rpcrt4.dll
Ipc      O  \KnownDlls\SHELL32.dll
Ipc      O  \KnownDlls\SHLWAPI.dll
Ipc      O  \KnownDlls\user32.dll
Ipc      O  \KnownDlls\USP10.dll
Ipc      O  \KnownDlls\WS2_32.dll
Ipc      O  \KnownDlls32\advapi32.dll
Ipc      O  \KnownDlls32\CFGMGR32.dll
Ipc      O  \KnownDlls32\clbcatq.dll
Ipc      O  \KnownDlls32\CRYPTBASE.dll
Ipc      O  \KnownDlls32\DEVOBJ.dll
Ipc      O  \KnownDlls32\gdi32.dll
Ipc      O  \KnownDlls32\IMM32.dll
Ipc      O  \KnownDlls32\kernel32.dll
Ipc      O  \KnownDlls32\kernelbase.dll
Ipc      O  \KnownDlls32\LPK.dll
Ipc      O  \KnownDlls32\MSCTF.dll
Ipc      O  \KnownDlls32\MSVCRT.dll
Ipc      O  \KnownDlls32\ole32.dll
Ipc      O  \KnownDlls32\OLEAUT32.dll
Ipc      O  \KnownDlls32\PSAPI.DLL
Ipc      O  \KnownDlls32\rpcrt4.dll
Ipc      O  \KnownDlls32\Setupapi.dll
Ipc      O  \KnownDlls32\SHELL32.dll
Ipc      O  \KnownDlls32\SHLWAPI.dll
Ipc      O  \KnownDlls32\SspiCli.dll
Ipc      O  \KnownDlls32\user32.dll
Ipc      O  \KnownDlls32\USP10.dll
Ipc      O  \MmcssApiPort
Ipc      O  \RPC Control\AudioClientRpc
Ipc      O  \RPC Control\Audiosrv
Ipc      O  \RPC Control\lsapolicylookup
Ipc      O  \RPC Control\lsasspirpc
Ipc      O  \RPC Control\SbieSvcPort
Ipc      O  \RPC Control\senssvc
Ipc      O  \RPC Control\umpo
Ipc      O  \Security\LSA_AUTHENTICATION_INITIALIZED
Ipc      O  \Sessions\1\BaseNamedObjects\CTF.AsmListCache.FMPDefault1
Ipc      O  \Sessions\1\BaseNamedObjects\DBWinMutex
Ipc      O  \Sessions\1\BaseNamedObjects\DINPUTWINMM
Ipc      O  \Sessions\1\BaseNamedObjects\DirectSound Administrator shared thread array
Ipc      O  \Sessions\1\BaseNamedObjects\DirectSound Administrator shared thread array (lock)
Ipc      O  \Sessions\1\BaseNamedObjects\DirectSound DllMain mutex (0x000020F0)
Ipc      O  \Sessions\1\BaseNamedObjects\MidiMapper_modLongMessage_RefCnt
Ipc      O  \Sessions\1\BaseNamedObjects\MSCTF.Asm.MutexDefault1
Ipc      O  \Sessions\1\BaseNamedObjects\MSCTF.AsmCacheReady.Default1
Ipc      O  \Sessions\1\BaseNamedObjects\MSCTF.CtfActivated.Default1
Ipc      O  \Sessions\1\Windows\ApiPort
Ipc      O  \Sessions\1\Windows\SharedSection
Ipc      O  \ThemeApiPort
Pipe        -------------------------------
Pipe        \Device\KsecDD
Pipe        \Device\Ndis
Pipe        \Device\NDMP10
Pipe        \Device\NDMP11
Pipe        \Device\NDMP3
Pipe        \Device\NDMP4
Pipe        \Device\NDMP6
Pipe        \Device\NDMP7
Pipe        \Device\NDMP8
Pipe        \Device\NDMP9
WinCls      -------------------------------
WinCls   O  Shell_TrayWnd
WinCls   X  Progman
(The game is located in a VeraCrypt volume, but I don't think it affacts anything as if I move it to a normal volume it would still crash.)
Regarding the games, is there any reason why you need to run them Sandboxed?
:| Because I want to! Remember your slogan - "Trust No Program"???
I run almost all my programs (other than sandboxie apparently) inside individual sandboxes. So I have better control of what the can or can not access, and I can remove them cleanly when I don't want them anymore. If I'm okay with running some program outside sandbox why would I use sandboxie in the first place?
Sandboxie 5.23.5 | Windows 7 SP1 x64 w/ security updates only

Barb@Invincea
Sandboxie Support
Sandboxie Support
Posts: 2337
Joined: Mon Nov 07, 2016 3:10 pm

Re: NScripter games crashes when running in Sandbox

Post by Barb@Invincea » Tue Jul 25, 2017 4:07 pm

Hello RadarNyan,

I am not seeing much in your Res. Acc. Mon, other than it seems to crash right away.
If you could please provide some free demo examples that you know crash, I will be happy to test them.
:| Because I want to! Remember your slogan - "Trust No Program"???
Sorry if I wasn't clear, my intention is to find out what are you trying to do in order to see if there are any workarounds we can use. As explained before, not all games will work inside Sandboxie.

Have you tried installing the game directly into Sandboxie? Or copying the installation folder inside Sandboxie and running it from there? [Not sure any of these options will work, but they are worth a shot].

If you know where does the game save files to (in case that's causing the crash), you can try opening the path for it:
https://www.sandboxie.com/index.php?OpenFilePath

Regards,
Barb.-

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest