Intellij IDEA/JVM crash on maxOS Sierra 10.12.4 - [libsystem_kernel.dylib+0x12553] __commpage_gettimeofday+0x43
Answered
Over the past few weeks I have been experiencing random IDEA 2017.1 crashes on macOS Sierra 10.12.4. After opening IDEA, the crashes may occur after a few seconds, minutes, or hours. It's totally random. I have tried running IDEA with the built-in 1.8 OpenJDK as well as with a 1.8 Oracle JDK but the crashes occur on both. There is no error message, IDEA just disappears without any warning. After the crash, a file named java_error_in_idea_xxxx.log gets generated into my home directory. I have zipped these files up in a file named ad-java-error.zip and uploaded the zip via the web form.
Has anyone else experienced these random crashes on macOS Sierra? These random crashes are affecting my productivity.
Please sign in to leave a comment.
Similar report for a different product: http://git.net/ml/general/2016-10/msg41095.html:
Happens sometimes on MacOSX, because of a well-known bug in the OSX
implementation of the current time millies / nanotime calls. It is expensive
(slow) on OSX and depends on wall clock. So it can go backwards there, which
violates the spec of System.nanotime()
As OSX Jenkins is running in a virtual machine, sometimes time shifts when NTP
adjusts internal clock. This leads to breakage of System.nanotime() as it
(wrongly) calls the slow getTimeOfDay.
I have the same problem; crashes seem to be totally random , but I had two of them since yesterday
Run http://www.memtest86.com/ to ensure it's not a hardware problem.
Could be, but since Idea is the only software that is crashing like that (and also often crashes when resuming from stop) it's not my first course of action
It happens to me as well. I've tried to re-image macOS and ran memory tests with no failures found. It happens randomly, sometimes JVM crashes and generates SEG FAULT report when I run tests and IDEA survives. Sometimes IDEA crashes entirely when I'm only editing the source files. I've tried to install the latest JDK 8u162 but it's the same. It's happening for couple of IDEA releases now, at the moment I've got 2017.3.3.
Crashing JVM within tests happens at least once a day, crashing IDEA couple of times per week:
Nov 11 10:34 java_error_in_idea_798.log
Nov 23 13:43 java_error_in_idea_7482.log
Nov 23 16:34 java_error_in_idea_10604.log
Nov 23 17:10 java_error_in_idea_15892.log
Nov 24 12:46 java_error_in_idea_25244.log
Dec 4 09:18 java_error_in_idea_28126.log
Dec 4 13:55 java_error_in_idea_28781.log
Dec 4 15:40 java_error_in_idea_35032.log
Dec 4 15:43 java_error_in_idea_38159.log
Dec 7 15:32 java_error_in_idea_18566.log
Dec 14 12:33 java_error_in_idea_523.log
Dec 14 15:30 java_error_in_idea_2030.log
Dec 14 15:44 java_error_in_idea_6148.log
Dec 19 10:13 java_error_in_idea_8248.log
Dec 20 15:32 java_error_in_idea_494.log
Dec 29 14:27 java_error_in_idea_49276.log
Jan 18 11:49 java_error_in_idea_8095.log
Jan 18 11:52 java_error_in_idea_11526.log
Jan 18 17:55 java_error_in_idea_11652.log
Jan 19 10:32 java_error_in_idea_19487.log
I can provide the error logs but so far I haven't found any unifying pattern within them.
https://youtrack.jetbrains.com/issues/JRE YouTrack project is the proper place to report such issues and attach files. Thank you.