I think we should, maybe somebody will have a clue. If they ignore it, so be it.

As a side note -- it'd be useful to run a jenkins job on a JVM built
with assertions (fastdebug). This way we could run some higher level
sanity checks -- hopefully hitting an assertions first, before the
sigsegv. Unfortunately Oracle doesn't provide these (we could mention
it to Rory?) but we can build openjdk manually. Just a thought.

Dawid

On Wed, Jun 24, 2015 at 10:44 PM, Robert Muir <[email protected]> wrote:
> We have seen this jvm crash before:
> http://www.gossamer-threads.com/lists/lucene/java-dev/274389
>
> Maybe the stacktrace is useful even without a repro and we should
> report it? By the way, i dont know if the compiler replay data file
> (replay_pidXXXX.log) is useful for debugging these issues, but i think
> jenkins currently throws it away.
>
> V  [libjvm.so+0x8d36a4]  PhaseIterGVN::add_users_to_worklist0(Node*)+0x14
> V  [libjvm.so+0x8d37a6]  PhaseIterGVN::add_users_to_worklist(Node*)+0x26
> V  [libjvm.so+0x2de4a8]  ArrayCopyNode::finish_transform(PhaseGVN*,
> bool, Node*, Node*)+0xb8
> V  [libjvm.so+0x2df3ca]  ArrayCopyNode::Ideal(PhaseGVN*, bool)+0x86a
> V  [libjvm.so+0x8d584e]  PhaseIterGVN::transform_old(Node*)+0x6e
> V  [libjvm.so+0x8d327c]  PhaseIterGVN::optimize()+0x1ac
> V  [libjvm.so+0x46c849]  Compile::Optimize()+0x9f9
> V  [libjvm.so+0x46e0c0]  Compile::Compile(ciEnv*, C2Compiler*,
> ciMethod*, int, bool, bool, bool)+0x1040
> V  [libjvm.so+0x3c5c29]  C2Compiler::compile_method(ciEnv*, ciMethod*, 
> int)+0xe9
> V  [libjvm.so+0x47609a]
> CompileBroker::invoke_compiler_on_method(CompileTask*)+0x8ba
> V  [libjvm.so+0x476c88]  CompileBroker::compiler_thread_loop()+0x4a8
> V  [libjvm.so+0x9ca038]  JavaThread::thread_main_inner()+0xd8
> V  [libjvm.so+0x9ca1d8]  JavaThread::run()+0x158
> V  [libjvm.so+0x880542]  java_start(Thread*)+0xf2
> C  [libpthread.so.0+0x8182]  start_thread+0xc2
>
>
> Current CompileTask:
> C2:  72542 11091 %     4
> org.apache.lucene.util.automaton.MinimizationOperations::minimize @
> 422 (1430 bytes)
>
> On Wed, Jun 24, 2015 at 4:36 PM, Policeman Jenkins Server
> <[email protected]> wrote:
>> Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Linux/13015/
>> Java: 64bit/jdk1.9.0-ea-b60 -XX:-UseCompressedOops -XX:+UseSerialGC
>>
>> All tests passed
>>
>> Build Log:
>> [...truncated 4524 lines...]
>>    [junit4] JVM J1: stdout was not empty, see: 
>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/build/backward-codecs/test/temp/junit4-J1-20150624_203244_919.sysout
>>    [junit4] >>> JVM J1: stdout (verbatim) ----
>>    [junit4] #
>>    [junit4] # A fatal error has been detected by the Java Runtime 
>> Environment:
>>    [junit4] #
>>    [junit4] #  SIGSEGV (0xb) at pc=0x00007f85a11e06a4, pid=12587, 
>> tid=140210996520704
>>    [junit4] #
>>    [junit4] # JRE version: Java(TM) SE Runtime Environment (9.0-b60) (build 
>> 1.9.0-ea-b60)
>>    [junit4] # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.9.0-ea-b60 mixed 
>> mode linux-amd64 )
>>    [junit4] # Problematic frame:
>>    [junit4] # V  [libjvm.so+0x8d36a4]  
>> PhaseIterGVN::add_users_to_worklist0(Node*)+0x14
>>    [junit4] #
>>    [junit4] # Failed to write core dump. Core dumps have been disabled. To 
>> enable core dumping, try "ulimit -c unlimited" before starting Java again
>>    [junit4] #
>>    [junit4] # An error report file with more information is saved as:
>>    [junit4] # 
>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/build/backward-codecs/test/J1/hs_err_pid12587.log
>>    [junit4] #
>>    [junit4] # Compiler replay data is saved as:
>>    [junit4] # 
>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/build/backward-codecs/test/J1/replay_pid12587.log
>>    [junit4] #
>>    [junit4] # If you would like to submit a bug report, please visit:
>>    [junit4] #   http://bugreport.java.com/bugreport/crash.jsp
>>    [junit4] #
>>    [junit4] <<< JVM J1: EOF ----
>>
>> [...truncated 174 lines...]
>>    [junit4] ERROR: JVM J1 ended with an exception, command line: 
>> /home/jenkins/tools/java/64bit/jdk1.9.0-ea-b60/bin/java 
>> -XX:-UseCompressedOops -XX:+UseSerialGC -XX:+HeapDumpOnOutOfMemoryError 
>> -XX:HeapDumpPath=/home/jenkins/workspace/Lucene-Solr-5.x-Linux/heapdumps -ea 
>> -esa -Dtests.prefix=tests -Dtests.seed=B3C6A85D0473B6D1 -Xmx512M 
>> -Dtests.iters= -Dtests.verbose=false -Dtests.infostream=false 
>> -Dtests.codec=random -Dtests.postingsformat=random 
>> -Dtests.docvaluesformat=random -Dtests.locale=random -Dtests.timezone=random 
>> -Dtests.directory=random -Dtests.linedocsfile=europarl.lines.txt.gz 
>> -Dtests.luceneMatchVersion=5.3.0 -Dtests.cleanthreads=perMethod 
>> -Djava.util.logging.config.file=/home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/tools/junit4/logging.properties
>>  -Dtests.nightly=false -Dtests.weekly=false -Dtests.monster=false 
>> -Dtests.slow=true -Dtests.asserts=true -Dtests.multiplier=3 -DtempDir=./temp 
>> -Djava.io.tmpdir=./temp 
>> -Djunit4.tempDir=/home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/build/backward-codecs/test/temp
>>  -Dcommon.dir=/home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene 
>> -Dclover.db.dir=/home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/build/clover/db
>>  
>> -Djava.security.policy=/home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/tools/junit4/tests.policy
>>  -Dtests.LUCENE_VERSION=5.3.0 -Djetty.testMode=1 -Djetty.insecurerandom=1 
>> -Dsolr.directoryFactory=org.apache.solr.core.MockDirectoryFactory 
>> -Djava.awt.headless=true -Djdk.map.althashing.threshold=0 
>> -Dtests.leaveTemporary=false -Dtests.filterstacks=true 
>> -Dtests.disableHdfs=true 
>> -Djava.security.manager=org.apache.lucene.util.TestSecurityManager 
>> -Dfile.encoding=US-ASCII -classpath 
>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/build/backward-codecs/classes/test:/home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/build/test-framework/classes/java:/home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/build/codecs/classes/java:/home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/build/core/classes/java:/home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/test-framework/lib/junit-4.10.jar:/home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/test-framework/lib/randomizedtesting-runner-2.1.13.jar:/home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/build/backward-codecs/classes/java:/var/lib/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.8.2/lib/ant-launcher.jar:/var/lib/jenkins/.ant/lib/ivy-2.3.0.jar:/var/lib/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.8.2/lib/ant-jdepend.jar:/var/lib/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.8.2/lib/ant.jar:/var/lib/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.8.2/lib/ant-apache-bcel.jar:/var/lib/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.8.2/lib/ant-jmf.jar:/var/lib/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.8.2/lib/ant-junit4.jar:/var/lib/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.8.2/lib/ant-apache-xalan2.jar:/var/lib/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.8.2/lib/ant-javamail.jar:/var/lib/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.8.2/lib/ant-jai.jar:/var/lib/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.8.2/lib/ant-apache-bsf.jar:/var/lib/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.8.2/lib/ant-commons-logging.jar:/var/lib/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.8.2/lib/ant-commons-net.jar:/var/lib/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.8.2/lib/ant-apache-resolver.jar:/var/lib/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.8.2/lib/ant-apache-log4j.jar:/var/lib/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.8.2/lib/ant-junit.jar:/var/lib/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.8.2/lib/ant-apache-oro.jar:/var/lib/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.8.2/lib/ant-antlr.jar:/var/lib/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.8.2/lib/ant-jsch.jar:/var/lib/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.8.2/lib/ant-apache-regexp.jar:/var/lib/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.8.2/lib/ant-swing.jar:/var/lib/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.8.2/lib/ant-testutil.jar:/var/lib/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.8.2/lib/ant-netrexx.jar:/var/lib/jenkins/.ivy2/cache/com.carrotsearch.randomizedtesting/junit4-ant/jars/junit4-ant-2.1.13.jar
>>  com.carrotsearch.ant.tasks.junit4.slave.SlaveMainSafe -eventsfile 
>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/build/backward-codecs/test/temp/junit4-J1-20150624_203244_919.events
>>  
>> @/home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/build/backward-codecs/test/temp/junit4-J1-20150624_203244_919.suites
>>    [junit4] ERROR: JVM J1 ended with an exception: Forked process returned 
>> with error code: 134. Very likely a JVM crash.  Process output piped in logs 
>> above.
>>    [junit4]     at 
>> com.carrotsearch.ant.tasks.junit4.JUnit4.executeSlave(JUnit4.java:1484)
>>    [junit4]     at 
>> com.carrotsearch.ant.tasks.junit4.JUnit4.access$000(JUnit4.java:133)
>>    [junit4]     at 
>> com.carrotsearch.ant.tasks.junit4.JUnit4$2.call(JUnit4.java:964)
>>    [junit4]     at 
>> com.carrotsearch.ant.tasks.junit4.JUnit4$2.call(JUnit4.java:961)
>>    [junit4]     at java.util.concurrent.FutureTask.run(FutureTask.java:265)
>>    [junit4]     at 
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>>    [junit4]     at 
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>>    [junit4]     at java.lang.Thread.run(Thread.java:745)
>>
>> BUILD FAILED
>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:536: The following 
>> error occurred while executing this line:
>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:484: The following 
>> error occurred while executing this line:
>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:61: The following 
>> error occurred while executing this line:
>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/extra-targets.xml:39: The 
>> following error occurred while executing this line:
>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/build.xml:467: The 
>> following error occurred while executing this line:
>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-build.xml:2240: 
>> The following error occurred while executing this line:
>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/module-build.xml:58: 
>> The following error occurred while executing this line:
>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-build.xml:1444: 
>> The following error occurred while executing this line:
>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-build.xml:999: 
>> At least one slave process threw an exception, first: Forked process 
>> returned with error code: 134. Very likely a JVM crash.  Process output 
>> piped in logs above.
>>
>> Total time: 12 minutes 47 seconds
>> Build step 'Invoke Ant' marked build as failure
>> Archiving artifacts
>> Recording test results
>> Email was triggered for: Failure - Any
>> Sending email for trigger: Failure - Any
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to