You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hopestar90
changed the title
When I use Hermes to run my project, I face a crash online
When I use Hermes to run my project, I face a crash online about JSONLexer.cpp function scanNumber()
Sep 26, 2024
Thanks for reporting this. Unfortunately this issue is based on an old version of Hermes and we’re only able to support the latest version. Please try reproducing this issue with the most recent build.
SIGABRT: Abort program: Error: Find abort message failure
SIGSEGV: Segmentation violation (invalid memory reference)
/Users/victor.chi/github_hermes_workspace/hermes/lib/VM/JSLib/JSONLexer.cpp:98 | hermes::vm::JSONLexer::scanNumber()
/Users/victor.chi/github_hermes_workspace/hermes/include/hermes/VM/HandleRootOwner.h:461 | hermes::vm::GCScope::newPinnedHermesValue(hermes::vm::HermesValue)
/Users/victor.chi/github_hermes_workspace/shopee-hermes/include/hermes/VM/SmallHermesValue-inline.h:37 | hermes::vm::HermesValue32::unboxToHV(hermes::vm::PointerBase&) const
/Users/victor.chi/Library/Android/sdk/ndk/22.1.7171670/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1/deque:323 | std::__ndk1::__deque_iterator<llvh::StringMap<hermes::vm::MockedEnvironment::StatsTableValue, llvh::MallocAllocator>, llvh::StringMap<hermes::vm::MockedEnvironment::StatsTableValue, llvh::MallocAllocator>*, llvh::StringMap<hermes::vm::MockedEnvironment::StatsTableValue, llvh::MallocAllocator>&, llvh::StringMap<hermes::vm::MockedEnvironment::StatsTableValue, llvh::MallocAllocator>**, int, 170>::operator++()
/Users/victor.chi/github_hermes_workspace/hermes/include/hermes/VM/HandleRootOwner.h:307 | GCScope
/Users/victor.chi/github_hermes_workspace/hermes/API/hermes/hermes.cpp:771 | facebook::hermes::HermesRuntimeImpl::JsiProxy::get(hermes::vm::SymbolID)
/Users/victor.chi/github_hermes_workspace/hermes/API/hermes/hermes.cpp:795 | facebook::hermes::HermesRuntimeImpl::JsiProxy::get(hermes::vm::SymbolID)
/data/app/~~ownmaPykvO0cICHrwMqdDg==/com.xxxx.id-aOeqDDsay4zY5N-7Ue8MHw==/split_config.armeabi_v7a.apk!libhermes.so:46 | ??
/Users/chengyu.zhou/Documents/WorkSpace/ReactNativeAndroid/ReactNative/ReactAndroid/src/main/java/com/facebook/react/../hermes/reactexecutor/../../../../../../../../ReactCommon/jsi/jsi/decorator.h:264 | facebook::jsi::RuntimeDecorator<facebook::jsi::Runtime, facebook::jsi::Runtime>::createArray(unsigned int)
/Users/chengyu.zhou/Documents/WorkSpace/ReactNativeAndroid/ReactNative/ReactAndroid/../ReactCommon/jsi/jsi/jsi.h:720 | Array
/Users/chengyu.zhou/Documents/WorkSpace/ReactNativeAndroid/ReactNative/ReactAndroid/../ReactCommon/jsiexecutor/jsireact/JSIExecutor.cpp:235 | operator()
/Users/chengyu.zhou/Library/Android/sdk/ndk/19.2.5345600/sources/cxx-stl/llvm-libc++/include/type_traits:4350 | ZNSt6__ndk18__invokeIRPFvRKNS_8functionIFvvEEENS1_IFNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEvEEEEJS5_SD_EEEDTclclsr3std6__ndk1E7forwardIT_Efp_Espclsr3std6__ndk1E7forwardIT0_Efp0_EEEOSH_DpOSI
/Users/chengyu.zhou/Library/Android/sdk/ndk/19.2.5345600/sources/cxx-stl/llvm-libc++/include/functional:1923 | std::__ndk1::function<void (std::__ndk1::function<void ()> const&, std::__ndk1::function<std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator > ()>)>::operator()(std::__ndk1::function<void ()> const&, std::__ndk1::function<std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator > ()>) const
from my side :
1 These android devices typically have smaller memory (usually 2-3GB)
The text was updated successfully, but these errors were encountered: