Periodic app crash both on iOS and Android

cloud

#1

Both iOS and Android apps periodically crash, seemingly without any trigger. Sometimes it happens 30 seconds after opening, sometimes requires 15 min for the app to be open on screen.
We are using Bugsnag for error reporting.

For Android it is an SIGABRT error, on iOS it is N5realm2js9ExceptionINS_3jsc5TypesEEE

Android error info from bugsnag:

/data/app/com.myappnamehere-IxBom2F4BLhQhTf3oEX4uA==/lib/arm/libbugsnag-ndk.so:30318bsg_unwind_stack_libunwind
/data/app/com.myappnamehere-IxBom2F4BLhQhTf3oEX4uA==/lib/arm/libbugsnag-ndk.so:29214bsg_unwind_stack
/data/app/com.myappnamehere-IxBom2F4BLhQhTf3oEX4uA==/lib/arm/libbugsnag-ndk.so:28668bsg_handle_signal
/system/lib/libc.so:1010760xe4563ad4
/system/lib/libc.so:107900abort
/data/app/com.myappnamehere-IxBom2F4BLhQhTf3oEX4uA==/lib/arm/librealmreact.so:5827206__gnu_cxx::__verbose_terminate_handler()
/data/app/com.myappnamehere-IxBom2F4BLhQhTf3oEX4uA==/lib/arm/librealmreact.so:5827206__gnu_cxx::__verbose_terminate_handler()

iOS error details

N5realm2js9ExceptionINS_3jsc5TypesEEEfolly::Expected<long long, folly::ConversionCode> folly::detail::str_to_integral(folly::Range<char const*>*)
N5realm2js9ExceptionINS_3jsc5TypesEEE · [object Object]

myappnameherefolly::Expected<long long, folly::ConversionCode> folly::detail::str_to_integral(folly::Range<char const*>)
myappnameherefolly::Expected<long long, folly::ConversionCode> folly::detail::str_to_integral(folly::Range<char const
>)
myappnameherefolly::Expected<long long, folly::ConversionCode> folly::detail::str_to_integral(folly::Range<char const
>)
myappnameherefolly::Expected<long long, folly::ConversionCode> folly::detail::str_to_integral(folly::Range<char const
>)
myappnameherefolly::Expected<long long, folly::ConversionCode> folly::detail::str_to_integral(folly::Range<char const
>*)
myappnamehere_mh_execute_header

This one is tricky as i’m not even sure what triggers the problem…
Any suggestions would be appreciated!


#2

Hmm, not much to go from here. Could you please create an issue on github: https://github.com/realm/realm-js/issues/new with all the details you have.
Thanks!


#3

Thanks, I’ve created an issue here. https://github.com/realm/realm-js/issues/2196