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

Could not run x64 in ARM64 PC. #4415

Open
iamsurfing opened this issue Dec 4, 2024 · 4 comments
Open

Could not run x64 in ARM64 PC. #4415

iamsurfing opened this issue Dec 4, 2024 · 4 comments
Labels
Confirmation Pending Further confirmation is requested Platform: ARM64 ARM64 platforms Priority: High To be done as soon as possible ToDo To be done

Comments

@iamsurfing
Copy link

Describe what you noticed and did

Run x86_64 executable in win11 arm64. It crash and show this following.
could not hook GdiDllInitialize (69)
could not hook ShellExecuteExW (69)
Run ARM64EC executable. It works but still show this following.
could not hook GdiDllInitialize (69)
could not hook ShellExecuteExW (69)

How often did you encounter it so far?

always

Expected behavior

I can run x86_64 executable.
I can run ARM64EC , and do not show me the error log.

Affected program

x64 executable and arm64ec executable

Download link

no available

Where is the program located?

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

Did the program or any related process close unexpectedly?

Yes, it did. See the link to the .dmp file(s) I have attached here.

Crash dump

Stack overflow - code c00000fd (first/second chance not available) SbieDll+0x5660: 00007ff8`aa9c5660 f940023f ldr xzr,[xip1]

What version of Sandboxie are you running now?

v1.15.3 arm64

Is it a new installation of Sandboxie?

I recently upgraded it from an older version than 1.5.3 / 5.60.3.

Is it a regression from previous versions?

I do not know

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.

What is your Windows edition and version?

24H2 26100.2314(arm64)

In which Windows account you have this problem?

A Microsoft account (Standard user).

Please mention any installed security software

Microsoft defender

Did you previously enable some security policy settings outside Sandboxie?

no

Trace log

SBIE2303 could not hook GdiDllInitialize (69) SBIE2303 could not hook ShellExecuteExW (69)

Sandboxie.ini configuration

default
@iamsurfing iamsurfing added the Confirmation Pending Further confirmation is requested label Dec 4, 2024
@iamsurfing
Copy link
Author

I noticed that you provided SbieDll.pdb, but you did not provide 32\SbieDll.pdb and 64\SbieDll.pdb.

@offhub offhub added the Platform: ARM64 ARM64 platforms label Dec 4, 2024
@DavidXanatos DavidXanatos added ToDo To be done Priority: High To be done as soon as possible labels Dec 4, 2024
@DavidXanatos
Copy link
Member

Please provide an example of said executables, also can you please provide crash dumps?
I can confirm issues with WinRAR.exe: SBIE2303 Could not hook GdiDllInitialize (69)
but in my test cases it starts fine.

DavidXanatos added a commit that referenced this issue Dec 4, 2024
DavidXanatos added a commit that referenced this issue Dec 4, 2024
@iamsurfing
Copy link
Author

@DavidXanatos
I noticed you commited, but I could not find any pdb file from github action.

Set up with this following configuration.
DropAdminRights=y
FakeAdminRights=y

Some x64 software crash. Here is dmp.zip.

GOG Galaxy Installer, Foobar2000 Installer(x64) and Cygwin Installer.

Hang after finish running every arm64 console program.
regsvr32.exe in Foobar2000 Installer(arm64ec)
busybox64a

Closing cmd(arm64) is very slow.

@iamsurfing
Copy link
Author

iamsurfing commented Dec 21, 2024

@DavidXanatos

Hi, I noticed you released new version with PDB files, so I got more information.

Bug may be around here and I do not know why.

Sandboxie 1.15.4

ExceptionAddress: 00007ff803fa5660 (SbieDll!#__chkstk_arm64ec+0x0000000000000020)

SbieDll!File_NtCreateFileImpl+0x20 [D:\a\Sandboxie\Sandboxie\Sandboxie\core\dll\file.c @ 2748]:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Confirmation Pending Further confirmation is requested Platform: ARM64 ARM64 platforms Priority: High To be done as soon as possible ToDo To be done
Projects
None yet
Development

No branches or pull requests

3 participants