erikdoe / ocmock

Mock objects for Objective-C
http://ocmock.org
Apache License 2.0
2.16k stars 606 forks source link

OCMPartialMock([CALayer layer]) crashes #411

Closed dmaclach closed 4 years ago

dmaclach commented 4 years ago
#0  0x0000000107d50d5b in objc_release ()
#1  0x000000010832f2ad in common_removeAllObjects ()
#2  0x0000000108210373 in -[__NSArrayM dealloc] ()
#3  0x0000000107d51b8e in objc_object::sidetable_release(bool) ()
#4  0x0000000107d4c723 in _object_remove_assocations ()
#5  0x0000000107d47d40 in objc_destructInstance ()
#6  0x0000000107d47d66 in object_dispose ()
#7  0x0000000108260d2b in -[NSInvocation dealloc] ()
#8  0x0000000107d51b8e in objc_object::sidetable_release(bool) ()
#9  0x0000000107d522fa in (anonymous namespace)::AutoreleasePoolPage::pop(void*) ()
#10 0x0000000107bb48ca in __24-[XCTestCase invokeTest]_block_invoke.208 ()
...
dmaclach commented 4 years ago

Thanks for the merge.