realm / realm-core

Core database component for the Realm Mobile Database SDKs
https://realm.io
Apache License 2.0
1.02k stars 164 forks source link

table.cpp:1902: [realm-core-0.88.4] Assertion failed: is_attached() #734

Closed simonask closed 8 years ago

simonask commented 9 years ago

Originally reported by: @yoshyosh

https://app.asana.com/0/1462112455450/28820265242103

finnschiermer commented 9 years ago

conversation is here: https://secure.helpscout.net/conversation/74197435/580/ not enough to proceed.

jpsim commented 9 years ago

This may or may not be a manifestation of the same issue. Let me know if I should create a new ticket for this:

/Users/maurodelazeri/Downloads/IOS/music-ios/Pods/Realm/include/realm/link_view.hpp:214: [realm-core-0.92.1] Assertion failed: is_attached()

0 Realm 0x0000000108c51728 _ZN5realm4util18terminate_internalERNSt3__118basic_stringstreamIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE + 40

1 Realm 0x0000000108b58013 _ZN5realm4util9terminateEPKcS2_l + 1459

2 Realm 0x0000000108b55ce5 _ZNK5realm8LinkView4sizeEv + 69

3 Realm 0x0000000108d20c4d _ZNK5realm5Query8find_allERNS_13TableViewBaseEmmm + 109

4 Realm 0x0000000108d20ea5 _ZN5realm5Query8find_allEmmm + 85

5 Realm 0x0000000108c19c5d _ZL26RLMResultsValidateAttachedP10RLMResults + 301

6 Realm 0x0000000108c14da5 _ZL18RLMResultsValidateP10RLMResults + 21

7 Realm 0x0000000108c14dfe -[RLMResults countByEnumeratingWithState:objects:count:] + 62

8 libswiftFoundation.dylib 0x000000010c3c4f28 _TTSf4g___TFC10Foundation15NSFastGenerator4nextfS0_FT_GSqPSs9AnyObject__ + 104

9 libswiftFoundation.dylib 0x000000010c3b51cf _TFC10Foundation15NSFastGenerator4nextfS0_FT_GSqPSs9AnyObject__ + 15

10 RealmSwift 0x0000000108f53c34 _TFFC10RealmSwift7Results8generateU__FGS0_Q__FT_GVSs11GeneratorOfQ__U_FT_GSqQ__ + 52

11 RealmSwift 0x0000000108f3b24c _TTRG0_RPq_C10RealmSwift6Object_XFo__oGSqq___XFo__iGSqq___ + 28

12 RealmSwift 0x0000000108f531e9 _TPA__TTRG0_RPq_C10RealmSwift6Object_XFo__oGSqq___XFo__iGSqq___ + 89

13 libswiftCore.dylib 0x000000010c098bdf _TFVSs11GeneratorOf4nextU__fRGS_Q__FT_GSqQ__ + 31

14 Pluuft 0x00000001084b5f99 _TFE6PluuftC10RealmSwift7Results7toArrayU__fGS1_Q__FT_GSaQ__ + 121

15 Pluuft 0x00000001084ca21f _TFFC6Pluuft21LibraryListController20didReceiveAPIResultsFS0_FTCSo12NSDictionary9indexPathCSo11NSIndexPath_T_U_FT_T_ + 175

16 Pluuft 0x000000010832f9a7 _TTRXFo__dT__XFdCb__dT__ + 39

17 libdispatch.dylib 0x000000010d247186 _dispatch_call_block_and_release + 12

18 libdispatch.dylib 0x000000010d266614 _dispatch_client_callout + 8

19 libdispatch.dylib 0x000000010d24ea1c _dispatch_main_queue_callback_4CF + 1664

20 CoreFoundation 0x000000010a080749 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9

21 CoreFoundation 0x000000010a04362b __CFRunLoopRun + 2043

22 CoreFoundation 0x000000010a042bc6 CFRunLoopRunSpecific + 470

23 GraphicsServices 0x0000000110661a58 GSEventRunModal + 161

24 UIKit 0x000000010ad92580 UIApplicationMain + 1282

25 Pluuft 0x0000000108400037 main + 135

26 libdyld.dylib 0x000000010d29a145 start + 1

27 ??? 0x0000000000000001 0x0 + 1

IMPORTANT: if you see this error, please send this log to help@realm.io.

Helpscout: https://secure.helpscout.net/conversation/119872407/1845/

I've requested more information and a repro case from the user and will post again here if I hear back.