BradLarson / GPUImage

An open source iOS framework for GPU-based image and video processing
http://www.sunsetlakesoftware.com/2012/02/12/introducing-gpuimage-framework
BSD 3-Clause "New" or "Revised" License
20.25k stars 4.62k forks source link

GPUImageStillCamera crash with invalid array index #2663

Open xingheng opened 2 years ago

xingheng commented 2 years ago
Trigger Thread:0
Incident Identifier: 2B9A843C-333E-45BD-96BF-C3A661CF8273
CrashReporter Key:   a0dde7c544a9baae8be65e59118eaa0e790ca603
Hardware Model:      iPhone6,2
Process:             myapp [3364]
Path:                /private/var/containers/Bundle/Application/92F77905-7D0F-4A08-9664-4CA5005EBAD9/myapp.app/myapp
Identifier:          com.company.myappcam
Version:             8.11.0.1 (8.11.0)
AppStoreTools:       13A233
Code Type:           ARM-64 (Native)
Role:                Non UI
Parent Process:      launchd [1]
Coalition:           com.company.myappcam [822]
Date/Time:           2022-01-11 17:24:08.5872 +0800
Launch Time:         2022-01-11 17:21:23.7569 +0800
OS Version:          iPhone OS 12.4.5 (16G161)
Baseband Version:    10.80.02
Report Version:      104
Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Triggered by Thread:  0
Application Specific Information:
abort() called
Last Exception Backtrace:
0   CoreFoundation                   ___exceptionPreprocess (in CoreFoundation) 228
1   libobjc.A.dylib                  _objc_exception_throw  (in libobjc.A.dylib)    55
2   CoreFoundation                   -[__NSArray0 objectAtIndex:]   (in CoreFoundation) 107
3   myapp                     -[GPUImageStillCamera capturePhotoProcessedUpToFilter:withImageOnGPUHandler:]  (in myapp)   (GPUImageStillCamera.m:0)   15
4   myapp                     -[GPUImageStillCamera capturePhotoAsJPEGProcessedUpToFilter:withCompletionHandler:]    (in myapp)   (GPUImageStillCamera.m:207) 19
5   myapp                     -[SRTCameraViewController takePicture] (in myapp)   (SRTCameraViewController.m:1236)    23
6   CoreFoundation                   ___CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__    (in CoreFoundation) 19
7   CoreFoundation                   ____CFXRegistrationPost_block_invoke   (in CoreFoundation) 63
8   CoreFoundation                   __CFXRegistrationPost  (in CoreFoundation) 391
9   CoreFoundation                   ____CFXNotificationPost_block_invoke   (in CoreFoundation) 95
10  CoreFoundation                   -[_CFXNotificationRegistrar find:object:observer:enumerator:]  (in CoreFoundation) 1495
11  CoreFoundation                   __CFXNotificationPost  (in CoreFoundation) 695
12  Foundation                   -[NSNotificationCenter postNotificationName:object:userInfo:]  (in Foundation) 67
13  Celestial                    -[AVObjectRegistry safePostNotificationFromMainThreadTarget:name:userInfo:]    (in Celestial)  107
14  Celestial                    _figConnection_SystemVolumeDidChange_Callback  (in Celestial)  371
15  CoreFoundation                   ___CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__    (in CoreFoundation) 19
16  CoreFoundation                   ____CFXRegistrationPost_block_invoke   (in CoreFoundation) 63
17  CoreFoundation                   __CFXRegistrationPost  (in CoreFoundation) 391
18  CoreFoundation                   ____CFXNotificationPost_block_invoke   (in CoreFoundation) 95
19  CoreFoundation                   -[_CFXNotificationRegistrar find:object:observer:enumerator:]  (in CoreFoundation) 1495
20  CoreFoundation                   __CFXNotificationPost  (in CoreFoundation) 695
21  CoreFoundation                   _CFNotificationCenterPostNotificationWithOptions   (in CoreFoundation) 127
22  CoreMedia                    _CMNotificationCenterPostNotification  (in CoreMedia)  123
23  CoreMedia                    _fncCallOriginalCallbackAndReleaseWeakListener (in CoreMedia)  79
24  CoreMedia                    _fncHandleWeakNotification (in CoreMedia)  203
25  CoreFoundation                   ___CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__    (in CoreFoundation) 19
26  CoreFoundation                   ____CFXRegistrationPost_block_invoke   (in CoreFoundation) 63
27  CoreFoundation                   __CFXRegistrationPost  (in CoreFoundation) 391
28  CoreFoundation                   ____CFXNotificationPost_block_invoke   (in CoreFoundation) 95
29  CoreFoundation                   -[_CFXNotificationRegistrar find:object:observer:enumerator:]  (in CoreFoundation) 1495
30  CoreFoundation                   __CFXNotificationPost  (in CoreFoundation) 695
31  CoreFoundation                   _CFNotificationCenterPostNotificationWithOptions   (in CoreFoundation) 127
32  CoreMedia                    _CMNotificationCenterPostNotification  (in CoreMedia)  123
33  MediaToolbox                     ___fpr_deferPostNotificationToNotificationQueue_block_invoke   (in MediaToolbox)   35
34  libdispatch.dylib                    __dispatch_call_block_and_release  (in libdispatch.dylib)  23
35  libdispatch.dylib                    __dispatch_client_callout  (in libdispatch.dylib)  15
36  libdispatch.dylib                    __dispatch_main_queue_callback_4CF$VARIANT$mp  (in libdispatch.dylib)  1067
37  CoreFoundation                   ___CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__    (in CoreFoundation) 11
38  CoreFoundation                   ___CFRunLoopRun    (in CoreFoundation) 1923
39  CoreFoundation                   _CFRunLoopRunSpecific  (in CoreFoundation) 435
40  GraphicsServices                     _GSEventRunModal   (in GraphicsServices)   103
41  UIKitCore                    _UIApplicationMain (in UIKitCore)  211
42  myapp                     main   (in myapp)   (main.m:20) 31
43  libdyld.dylib                    _start (in libdyld.dylib)  3
Thread 0 name:  Dispatch queue: com.apple.main-thread
FreedomKing commented 2 years ago

您好,您的邮件我已经收到,我会尽快阅读,谢谢你的来信。