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

补环境过程中出现pathname的错误?"com.sun.jna.Pointer.getString(long)" because "pathname" is null #666

Open
freedomzzj opened this issue Aug 24, 2024 · 0 comments

Comments

@freedomzzj
Copy link

[19:46:07 676] WARN [com.github.unidbg.linux.ARM64SyscallHandler] (ARM64SyscallHandler:412) - handleInterrupt intno=2, NR=79, svcNumber=0x0, PC=RX@0x4036a20c[libc.so]0x6a20c, LR=RX@0x400fcda8[libmain.so]0xfcda8, syscall=null
java.lang.NullPointerException: Cannot invoke "com.sun.jna.Pointer.getString(long)" because "pathname" is null
at com.github.unidbg.linux.ARM64SyscallHandler.fstatat64(ARM64SyscallHandler.java:1383)
at com.github.unidbg.linux.ARM64SyscallHandler.hook(ARM64SyscallHandler.java:391)
at com.github.unidbg.arm.backend.UnicornBackend$11.hook(UnicornBackend.java:345)
at unicorn.Unicorn$NewHook.onInterrupt(Unicorn.java:128)
at unicorn.Unicorn.emu_start(Native Method)
at com.github.unidbg.arm.backend.UnicornBackend.emu_start(UnicornBackend.java:376)
at com.github.unidbg.AbstractEmulator.emulate(AbstractEmulator.java:378)
at com.github.unidbg.thread.Function64.run(Function64.java:39)
at com.github.unidbg.thread.MainTask.dispatch(MainTask.java:19)
at com.github.unidbg.thread.UniThreadDispatcher.run(UniThreadDispatcher.java:175)
at com.github.unidbg.thread.UniThreadDispatcher.runMainForResult(UniThreadDispatcher.java:99)
at com.github.unidbg.AbstractEmulator.runMainForResult(AbstractEmulator.java:341)
at com.github.unidbg.arm.AbstractARM64Emulator.eFunc(AbstractARM64Emulator.java:262)
at com.github.unidbg.Module.emulateFunction(Module.java:163)
at com.github.unidbg.linux.android.dvm.DvmObject.callJniMethod(DvmObject.java:135)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant