Skip to content
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

SPPersistentMutableDictionary Crash #276

Closed
jleandroperez opened this issue May 27, 2014 · 1 comment
Closed

SPPersistentMutableDictionary Crash #276

jleandroperez opened this issue May 27, 2014 · 1 comment
Assignees
Labels
Milestone

Comments

@jleandroperez
Copy link
Contributor

Thread : Fatal Exception: NSInternalInconsistencyException
0  CoreFoundation                 0x2f7a0f0b __exceptionPreprocess + 130
1  libobjc.A.dylib                0x3a27dce7 objc_exception_throw + 38
2  CoreData                       0x2f4f1483 +[NSEntityDescription entityForName:inManagedObjectContext:] + 234
3  CoreData                       0x2f4f2669 -[NSFetchRequest(_NSInternalMethods) _resolveEntityWithContext:] + 84
4  CoreData                       0x2f5080dd -[NSManagedObjectContext countForFetchRequest:error:] + 68
5  ForeFlight                     0x00af9aa7 __38-[SPPersistentMutableDictionary count]_block_invoke (SPPersistentMutableDictionary.m:60)
6  CoreData                       0x2f5789cd developerSubmittedBlockToNSManagedObjectContextPerform + 88
7  libdispatch.dylib              0x3a766d3f _dispatch_client_callout + 22
8  libdispatch.dylib              0x3a76b6c3 _dispatch_barrier_sync_f_invoke + 26
9  CoreData                       0x2f578b0b -[NSManagedObjectContext performBlockAndWait:] + 106
10 XZXZXZX                     0x00af99e5 -[SPPersistentMutableDictionary count] (SPPersistentMutableDictionary.m:58)
11 XZXZXZX                     0x00aead0b -[SPChangeProcessor numChangesPending] (SPChangeProcessor.m:754)
12 XZXZXZX                     0x00b0949d -[SPWebSocketChannel handleRemoteChanges:bucket:] (SPWebSocketChannel.m:247)
13 XZXZXZX                     0x00b07afb -[SPWebSocketInterface webSocket:didReceiveMessage:] (SPWebSocketInterface.m:345)
14 XZXZXZX                     0x00af59b3 -[SPWebSocket webSocket:didReceiveMessage:] (SPWebSocket.m:116)
15 XZXZXZX                     0x00b023cf __30-[SRWebSocket _handleMessage:]_block_invoke (SRWebSocket.m:755)
16 libdispatch.dylib              0x3a766d53 _dispatch_call_block_and_release + 10
17 libdispatch.dylib              0x3a766d3f _dispatch_client_callout + 22
18 libdispatch.dylib              0x3a7696c3 _dispatch_main_queue_callback_4CF + 278
19 CoreFoundation                 0x2f76b681 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 8
20 CoreFoundation                 0x2f769f4d __CFRunLoopRun + 1308
21 CoreFoundation                 0x2f6d4769 CFRunLoopRunSpecific + 524
22 CoreFoundation                 0x2f6d454b CFRunLoopRunInMode + 106
23 GraphicsServices               0x3460e6d3 GSEventRunModal + 138
24 UIKit                          0x32033891 UIApplicationMain + 1136
25 XZXZXZX                     0x000bf2c3 main (main.m:12)
26 libdyld.dylib                  0x3a77bab7 start + 2
@jleandroperez jleandroperez added this to the v0.6.5 milestone May 27, 2014
@jleandroperez jleandroperez self-assigned this May 27, 2014
jleandroperez added a commit that referenced this issue May 27, 2014
@jleandroperez
Copy link
Contributor Author

Although i couldn't directly reproduce this glitch, the MOC creation had a missing mutex, which would explain weird scenarios.

@jphribovsek please, if this is still happening after the latest commit, feel free to reopen.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant