Unable to compile, "compiler internal error. process terminated ..."
I've been going crazy for the last few days, unable to compile anything from IDEA. When going to make a project the compilation always fails with:
"Error: Compiler internal error. Process terminated with exit code 139".
I have no idea why this happens, never saw it before. Not even sure how to debug this problem since IDEA isn't really giving me any more context here. I tried last night to run idea with DEBUG logging for everything, but that didn't get very far just trying to load the project... I woke up this morning and it was still trying to load :(
Any idea on how to narrow down what the problem is?
Thanks,
--jason
Attachment(s):
make errors.tiff
Please sign in to leave a comment.
Hi Jason,
Can you compile from outside IDEA, e.g. from your ANT script? We had this
problem before and the reason was a strange source code causing the compiler
to fail. But the ANT output helped us to find the offending source file.
Tom
Yes I can compile just fine via Maven, or directly with Javac... Everything used to work just fine, I'm not sure what changed... but the error message that IDEA spits out is not very helpful to narrow it down :(
--jason
And as far as I can tell the rest of the IDE works just fine. Additionally I have no problems with any other Java-based applications... just IDEA hates me :(
BTW, this is on Mac OS X 10.5.5.
--jason
This may help:
Please note that it may not work with JDK 1.5. Try with 1.6 when there
are no other JDK entries configured in IDEA.
The problem is caused by some yet unknown bug deep inside Apple code
and it starts to happen randomly. The other known option to get
rid of it is to reinstall the OS and do not install JDK 1.6. We should
mention that this problem is not IDEA specific and affects other Java
software such as NetBeans, see
http://www.netbeans.org/issues/show_bug.cgi?id=146119 for more
information.
Another solution is to run IDEA not from the desktop shortcut, but from the terminal, using:
open ~/Desktop/IntelliJ\ IDEA\ 8.0.app/
We are investigating the problem and working on the fix (though, it's not IDEA bug).
Hi Jason,
You must be running OSX.
Have you installed idea into "Desktop" directory or "Applications"?
--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"
"Jason Dillon" <no_reply@jetbrains.com> wrote in message news:11606296.49041227330811568.JavaMail.jive@app4.labs.intellij.net...
>
>
>
>
>
Apps are here:
/Applications/IntelliJ\ IDEA\ 8.0.app/
/Applications/Diana-9158.app/
--jason
It appears that location doesn't matter. The known workaround is to run IDEA from the terminal using the open command.
BINGO! That did the trick, (setting -J-d32) IDEA is now happily compiling again! Many thanks... you guys rock!
--jason
I will give that a try too, unsetting the compiler flag I set before and using open. Thx.
I tried running IntelliJ from Terminal via open.
I tried switching project from 1.5 to 1.6 and building with Javac option -J-d32.
Both does not help.
Try OS X 10.5.6 update.
Mac OS already updated. BTW IntelliJ 8.0.1. Should I try EAP?
You can try, but it's unlikely to help because the bug is in OSX, not in IDEA.
I had the same problem when launching IDEA from Finder (but no problem when launching from command line), and tracked down the reason today. I found out that it was caused by Instant Hijack 2.1.0 from rogueamoeba.com. This is a add-on to Airfoil and other applications from rogue amoeba. If I stopped the Instant Hijack service with
sudo /usr/local/hermes/bin/hermesctl unload
or uninstalled Instant Hijack, then the problem disappeared.
Instant Hijack also caused other java programs to die with Segmentation fault, e.g. SQLDeveloper and NetBeans.
Super! Thanks a lot!
After deinstalling Hijack problem disappears.