Hotspot segfaulting on Linux SPARC
Aleksey Shipilev
shade at redhat.com
Fri Apr 6 13:30:57 UTC 2018
On 04/06/2018 03:23 PM, John Paul Adrian Glaubitz wrote:
> On 04/06/2018 03:16 PM, Zhengyu Gu wrote:
>> I think it is symptom, the real cause is:
>>
>> In CPUinfo constructor:
>>
>> _string = strdup(vstr);
>>
>> should be:
>>
>> _string = os::strdup(vstr, mtInternal);
>
> I changed that and now it seems I'm getting a different failure which
> is an assertion failure:
>
> # To suppress the following error report, specify this argument
> # after -XX: or in .hotspotrc: SuppressErrorAt=/assembler_sparc.cpp:52
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> # Internal Error (/srv/openjdk/hs/src/hotspot/cpu/sparc/assembler_sparc.cpp:52), pid=18170, tid=18201
> # assert(!(is_cti(prev) && is_cti(insn))) failed: CTI-CTI not allowed.
Now, this looks like pipeline verification failure (enabled with ASSERT/VERIFY_PIPELINE). We need to
talk with SPARC compiler folks about this. I wonder if release build "works" now, without this
verification.
-Aleksey
More information about the hotspot-dev
mailing list