GithubHelp home page GithubHelp logo

Comments (7)

Czino avatar Czino commented on September 15, 2024

We will release the big FFI update onto mainnet on June 21st. The update will be rolled out to around 2000 iOS devices.

I will observe it for 1-2 weeks and report back

from bdk-rn.

Czino avatar Czino commented on September 15, 2024

Found new crash reports pointing to the same issue, here's a more comprehensive log:

Crashed: com.facebook.react.JavaScript
0  libswiftCore.dylib             0x37310 _assertionFailure(_:_:file:line:flags:) + 264
1  libswiftCore.dylib             0xa3fd4 Dictionary.init<A>(_:uniquingKeysWith:) + 490
2  Peach Bitcoin                  0x445d88 BdkRnModule.init() + 46 (BdkRnModule.swift:46)
3  Peach Bitcoin                  0x445ddc @objc BdkRnModule.init() + 277248 (<compiler-generated>:277248)
4  Peach Bitcoin                  0x33114c __115-[RCTModuleData initWithModuleClass:bridge:moduleRegistry:viewRegistry_DEPRECATED:bundleManager:callableJSModules:]_block_invoke + 117 (RCTModuleData.mm:117)
5  Peach Bitcoin                  0x3315b4 -[RCTModuleData setUpInstanceAndBridge:] + 191 (RCTModuleData.mm:191)
6  Peach Bitcoin                  0x3320b4 -[RCTModuleData instance] + 413 (RCTModuleData.mm:413)
7  Peach Bitcoin                  0x3323c0 -[RCTModuleData methodQueue] + 497 (RCTModuleData.mm:497)
8  Peach Bitcoin                  0x3370d4 facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int) + 88 (RCTNativeModule.mm:88)
9  Peach Bitcoin                  0x3c58ac facebook::react::JsToNativeBridge::callNativeModules(facebook::react::JSExecutor&, folly::dynamic&&, bool) + 171 (wrap_iter.h:171)
10 Peach Bitcoin                  0x424f90 facebook::react::JSIExecutor::callNativeModules(facebook::jsi::Value const&, bool) + 365 (dynamic-inl.h:365)
11 Peach Bitcoin                  0x4246b0 facebook::react::JSIExecutor::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, folly::dynamic const&) + 268 (JSIExecutor.cpp:268)
12 Peach Bitcoin                  0x3c6b80 std::__1::__function::__func<facebook::react::NativeToJsBridge::runOnExecutorQueue(std::__1::function<void (facebook::react::JSExecutor*)>)::$_8, std::__1::allocator<facebook::react::NativeToJsBridge::runOnExecutorQueue(std::__1::function<void (facebook::react::JSExecutor*)>)::$_8>, void ()>::operator()() + 352 (function.h:352)
13 Peach Bitcoin                  0x322204 facebook::react::tryAndReturnError(std::__1::function<void ()> const&) + 505 (function.h:505)
14 Peach Bitcoin                  0x32dfec facebook::react::RCTMessageThread::tryFunc(std::__1::function<void ()> const&) + 69 (RCTMessageThread.mm:69)
15 Peach Bitcoin                  0x32dda0 ___ZN8facebook5react16RCTMessageThread8runAsyncENSt3__18functionIFvvEEE_block_invoke + 46 (RCTMessageThread.mm:46)
16 CoreFoundation                 0x436e0 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 28
17 CoreFoundation                 0xaa210 __CFRunLoopDoBlocks + 364
18 CoreFoundation                 0x7a0c4 __CFRunLoopRun + 812
19 CoreFoundation                 0x7f3ec CFRunLoopRunSpecific + 612
20 Peach Bitcoin                  0x3183dc +[RCTCxxBridge runRunLoop] + 336 (RCTCxxBridge.mm:336)
21 Foundation                     0x5b544 __NSThread__start__ + 716
22 libsystem_pthread.dylib        0x16b8 _pthread_start + 148
23 libsystem_pthread.dylib        0xb88 thread_start + 8

from bdk-rn.

BitcoinZavior avatar BitcoinZavior commented on September 15, 2024

This may happen to just 0.5% of iPhone users and only for around the first 10 startups, after that it appears to be working.

Specifically I can see it happening for these

  • iOS 16.3.1 - iPhone 12 Pro Max
  • iOS 15.5.0 - iPhone 13 Mini

Thanks for the details. Does this info still hold true?
How was this information gathered or verified?

from bdk-rn.

Czino avatar Czino commented on September 15, 2024

We gather crash reports via crashlytics.

Looking back at the last 90 days, we had 50 unique devices reporting this crash

Here are more samples of affected versions devices:

  • iOS 16.2.0 - iPhone 13 Mini
  • iOS 16.3.1 - iPhone 12 Pro
  • iOS 16.3.1 - iPhone SE (3rd generation)
  • iOS 16.4.1 - iPhone 12 Pro
  • iOS 16.4.1 - iPhone 13
  • iOS 16.4.1 - iPhone 12
  • iOS 16.4.1 - iPhone 12 Mini
  • iOS 16.4.1 - iPhone 13 Pro
  • iOS 16.5.0 - iPhone 12 Pro
  • iOS 16.5.0 - iPhone 14 Pro

from bdk-rn.

BitcoinZavior avatar BitcoinZavior commented on September 15, 2024

That covers a lot of phone models, so not related to the phones I think. I will investigate. This happened on one of my test phones as well so I can replicate it.

from bdk-rn.

BitcoinZavior avatar BitcoinZavior commented on September 15, 2024

@Czino #54 should address the crash issue as well

from bdk-rn.

Czino avatar Czino commented on September 15, 2024

android and iOS are building and app is running

Cannot yet confirm that crashes will be resolved as I have no way of reproducing them, but am hopeful. Will report back when we deploy the next release and keep observing it 🙏

from bdk-rn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.