Segfault when building openjdk13 with openjdk12

David Holmes david.holmes at oracle.com
Wed Feb 2 07:18:48 UTC 2022


On 2/02/2022 3:53 pm, Abigail G wrote:
> On Wed, 2022-02-02 at 15:48 +1000, David Holmes wrote:
>> Hi Abigail,
>>
>> On 2/02/2022 3:01 pm, Abigail G wrote:
>>> Hello,
>>>
>>> I'm working on packaging several openjdk versions for Void Linux.
>>>
>>> When I build jdk13 with jdk12 as the boot jdk, I get a segfault
>>> very
>>> soon into the build. I am not a java developer, so I'm not quite
>>> sure
>>> what to make of the log, trace, and core dump. Anyone have any
>>> ideas?
>>
>> Could just be a bug in 12, fixed later.
>>
>>> Interestingly, when I repeatedly restart the build without removing
>>> any
>>> of the partially-built state, it eventually succeeds (usually after
>>> 1-3
>>> retries), and I have been able to use the result to build jdk14
>>> without
>>> issue.
>>>
>>> I've attached a .zip with the relevant build logs, hotspot error
>>> log,
>>> and core dump (if that doesn't work: https://0x0.st/oHxe.zip).
>>
>> The mailing list strips attachments and the link to the zip file gave
>> a
>> file with a single empty directory in it - no logs.
>>
>> Cheers,
>> David
>>
>>> The scripts I'm using to build jdk12 and 13 are available here:
>>> https://github.com/classabbyamp/void-packages/blob/openjdk17/srcpkgs/openjdk12-bootstrap/template
>>> https://github.com/classabbyamp/void-packages/blob/openjdk17/srcpkgs/openjdk13-bootstrap/template
>>>
>>> TIA,
>>>
>>> Abigail G
> 
> Whoops, looks like I made the zip wrong, this one should work:
> https://0x0.st/oHxy.zip

Unfortunately no symbolic info in the hs-err file so nothing to go on.

All I can suggest is that you build the latest 12u to use to bootstrap 
the latest 13u etc.

Cheers,
David

> Abigail G



More information about the build-dev mailing list