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

Communication via ZeroMQ fails after upgrade from 0.61.5 to 0.62.0 #29930

Closed
jakubkoci opened this issue Sep 11, 2020 · 1 comment
Closed

Communication via ZeroMQ fails after upgrade from 0.61.5 to 0.62.0 #29930

jakubkoci opened this issue Sep 11, 2020 · 1 comment
Labels
Needs: Triage 🔍 Resolution: Locked This issue was locked by the bot. Type: Upgrade Issue Issues reported from upgrade issue form

Comments

@jakubkoci
Copy link

Description

It seems there is a problem with communication via ZMQ after the upgrade from 0.61.5 to 0.62.0. I don't call ZMQ directly but I'm using 3rd party binary library libvcx added as part of *.aar file to my project which is a library written in Rust and it contains libzmq.

I tried it first with the version 0.63.2, but when I got the error I downgraded to be sure what's the first version causing the problem.

React Native version:

System:
    OS: macOS 10.15.6
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 24.85 MB / 16.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 12.14.0 - /var/folders/gb/6vyb349j6_gb76mt8x2ghl300000gp/T/yarn--1599816501671-0.6476713315182934/node
    Yarn: 1.22.4 - /var/folders/gb/6vyb349j6_gb76mt8x2ghl300000gp/T/yarn--1599816501671-0.6476713315182934/yarn
    npm: 6.13.4 - ~/.nvm/versions/node/v12.14.0/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.9.1 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.7, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK:
      API Levels: 23, 26, 27, 28, 29
      Build Tools: 27.0.3, 28.0.3, 29.0.2
      System Images: android-28 | Intel x86 Atom_64, android-28 | Google APIs Intel x86 Atom, android-29 | Google APIs Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 3.5 AI-191.8026.42.35.6010548
    Xcode: 11.7/11E801a - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_232 - /usr/bin/javac
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.11.0 => 16.11.0
    react-native: 0.62.0 => 0.62.0
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Snack, code example, screenshot, or link to a repository:

I'm adding the log output from the Logcat:

com.evernym.sdk.vcx.LibVcx.native.indy.services.pool.networker - src/services/pool/networker.rs:333 | _get_socket: open new socket for node 0
    
    --------- beginning of crash
2020-09-11 11:18:36.306 28337-28649/za.co.absa.identity A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 28649 (Thread-26)
2020-09-11 11:18:36.483 28654-28654/? A/DEBUG: pid: 28337, tid: 28649, name: Thread-26  >>> za.co.absa.identity <<<
2020-09-11 11:18:36.543 28654-28654/? A/DEBUG:     #04 pc 000000000003aca4  /data/app/za.co.absa.identity-g-kBtLJkIiy5lONScXOHNw==/lib/arm64/libjscexecutor.so
2020-09-11 11:18:36.543 28654-28654/? A/DEBUG:     #05 pc 000000000003afc8  /data/app/za.co.absa.identity-g-kBtLJkIiy5lONScXOHNw==/lib/arm64/libjscexecutor.so (_Unwind_RaiseException+252)
2020-09-11 11:18:36.543 28654-28654/? A/DEBUG:     #06 pc 00000000000b7a78  /data/app/za.co.absa.identity-g-kBtLJkIiy5lONScXOHNw==/lib/arm64/libfbjni.so (__cxa_throw+112)
2020-09-11 11:18:36.543 28654-28654/? A/DEBUG:     #07 pc 0000000000068b94  /data/app/za.co.absa.identity-g-kBtLJkIiy5lONScXOHNw==/lib/arm64/libc++_shared.so (_ZNKSt6__ndk16locale9use_facetERNS0_2idE+212)
2020-09-11 11:18:36.543 28654-28654/? A/DEBUG:     #08 pc 0000000000bcede0  /data/app/za.co.absa.identity-g-kBtLJkIiy5lONScXOHNw==/lib/arm64/libvcx.so (_ZNSt6__ndk124__put_character_sequenceIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m+368)
2020-09-11 11:18:36.543 28654-28654/? A/DEBUG:     #09 pc 0000000000bca83c  /data/app/za.co.absa.identity-g-kBtLJkIiy5lONScXOHNw==/lib/arm64/libvcx.so (_ZNSt6__ndk1lsIcNS_11char_traitsIcEENS_9allocatorIcEEEERNS_13basic_ostreamIT_T0_EES9_RKNS_12basic_stringIS6_S7_T1_EE+368)
2020-09-11 11:18:36.543 28654-28654/? A/DEBUG:     #10 pc 0000000000bca030  /data/app/za.co.absa.identity-g-kBtLJkIiy5lONScXOHNw==/lib/arm64/libvcx.so (_ZNK3zmq9address_t9to_stringERNSt6__ndk112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE+2344)
2020-09-11 11:18:36.543 28654-28654/? A/DEBUG:     #11 pc 0000000000c45830  /data/app/za.co.absa.identity-g-kBtLJkIiy5lONScXOHNw==/lib/arm64/libvcx.so (_ZN3zmq13socket_base_t7connectEPKc+9356)
2020-09-11 11:18:36.543 28654-28654/? A/DEBUG:     #12 pc 0000000000c857fc  /data/app/za.co.absa.identity-g-kBtLJkIiy5lONScXOHNw==/lib/arm64/libvcx.so (zmq_connect+60)
2020-09-11 11:18:36.543 28654-28654/? A/DEBUG:     #13 pc 0000000000ee6304  /data/app/za.co.absa.identity-g-kBtLJkIiy5lONScXOHNw==/lib/arm64/libvcx.so (_ZN3zmq6Socket7connect17hbcee68f1e0e1f76aE+144)
2020-09-11 11:18:36.543 28654-28654/? A/DEBUG:     #14 pc 00000000009e9e18  /data/app/za.co.absa.identity-g-kBtLJkIiy5lONScXOHNw==/lib/arm64/libvcx.so (_ZN4indy8services4pool9networker57_$LT$impl$u20$indy..services..pool..types..RemoteNode$GT$7connect17h0c468494ab98981aE+636)
2020-09-11 11:18:36.543 28654-28654/? A/DEBUG:     #15 pc 0000000000818384  /data/app/za.co.absa.identity-g-kBtLJkIiy5lONScXOHNw==/lib/arm64/libvcx.so (_ZN4indy8services4pool9networker14PoolConnection21_send_msg_to_one_node17hc27861c8bd7e976aE+328)
2020-09-11 11:18:36.543 28654-28654/? A/DEBUG:     #16 pc 0000000000817c98  /data/app/za.co.absa.identity-g-kBtLJkIiy5lONScXOHNw==/lib/arm64/libvcx.so (_ZN4indy8services4pool9networker14PoolConnection12send_request17h60b90f4b95a7279dE+2592)
2020-09-11 11:18:36.543 28654-28654/? A/DEBUG:     #17 pc 0000000000816044  /data/app/za.co.absa.identity-g-kBtLJkIiy5lONScXOHNw==/lib/arm64/libvcx.so (_ZN108_$LT$indy..services..pool..networker..ZMQNetworker$u20$as$u20$indy..services..pool..networker..Networker$GT$13process_event17hf6a0e5976fd223e0E+7368)
2020-09-11 11:18:36.543 28654-28654/? A/DEBUG:     #18 pc 0000000000698ea0  /data/app/za.co.absa.identity-g-kBtLJkIiy5lONScXOHNw==/lib/arm64/libvcx.so (_ZN4indy8services4pool15request_handler18RequestSM$LT$T$GT$12handle_event17hdb6224996409fe8bE+14444)
2020-09-11 11:18:36.543 28654-28654/? A/DEBUG:     #19 pc 000000000069f890  /data/app/za.co.absa.identity-g-kBtLJkIiy5lONScXOHNw==/lib/arm64/libvcx.so (_ZN149_$LT$indy..services..pool..request_handler..RequestHandlerImpl$LT$T$GT$$u20$as$u20$indy..services..pool..request_handler..RequestHandler$LT$T$GT$$GT$13process_event17h5ae8abd47d02ed77E+1124)
2020-09-11 11:18:36.543 28654-28654/? A/DEBUG:     #20 pc 00000000006f2a78  /data/app/za.co.absa.identity-g-kBtLJkIiy5lONScXOHNw==/lib/arm64/libvcx.so (_ZN4indy8services4pool4pool44_get_request_handler_with_ledger_status_sent17h05fa99da67eac374E+1572)
2020-09-11 11:18:36.543 28654-28654/? A/DEBUG:     #21 pc 00000000006ec184  /data/app/za.co.absa.identity-g-kBtLJkIiy5lONScXOHNw==/lib/arm64/libvcx.so (_ZN4indy8services4pool4pool19PoolSM$LT$T$C$R$GT$12handle_event17he1b2a7385b701722E+268)
2020-09-11 11:18:36.543 28654-28654/? A/DEBUG:     #22 pc 00000000006f21c0  /data/app/za.co.absa.identity-g-kBtLJkIiy5lONScXOHNw==/lib/arm64/libvcx.so (_ZN4indy8services4pool4pool23PoolThread$LT$S$C$R$GT$4work17h5b10f452c851850bE+2876)
2020-09-11 11:18:36.543 28654-28654/? A/DEBUG:     #23 pc 00000000008fbf68  /data/app/za.co.absa.identity-g-kBtLJkIiy5lONScXOHNw==/lib/arm64/libvcx.so (_ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17h6b57c2e3edcb7375E+120)
2020-09-11 11:18:36.543 28654-28654/? A/DEBUG:     #24 pc 00000000007fbdb4  /data/app/za.co.absa.identity-g-kBtLJkIiy5lONScXOHNw==/lib/arm64/libvcx.so (_ZN3std9panicking3try7do_call17h8f0d2d7e8f3c6cfaE.llvm.18137803239260778229+44)
2020-09-11 11:18:36.543 28654-28654/? A/DEBUG:     #25 pc 00000000012bcbb0  /data/app/za.co.absa.identity-g-kBtLJkIiy5lONScXOHNw==/lib/arm64/libvcx.so (__rust_maybe_catch_panic+32)
2020-09-11 11:18:36.543 28654-28654/? A/DEBUG:     #26 pc 0000000000914204  /data/app/za.co.absa.identity-g-kBtLJkIiy5lONScXOHNw==/lib/arm64/libvcx.so (_ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h652a9180597db10fE+120)
2020-09-11 11:18:36.543 28654-28654/? A/DEBUG:     #27 pc 00000000012957a4  /data/app/za.co.absa.identity-g-kBtLJkIiy5lONScXOHNw==/lib/arm64/libvcx.so (_ZN83_$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$9call_once17h3879f66a40898a4cE+72)
2020-09-11 11:18:36.543 28654-28654/? A/DEBUG:     #28 pc 00000000012bbeb0  /data/app/za.co.absa.identity-g-kBtLJkIiy5lONScXOHNw==/lib/arm64/libvcx.so (_ZN3std3sys4unix6thread6Thread3new12thread_start17ha181305a817feafaE+20)
@chrisglein chrisglein added the Type: Upgrade Issue Issues reported from upgrade issue form label Sep 16, 2020
@github-actions
Copy link

Do you need help upgrading to a newer React Native version? Visit the Upgrade Support repository or use the upgrade helper to see the changes that need to be made to upgrade your app.

@facebook facebook locked as resolved and limited conversation to collaborators Oct 1, 2021
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Oct 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Needs: Triage 🔍 Resolution: Locked This issue was locked by the bot. Type: Upgrade Issue Issues reported from upgrade issue form
Projects
None yet
Development

No branches or pull requests

3 participants