Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"An Error Occurred" Android 13 Expensify Classic mobile app #56383

Open
1 of 8 tasks
Christinadobrzyn opened this issue Feb 4, 2025 · 8 comments
Open
1 of 8 tasks

"An Error Occurred" Android 13 Expensify Classic mobile app #56383

Christinadobrzyn opened this issue Feb 4, 2025 · 8 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2

Comments

@Christinadobrzyn
Copy link
Contributor

Christinadobrzyn commented Feb 4, 2025

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: 9.0.91.2
Reproducible in staging?: NA
Reproducible in production?: Yes
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: NA
If this was caught during regression testing, add the test name, ID and link from TestRail: NA
Email or phone of affected tester (no customers): [email protected]
Logs: https://www.expensify.com/_devportal/tools/logSearch/#sort=desc&size=10000&query=blob%3A%22nynke.krans%40protochips.com%22%20AND%20timestamp%3A%5B2025-01-20T00%3A00%20TO%202025-01-28T23%3A59%5D
Expensify/Expensify Issue URL: https://github.com/Expensify/Expensify/issues/458830
Issue reported by: Christina/Customer
Slack conversation (hyperlinked to channel name): NA

Action Performed:

  • Device Model name: SM-G981B/DS
  • Device Model: Galaxy S20 5G
  • Open the Expensify Classic mobile app for Android
  • Enter the Email [email protected]
  • When they try to sign in they are getting an "An Error Occurred" message

Expected Result:

  • They should be able to sign into the mobile app linked to their [email protected] email
  • They can sign into an Expensify account linked to their phone number
  • They can sign into the [email protected] account on the web
  • They have reinstalled the Expensify app
  • They have ensured no other apps are downloaded
  • They have downloaded the most recent app
  • They made sure the app was up-to-date

Actual Result:

  • They are getting a "An Error Occurred" message and can't sign into the app

Workaround:

Use the web app

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Image

Image

View all open jobs on GitHub

@Christinadobrzyn Christinadobrzyn added Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 labels Feb 4, 2025
@Christinadobrzyn Christinadobrzyn self-assigned this Feb 4, 2025
Copy link

melvin-bot bot commented Feb 4, 2025

Current assignee @Christinadobrzyn is eligible for the Bug assigner, not assigning anyone new.

@NJ-2020
Copy link
Contributor

NJ-2020 commented Feb 5, 2025

Similar error happens to me when installing the Expensify classic on my mobile app

It doesn't show any errors but the app is crashing while I started to type the email in the input

Device: Samsung A13

cc: @Christinadobrzyn

@Christinadobrzyn
Copy link
Contributor Author

Awesome, thank you for posting that @NJ-2020 - checking with QA to see if they can reproduce this - https://expensify.slack.com/archives/C9YU7BX5M/p1738707906591089

@NJ-2020
Copy link
Contributor

NJ-2020 commented Feb 6, 2025

But it only happens to me when open the app for the first time after around 2-3 weeks I didn't open the app

@jnowakow
Copy link
Contributor

jnowakow commented Feb 6, 2025

I'm observing this as well when running hybrid app on emulator. I was able to grab those logs from Android Studio:

2025-02-05 15:44:04.519 32586-32586 libc                    org.me.mobiexpensifyg.dev            A  Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xa08799ff24541430 in tid 32586 (iexpensifyg.dev), pid 32586 (iexpensifyg.dev)
2025-02-05 15:44:05.457  1041-1041  DEBUG                   crash_dump64                         A  Cmdline: org.me.mobiexpensifyg.dev
2025-02-05 15:44:05.457  1041-1041  DEBUG                   crash_dump64                         A  pid: 32586, tid: 32586, name: iexpensifyg.dev  >>> org.me.mobiexpensifyg.dev <<<
2025-02-05 15:44:05.457  1041-1041  DEBUG                   crash_dump64                         A        #00 pc 0000000000eb1258  /data/app/~~0mI_8N_ggGI5uWgE9y3mRA==/org.me.mobiexpensifyg.dev-Wqg2LCkOdaPkMVqTQ2oe8g==/lib/arm64/libreactnative.so (std::__ndk1::pair<std::__ndk1::__hash_iterator<std::__ndk1::__hash_node<std::__ndk1::__hash_value_type<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>>, std::__ndk1::shared_ptr<facebook::react::IAsyncEventEmitter>>, void*>*>, bool> std::__ndk1::__hash_table<std::__ndk1::__hash_value_type<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>>, std::__ndk1::shared_ptr<facebook::react::IAsyncEventEmitter>>, std::__ndk1::__unordered_map_hasher<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>>, std::__ndk1::__hash_value_type<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>>, std::__ndk1::shared_ptr<facebook::react::IAsyncEventEmitter>>, std::__ndk1::hash<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>>>, std::__ndk1::equal_to<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>>>, true>, std::__ndk1::__unordered_map_equal<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>>, std::__ndk1::__hash_value_type<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>>, std::__ndk1::shared_ptr<facebook::react::IAsyncEventEmitter>>, std::__ndk1::equal_to<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>>>, std::__ndk1::hash<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>>>, true>, std::__ndk1::allocator<std::__ndk1::__hash_value_type<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>>, std::__ndk1::shared_ptr<facebook::react::IAsyncEventEmitter>>>>::__emplace_unique_key_args<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>>, std::__ndk1::piecewise_construct_t const&, std::__ndk1::tuple<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&>, std::__ndk1::tuple<>>(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, std::__ndk1::piecewise_construct_t const&, std::__ndk1::tuple<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&>&&, std::__ndk1::tuple<>&&)+148) (BuildId: e88833dd25d120a8)
2025-02-05 15:44:05.457  1041-1041  DEBUG                   crash_dump64                         A        #01 pc 0000000000eb1160  /data/app/~~0mI_8N_ggGI5uWgE9y3mRA==/org.me.mobiexpensifyg.dev-Wqg2LCkOdaPkMVqTQ2oe8g==/lib/arm64/libreactnative.so (std::__ndk1::unordered_map<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>>, std::__ndk1::shared_ptr<facebook::react::IAsyncEventEmitter>, std::__ndk1::hash<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>>>, std::__ndk1::equal_to<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>>>, std::__ndk1::allocator<std::__ndk1::pair<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const, std::__ndk1::shared_ptr<facebook::react::IAsyncEventEmitter>>>>::operator[](std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&)+88) (BuildId: e88833dd25d120a8)
2025-02-05 15:44:05.457  1041-1041  DEBUG                   crash_dump64                         A        #02 pc 0000000000eb0f88  /data/app/~~0mI_8N_ggGI5uWgE9y3mRA==/org.me.mobiexpensifyg.dev-Wqg2LCkOdaPkMVqTQ2oe8g==/lib/arm64/libreactnative.so (BuildId: e88833dd25d120a8)
2025-02-05 15:44:05.457  1041-1041  DEBUG                   crash_dump64                         A        #03 pc 0000000000eb0e80  /data/app/~~0mI_8N_ggGI5uWgE9y3mRA==/org.me.mobiexpensifyg.dev-Wqg2LCkOdaPkMVqTQ2oe8g==/lib/arm64/libreactnative.so (BuildId: e88833dd25d120a8)
2025-02-05 15:44:05.457  1041-1041  DEBUG                   crash_dump64                         A        #04 pc 0000000000eb0d54  /data/app/~~0mI_8N_ggGI5uWgE9y3mRA==/org.me.mobiexpensifyg.dev-Wqg2LCkOdaPkMVqTQ2oe8g==/lib/arm64/libreactnative.so (BuildId: e88833dd25d120a8)
2025-02-05 15:44:05.457  1041-1041  DEBUG                   crash_dump64                         A        #05 pc 0000000000eb0ce0  /data/app/~~0mI_8N_ggGI5uWgE9y3mRA==/org.me.mobiexpensifyg.dev-Wqg2LCkOdaPkMVqTQ2oe8g==/lib/arm64/libreactnative.so (BuildId: e88833dd25d120a8)
2025-02-05 15:44:05.457  1041-1041  DEBUG                   crash_dump64                         A        #06 pc 0000000000eb0cb4  /data/app/~~0mI_8N_ggGI5uWgE9y3mRA==/org.me.mobiexpensifyg.dev-Wqg2LCkOdaPkMVqTQ2oe8g==/lib/arm64/libreactnative.so (BuildId: e88833dd25d120a8)
2025-02-05 15:44:05.457  1041-1041  DEBUG                   crash_dump64                         A        #07 pc 0000000000eafd70  /data/app/~~0mI_8N_ggGI5uWgE9y3mRA==/org.me.mobiexpensifyg.dev-Wqg2LCkOdaPkMVqTQ2oe8g==/lib/arm64/libreactnative.so (BuildId: e88833dd25d120a8)
2025-02-05 15:44:05.457  1041-1041  DEBUG                   crash_dump64                         A        #08 pc 0000000000dd6db0  /data/app/~~0mI_8N_ggGI5uWgE9y3mRA==/org.me.mobiexpensifyg.dev-Wqg2LCkOdaPkMVqTQ2oe8g==/lib/arm64/libreactnative.so (BuildId: e88833dd25d120a8)
2025-02-05 15:44:05.457  1041-1041  DEBUG                   crash_dump64                         A        #09 pc 0000000000dd6bc0  /data/app/~~0mI_8N_ggGI5uWgE9y3mRA==/org.me.mobiexpensifyg.dev-Wqg2LCkOdaPkMVqTQ2oe8g==/lib/arm64/libreactnative.so (std::__ndk1::function<void (folly::dynamic)>::operator()(folly::dynamic) const+20) (BuildId: e88833dd25d120a8)
2025-02-05 15:44:05.457  1041-1041  DEBUG                   crash_dump64                         A        #10 pc 000000000113aa1c  /data/app/~~0mI_8N_ggGI5uWgE9y3mRA==/org.me.mobiexpensifyg.dev-Wqg2LCkOdaPkMVqTQ2oe8g==/lib/arm64/libreactnative.so (facebook::react::JCxxCallbackImpl::invoke(facebook::react::NativeArray*)+68) (BuildId: e88833dd25d120a8)
2025-02-05 15:44:05.457  1041-1041  DEBUG                   crash_dump64                         A        #11 pc 000000000113ac90  /data/app/~~0mI_8N_ggGI5uWgE9y3mRA==/org.me.mobiexpensifyg.dev-Wqg2LCkOdaPkMVqTQ2oe8g==/lib/arm64/libreactnative.so (facebook::jni::detail::MethodWrapper<void (facebook::react::JCxxCallbackImpl::*)(facebook::react::NativeArray*), &facebook::react::JCxxCallbackImpl::invoke(facebook::react::NativeArray*), facebook::react::JCxxCallbackImpl, void, facebook::react::NativeArray*>::dispatch(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::react::JCxxCallbackImpl, facebook::react::JCallback>::JavaPart, facebook::react::JCallback, void>::_javaobject*>, facebook::react::NativeArray*&&)+220) (BuildId: e88833dd25d120a8)
2025-02-05 15:44:05.457  1041-1041  DEBUG                   crash_dump64                         A        #12 pc 000000000113ad80  /data/app/~~0mI_8N_ggGI5uWgE9y3mRA==/org.me.mobiexpensifyg.dev-Wqg2LCkOdaPkMVqTQ2oe8g==/lib/arm64/libreactnative.so (facebook::jni::detail::CallWithJniConversions<void (*)(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::react::JCxxCallbackImpl, facebook::react::JCallback>::JavaPart, facebook::react::JCallback, void>::_javaobject*>, facebook::react::NativeArray*&&), void, facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::react::JCxxCallbackImpl, facebook::react::JCallback>::JavaPart, facebook::react::JCallback, void>::_javaobject*, facebook::react::NativeArray*>::call(facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::react::JCxxCallbackImpl, facebook::react::JCallback>::JavaPart, facebook::react::JCallback, void>::_javaobject*, facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::react::NativeArray, facebook::jni::detail::BaseHybridClass>::JavaPart, facebook::jni::JObject, void>::_javaobject*, void (*)(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::react::JCxxCallbackImpl, facebook::react::JCallback>::JavaPart, facebook::react::JCallback, void>::_javaobject*>, facebook::react::NativeArray*&&))+92) (BuildId: e88833dd25d120a8)
2025-02-05 15:44:05.457  1041-1041  DEBUG                   crash_dump64                         A        #13 pc 000000000113aad4  /data/app/~~0mI_8N_ggGI5uWgE9y3mRA==/org.me.mobiexpensifyg.dev-Wqg2LCkOdaPkMVqTQ2oe8g==/lib/arm64/libreactnative.so (facebook::jni::detail::FunctionWrapper<void (*)(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::react::JCxxCallbackImpl, facebook::react::JCallback>::JavaPart, facebook::react::JCallback, void>::_javaobject*>, facebook::react::NativeArray*&&), facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::react::JCxxCallbackImpl, facebook::react::JCallback>::JavaPart, facebook::react::JCallback, void>::_javaobject*, void, facebook::react::NativeArray*>::call(_JNIEnv*, _jobject*, facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::react::NativeArray, facebook::jni::detail::BaseHybridClass>::JavaPart, facebook::jni::JObject, void>::_javaobject*, void (*)(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::react::JCxxCallbackImpl, facebook::react::JCallback>::JavaPart, facebook::react::JCallback, void>::_javaobject*>, facebook::react::NativeArray*&&))+64) (BuildId: e88833dd25d120a8)
2025-02-05 15:44:05.457  1041-1041  DEBUG                   crash_dump64                         A        #14 pc 000000000113a9c8  /data/app/~~0mI_8N_ggGI5uWgE9y3mRA==/org.me.mobiexpensifyg.dev-Wqg2LCkOdaPkMVqTQ2oe8g==/lib/arm64/libreactnative.so (facebook::jni::detail::MethodWrapper<void (facebook::react::JCxxCallbackImpl::*)(facebook::react::NativeArray*), &facebook::react::JCxxCallbackImpl::invoke(facebook::react::NativeArray*), facebook::react::JCxxCallbackImpl, void, facebook::react::NativeArray*>::call(_JNIEnv*, _jobject*, facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::react::NativeArray, facebook::jni::detail::BaseHybridClass>::JavaPart, facebook::jni::JObject, void>::_javaobject*)+44) (BuildId: e88833dd25d120a8)
2025-02-05 15:44:05.542 15722-1044  ActivityTaskManager     system_server                        W    Force finishing activity org.me.mobiexpensifyg.dev/org.me.mobiexpensifyg.ExpensifyActivityBase

And even catch that moment in debugger:

Image

I think it may be related to ReactNativeBackgroundTask module 🤔
@szymonrybczak can you have look at it?

@gedu
Copy link
Contributor

gedu commented Feb 6, 2025

I'm taking a look at a crash related to background task. I created a PR: #56169
Do you have any reproduction steps? So I can double check if my PR fix this

@Christinadobrzyn
Copy link
Contributor Author

Thank you so much @gedu! I haven't been able to reproduce but this is what the customer is reporting:

Prerequisites:

  • Device Model name: SM-G981B/DS
  • Device Model: Galaxy S20 5G

Steps to reproduce:

  • Open the Expensify Classic mobile app for Android
  • Enter the Email [email protected]
  • When they try to sign in they are getting an "An Error Occurred" message

If those don't work, @NJ-2020 might have steps they are doing to reproduce a similar crash.

@NJ-2020
Copy link
Contributor

NJ-2020 commented Feb 7, 2025

I can consistently reproduce the error app crash here

Reproduction steps:

  1. Uninstall Expensify classic mobile app
  2. Install Expensify classic mobile app
  3. Open the app
  4. When requested to push notifications, click allow
  5. Click login with email
  6. Click the input
  7. Start typing fast like this asdasdasdasdsad until the app is crashing

Demo:

WhatsApp.Video.2025-02-07.at.09.11.34.1.mp4

cc: @gedu @Christinadobrzyn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2
Projects
None yet
Development

No branches or pull requests

4 participants