Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot allocate memory crash #28

Open
IvanShah opened this issue May 25, 2021 · 1 comment
Open

Cannot allocate memory crash #28

IvanShah opened this issue May 25, 2021 · 1 comment

Comments

@IvanShah
Copy link

IvanShah commented May 25, 2021

Hello, we are facing several issues in our Crashlytics, it looks like an issue with preloading the cache when there is not enough memory on the device, we support only devices with iOS 14+, full log:

Fatal Exception: NSFileHandleOperationException
0 CoreFoundation 0x19803186c __exceptionPreprocess
1 libobjc.A.dylib 0x1ad04ac50 objc_exception_throw
2 Foundation 0x1993227f4 -[NSConcreteFileHandle readDataUpToLength:error:]
3 Foundation 0x1992b791c +[NSPropertyListSerialization writePropertyList:toStream:format:options:error:]
4 0x10469e874 VideoDownloaderHandler.processActions()
5 0x10469c388 VideoDownloader.download(from:length:)
6 0x1046a5f70 VideoPreloadManager.start()
7 0x1046a6d98 specialized VideoPreloadManager.downloader(:didFinished:)
8 0x10469e824 VideoDownloaderHandler.processActions()
9 0x10469e914 VideoDownloaderHandler.processActions()
10 0x10469e914 VideoDownloaderHandler.processActions()
11 0x10469c388 VideoDownloader.download(from:length:)
12 0x1046a5f70 VideoPreloadManager.start()
13 0x1046a6d98 specialized VideoPreloadManager.downloader(
:didFinished:)
14 0x10469e824 VideoDownloaderHandler.processActions()
15 0x10469e914 VideoDownloaderHandler.processActions()
16 0x10469e914 VideoDownloaderHandler.processActions()
17 0x10469c388 VideoDownloader.download(from:length:)
18 0x1046a5f70 VideoPreloadManager.start()
19 0x1046a6d98 specialized VideoPreloadManager.downloader(:didFinished:)
20 0x10469e824 VideoDownloaderHandler.processActions()
21 0x10469e914 VideoDownloaderHandler.processActions()
22 0x10469e914 VideoDownloaderHandler.processActions()
23 0x10469c388 VideoDownloader.download(from:length:)
24 0x1046a5f70 VideoPreloadManager.start()
25 0x1046a6d98 specialized VideoPreloadManager.downloader(
:didFinished:)
26 0x10469e824 VideoDownloaderHandler.processActions()
27 0x10469e914 VideoDownloaderHandler.processActions()
28 0x10469e914 VideoDownloaderHandler.processActions()
29 0x10469c388 VideoDownloader.download(from:length:)
30 0x1046a5f70 VideoPreloadManager.start()
31 0x1046a6d98 specialized VideoPreloadManager.downloader(:didFinished:)
32 0x10469e824 VideoDownloaderHandler.processActions()
33 0x10469e914 VideoDownloaderHandler.processActions()
34 0x10469e914 VideoDownloaderHandler.processActions()
35 0x10469c388 VideoDownloader.download(from:length:)
36 0x1046a5f70 VideoPreloadManager.start()
37 0x1046a6d98 specialized VideoPreloadManager.downloader(
:didFinished:)
38 0x10469e824 VideoDownloaderHandler.processActions()
39 0x10469e914 VideoDownloaderHandler.processActions()
40 0x10469e914 VideoDownloaderHandler.processActions()
41 0x10469c388 VideoDownloader.download(from:length:)
42 0x1046a5f70 VideoPreloadManager.start()
43 0x1046a6d98 specialized VideoPreloadManager.downloader(:didFinished:)
44 0x10469e824 VideoDownloaderHandler.processActions()
45 0x10469e914 VideoDownloaderHandler.processActions()
46 0x10469e914 VideoDownloaderHandler.processActions()
47 0x10469c388 VideoDownloader.download(from:length:)
48 0x1046a5f70 VideoPreloadManager.start()
49 0x1046a6d98 specialized VideoPreloadManager.downloader(
:didFinished:)
50 0x10469e824 VideoDownloaderHandler.processActions()
51 0x10469e914 VideoDownloaderHandler.processActions()
52 0x10469e914 VideoDownloaderHandler.processActions()
53 0x10469c388 VideoDownloader.download(from:length:)
54 0x1046a5f70 VideoPreloadManager.start()
55 0x1046a6d98 specialized VideoPreloadManager.downloader(:didFinished:)
56 0x10469e824 VideoDownloaderHandler.processActions()
57 0x10469e914 VideoDownloaderHandler.processActions()
58 0x10469e914 VideoDownloaderHandler.processActions()
59 0x10469c388 VideoDownloader.download(from:length:)
60 0x1046a5f70 VideoPreloadManager.start()
61 0x1046a6d98 specialized VideoPreloadManager.downloader(
:didFinished:)
62 0x10469e824 VideoDownloaderHandler.processActions()
63 0x10469e914 VideoDownloaderHandler.processActions()
64 0x10469e914 VideoDownloaderHandler.processActions()
65 0x10469c388 VideoDownloader.download(from:length:)
66 F 0x1046a5f70 VideoPreloadManager.start()
67 0x1046a6d98 specialized VideoPreloadManager.downloader(_:didFinished:)
68 0x10469e824 VideoDownloaderHandler.processActions()
69 0x10469e914 VideoDownloaderHandler.processActions()
70 0x10469e914 VideoDownloaderHandler.processActions()
71 0x10469c388 VideoDownloader.download(from:length:)
72 0x1046a5f70 VideoPreloadManager.start()
73 0x1046a5c1c VideoPreloadManager.set(waiting:)
74 0x104691d94 static VideoPlayer.preload(urls:)

@DhavalBera
Copy link

i am facing also same issue in preloading cache.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants