SafeSlingerProject / SafeSlinger-iOS

Source code for iOS platform client SafeSlinger
MIT License
6 stars 2 forks source link

crash during memory allocation when downloading attachments #95

Open SafeSlingerProject opened 9 years ago

SafeSlingerProject commented 9 years ago

SafeSlinger 1.8.2 (1.8.2.2) edu.cmu.cylab.safeslinger.app Issue #146 Fatal Exception: NSInvalidArgumentException * NSAllocateMemoryPages(1916620133) failed MessageDetailView.m line 683 44-[MessageDetailView DownloadFile:WithIndex:]_block_invoke DEVICE iPhone 6 OPERATING SYSTEM 8.4 Thread : Fatal Exception: NSInvalidArgumentException 0 CoreFoundation 0x00000001832302d8 exceptionPreprocess + 132 1 libobjc.A.dylib 0x0000000194efc0e4 objc_exception_throw + 60 2 CoreFoundation 0x0000000183230218 -[NSException initWithCoder:] 3 Foundation 0x00000001840baa98 NSAllocateMemoryPages + 104 4 Foundation 0x000000018408d1b0 _NSDataCreateVMDispatchData + 36 5 Foundation 0x0000000184054ab0 -[_NSPlaceholderData initWithBytes:length:copy:deallocator:] + 272 6 Foundation 0x0000000184080034 +[NSData(NSData) dataWithBytes:length:] + 64 7 SafeSlinger 0x00000001000ec440 44-[MessageDetailView DownloadFile:WithIndex:]_block_invoke (MessageDetailView.m:683) 8 CFNetwork 0x0000000182bef010 67+[NSURLConnection sendAsynchronousRequest:queue:completionHandler:]_block_invoke_2 + 188 9 Foundation 0x00000001841171c4 NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK** + 16 10 Foundation 0x0000000184068604 -[NSBlockOperation main] + 96 11 Foundation 0x00000001840581cc -[NSOperationInternal _start:] + 636 12 Foundation 0x0000000184119f28 NSOQSchedule_f + 228 13 libdispatch.dylib 0x0000000195579954 _dispatch_client_callout + 16 14 libdispatch.dylib 0x00000001955840a4 _dispatch_queue_drain + 1448 15 libdispatch.dylib 0x000000019557ca5c _dispatch_queue_invoke + 132 16 libdispatch.dylib 0x0000000195586318 _dispatch_root_queue_drain + 720 17 libdispatch.dylib 0x0000000195587c4c _dispatch_worker_thread3 + 108 18 libsystem_pthread.dylib 0x000000019575922c _pthread_wqthread + 816 19 libsystem_pthread.dylib 0x0000000195758ef0 start_wqthread + 4