-
-
Notifications
You must be signed in to change notification settings - Fork 878
Crash when pinning #1295
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
Comments
I went through everything a little more. It seems that the array of the child objects that I am pinning is there at the beginning of the method I posted screenshot of above. However once it gets into the return block, that array was deallocated for some reason. Have you seen this behavior at all or is it something that I am doing? Thanks! |
@tahoecoop why did you close it? Any workaround? |
No real solution, I just extricated that part of the query out as well as the pinning and my functionality is working properly. I'm not sure if this is a bug in the framework, or that I have too many child objects being referenced that the local datastore doesn't like. Not sure what that array of objects being pinned is empty. I can re-open the issue if you'd like for visibility. |
I’m not sure either, i’ll Reopen if I find anything |
Hello! I'm seeing a weird crash having to do with pinning. I'm querying for an object with an array of child objects using includeKey on the query. However, when I try to pin those child objects, I'm getting a crash as seen below. I am not pinning the parent object at all, just the child objects (if they exist). Also I was checking to see if any Zombies and I'm getting
*** -[__NSSingleObjectArrayI retain]: message sent to deallocated instance ....
I've included the stack trace as well, any insight you have is greatly appreciated. Thanks a lot!!frame #0: 0x0000000184b74500 CoreFoundation
___forwarding___ + 1180 frame #1: 0x0000000184a5a41c CoreFoundation
_CF_forwarding_prep_0 + 92__68-[PFPinningObjectStore pinObjectsAsync:withPinName:includeChildren:]_block_invoke(.block_descriptor=0x00000001c0a72280, task=0x00000001c0a72140) at PFPinningObjectStore.m:97 frame #3: 0x0000000102ed7da8 Bolts
__62-[BFTask continueWithExecutor:successBlock:cancellationToken:]_block_invoke(.block_descriptor=0x00000001c0a57e50, task=0x00000001c0a72140) at BFTask.m:398frame Fix typo #4: 0x0000000102ed729c Bolts
__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke(.block_descriptor=0x00000001c0a72240) at BFTask.m:331 frame #5: 0x0000000102ed2fac Bolts
__29+[BFExecutor defaultExecutor]_block_invoke_2(.block_descriptor=0x0000000102ee4598, block=0x0000000102ed7230) at BFExecutor.m:65frame Consistent error and exception reporting (PFParameterAssert usage) #6: 0x0000000102ed39dc Bolts
-[BFExecutor execute:](self=0x00000001c401ce90, _cmd="execute:", block=0x0000000102ed7230) at BFExecutor.m:131 frame #7: 0x0000000102ed7858 Bolts
__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke.126(.block_descriptor=0x00000001c0a57e80) at BFTask.m:363frame Carthage support #8: 0x0000000102ed6ce8 Bolts
-[BFTask runContinuations](self=0x00000001c0a72140, _cmd="runContinuations") at BFTask.m:307 frame #9: 0x0000000102ed658c Bolts
-[BFTask trySetResult:](self=0x00000001c0a72140, _cmd="trySetResult:", result=0x00000001c04aa380) at BFTask.m:247frame Disable module autolink setting for Framework targets. #10: 0x0000000102ed89b0 Bolts
-[BFTaskCompletionSource setResult:](self=0x00000001c0205930, _cmd="setResult:", result=0x00000001c04aa380) at BFTaskCompletionSource.m:45 frame #11: 0x0000000102ed75e4 Bolts
__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_2(.block_descriptor=0x00000001c484b580, task=0x00000001c4a6ef80) at BFTask.m:340frame PFFile TLS Download Support #12: 0x0000000102ed729c Bolts
__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke(.block_descriptor=0x00000001c4a6f300) at BFTask.m:331 frame #13: 0x0000000102ed2fac Bolts
__29+[BFExecutor defaultExecutor]_block_invoke_2(.block_descriptor=0x0000000102ee4598, block=0x0000000102ed7230) at BFExecutor.m:65frame Comment - Can't build framework using rakefile #14: 0x0000000102ed39dc Bolts
-[BFExecutor execute:](self=0x00000001c401ce90, _cmd="execute:", block=0x0000000102ed7230) at BFExecutor.m:131 frame #15: 0x0000000102ed7858 Bolts
__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke.126(.block_descriptor=0x00000001c4a50950) at BFTask.m:363frame Parse for iOS v1.8.0 breaks localization #16: 0x0000000102ed6ce8 Bolts
-[BFTask runContinuations](self=0x00000001c4a6ef80, _cmd="runContinuations") at BFTask.m:307 frame #17: 0x0000000102ed658c Bolts
-[BFTask trySetResult:](self=0x00000001c4a6ef80, _cmd="trySetResult:", result=0x00000001c04aa380) at BFTask.m:247frame PFFile Directories Need Clean Up #18: 0x0000000102ed89b0 Bolts
-[BFTaskCompletionSource setResult:](self=0x00000001c42038a0, _cmd="setResult:", result=0x00000001c04aa380) at BFTaskCompletionSource.m:45 frame #19: 0x0000000102ed75e4 Bolts
__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_2(.block_descriptor=0x00000001c4a50890, task=0x00000001c4a6f200) at BFTask.m:340frame Remove old GHUnit defines. #20: 0x0000000102ed729c Bolts
__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke(.block_descriptor=0x00000001c4a6f2c0) at BFTask.m:331 frame #21: 0x0000000102ed2fac Bolts
__29+[BFExecutor defaultExecutor]_block_invoke_2(.block_descriptor=0x0000000102ee4598, block=0x0000000102ed7230) at BFExecutor.m:65frame Cleanup assertions, convert to macros where possible. #22: 0x0000000102ed39dc Bolts
-[BFExecutor execute:](self=0x00000001c401ce90, _cmd="execute:", block=0x0000000102ed7230) at BFExecutor.m:131 frame #23: 0x0000000102ed7858 Bolts
__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke.126(.block_descriptor=0x00000001c4a508f0) at BFTask.m:363frame Remove unused PFBlockRetryer. #24: 0x0000000102ed6ce8 Bolts
-[BFTask runContinuations](self=0x00000001c4a6f200, _cmd="runContinuations") at BFTask.m:307 frame #25: 0x0000000102ed658c Bolts
-[BFTask trySetResult:](self=0x00000001c4a6f200, _cmd="trySetResult:", result=0x00000001c04aa380) at BFTask.m:247frame Adding a property named
state
to a PFObject causes a crash #26: 0x0000000102ed89b0 Bolts-[BFTaskCompletionSource setResult:](self=0x00000001c4206d40, _cmd="setResult:", result=0x00000001c04aa380) at BFTaskCompletionSource.m:45 frame #27: 0x0000000102ed745c Bolts
__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke(.block_descriptor=0x00000001c4a6f240) at BFTask.m:354frame Slow query from localdatastore #28: 0x0000000102ed2fac Bolts
__29+[BFExecutor defaultExecutor]_block_invoke_2(.block_descriptor=0x0000000102ee4598, block=0x0000000102ed7230) at BFExecutor.m:65 frame #29: 0x0000000102ed39dc Bolts
-[BFExecutor execute:](self=0x00000001c401ce90, _cmd="execute:", block=0x0000000102ed7230) at BFExecutor.m:131frame Fixed compiling instructions in README. #30: 0x0000000102ed7858 Bolts
__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke.126(.block_descriptor=0x00000001c4a50860) at BFTask.m:363 frame #31: 0x0000000102ed6ce8 Bolts
-[BFTask runContinuations](self=0x00000001c4a6f180, _cmd="runContinuations") at BFTask.m:307frame LDS Performance Improvements #32: 0x0000000102ed658c Bolts
-[BFTask trySetResult:](self=0x00000001c4a6f180, _cmd="trySetResult:", result=@"1 element") at BFTask.m:247 frame #33: 0x0000000102ed89b0 Bolts
-[BFTaskCompletionSource setResult:](self=0x00000001c4206d10, _cmd="setResult:", result=@"1 element") at BFTaskCompletionSource.m:45frame Facebook Auth is broken with 1.8 #34: 0x0000000102ed75e4 Bolts
__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_2(.block_descriptor=0x00000001c0a59050, task=0x00000001c4a6fbc0) at BFTask.m:340 frame #35: 0x0000000102ed73b0 Bolts
__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke(.block_descriptor=0x00000001c4a6f1c0) at BFTask.m:348frame Push Translation for iOS #36: 0x0000000102ed2fac Bolts
__29+[BFExecutor defaultExecutor]_block_invoke_2(.block_descriptor=0x0000000102ee4598, block=0x0000000102ed7230) at BFExecutor.m:65 frame #37: 0x0000000102ed39dc Bolts
-[BFExecutor execute:](self=0x00000001c401ce90, _cmd="execute:", block=0x0000000102ed7230) at BFExecutor.m:131frame Fixed localization by using a separate table with framework name. #38: 0x0000000102ed7858 Bolts
__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke.126(.block_descriptor=0x00000001c4a507a0) at BFTask.m:363 frame #39: 0x0000000102ed6ce8 Bolts
-[BFTask runContinuations](self=0x00000001c4a6f100, _cmd="runContinuations") at BFTask.m:307frame countObjectsInBackgroundWithBlock starts returning count 1 #40: 0x0000000102ed658c Bolts
-[BFTask trySetResult:](self=0x00000001c4a6f100, _cmd="trySetResult:", result=0x0000000000000000) at BFTask.m:247 frame #41: 0x0000000102ed89b0 Bolts
-[BFTaskCompletionSource setResult:](self=0x00000001c4203680, _cmd="setResult:", result=0x0000000000000000) at BFTaskCompletionSource.m:45frame Localization is broken since Parse 1.8 #42: 0x0000000102ed75e4 Bolts
__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_2(.block_descriptor=0x00000001c4a512e0, task=0x00000001c4a6fe40) at BFTask.m:340 frame #43: 0x0000000102ed729c Bolts
__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke(.block_descriptor=0x00000001c4a6ff00) at BFTask.m:331frame Parse Localizable.strings make app to ignore default Localizable.strings #44: 0x0000000102ed2fac Bolts
__29+[BFExecutor defaultExecutor]_block_invoke_2(.block_descriptor=0x0000000102ee4598, block=0x0000000102ed7230) at BFExecutor.m:65 frame #45: 0x0000000102ed39dc Bolts
-[BFExecutor execute:](self=0x00000001c401ce90, _cmd="execute:", block=0x0000000102ed7230) at BFExecutor.m:131frame Store original network error under NSUnderlyingError key. #46: 0x0000000102ed7858 Bolts
__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke.126(.block_descriptor=0x00000001c4a51340) at BFTask.m:363 frame #47: 0x0000000102ed6ce8 Bolts
-[BFTask runContinuations](self=0x00000001c4a6fe40, _cmd="runContinuations") at BFTask.m:307frame Rename 'ParseOSX.framework' to 'Parse.framework' for OS X. #48: 0x0000000102ed658c Bolts
-[BFTask trySetResult:](self=0x00000001c4a6fe40, _cmd="trySetResult:", result=0x0000000000000000) at BFTask.m:247 frame #49: 0x0000000102ed89b0 Bolts
-[BFTaskCompletionSource setResult:](self=0x00000001c4206ff0, _cmd="setResult:", result=0x0000000000000000) at BFTaskCompletionSource.m:45frame Use static library for OCMock in tests to unbreak Xcode 7. #50: 0x0000000102ed75e4 Bolts
__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_2(.block_descriptor=0x00000001c4a57880, task=0x00000001c4a74140) at BFTask.m:340 frame #51: 0x0000000102ed729c Bolts
__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke(.block_descriptor=0x00000001c4a74200) at BFTask.m:331frame Ability to revert all changes or a single field on
PFObject
. #52: 0x0000000102ed2fac Bolts__29+[BFExecutor defaultExecutor]_block_invoke_2(.block_descriptor=0x0000000102ee4598, block=0x0000000102ed7230) at BFExecutor.m:65 frame #53: 0x0000000102ed39dc Bolts
-[BFExecutor execute:](self=0x00000001c401ce90, _cmd="execute:", block=0x0000000102ed7230) at BFExecutor.m:131frame Unpublicize localeIdentifier property on PFInstallation. #54: 0x0000000102ed7858 Bolts
__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke.126(.block_descriptor=0x00000001c4a578e0) at BFTask.m:363 frame #55: 0x0000000102ed6ce8 Bolts
-[BFTask runContinuations](self=0x00000001c4a74140, _cmd="runContinuations") at BFTask.m:307frame Cleanup test assertions descriptions. #56: 0x0000000102ed658c Bolts
-[BFTask trySetResult:](self=0x00000001c4a74140, _cmd="trySetResult:", result=0x0000000000000000) at BFTask.m:247 frame #57: 0x0000000102ed89b0 Bolts
-[BFTaskCompletionSource setResult:](self=0x00000001c42092a0, _cmd="setResult:", result=0x0000000000000000) at BFTaskCompletionSource.m:45frame Issue with Localizable.string file #58: 0x0000000102ed75e4 Bolts
__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_2(.block_descriptor=0x00000001c0846c90, task=0x00000001c4a6f500) at BFTask.m:340 frame #59: 0x0000000102ed73b0 Bolts
__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke(.block_descriptor=0x00000001c4a74180) at BFTask.m:348frame No such module 'Parse' #60: 0x0000000104001220 libdispatch.dylib
_dispatch_client_callout + 16 frame #61: 0x0000000104013e24 libdispatch.dylib
_dispatch_sync_invoke_and_complete_recurse + 124frame Remove deprecate Parse-OSX.podspec. #62: 0x0000000104013848 libdispatch.dylib
_dispatch_sync_wait + 552 frame #63: 0x000000010330f288 Parse
PFThreadsafetySafeDispatchSync(queue=0x00000001c435dfe0, block=0x0000000102ed7230) at PFThreadsafety.m:31frame Explicitly import Bolts/BFTask to eliminate the need for explicit Bolts import in Swift projects. #64: 0x0000000103306208 Parse
__33-[PFSQLiteDatabase initWithPath:]_block_invoke_2(.block_descriptor=0x00000001c4a57850) at PFSQLiteDatabase.m:78 frame #65: 0x0000000104001260 libdispatch.dylib
_dispatch_call_block_and_release + 24frame Add better subclassing support to PFGeoPoint. #66: 0x0000000104001220 libdispatch.dylib
_dispatch_client_callout + 16 frame #67: 0x000000010400d284 libdispatch.dylib
_dispatch_queue_override_invoke + 968frame PFTwitterUtils crash #68: 0x000000010401284c libdispatch.dylib
_dispatch_root_queue_drain + 604 frame #69: 0x0000000104012584 libdispatch.dylib
_dispatch_worker_thread3 + 136frame Ability to revert all changes or changes for key #70: 0x0000000184793fac libsystem_pthread.dylib
_pthread_wqthread + 1176 frame #71: 0x0000000184793b08 libsystem_pthread.dylib
start_wqthread + 4The text was updated successfully, but these errors were encountered: