Skip to content

[iOS Crash] App crashes in Track.getArtwork when artwork URL is bridged to native on iOS 26.3.1 #2659

Description

@hamzadev002

The iOS app crashes on the JavaScript runtime thread when React Native Track Player tries to process track artwork. The crash occurs inside the native iOS artwork handling flow, specifically at Track.getArtwork(_:), where Swift attempts to bridge a URL to Objective-C.

This seems related to invalid, empty, malformed, unsupported, or unexpected artwork values being passed to the native Track Player layer.

Affected Platform

  • Platform: iOS
  • OS Version: iOS 26.3.1
  • Device: iPhone 13 Pro
  • Track Player Version: v5 nightly
  • Runtime: Hermes
  • App name used in this report: AudioVault

Crash Type

Fatal crash on:

com.facebook.react.runtime.JavaScript

Main Crash Location

Crashed: com.facebook.react.runtime.JavaScript
0   Foundation                     URL._bridgeToObjectiveC()
1   AudioVault                     Track.getArtwork(_:) + 94 (Track.swift:94)

Crashed: com.facebook.react.runtime.JavaScript
0   Foundation                     0x94e70 URL._bridgeToObjectiveC() + 20
1   AudioVault                     0x12ed874 Track.getArtwork(_:) + 94 (Track.swift:94)
2   AudioVault                     folly::EvictingCacheMap...
7   AudioVault                     -[RCTTextLayoutManager _nsAttributedStringFromAttributedString:]
8   AudioVault                     -[RCTTextLayoutManager measureAttributedString:paragraphAttributes:layoutConstraints:]
13  AudioVault                     facebook::react::YogaLayoutableShadowNode::yogaNodeMeasureCallbackConnector
107 AudioVault                     facebook::yoga::calculateLayout
108 AudioVault                     facebook::react::YogaLayoutableShadowNode::layoutTree
115 AudioVault                     facebook::react::UIManagerBinding::get(...)
116 hermes                         std::__1::function<facebook::jsi::Value ...>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions