{"action":"created","issue":{"url":"https://api.github.com/repos/realm/realm-cocoa/issues/1838","labels_url":"https://api.github.com/repos/realm/realm-cocoa/issues/1838/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-cocoa/issues/1838/comments","events_url":"https://api.github.com/repos/realm/realm-cocoa/issues/1838/events","html_url":"https://github.com/realm/realm-cocoa/issues/1838","id":73266281,"number":1838,"title":"Crash when use sort function in 0.90","user":{"login":"AmitBhavsarIphone","id":11771412,"avatar_url":"https://avatars.githubusercontent.com/u/11771412?v=3","gravatar_id":"","url":"https://api.github.com/users/AmitBhavsarIphone","html_url":"https://github.com/AmitBhavsarIphone","followers_url":"https://api.github.com/users/AmitBhavsarIphone/followers","following_url":"https://api.github.com/users/AmitBhavsarIphone/following{/other_user}","gists_url":"https://api.github.com/users/AmitBhavsarIphone/gists{/gist_id}","starred_url":"https://api.github.com/users/AmitBhavsarIphone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmitBhavsarIphone/subscriptions","organizations_url":"https://api.github.com/users/AmitBhavsarIphone/orgs","repos_url":"https://api.github.com/users/AmitBhavsarIphone/repos","events_url":"https://api.github.com/users/AmitBhavsarIphone/events{/privacy}","received_events_url":"https://api.github.com/users/AmitBhavsarIphone/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-05T09:56:04Z","updated_at":"2015-05-05T16:36:34Z","closed_at":null,"body":"I have face problem when sort the array result\r\nHere is the log.\r\n**core/include/tightdb/link_view.hpp:241: Assertion failed: m_row_indexes.is_attached()\r\n0   Keyboard                            0x002711c7 _ZN7tightdb4util9terminateEPKcS2_l + 394\r\n1   Keyboard                            0x0024cb9d _ZN7tightdb8LinkView3getEm + 312\r\n2   Keyboard                            0x002fba7f _ZNK7tightdb8LinkView15get_sorted_viewENSt3__16vectorImNS1_9allocatorImEEEENS2_IbNS3_IbEEEE + 246\r\n3   Keyboard                            0x00238105 -[RLMArrayLinkView sortedResultsUsingDescriptors:] + 384\r\n4   Keyboard                            0x00235287 -[RLMArray sortedResultsUsingProperty:ascending:] + 202\r\n5   Keyboard                            0x001ae550 _TFC8Keyboard22KeyboardViewController28generatePredictionsForStringfS0_FT_GSaSS_ + 20776\r\n6   Keyboard                            0x001dea04 _TFFC8Keyboard22KeyboardViewController26setPredictionAndSuggestionFS0_FT_T_U_FT_T_ + 1388\r\n7   Keyboard                            0x001dda18 _TTRXFo__dT__XFdCb__dT__ + 56\r\n8   libdispatch.dylib                   0x36880423 <redacted> + 10\r\n9   libdispatch.dylib                   0x3688c2db <redacted> + 850\r\n10  libdispatch.dylib                   0x3688d1fb <redacted> + 106\r\n11  libsystem_pthread.dylib             0x369fde25 _pthread_wqthread + 668\r\n12  libsystem_pthread.dylib             0x369fdb78 start_wqthread + 8\r\nIMPORTANT: if you see this error, please send this log to help@realm.io.**\r\n\r\n\r\nMy code is like below where Exception is arise.\r\nvar arrNext = wordT.nextKeys.sortedResultsUsingProperty(\"frequency\", ascending: false)"},"comment":{"url":"https://api.github.com/repos/realm/realm-cocoa/issues/comments/99134197","html_url":"https://github.com/realm/realm-cocoa/issues/1838#issuecomment-99134197","issue_url":"https://api.github.com/repos/realm/realm-cocoa/issues/1838","id":99134197,"user":{"login":"segiddins","id":1946610,"avatar_url":"https://avatars.githubusercontent.com/u/1946610?v=3","gravatar_id":"","url":"https://api.github.com/users/segiddins","html_url":"https://github.com/segiddins","followers_url":"https://api.github.com/users/segiddins/followers","following_url":"https://api.github.com/users/segiddins/following{/other_user}","gists_url":"https://api.github.com/users/segiddins/gists{/gist_id}","starred_url":"https://api.github.com/users/segiddins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/segiddins/subscriptions","organizations_url":"https://api.github.com/users/segiddins/orgs","repos_url":"https://api.github.com/users/segiddins/repos","events_url":"https://api.github.com/users/segiddins/events{/privacy}","received_events_url":"https://api.github.com/users/segiddins/received_events","type":"User","site_admin":false},"created_at":"2015-05-05T16:36:34Z","updated_at":"2015-05-05T16:36:34Z","body":"It looks to me like you're using an older version of Realm -- we did not official support using Realm from multiple processes (such as with as keyboard) until 0.91. Could you try updating to 0.91.5 and let me know if that fixes things for you? Thanks!"}}