-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
'Target table row index out of range' realm2.8.0 just in release crashed !!! #5008
Comments
Can you help me ? |
Can you provide us with a reproduction case, or at least more of your code and the inputs that cause the problem to crash, including the |
Can you guess what went wrong? |
@icoder20150719 Sorry for the delay. Could you create a sample Xcode project along with exact steps for us to reproduce? Or please send the entire project that reproduces the bug? You could send it privately to us at help@realm.io if you don't wish to share this publicly. Without understanding your code it's difficult to make any progress. If you do we'd be happy to continue looking into the problem. Thanks! |
@icoder20150719 I'm just following up on @kishikawakatsumi's request for a sample project that would allow us to debug this for you. Thanks! |
@jpsim thanks a lot; |
No problem! Feel free to file new issues if you run into any other problems! |
I came along the same error message and crash today after upgrading from Realm 2.1.2 to 2.10.1 (via Cocoapods). The crash happens on iOS 11 and iOS 10 devices and simulators constantly, when the execution reaches the realm.add() function call in the following snippet:
This happens only for some of my Object subclasses, which seemingly share no similarity between one another. If I comment the add() call out, my application runs smoothly without any problems by the way. |
2017-06-07 21:45:49.432367+0800 Cashier[11261:4530714] *** Terminating app due to uncaught exception 'RLMException', reason: 'Target table row index out of range'
*** First throw call stack:
(0x190cfafd8 0x18f75c538 0x101eebb5c 0x101ecf910 0x101ed3f4c 0x101ed4e48 0x101ed4918 0x101eebfc4 0x101eeba7c 0x101ecf910 0x101ed3f4c 0x101ed4e48 0x101ed4918 0x101eebfc4 0x101eeba7c 0x101ecf910 0x101ed3f4c 0x101ed4e48 0x101ed4918 0x101eebfc4 0x101eeba7c 0x100228c20 0x100515dd0 0x100507704 0x1004c26f4 0x100295434 0x196e580ec 0x196e5806c 0x196e425e0 0x196e57950 0x1973ec46c 0x1973e87b8 0x190ca89a0 0x190ca6628 0x190ca6a74 0x190bd6d94 0x192640074 0x196e88130 0x1000f04e8 0x18fbe559c)
libc++abi.dylib: terminating with uncaught exception of type NSException
Realm framework version: 2.8.0
Xcode version: 8.3
iOS/OSX version: 10.3.1
Dependency manager + version: ?
The text was updated successfully, but these errors were encountered: