Bug 225203 - java/openjdk8: compiling apache-flink is crashed.
Summary: java/openjdk8: compiling apache-flink is crashed.
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-java mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-16 01:04 UTC by Sung Gon Yi
Modified: 2018-01-31 12:40 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (java)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sung Gon Yi 2018-01-16 01:04:44 UTC
---
git clone https://github.com/apache/flink.git
cd flink
mvn clean package -DskipTests
---

Error Message:
--------------------------------------
[DEBUG] cmd:  /usr/local/openjdk8/jre/bin/java -Xbootclasspath/a:/home/skon/.m2/repository/org/scala-lang/scala-library/2.11.12/scala-library-2.11.12.jar:/home/skon/.m2/repository/org/scala-lang/scala-compiler/2.11.12/scala-compiler-2.11.12.jar:/home/skon/.m2/repository/org/scala-lang/modules/scala-xml_2.11/1.0.5/scala-xml_2.11-1.0.5.jar:/home/skon/.m2/repository/org/scala-lang/scala-library/2.11.6/scala-library-2.11.6.jar:/home/skon/.m2/repository/org/scala-lang/scala-reflect/2.11.12/scala-reflect-2.11.12.jar:/home/skon/.m2/repository/org/scala-lang/modules/scala-parser-combinators_2.11/1.0.4/scala-parser-combinators_2.11-1.0.4.jar:/home/skon/.m2/repository/org/scala-lang/scala-library/2.11.7/scala-library-2.11.7.jar -Xms128m -Xmx512m -classpath /home/skon/.m2/repository/net/alchim31/maven/scala-maven-plugin/3.2.2/scala-maven-plugin-3.2.2.jar scala_maven_executions.MainWithArgsInFile scala.tools.nsc.Main /tmp/scala-maven-861293508320060882.args
[INFO] #
[ERROR] # A fatal error has been detected by the Java Runtime Environment:
[INFO] #
[INFO] #  SIGSEGV (0xb) at pc=0x0000000803cd3ee0, pid=61417, tid=0x00000000000189f5
[INFO] #
[INFO] # JRE version: OpenJDK Runtime Environment (8.0_152-b16) (build 1.8.0_152-b16)
[INFO] # Java VM: OpenJDK 64-Bit Server VM (25.152-b16 mixed mode bsd-amd64 compressed oops)
[INFO] # Problematic frame:
[INFO] # J 920 C1 scala.reflect.internal.Symbols$TermSymbol.name()Lscala/reflect/internal/Names$TermName; (5 bytes) @ 0x0000000803cd3ee0 [0x0000000803cd3ea0+0x40]
[INFO] #
[INFO] # Core dump written. Default location: /usr/local/share/flink-devel/flink/java.core
[INFO] #
[ERROR] # An error report file with more information is saved as:
[INFO] # /usr/local/share/flink-devel/flink/hs_err_pid61417.log
[INFO] #
[INFO] # If you would like to submit a bug report, please visit:
[INFO] #   http://bugreport.java.com/bugreport/crash.jsp
[INFO] #
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] force-shading ...................................... SUCCESS [  1.922 s]
[INFO] flink .............................................. SUCCESS [  3.373 s]
[INFO] flink-annotations .................................. SUCCESS [  2.065 s]
[INFO] flink-shaded-hadoop ................................ SUCCESS [  0.552 s]
[INFO] flink-shaded-hadoop2 ............................... SUCCESS [ 14.477 s]
[INFO] flink-shaded-hadoop2-uber .......................... SUCCESS [ 23.469 s]
[INFO] flink-shaded-yarn-tests ............................ SUCCESS [ 17.841 s]
[INFO] flink-shaded-curator ............................... SUCCESS [  1.264 s]
[INFO] flink-test-utils-parent ............................ SUCCESS [  0.396 s]
[INFO] flink-test-utils-junit ............................. SUCCESS [  1.483 s]
[INFO] flink-metrics ...................................... SUCCESS [  0.335 s]
[INFO] flink-metrics-core ................................. SUCCESS [  0.929 s]
[INFO] flink-core ......................................... SUCCESS [01:09 min]
[INFO] flink-java ......................................... SUCCESS [  9.121 s]
[INFO] flink-queryable-state .............................. SUCCESS [  0.323 s]
[INFO] flink-queryable-state-client-java .................. SUCCESS [  1.472 s]
[INFO] flink-filesystems .................................. SUCCESS [  0.420 s]
[INFO] flink-hadoop-fs .................................... SUCCESS [  1.527 s]
[INFO] flink-runtime ...................................... SUCCESS [02:40 min]
[INFO] flink-optimizer .................................... SUCCESS [ 24.391 s]
[INFO] flink-clients ...................................... SUCCESS [  2.577 s]
[INFO] flink-streaming-java ............................... SUCCESS [ 16.793 s]
[INFO] flink-scala ........................................ FAILURE [ 37.055 s]
[INFO] flink-examples ..................................... SKIPPED
[INFO] flink-examples-batch ............................... SKIPPED
[INFO] flink-test-utils ................................... SKIPPED
[INFO] flink-contrib ...................................... SKIPPED
[INFO] flink-statebackend-rocksdb ......................... SKIPPED
[INFO] flink-libraries .................................... SKIPPED
[INFO] flink-cep .......................................... SKIPPED
[INFO] flink-java8 ........................................ SKIPPED
[INFO] flink-mapr-fs ...................................... SKIPPED
[INFO] flink-s3-fs-hadoop ................................. SKIPPED
[INFO] flink-s3-fs-presto ................................. SKIPPED
[INFO] flink-runtime-web .................................. SKIPPED
[INFO] flink-connectors ................................... SKIPPED
[INFO] flink-hadoop-compatibility ......................... SKIPPED
[INFO] flink-tests ........................................ SKIPPED
[INFO] flink-streaming-scala .............................. SKIPPED
[INFO] flink-formats ...................................... SKIPPED
[INFO] flink-avro ......................................... SKIPPED
[INFO] flink-table ........................................ SKIPPED
[INFO] flink-orc .......................................... SKIPPED
[INFO] flink-jdbc ......................................... SKIPPED
[INFO] flink-hbase ........................................ SKIPPED
[INFO] flink-hcatalog ..................................... SKIPPED
[INFO] flink-metrics-jmx .................................. SKIPPED
[INFO] flink-connector-kafka-base ......................... SKIPPED
[INFO] flink-connector-kafka-0.8 .......................... SKIPPED
[INFO] flink-connector-kafka-0.9 .......................... SKIPPED
[INFO] flink-connector-kafka-0.10 ......................... SKIPPED
[INFO] flink-connector-kafka-0.11 ......................... SKIPPED
[INFO] flink-connector-elasticsearch-base ................. SKIPPED
[INFO] flink-connector-elasticsearch ...................... SKIPPED
[INFO] flink-connector-elasticsearch2 ..................... SKIPPED
[INFO] flink-connector-elasticsearch5 ..................... SKIPPED
[INFO] flink-connector-rabbitmq ........................... SKIPPED
[INFO] flink-connector-twitter ............................ SKIPPED
[INFO] flink-connector-nifi ............................... SKIPPED
[INFO] flink-connector-cassandra .......................... SKIPPED
[INFO] flink-connector-filesystem ......................... SKIPPED
[INFO] flink-examples-streaming ........................... SKIPPED
[INFO] flink-examples-table ............................... SKIPPED
[INFO] flink-queryable-state-runtime ...................... SKIPPED
[INFO] flink-end-to-end-tests ............................. SKIPPED
[INFO] flink-gelly ........................................ SKIPPED
[INFO] flink-gelly-scala .................................. SKIPPED
[INFO] flink-gelly-examples ............................... SKIPPED
[INFO] flink-python ....................................... SKIPPED
[INFO] flink-ml ........................................... SKIPPED
[INFO] flink-cep-scala .................................... SKIPPED
[INFO] flink-scala-shell .................................. SKIPPED
[INFO] flink-quickstart ................................... SKIPPED
[INFO] flink-quickstart-java .............................. SKIPPED
[INFO] flink-quickstart-scala ............................. SKIPPED
[INFO] flink-storm ........................................ SKIPPED
[INFO] flink-storm-examples ............................... SKIPPED
[INFO] flink-streaming-contrib ............................ SKIPPED
[INFO] flink-connector-wikiedits .......................... SKIPPED
[INFO] flink-mesos ........................................ SKIPPED
[INFO] flink-yarn ......................................... SKIPPED
[INFO] flink-metrics-dropwizard ........................... SKIPPED
[INFO] flink-metrics-ganglia .............................. SKIPPED
[INFO] flink-metrics-graphite ............................. SKIPPED
[INFO] flink-metrics-prometheus ........................... SKIPPED
[INFO] flink-metrics-statsd ............................... SKIPPED
[INFO] flink-metrics-datadog .............................. SKIPPED
[INFO] flink-metrics-slf4j ................................ SKIPPED
[INFO] flink-dist ......................................... SKIPPED
[INFO] flink-yarn-tests ................................... SKIPPED
[INFO] flink-fs-tests ..................................... SKIPPED
[INFO] flink-docs ......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 06:33 min
[INFO] Finished at: 2018-01-15T09:33:30+09:00
[INFO] Final Memory: 126M/580M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.2.2:testCompile (scala-test-compile) on project flink-scala_2.11: wrap: org.apache.commons.exec.ExecuteException: Process exited with an error: 134 (Exit value: 134) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.2.2:testCompile (scala-test-compile) on project flink-scala_2.11: wrap: org.apache.commons.exec.ExecuteException: Process exited with an error: 134 (Exit value: 134)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:191)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
	at org.codehaus.classworlds.Launcher.main(Launcher.java:47)
Caused by: org.apache.maven.plugin.MojoExecutionException: wrap: org.apache.commons.exec.ExecuteException: Process exited with an error: 134 (Exit value: 134)
	at scala_maven.ScalaMojoSupport.execute(ScalaMojoSupport.java:490)
	at scala_maven.ScalaTestCompileMojo.execute(ScalaTestCompileMojo.java:48)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
	... 21 more
Caused by: org.apache.commons.exec.ExecuteException: Process exited with an error: 134 (Exit value: 134)
	at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:377)
	at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:160)
	at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:147)
	at scala_maven_executions.JavaMainCallerByFork.run(JavaMainCallerByFork.java:100)
	at scala_maven.ScalaCompilerSupport.compile(ScalaCompilerSupport.java:161)
	at scala_maven.ScalaCompilerSupport.doExecute(ScalaCompilerSupport.java:99)
	at scala_maven.ScalaMojoSupport.execute(ScalaMojoSupport.java:482)
	... 24 more
[ERROR] 
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :flink-scala_2.11
---------------------------------------------
JRE is crashed by SIGSEGV.
Comment 1 Michael Osipov 2018-01-31 12:40:35 UTC
Did you inspect the core dump?