hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joep Rottinghuis <jrottingh...@gmail.com>
Subject CentOS7 build crash + workaround
Date Wed, 02 Dec 2015 00:06:22 GMT
FYI,

When we were doing a Hadoop 2.4 and 2.6 rpm builds on CentOS7 using OpenJDK 7 (and also 6),
the build crashes seemingly randomly at various places. Here are three snippets from three
separate build errors:


*** Error in `/usr/lib/jvm/java-1.7.0-openjdk/bin/java': free(): invalid next size (normal):
0x00007f887a264e40 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x7d1fd)[0x7f88802611fd]
/usr/lib/jvm/java-1.7.0-openjdk7/jre/lib/amd64/server/libjvm.so(+0x90a607)[0x7f887fa9b607]
/usr/lib/jvm/java-1.7.0-openjdk7/jre/lib/amd64/server/libjvm.so(+0x90ad21)[0x7f887fa9bd21]
/usr/lib/jvm/java-1.7.0-openjdk7/jre/lib/amd64/server/libjvm.so(+0x913063)[0x7f887faa4063]
/usr/lib/jvm/java-1.7.0-openjdk7/jre/lib/amd64/server/libjvm.so(+0x913528)[0x7f887faa4528]
/usr/lib/jvm/java-1.7.0-openjdk7/jre/lib/amd64/server/libjvm.so(+0x7ca652)[0x7f887f95b652]
/lib64/libpthread.so.0(+0x7df5)[0x7f88809bedf5]
/lib64/libc.so.6(clone+0x6d)[0x7f88802da1ad]

and

[INFO] --- maven-javadoc-plugin:2.8.1:jar (module-javadocs) @ hadoop-hdfs ---
*** Error in `/usr/lib/jvm/java-1.7.0-openjdk/bin/java': malloc(): memory corruption: 0x00007f38bec9b0f0
***
*** Error in `/usr/lib/jvm/java-1.7.0-openjdk/bin/java': malloc(): memory corruption: 0x00007f38bec9b0f0
***

and

*** Error in `/usr/lib/jvm/java-1.7.0-openjdk/bin/java': free(): invalid next size (normal):
0x00007ff96a97c9e0 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x7d1fd)[0x7ff970e9f1fd]
/usr/lib/jvm/java-1.7.0-openjdk7/jre/lib/amd64/libjava.so(Java_java_io_UnixFileSystem_getLastModifiedTime+0x77)[0x7ff96f4a4477]
[0x7ff9657ef61c]


Our OS guys hacked up a private glibc rpm build, with yet-to-be-released RedHat patch for
CVE-2015-5277:
https://bugzilla.redhat.com/show_bug.cgi?id=1262914

This seems to resolve the build issues. Don't think that there is anything that we need to
do on the Hadoop side, but just thought to share this bit of info with the community.

Cheers,

Joep
Mime
  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message