artifacts / AFCache

AFCache is an HTTP cache for iOS and OSX seeking towards full RFC2616 compliance
Apache License 2.0
361 stars 43 forks source link

SIGABRT on removeCacheEntryWithFilePath #21

Closed benguild closed 9 years ago

benguild commented 10 years ago
-[AFCache removeCacheEntryWithFilePath:fileOnly:]: unrecognized selector sent to instance

on

[self removeCacheEntryWithFilePath:fullPath fileOnly:NO];

Within doHousekeeping(). This was during QA trying to foreground and background an App rapidly with a UIWebView loading.

Wrapped that line in try {}

benguild commented 10 years ago

Now I'm getting EXC_BAD_ACCESS on this row within cachedResponseForRequest() while testing on slow connections:

2014-04-04 2 36 09 pm

This was found with Zombie Objects enabled.

-[CFString retain]: message sent to deallocated instance
artifacts commented 10 years ago

could you provide steps to reproduce this or a sample project?

benguild commented 9 years ago

Honestly I moved away from this months ago (date is Apr 4th) in a workaround, so at this point... no.

artifacts commented 9 years ago

@bengulid: no problem, but the request for a sample project was made at Apr 5th ;) Anyway, it's unlike to happen anymore since AFCache uses arc now and the file handling has been refactored since then.

benguild commented 9 years ago

Sorry, must have missed the email.