Termux-Java icon indicating copy to clipboard operation
Termux-Java copied to clipboard

Simply "Segmentation fault"

Open TudbuT opened this issue 6 years ago • 13 comments
trafficstars

I know, this issue exists.

I have a Segmentation error... Like I think everyone on ARM. Also my screenshot does not show the same type of Segmentation error as the other ones: Screenshot_20191109-211521_Termux

So, it doesn't say "[xx]x Segmentation fault XXX", it only says "Segmentation fault", which (I think) seems to be less problematic than the error one... I hope it is.

Thanks

TudbuT avatar Nov 09 '19 20:11 TudbuT

Oops wrong button

TudbuT avatar Nov 09 '19 20:11 TudbuT

Also I wanted to say that I really respect your work!

TudbuT avatar Nov 09 '19 20:11 TudbuT

Same here, Android 9

EduApps-CDG avatar Feb 10 '20 00:02 EduApps-CDG

Hello! I solved the problem by installing Ubuntu and then:

apt get install openjdk-11-jre openjdk-11-jdk

EduApps-CDG avatar Feb 17 '20 19:02 EduApps-CDG

Hi, I was having the same problem, after installing the sudo command, I think I solved the problem. sudo file and installation description : https://gist.github.com/GabrielMMelo/0e146f32d73978bf0d0a06786bcbc96c

Thanks!

4V4loon avatar Feb 22 '20 18:02 4V4loon

I guess it is not done without root.

4V4loon avatar Feb 22 '20 18:02 4V4loon

Yes, i think i will root again

EduApps-CDG avatar Mar 01 '20 19:03 EduApps-CDG

Oh, so until there's a fix on this instant segfault I have to type sudo in with each and every program involving java?

At least lineageos has my back for root capabilities...

comicsansgreenki avatar Jul 14 '20 02:07 comicsansgreenki

I had the same condition, fixed it by following instructions:

$ pkg install wget -y $ wget https://archive.org/download/openjdk-9-jre-headless_9.2017.8.20-1_x86_64/openjdk-9-jdk-headless_9.2017.8.20-1_arm.deb $ wget https://archive.org/download/openjdk-9-jre-headless_9.2017.8.20-1_x86_64/openjdk-9-jre-headless_9.2017.8.20-1_arm.deb $ apt-get install -y ./openjdk-9-jre-headless_9.2017.8.20-1_arm.deb $ apt-get install -y ./openjdk-9-jdk-headless_9.2017.8.20-1_arm.deb

IDK for sure , but looks like there was some sort of problem with jdk/jre binary installation and some data happened to be missing. Hope it helps

TadavomnisT avatar Feb 03 '21 17:02 TadavomnisT

@TadavomnisT But can i get openjdk-8 this way

Chickn-man avatar Oct 22 '21 12:10 Chickn-man

@Chickn-man Honestly, no clue... I think you should look for openjdk 8 debian headless versions, though not sure if it would be easy to find suitable binary. maybe MasterDevX can help you.

TadavomnisT avatar Oct 22 '21 14:10 TadavomnisT

Have this issue with my device as well! Screenshot_20220102-123150_Termux.jpg

Will try the Java 9 think first but still!

Merith-TK avatar Jan 02 '22 20:01 Merith-TK

Screenshot_20220102-124109_Termux.jpg

Merith-TK avatar Jan 02 '22 20:01 Merith-TK