ios6 - NSURLCache crashes under iOS 6.1 -
using ios 6.1 app crashes regulary, straight after startup, when attempts create several http-requests, works fine on os < 6.1.
i'm experiencing exc_bad_access
crashes in strlen
function called queue : com.apple.cfurlcache_work_queue
, everytime app started, except first time.
i resolve issue clearing nsurlcache, straight after app started:
[[nsurlcache sharedurlcache] removeallcachedresponses];
does else experience these crashes? there issue in application code causing these crashes? or should bug filed apple?
experiencing similar crash since ios 6.1 newly installed application. difference crash occurs when tapping text cell in table view. no web requests beingness made @ time.
this bt:
thread #4: tid = 0x2903, 0x3ae7ad74 libsystem_c.dylib`strlen + 28, stop reason = exc_bad_access (code=1, address=0x0) frame #0: 0x3ae7ad74 libsystem_c.dylib`strlen + 28 frame #1: 0x3ac6be24 libsqlite3.dylib`___lldb_unnamed_function282$$libsqlite3.dylib + 1232 frame #2: 0x3ac74a5e libsqlite3.dylib`sqlite3_file_control + 174 frame #3: 0x328493fe cfnetwork`__cfurlcache::recreateemptypersistentstoreondiskandopen_nolock() + 30 frame #4: 0x32849000 cfnetwork`__cfurlcache::recreateemptypersistentstoreondiskandopen() + 44 frame #5: 0x327f9488 cfnetwork`__cfurlcache::opendatabase() + 192 frame #6: 0x32846a72 cfnetwork`__cfurlcache::processcachetasks0(bool) + 358 frame #7: 0x32846900 cfnetwork`__cfurlcache::processcachetasks(bool) + 36 frame #8: 0x3284681e cfnetwork`__cfurlcache::_cfurlcachetimercallback0() + 358 frame #9: 0x328466ac cfnetwork`__cfurlcache::_cfurlcachetimercallback(void*) + 32 frame #10: 0x328490fc cfnetwork`__signalworkertasktoperformwork_block_invoke_0 + 12 frame #11: 0x3ae4611e libdispatch.dylib`_dispatch_call_block_and_release + 10 frame #12: 0x3ae49ece libdispatch.dylib`_dispatch_queue_drain$variant$mp + 142 frame #13: 0x3ae49dc0 libdispatch.dylib`_dispatch_queue_invoke$variant$mp + 40 frame #14: 0x3ae4a91c libdispatch.dylib`_dispatch_root_queue_drain + 184 frame #15: 0x3ae4aac0 libdispatch.dylib`_dispatch_worker_thread2 + 84 frame #16: 0x3ae7aa10 libsystem_c.dylib`_pthread_wqthread + 360 frame #17: 0x3ae7a8a4 libsystem_c.dylib`start_wqthread + 8
reported tsi apple, reviewed , requests log bug, still need this.
interestingly plenty solution found helped me, clearing cache @ launch solved problem.
ios ios6 nsurlcache
No comments:
Post a Comment