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

java terminated by signal SIGSEV (Address boundary error) #233

Open
andreaugustoaragao opened this issue May 11, 2023 · 4 comments
Open

Comments

@andreaugustoaragao
Copy link

I'm running Linux aarch64. I downloaded jbr 17.0.6 and whenever I try to execute java I get the following error:

Downloads/jbrsdk_jcef-17.0.6-linux-aarch64-b829.1/bin [k8s:minikube] ❯ ./java fish: Job 1, './java' terminated by signal SIGSEGV (Address boundary error) Downloads/jbrsdk_jcef-17.0.6-linux-aarch64-b829.1/bin [k8s:minikube] ❯

Here is the output of uname -a, in case it helps.
❯ uname -a Linux dev 6.1.27 #1-NixOS SMP Sun Apr 30 23:26:28 UTC 2023 aarch64 GNU/

It's probably not relevant, but I'm running this in an M2 machine as a VM using Parallels.

@andreaugustoaragao
Copy link
Author

Interesting if I execute using bash I get a different message:

[aragao@dev:/tmp/GoLand-2023.1.1/jbr.old/bin]$ ./java
bash: ./java: cannot execute: required file not found

@andreaugustoaragao
Copy link
Author

Not sure if this is relevant:

[nix-shell:/tmp/GoLand-2023.1.1/jbr.old/bin]$ ldd ./java
linux-vdso.so.1 (0x0000ffff8f10e000)
libz.so.1 => not found
libjli.so => /tmp/GoLand-2023.1.1/jbr.old/bin/./../lib/libjli.so (0x0000ffff8f070000)
libpthread.so.0 => /nix/store/rjpx52ch4508wrq8wjf5nnbsc6pr3158-glibc-2.37-8/lib/libpthread.so.0 (0x0000ffff8f040000)
libdl.so.2 => /nix/store/rjpx52ch4508wrq8wjf5nnbsc6pr3158-glibc-2.37-8/lib/libdl.so.2 (0x0000ffff8f010000)
libc.so.6 => /nix/store/rjpx52ch4508wrq8wjf5nnbsc6pr3158-glibc-2.37-8/lib/libc.so.6 (0x0000ffff8ee60000)
/lib/ld-linux-aarch64.so.1 => /nix/store/rjpx52ch4508wrq8wjf5nnbsc6pr3158-glibc-2.37-8/lib/ld-linux-aarch64.so.1 (0x0000ffff8f0d1000)
libz.so.1 => not found

@andreaugustoaragao
Copy link
Author

I manually copied libz.so.1 into the lib directory and it still does not work so I suspect something else is going on here.

[root@dev:/tmp/GoLand-2023.1.1/jbr.old/bin]# ldd java
linux-vdso.so.1 (0x0000ffff9d5eb000)
libz.so.1 => /tmp/GoLand-2023.1.1/jbr.old/bin/./../lib/libz.so.1 (0x0000ffff9d540000)
libjli.so => /tmp/GoLand-2023.1.1/jbr.old/bin/./../lib/libjli.so (0x0000ffff9d510000)
libpthread.so.0 => /tmp/GoLand-2023.1.1/jbr.old/bin/./../lib/libpthread.so.0 (0x0000ffff9d4d0000)
libdl.so.2 => /tmp/GoLand-2023.1.1/jbr.old/bin/./../lib/libdl.so.2 (0x0000ffff9d4a0000)
libc.so.6 => /tmp/GoLand-2023.1.1/jbr.old/bin/./../lib/libc.so.6 (0x0000ffff9d320000)
/lib/ld-linux-aarch64.so.1 => /nix/store/c307jrr61k4a20hrvmrp3v6if83wk10d-glibc-2.37-8/lib/ld-linux-aarch64.so.1 (0x0000ffff9d5ae000)

@andreaugustoaragao
Copy link
Author

Last comment: I also tried fsnotifier executable and it generates the same error.

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