realm / realm-js

Realm is a mobile database: an alternative to SQLite & key-value stores
https://realm.io
Apache License 2.0
5.74k stars 565 forks source link

insert data to realm always crash #5028

Closed rizaru-desu closed 1 year ago

rizaru-desu commented 1 year ago

insert data from api (total data 1k++) to realm always crash , can anyone help me?

Error Code Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)

"dependencies": { "@craftzdog/react-native-buffer": "^6.0.4", "@react-native-async-storage/async-storage": "^1.17.3", "@react-native-community/checkbox": "^0.5.12", "@react-native-community/datetimepicker": "^6.1.3", "@react-native-community/netinfo": "^8.2.0", "@react-navigation/drawer": "^6.4.1", "@react-navigation/native": "^6.0.10", "@react-navigation/native-stack": "^6.6.1", "@reduxjs/toolkit": "^1.8.1", "@shopify/flash-list": "^1.3.0", "axios": "^0.26.1", "lodash": "^4.17.21", "moment": "^2.29.3", "qs": "^6.11.0", "react": "17.0.2", "react-native": "0.68.1", "react-native-animatable": "^1.3.3", "react-native-device-info": "^8.7.0", "react-native-dropdown-picker": "^5.4.2", "react-native-fast-image": "^8.5.11", "react-native-fs": "^2.19.0", "react-native-geolocation-service": "^5.3.0-beta.4", "react-native-gesture-handler": "^2.4.1", "react-native-image-pan-zoom": "^2.1.12", "react-native-keyboard-aware-scroll-view": "^0.9.5", "react-native-linear-gradient": "^2.5.6", "react-native-modal": "^13.0.1", "react-native-paper": "^4.12.5", "react-native-permissions": "^3.3.1", "react-native-photo-manipulator": "^1.2.7", "react-native-radio-buttons-group": "^2.2.10", "react-native-reanimated": "^2.8.0", "react-native-responsive-screen": "^1.4.2", "react-native-safe-area-context": "^4.2.4", "react-native-screens": "^3.13.1", "react-native-send-intent": "^1.3.0", "react-native-toast-message": "^2.1.5", "react-native-vector-icons": "^9.1.0", "react-native-vision-camera": "^2.14.1", "react-redux": "^8.0.0", "realm": "^10.20.0-beta.5", "redux-thunk": "^2.4.1" },

kneth commented 1 year ago

It is hard to tell exact what is going wrong without a reproduction case. Can you enlighten us on how to insert the data? Moreover, it could be good to know if it happens on Android or iOS.

Last week we released v11.0.0, and if possible it is a good idea to upgrade from v10.20.0-beta.5.

kneth commented 1 year ago

I am closing the issue due to no reply back. Please comment and reopen the issue if needed.