Roon ARC crashing on Pixel device with GrapheneOS due to hardened_malloc error [Roon Investigating]

What’s happening?

· I'm having trouble with Roon ARC

What best describes your issue with ARC

· Other

How can we help?

· I am experiencing freezes or crashes

Other options

· Other

Describe the issue

Hello,

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.

Thank you!

Describe your network setup

FritzBox 7530 AX

Hi @Patrick_Ruff,

Thank you for the thorough report. We will escalate this to development and comment here with an estimated timeline to fix once it’s available.

Good day @Patrick_Ruff !

I hope you’re doing well today.

After the brief discussion we’ve got few other things we’d like to clarify with you.

  1. 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!

  2. Did you face any Google Play related pop ups during the Usage of Roon ARC ?

Thanks!

Regards.

Hi @Patrick_Ruff,

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!

Hi, thank you for your message. Thanks for following up. Here are the details you requested:

  1. I am using the official Sandboxed Google Play packages provided by GrapheneOS (not MicroG).
    Installed components include:

    • Google Services Framework
      Package: com.google.android.gsf
      Version: 14 (versionCode 34)
      targetSdk: 34

    • Google Play Services
      Package: com.google.android.gms
      Version: 25.31.33 (260400-795226510)
      versionCode: 253133035
      targetSdk: 36, minSdk: 35

    • Google Play Store
      Package: com.android.vending
      Version: 47.4.31-31 [0] [PR] 792372478
      versionCode: 84743130
      targetSdk: 35, minSdk: 31

(All of them were installed directly via the GrapheneOS “Apps” application.)

  1. I think there were occasional Google Play related pop-ups while using Roon ARC, but unfortunately I don’t remember the exact content of those pop-ups.

Best regards, Patrick

Thanks @Patrick_Ruff - We’ve shared the above information with Arc development, and we should hear back from them soon with next steps.

We appreciate your patience in the meantime! :folded_hands:

This topic was automatically closed 9 days after the last reply. New replies are no longer allowed.