C++ Exception: St9bad_alloc
See original GitHub issueDescription
I am getting this issue in react-native-screens@^3.10.1
version. i see this issue on sentry. it is due to reproduce when Ram memory remaining less
Screenshots
Steps To Reproduce
- dont know
Expected behavior
it should not be crash in production
Actual behavior
Reproduction
Platform
- iOS
- Android
- Web
- Windows
- tvOS
Workflow
- Managed workflow
- Bare workflow
Package versions
package | version |
---|---|
react-native | ^0.66.4 |
@react-navigation/native | 6.0.6 |
@react-navigation/native-stack | 6.2.5 |
react-native-screens | ^3.10.1 |
react-native-safe-area-context | ^3.3.2 |
react-native-gesture-handler | ^2.1.0 |
react-native-reanimated | ^2.3.0 |
expo |
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
What is the std::bad_alloc exception in C++? - Educative.io
Exceptions in C++ are run-time anomalies or abnormal conditions that a program ... std::bad_alloc is a type of exception that occurs when the...
Read more >How can I debug St9bad_alloc failures in gdb in C?
It's quite possible that this happens due to some memory being overwritten, thus corrupting the memory allocation system's state (which is ...
Read more >std::bad_alloc - cppreference.com
std::bad_alloc is the type of the object thrown as exceptions by the allocation functions to report failure to allocate storage.
Read more >std::bad_alloc - CPlusPlus.com
Exception thrown on failure allocating memory. exception; bad_alloc. Type of the exceptions thrown by the standard definitions of operator new and operator ...
Read more >St9bad_alloc std::bad_alloc C:\Users\Papa\Desktop\MintCoin ...
Many Windows users have reported: EXCEPTION: St9bad_alloc std::bad_alloc C:\Users\Papa\Desktop\MintCoin-Qt.exe in Runaway exception A ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ok I will close this issue then. What you can do is run a memory profiling of your application and see if there is leakage in it, and if there happens to be more instances of
RNSScreen
than there are actual screens, please report it here and we can reopen it then.@WoLewicki no I am not using
react-freeze
by usingenableFreeze
method. It is not reproducing on my side. maybe it is due to other packages which are occupying ram. you can close this issue. thankshere is the complete log of sentry cpp_exception.txt
here is other log