Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jul 2019 18:32:32 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        bob prohaska <fbsd@www.zefox.net>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Clang8 crash on rpi3 at r349989 building openjdk8
Message-ID:  <E469E2AF-899D-4E79-981C-A71BF81D03B9@yahoo.com>
In-Reply-To: <20190725001440.GA38603@www.zefox.net>
References:  <20190725001440.GA38603@www.zefox.net>

next in thread | previous in thread | raw e-mail | index | archive | help


On 2019-Jul-24, at 17:14, bob prohaska <fbsd@www.zefox.net> wrote:

> In trying to compile www/chromium on an rpi3 at r349989 with
> ports at 507005 clang8 crashed in a way that superficially=20
> resembled earlier "OOMA" kills. However, there's no swap use=20
> to speak of and no complaints of excessive swap delay on the console
> .....
> Compiling =
/usr/work/usr/ports/java/openjdk8/work/openjdk-jdk8u-jdk8u222-b10.1/hotspo=
t/src/share/vm/interpreter/invocationCounter.cpp
> Assertion failed: (isa<X>(Val) && "cast<Ty>() argument of incompatible =
type!"), function cast, file =
/usr/src/contrib/llvm/include/llvm/Support/Casting.h, line 255.
> Compiling =
/usr/work/usr/ports/java/openjdk8/work/openjdk-jdk8u-jdk8u222-b10.1/hotspo=
t/src/share/vm/memory/iterator.cpp
> Compiling =
/usr/work/usr/ports/java/openjdk8/work/openjdk-jdk8u-jdk8u222-b10.1/hotspo=
t/src/share/vm/runtime/java.cpp
> Compiling =
/usr/work/usr/ports/java/openjdk8/work/openjdk-jdk8u-jdk8u222-b10.1/hotspo=
t/src/share/vm/classfile/javaAssertions.cpp
> Compiling =
/usr/work/usr/ports/java/openjdk8/work/openjdk-jdk8u-jdk8u222-b10.1/hotspo=
t/src/share/vm/runtime/javaCalls.cpp
> Compiling =
/usr/work/usr/ports/java/openjdk8/work/openjdk-jdk8u-jdk8u222-b10.1/hotspo=
t/src/share/vm/classfile/javaClasses.cpp
> c++: error: unable to execute command: Abort trap (core dumped)
> c++: error: clang frontend command failed due to signal (use -v to see =
invocation)
> FreeBSD clang version 8.0.1 (branches/release_80 364487) (based on =
LLVM 8.0.1)
> Target: aarch64-unknown-freebsd13.0
> Thread model: posix
> InstalledDir: /usr/bin
> c++: note: diagnostic msg: PLEASE submit a bug report to =
https://bugs.freebsd.org/submit/ and include the crash backtrace, =
preprocessed source, and associated run script.
> .....
>=20
> The clang8 crash report files and the swap usage log are at
>=20
> http://www.zefox.net/~fbsd/rpi3/swaptests/r349989/
>=20
> Thanks for reading and any suggestions.

Your log file shows:

Assertion failed: (isa<X>(Val) && "cast<Ty>() argument of incompatible =
type!"), function cast, file =
/usr/src/contrib/llvm/include/llvm/Support/Casting.h, line 255.

which would lead to "c++: error: unable to execute
command: Abort trap (core dumped)". So: not like an
inability to establish enough free RAM after some
number of tries.

It is likely someone would want to see the backtrace
from looking at a core dump, although you may not
have debug symbols in place in the compiler. Hopefully
the .sh and .cpp for instance-Klass will allow
reproduction of the assert.


=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E469E2AF-899D-4E79-981C-A71BF81D03B9>