SAP / SapMachine

An OpenJDK release maintained and supported by SAP
https://sapmachine.io
GNU General Public License v2.0
504 stars 92 forks source link

MallocHooksTest fails on newer versions of Alpine Linux #1714

Closed schmelter-sap closed 2 months ago

schmelter-sap commented 3 months ago

On newer versions of Alpine Linux, the MallocHooksTest fails. This is caused by a call to malloc, when the real malloc functions could not yet be determined via dlsym. An earlier version of the malloc hooks had fallback code for this case, but since it was never triggered in practice and made the code ugly, it was removed.

Link to the failing tests: https://test.sapmachine.only.sap:8443/servlet/testresult?testid=258228791&show_similar_failed_tests=true