Skip to content

Instantly share code, notes, and snippets.

@mgalgs
Created August 27, 2013 00:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mgalgs/6348480 to your computer and use it in GitHub Desktop.
Save mgalgs/6348480 to your computer and use it in GitHub Desktop.
all:
javac -version
@mgalgs
Copy link
Author

mgalgs commented Aug 27, 2013

For me, results in:

$ make-3.81 -f ~/java.mk
javac -version
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00002aed1536501b, pid=4017, tid=47151888811776
#
# JRE version: 6.0_51-b09
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.51-b01 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# J  java.lang.String.indexOf(II)I
#
# An error report file with more information is saved as:
# /local/mnt/workspace/mitchelh/jb_mr2/hs_err_pid4017.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
make: *** [all] Aborted (core dumped)

Works fine with the latest make.

@mgalgs
Copy link
Author

mgalgs commented Aug 27, 2013

Yet from the shell, I get:

$ javac -version
javac 1.6.0_51

@dimaqq
Copy link

dimaqq commented Sep 2, 2013

make absolutely sure you gave javac (or whatever tool) enough memory.
beyond that, it does indeed look quite fishy!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment