userleap / analytics-swift-sprig Goto Github PK
View Code? Open in Web Editor NEWThe Sprig analytics-swift integration.
License: Other
The Sprig analytics-swift integration.
License: Other
Getting some random crashes for the Segement-Sprig library which we aren't able to recreate on our end. We've setup Sprig as per the guide in the Github Repo.
Sharing the stack trace here.
# Crashlytics - Stack trace
# Application: com.mindvalley.mvacademy
# Platform: apple
# Version: 8.4.5 (480)
# Issue: ce9b5b5831dc1fec489d5de509d0b31e
# Session: 6fde20bc94b043528d3d0ef5c32ebaaa_DNE_0_v2
# Date: Mon Oct 02 2023 03:04:18 GMT+0800 (Malaysia Time)
com.apple.main-thread
0 libsystem_kernel.dylib 0xca4 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x13b74 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x13e4c mach_msg_overwrite + 540
3 libsystem_kernel.dylib 0x11e8 mach_msg + 24
4 CoreFoundation 0x79024 __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x7a250 __CFRunLoopRun + 1208
6 CoreFoundation 0x7f3ec CFRunLoopRunSpecific + 612
7 GraphicsServices 0x135c GSEventRunModal + 164
8 UIKitCore 0x39cf58 -[UIApplication _run] + 888
9 UIKitCore 0x39cbbc UIApplicationMain + 340
10 Mindvalley 0xac94 main + 20 (AppDelegate.swift:20)
11 ??? 0x1a8d54dec (Missing)
Thread
0 libsystem_kernel.dylib 0x11ac __workq_kernreturn + 8
1 libsystem_pthread.dylib 0xe28 _pthread_wqthread + 364
2 libsystem_pthread.dylib 0xb7c start_wqthread + 8
Thread
0 libsystem_kernel.dylib 0x11ac __workq_kernreturn + 8
1 libsystem_pthread.dylib 0xe28 _pthread_wqthread + 364
2 libsystem_pthread.dylib 0xb7c start_wqthread + 8
com.apple.uikit.eventfetch-thread
0 libsystem_kernel.dylib 0xca4 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x13b74 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x13e4c mach_msg_overwrite + 540
3 libsystem_kernel.dylib 0x11e8 mach_msg + 24
4 CoreFoundation 0x79024 __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x7a250 __CFRunLoopRun + 1208
6 CoreFoundation 0x7f3ec CFRunLoopRunSpecific + 612
7 Foundation 0x41fb4 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
8 Foundation 0x41e9c -[NSRunLoop(NSRunLoop) runUntilDate:] + 64
9 UIKitCore 0x4cfcc8 -[UIEventFetcher threadMain] + 416
10 Foundation 0x5b524 __NSThread__start__ + 716
11 libsystem_pthread.dylib 0x16b8 _pthread_start + 148
12 libsystem_pthread.dylib 0xb88 thread_start + 8
Thread
0 libsystem_kernel.dylib 0x11ac __workq_kernreturn + 8
1 libsystem_pthread.dylib 0xe28 _pthread_wqthread + 364
2 libsystem_pthread.dylib 0xb7c start_wqthread + 8
APMIdentityWorkerQueue
0 libsystem_kernel.dylib 0x17dc __ulock_wait + 8
1 libdispatch.dylib 0x489c _dlock_wait + 56
2 libdispatch.dylib 0x4598 _dispatch_wait_on_address + 140
3 libdispatch.dylib 0x4c4c _dispatch_group_wait_slow + 56
4 libdispatch.dylib 0x7e38 dispatch_block_wait + 284
5 Mindvalley 0x27267c8 -[APMDefaultIdentitySupport resettableDeviceID] + 7247800
6 Mindvalley 0x27266b0 -[APMDefaultIdentitySupport limitedAdTracking] + 7247520
7 Mindvalley 0x273af58 __32-[APMIdentity updateIdentifiers]_block_invoke + 7331656
8 libdispatch.dylib 0x2320 _dispatch_call_block_and_release + 32
9 libdispatch.dylib 0x3eac _dispatch_client_callout + 20
10 libdispatch.dylib 0xb534 _dispatch_lane_serial_drain + 668
11 libdispatch.dylib 0xc0a4 _dispatch_lane_invoke + 384
12 libdispatch.dylib 0x16cdc _dispatch_workloop_worker_thread + 648
13 libsystem_pthread.dylib 0xddc _pthread_wqthread + 288
14 libsystem_pthread.dylib 0xb7c start_wqthread + 8
Thread
0 libsystem_pthread.dylib 0xb74 start_wqthread + 254
APMDefaultIdentitySupport
0 ??? 0x1a8d412f4 (Missing)
1 ??? 0x1a8d40948 (Missing)
2 ??? 0x1a8d4081c (Missing)
3 libobjc.A.dylib 0xa864 __sel_registerName(char const*, bool, bool) + 48
4 Foundation 0x29bdc NSSelectorFromString + 156
5 Mindvalley 0x2702190 -[APMPlatformIdentitySupport resettableDeviceID] + 7098752
6 Mindvalley 0x272685c __47-[APMDefaultIdentitySupport resettableDeviceID]_block_invoke + 7247948
7 libdispatch.dylib 0x12fc4 _dispatch_block_async_invoke2 + 148
8 libdispatch.dylib 0x3eac _dispatch_client_callout + 20
9 libdispatch.dylib 0xb534 _dispatch_lane_serial_drain + 668
10 libdispatch.dylib 0xc0a4 _dispatch_lane_invoke + 384
11 libdispatch.dylib 0x16cdc _dispatch_workloop_worker_thread + 648
12 libsystem_pthread.dylib 0xddc _pthread_wqthread + 288
13 libsystem_pthread.dylib 0xb7c start_wqthread + 8
com.google.fira.worker
0 libsystem_kernel.dylib 0x73b4 __guarded_open_dprotected_np + 8
1 libsystem_kernel.dylib 0x8398 guarded_open_dprotected_np + 36
2 libsqlite3.dylib 0x8dcc0 sqlite3_sourceid + 6232
3 libsqlite3.dylib 0x5dc4 sqlite3_snprintf + 3116
4 libsqlite3.dylib 0x47b08 sqlite3_free_table + 28664
5 libsqlite3.dylib 0xa4cf0 sqlite3_sourceid + 100488
6 libsqlite3.dylib 0xa48f8 sqlite3_sourceid + 99472
7 libsqlite3.dylib 0x32988 sqlite3_step + 30636
8 libsqlite3.dylib 0x2b5b4 sqlite3_step + 984
9 Mindvalley 0x27aa954 -[APMSqliteStore executeSQLStatement:error:] + 7788868
10 Mindvalley 0x27a9034 -[APMSqliteStore updateRecord:inTableWithName:columnName:columnValue:error:] + 7782436
11 Mindvalley 0x27244d0 -[APMDatabase updateDataType:inTableWithName:columnName:columnValue:error:] + 7238848
12 Mindvalley 0x27193b0 -[APMDatabase updateDailyCounts:error:] + 7193504
13 Mindvalley 0x2759134 __57-[APMMeasurement(Event) writeFilteredEventOnWorkerQueue:]_block_invoke + 7455012
14 Mindvalley 0x27aa178 -[APMSqliteStore performTransactionWithError:block:] + 7786856
15 Mindvalley 0x2718460 -[APMDatabase performTransaction:] + 7189584
16 Mindvalley 0x2758fd8 -[APMMeasurement(Event) writeFilteredEventOnWorkerQueue:] + 7454664
17 Mindvalley 0x2758c20 -[APMMeasurement(Event) writeEventOnWorkerQueue:] + 7453712
18 Mindvalley 0x275850c -[APMMeasurement(Event) handleEventOnWorkerQueue:] + 7451900
19 Mindvalley 0x274c5f8 -[APMMeasurement logEventOnWorkerQueue:notifyEventListeners:] + 7402984
20 Mindvalley 0x274c5a8 -[APMMeasurement logEventOnWorkerQueueWithOrigin:isPublicEvent:name:parameters:timestamp:enabled:ignoreEnabled:ignoreInterceptor:interceptor:addedScreenParameters:] + 7402904
21 Mindvalley 0x274c23c __151-[APMMeasurement logEventWithOrigin:isPublicEvent:name:parameters:timestamp:enabled:ignoreEnabled:ignoreInterceptor:interceptor:addedScreenParameters:]_block_invoke + 7402028
22 Mindvalley 0x279f5bc __51-[APMScheduler scheduleOnWorkerQueueBlockID:block:]_block_invoke + 7742892
23 libdispatch.dylib 0x2320 _dispatch_call_block_and_release + 32
24 libdispatch.dylib 0x3eac _dispatch_client_callout + 20
25 libdispatch.dylib 0xb534 _dispatch_lane_serial_drain + 668
26 libdispatch.dylib 0xc0a4 _dispatch_lane_invoke + 384
27 libdispatch.dylib 0x16cdc _dispatch_workloop_worker_thread + 648
28 libsystem_pthread.dylib 0xddc _pthread_wqthread + 288
29 libsystem_pthread.dylib 0xb7c start_wqthread + 8
Crashed: com.apple.root.background-qos
0 UserLeapKit 0x1168c $s11UserLeapKit18SprigWebControllerC11mobileTrack9eventName6userId016partnerAnonymousL010properties08callbackL0ySS_SSSgAJSDySSypGSgSStF + 284
1 UserLeapKit 0x119cc $s11UserLeapKit18SprigWebControllerC11mobileTrack9eventName6userId016partnerAnonymousL010properties08callbackL0ySS_SSSgAJSDySSypGSgSStFTo + 240
2 UserLeapKit 0x15060 $s11UserLeapKit0aB0C5track7payloadyAA12EventPayloadC_tF + 900
3 UserLeapKit 0x150b4 $s11UserLeapKit0aB0C5track7payloadyAA12EventPayloadC_tFTo + 44
4 UserLeapKit 0x14b60 $s11UserLeapKit0aB0C5track9eventName6userId016partnerAnonymousH010properties7handlerySS_SSSgAJSDySSypGSgyAA11SurveyStateOcSgtF + 176
5 UserLeapKit 0x14c90 $s11UserLeapKit0aB0C5track9eventName6userId016partnerAnonymousH010properties7handlerySS_SSSgAJSDySSypGSgyAA11SurveyStateOcSgtFTo + 268
6 Mindvalley 0x26fd3ec specialized SprigDestination.track(event:) + 49 (SprigDestination.swift:49)
7 Mindvalley 0x26fb4a0 protocol witness for EventPlugin.track(event:) in conformance SprigDestination + 7070864 (<compiler-generated>:7070864)
8 Mindvalley 0x1b59614 DestinationPlugin.process<A>(incomingEvent:) + 257 (Timeline.swift:257)
9 Mindvalley 0x1b5ac60 DestinationPlugin.execute<A>(event:) + 220 (Timeline.swift:220)
10 Mindvalley 0x1b1d1f4 specialized Timeline.applyPlugins<A>(type:event:) + 78 (Timeline.swift:78)
11 Mindvalley 0x1b23fb8 specialized Analytics.process<A>(incomingEvent:) + 37 (Timeline.swift:37)
12 Mindvalley 0x1b2a130 Analytics.track(name:properties:) + 155 (Events.swift:155)
13 Mindvalley 0x13b44c4 closure #1 in static AwesomeTracking.trackV2(_:with:) + 77 (SegmentHelper.swift:77)
14 Mindvalley 0xb889b4 thunk for @escaping @callee_guaranteed () -> () + 4308224436 (<compiler-generated>:4308224436)
15 libdispatch.dylib 0x2320 _dispatch_call_block_and_release + 32
16 libdispatch.dylib 0x3eac _dispatch_client_callout + 20
17 libdispatch.dylib 0x15a64 _dispatch_root_queue_drain + 684
18 libdispatch.dylib 0x16158 _dispatch_worker_thread2 + 164
19 libsystem_pthread.dylib 0xda0 _pthread_wqthread + 228
20 libsystem_pthread.dylib 0xb7c start_wqthread + 8
com.google.firebase.crashlytics.MachExceptionServer
0 libsystem_kernel.dylib 0xca4 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x13b74 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x13e4c mach_msg_overwrite + 540
3 libsystem_kernel.dylib 0x11e8 mach_msg + 24
4 Mindvalley 0x26d99fc FIRCLSMachExceptionServer + 192 (FIRCLSMachException.c:192)
5 libsystem_pthread.dylib 0x16b8 _pthread_start + 148
6 libsystem_pthread.dylib 0xb88 thread_start + 8
com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0xca4 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x13b74 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x13e4c mach_msg_overwrite + 540
3 libsystem_kernel.dylib 0x11e8 mach_msg + 24
4 CoreFoundation 0x79024 __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x7a250 __CFRunLoopRun + 1208
6 CoreFoundation 0x7f3ec CFRunLoopRunSpecific + 612
7 CFNetwork 0x2586f0 _CFURLStorageSessionDisableCache + 60900
8 Foundation 0x5b524 __NSThread__start__ + 716
9 libsystem_pthread.dylib 0x16b8 _pthread_start + 148
10 libsystem_pthread.dylib 0xb88 thread_start + 8
Thread
0 libsystem_kernel.dylib 0x1164 __semwait_signal + 8
1 libsystem_c.dylib 0x5888 nanosleep + 220
2 libsystem_c.dylib 0x16b1c sleep + 52
3 Mindvalley 0x2041bd0 monitorCachedData + 144 (SentryCrashCachedData.c:144)
4 libsystem_pthread.dylib 0x16b8 _pthread_start + 148
5 libsystem_pthread.dylib 0xb88 thread_start + 8
SentryCrash Exception Handler (Secondary)
0 libsystem_kernel.dylib 0xca4 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x13b74 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x13e4c mach_msg_overwrite + 540
3 libsystem_kernel.dylib 0x11e8 mach_msg + 24
4 Mindvalley 0x203d8e8 handleExceptions + 268 (SentryCrashMonitor_MachException.c:268)
5 libsystem_pthread.dylib 0x16b8 _pthread_start + 148
6 libsystem_pthread.dylib 0xb88 thread_start + 8
io.sentry.app-hang-tracker
0 libsystem_kernel.dylib 0x1164 __semwait_signal + 8
1 libsystem_c.dylib 0x5888 nanosleep + 220
2 Foundation 0xb27ac +[NSThread sleepForTimeInterval:] + 160
3 Mindvalley 0x1ff6fa8 -[SentryANRTracker detectANRs] + 63 (SentryANRTracker.m:63)
4 Foundation 0x5b524 __NSThread__start__ + 716
5 libsystem_pthread.dylib 0x16b8 _pthread_start + 148
6 libsystem_pthread.dylib 0xb88 thread_start + 8
JavaScriptCore libpas scavenger
0 libsystem_kernel.dylib 0x1578 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x8078 _pthread_cond_wait + 1232
2 JavaScriptCore 0x113cc4 scavenger_thread_main + 1428
3 libsystem_pthread.dylib 0x16b8 _pthread_start + 148
4 libsystem_pthread.dylib 0xb88 thread_start + 8
com.squareup.SocketRocket.NetworkThread
0 libsystem_kernel.dylib 0xca4 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x13b74 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x13e4c mach_msg_overwrite + 540
3 libsystem_kernel.dylib 0x11e8 mach_msg + 24
4 CoreFoundation 0x79024 __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x7a250 __CFRunLoopRun + 1208
6 CoreFoundation 0x7f3ec CFRunLoopRunSpecific + 612
7 Foundation 0x41fb4 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
8 Mindvalley 0x1aef774 -[_FSRRunLoopThread main] + 1870 (FSRWebSocket.m:1870)
9 Foundation 0x5b524 __NSThread__start__ + 716
10 libsystem_pthread.dylib 0x16b8 _pthread_start + 148
11 libsystem_pthread.dylib 0xb88 thread_start + 8
com.apple.root.background-qos
0 CFNetwork 0x2cb14 _CFNetworkErrorCopyLocalizedDescriptionWithHostname + 1164
1 CFNetwork 0x50f28 _CFHTTPCookieStorageGetDefault + 4284
2 CFNetwork 0x3e49c _CFNetworkCopyATSContext + 56
3 CFNetwork 0x25fcc CFURLRequestSetRequestPriority + 9916
4 Mindvalley 0x1b4906c SegmentDestination.flush() + 64 (HTTPClient.swift:64)
5 Mindvalley 0x1b24680 specialized Analytics.process<A>(incomingEvent:) + 206 (Analytics.swift:206)
6 Mindvalley 0x1b2a130 Analytics.track(name:properties:) + 155 (Events.swift:155)
7 Mindvalley 0x13b44c4 closure #1 in static AwesomeTracking.trackV2(_:with:) + 77 (SegmentHelper.swift:77)
8 Mindvalley 0xb889b4 thunk for @escaping @callee_guaranteed () -> () + 4308224436 (<compiler-generated>:4308224436)
9 libdispatch.dylib 0x2320 _dispatch_call_block_and_release + 32
10 libdispatch.dylib 0x3eac _dispatch_client_callout + 20
11 libdispatch.dylib 0x15a64 _dispatch_root_queue_drain + 684
12 libdispatch.dylib 0x16158 _dispatch_worker_thread2 + 164
13 libsystem_pthread.dylib 0xda0 _pthread_wqthread + 228
14 libsystem_pthread.dylib 0xb7c start_wqthread + 8
com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x1808 select$DARWIN_EXTSN + 8
1 libsystem_kernel.dylib 0x1808 __select + 8
2 CoreFoundation 0xc899c __CFSocketManager + 636
3 libsystem_pthread.dylib 0x16b8 _pthread_start + 148
4 libsystem_pthread.dylib 0xb88 thread_start + 8
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.