Crash at NSOperationQueue addOperation Custom NSOperation -
i have nsoperationqueue, maxconcurrentoperationcount = 1,
and custom nsoperation has property block,
when nsoperationqueue addoperation, app crash, in ios 9.x,
the nsoperation not nil.
following apple crash report, can't reappear:
exception type: exc_bad_access (sigsegv) exception subtype: kern_invalid_address @ 0x1000000013ed199e 0 foundation 0x0000000182f3b4e8 ____addoperations_block_invoke607 + 524 (nsoperation.m:193) 1 foundation 0x0000000182f3b488 ____addoperations_block_invoke607 + 428 (nsoperation.m:204) 2 foundation 0x0000000182f26170 -[nsobject(nskeyvalueobservingprivate) _changevalueforkeys:count:maybeoldvaluesdict:usingblock:] + 672 (nskeyvalueobserving.m:2406) 3 foundation 0x0000000182e7afc0 -[nsobject(nskeyvalueobservingprivate) _changevalueforkey:key:key:usingblock:] + 64 (nskeyvalueobserving.m:2432) 4 foundation 0x0000000182f392e4 __addoperations + 1400 (nsoperation.m:2100)
thanks!
Comments
Post a Comment