WordPress-iOS icon indicating copy to clipboard operation
WordPress-iOS copied to clipboard

EXC_BAD_ACCESS: , category = > , message = > [] reason = Cannot allocate memory (12 from category: generic), nu...

Open sentry-io[bot] opened this issue 11 months ago • 3 comments

Sentry Issue: JETPACK-IOS-19DZ

EXC_BAD_ACCESS: , category =  > , message =  > [] reason = Cannot allocate memory (12 from category: generic), numCollections = 953, heapSize = 138412032, allocated = 134987544, va = 138412032, external = 14641546 > error_code(value =  > lue = 12, category = generic, message = Cannot allocate memory) > OOM: error_code(value = 12, category = generic, message = Cannot allocate memory) > ZTUM >
Rogue memory write has corrupted memory.
  ?, in <redacted>
  ?, in dtoa_fixedpoint
  ?, in dtoa_fixedpoint
  ?, in hermes::vm::JSOutOfMemoryError::~JSOutOfMemoryError
  ?, in facebook::jsi::JSError::~JSError
...
(63 additional frame(s) were not displayed)

sentry-io[bot] avatar Mar 08 '24 15:03 sentry-io[bot]

Thanks for reporting! 👍

dangermattic avatar Mar 08 '24 15:03 dangermattic

Possibly related to https://github.com/wordpress-mobile/WordPress-iOS/issues/22799, since they point to the same user. In the breadcrumbs for both crashes, you can tell that the user is downloading a bunch of images

Only 1 occurrence so far.

momo-ozawa avatar Mar 08 '24 15:03 momo-ozawa

This seems to be a one-off crash - the user has ~380 large images in the post which consumes a lot of memory. (Slack ref: p1709911463338459-slack-C012H19SZQ8)

Relevant issue: https://github.com/Automattic/jetpack-mobile-roadmap/issues/80#top

momo-ozawa avatar Mar 12 '24 15:03 momo-ozawa