I am running Roon ARC on a Pixel device with GrapheneOS. The app frequently crashes with the following error from GrapheneOS’ hardened_malloc:
hardened_malloc: fatal allocator error: detected write after free
The crash log shows it originates in libplaybackengine_wrappers.so, during TLS/ASN.1 handling (ASN1_item_d2i, PEM_X509_INFO_read_bio, Curl_ssl_connect_nonblocking, etc.).
Disabling hardened_malloc for ARC makes the app run more stably, but this reduces security. This suggests there is a use-after-free bug in the native playback/crypto code that hardened_malloc is catching.
Could you please investigate and confirm? Happy to provide the full crash trace if needed.
After the brief discussion we’ve got few other things we’d like to clarify with you.
Can you please let us know which Google Services package did you use exactly (MicroG, etc.) ? Exact name or even link to download it would be appreciated, thanks!
Did you face any Google Play related pop ups during the Usage of Roon ARC ?
We wanted to reach out to ensure you’d seen the post above. Development will require those details in order to pinpoint the next step internally. Please let us know if we can clarify anything further. Thanks!