ChangbaDevs / KTVHTTPCache

A powerful media cache framework.
MIT License
2.37k stars 436 forks source link

设备空间还有1G多时,因[NSConcreteFileHandle writeData:]: No space left on device奔溃 #77

Open lj20082 opened 6 years ago

lj20082 commented 6 years ago

如题,相关日志如下: CoreFoundation _exceptionPreprocess + 124 1 libobjc.A.dylib objc_exception_throw + 56 2 CoreFoundation -[NSException initWithCoder:] 3 Foundation NSFileHandleRaiseOperationException + 160 4 Foundation -[NSConcreteFileHandle writeData:] + 204 -[KTVHCDataUnit mergeFilesIfNeeded] (KTVHCDataUnit.m:402) -[KTVHCDataUnit workingRelease] (KTVHCDataUnit.m:315) -[KTVHCDataReader close] (KTVHCDataReader.m:111) -[KTVHCDataReader readDataOfLength:] (KTVHCDataReader.m:138) -[KTVHCHTTPResponse readDataOfLength:] (KTVHCHTTPResponse.m:74) -[HTTPConnection continueSendingSingleRangeResponseBody] (HTTPConnection.m:1437) -[HTTPConnection responseHasAvailableData:]_block_invoke (HTTPConnection.m:2531)

pengzhiqiang110 commented 6 years ago

同样问题 楼主最后怎么解决的 还有更好的视频缓存框架吗

ymuzi commented 6 years ago

+1 0 CoreFoundation _exceptionPreprocess + 228 1 libobjc.A.dylib objc_exception_throw + 56 2 CoreFoundation -[NSException initWithCoder:] 3 Foundation NSFileHandleRaiseOperationException + 160 4 Foundation -[NSConcreteFileHandle writeData:] + 204 -[KTVHCDataUnit mergeFilesIfNeeded] (KTVHCDataUnit.m:402) -[KTVHCDataUnit workingRelease] (KTVHCDataUnit.m:315) -[KTVHCDataReader close] (KTVHCDataReader.m:111) -[KTVHCHTTPResponse connectionDidClose] (KTVHCHTTPResponse.m:135) -[HTTPConnection die] (HTTPConnection.m:2649) __33-[GCDAsyncSocket closeWithError:]_block_invoke (GCDAsyncSocket.m:3322)

OriginalSSin commented 5 years ago

+1

0 CoreFoundation ___exceptionPreprocess + 124
1 libobjc.A.dylib objc_exception_throw + 56
2 CoreFoundation -[NSException initWithCoder:]
3 Foundation __NSFileHandleRaiseOperationException + 160
4 Foundation -[NSConcreteFileHandle writeData:] + 200
5 KTVHTTPCache -[KTVHCDataNetworkSource download:didReceiveData:] + 128
6 KTVHTTPCache -[KTVHCDownload URLSession:dataTask:didReceiveData:] + 728
7 CFNetwork ___67-[NSURLSession delegate_dataTask:didReceiveData:completionHandler:]_block_invoke.242 + 36
8 Foundation _NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK + 16
waitingfor168 commented 2 years ago

+1