Jump to content

goose

Members
  • Posts

    1
  • Joined

  • Last visited

  1. I came across this crash on Debian 10 "buster" and this is the only other post with this exact error that I can find on the internet, so here's some background for the next person: OpenJDK has a bug on single core ARM CPUs, the JIT compiler generates an instruction which isn't supported on a non-multicore and causes SIGILL: https://bugs.openjdk.java.net/browse/JDK-8222825 Most Java programs can crash this way. This seems to be fixed in openjdk upstream but not updated in Debian yet. You can hack around it by passing "-XX:-AssumeMP" option when running java. To fix most Java programs, set this as a default java command line option in in /etc/profile or /etc/profile.d/ with this line: export JAVA_TOOL_OPTIONS="-XX:-AssumeMP" Unfortunately that doesn't fix the crashing ca-certificates-java package setup. I hacked around this in a nasty way by editing /var/lib/dpkg/info/ca-certificates-java.postinst and changing the two instances of "java -Xmx64m" to "java -Xmx64m -XX:-AssumeMP" and then running "apt-get -f install" to retry. This is real ugly but it fixed the broken package.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines