Closed ishch closed 2 years ago
Hi @ishch ,
thank you for detailed technical report.
We investigate it, however, as the crash reports could not be symbolificated (it is not possible to do locally for bitcode releases) it is not straightforward to find the crash causes.
In any case, we plan a maintenance release in few days, we try to fix whatever we are able to do till then, and include the necessary symbolification data for more verbal future crash reports.
Hi @ishch , Smartlook iOS SDK 1.8.2 has been released.
We attempted to address the issues there, but we cannot reproduce them and without full symbolification of the crash reports it is hard to find their causes. Thus, we also decided to add symbolification maps to the released SDK so the next crash reports will provide better information for us to debug the issues.
SDK 1.8.2
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x8000000000000010 -> 0x0000000000000010 (possible pointer authentication failure)
Exception Codes: 0x0000000000000001, 0x8000000000000010
VM Region Info: 0x10 is not in any region. Bytes before following region: 4298129392
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 100304000-100308000 [ 16K] r-x/r-x SM=COW ...app/****
Exception Note: EXC_CORPSE_NOTIFY
Terminating Process: exc handler [1029]
Triggered by Thread: 3
Thread 3 Crashed:
0 Smartlook 0x0000000101340dfc subscript.get + 0 (Smartlook+Event.swift:0)
1 Smartlook 0x0000000101340dfc specialized Smartlook.track<A>(event:) + 244
2 Smartlook 0x0000000101340df8 recordEvents.get + 36 (Smartlook+Event.swift:0)
3 Smartlook 0x0000000101340df8 specialized Smartlook.track<A>(event:) + 240
4 Smartlook 0x00000001012a0770 Smartlook.trackOrientation(use:) + 404 (Smartlook+RecordStartEvents.swift:21)
5 Smartlook 0x00000001012dcf28 setupStartRecordEvents + 28 (Smartlook+RecordStartEvents.swift:14)
6 Smartlook 0x00000001012dcf28 specialized static RecordEntity.startNew(for:in:using:at:) + 1044 (RecordEntity+CoreDataClass.swift:35)
7 Smartlook 0x00000001013245dc startNew + 20 (StartNewRecordOperation.swift:0)
8 Smartlook 0x00000001013245dc StartNewRecordOperation.perform(using:) + 196
9 Smartlook 0x00000001012e2bc4 closure #2 in CoreDataOperation.perform() + 76 (CoreDataOperation.swift:36)
10 Smartlook 0x00000001012f2024 thunk for @callee_guaranteed () -> () + 20 (<compiler-generated>:0)
11 Smartlook 0x00000001012f2044 thunk for @escaping @callee_guaranteed () -> () + 20 (<compiler-generated>:0)
12 CoreData 0x00000001884fc754 developerSubmittedBlockToNSManagedObjectContextPerform + 156 (NSManagedObjectContext.m:3942)
13 libdispatch.dylib 0x0000000180be3660 _dispatch_client_callout + 20 (object.m:560)
14 libdispatch.dylib 0x0000000180bf28b4 _dispatch_lane_barrier_sync_invoke_and_complete + 56 (queue.c:1016)
15 CoreData 0x00000001884fc9b4 -[NSManagedObjectContext performBlockAndWait:] + 264 (NSManagedObjectContext.m:4059)
16 Smartlook 0x00000001012e2ae4 CoreDataOperation.perform() + 628 (CoreDataOperation.swift:34)
17 Smartlook 0x0000000101281764 main + 36 (BaseOperation.swift:158)
18 Smartlook 0x0000000101281764 BaseOperation.start() + 160 (BaseOperation.swift:146)
19 Smartlook 0x00000001012817e4 @objc BaseOperation.start() + 28 (<compiler-generated>:0)
20 Foundation 0x0000000182749b18 __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__ + 24 (NSOperation.m:2220)
21 Foundation 0x0000000182757bb0 __NSOQSchedule_f + 184 (NSOperation.m:2231)
22 libdispatch.dylib 0x0000000180be1914 _dispatch_call_block_and_release + 32 (init.c:1517)
23 libdispatch.dylib 0x0000000180be3660 _dispatch_client_callout + 20 (object.m:560)
24 libdispatch.dylib 0x0000000180be6b34 _dispatch_continuation_pop + 504 (inline_internal.h:2601)
25 libdispatch.dylib 0x0000000180be6190 _dispatch_async_redirect_invoke + 596 (queue.c:823)
26 libdispatch.dylib 0x0000000180bf4dd0 _dispatch_root_queue_drain + 396 (inline_internal.h:0)
27 libdispatch.dylib 0x0000000180bf55f8 _dispatch_worker_thread2 + 164 (queue.c:6930)
28 libsystem_pthread.dylib 0x00000001f12120b8 _pthread_wqthread + 228 (pthread.c:2554)
29 libsystem_pthread.dylib 0x00000001f1211e94 start_wqthread + 8
Thanks a lot, @ishch ! Now we have much better idea what is the issue, fixing is in progress and we plan to release it in a week or so.
Hi @ishch , new 1.8.3 version of iOS SDK is released.
We addressed there all the issues you reported.
Thank you for your help with documenting and reporting them.
@ishch I hope all your issues are resolved. I'm closing this issue, but if you experience any issues feel free to reopen it.
Platform iOS
Technology Swift
Build instructions [optional] n/a
Rendering [optional] n/a
Affected devices [optional] n/a
Smartlook SDK version 1.8.1
Summary I integrated the SDK. Videos are being recorded but Crashlytics reports crashes related to Smartlool
Steps to reproduce [optional] n/a
Example Project [optional] n/a
Relevant logs and/or screenshots
1. Crashed: com.apple.main-thread EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000000
2. Fatal Exception: NSInternalInconsistencyException *** -[AVAssetWriterInput pixelBufferPool] A pixel buffer pool cannot be created with the receiver's sourcePixelBufferAttributes. The pixel buffer attributes must specify a width, height, and either a pixel format or a pixel format description.
3. Crashed: com.apple.main-thread EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000000