Closed WYZEYaolongZhu closed 2 weeks ago
Hi Yaolong Zhu,
Thank you for raising this issue. Our team is currently investigating it and will work to resolve it as soon as possible.
Hi Yaolong Zhu,
You’ve already shared the issue stack trace. Please provide the following additional details, as they will be very helpful in resolving the issue.
@SKannaniOS
@WYZEYaolongZhu
Please confirm if you have encountered 3000+ instances of the same crash within the last 30 days.
@SKannaniOS yes
@WYZEYaolongZhu
@SKannaniOS
Crash info :
rashed: com.rudder.RSCloudModeManager 0 libsystem_malloc.dylib 0x4dc0 _xzm_xzone_malloc_tiny_outlined + 1280 1 libsqlite3.dylib 0x2ff8 sqlite3_config + 1572 2 libsqlite3.dylib 0x8ffcc sqlite3_sourceid + 2432 3 libsqlite3.dylib 0x14b78 sqlite3_exec + 50464 4 libsqlite3.dylib 0x14994 sqlite3_exec + 49980 5 libsqlite3.dylib 0xa814 sqlite3_exec + 8636 6 libsqlite3.dylib 0x98b8 sqlite3_exec + 4704 7 libsqlite3.dylib 0x8f64 sqlite3_exec + 2316 8 libsqlite3.dylib 0x8c30 sqlite3_exec + 1496 9 Rudder 0xeb08 -[RSDBPersistentManager getEventsFromDB:] + 224 10 Rudder 0xe920 -[RSDBPersistentManager fetchEventsFromDB:ForMode:] + 192 11 Rudder 0x7e38 __45-[RSCloudModeManager startCloudModeProcessor]_block_invoke + 244 12 libdispatch.dylib 0x2370 _dispatch_call_block_and_release + 32 13 libdispatch.dylib 0x40d0 _dispatch_client_callout + 20 14 libdispatch.dylib 0xb6d8 _dispatch_lane_serial_drain + 744 15 libdispatch.dylib 0xc1e0 _dispatch_lane_invoke + 380 16 libdispatch.dylib 0x17258 _dispatch_root_queue_drain_deferred_wlh + 288 17 libdispatch.dylib 0x16aa4 _dispatch_workloop_worker_thread + 540 18 libsystem_pthread.dylib 0x4c7c _pthread_wqthread + 288 19 libsystem_pthread.dylib 0x1488 start_wqthread + 8
Ruder SDK initialization let builder: RSConfigBuilder = RSConfigBuilder() .withDataPlaneUrl("xxxx") if debug == true { builder.withDebug(debug) } builder.withTrackLifecycleEvens(false) builder.withFactory(RudderBrazeFactory.instance()) RSClient.getInstance("xxx", config: builder.build())
Braze SDK initialization RSClient.sharedInstance()?.onIntegrationReady(RudderBrazeFactory.instance(), withCallback: { brazeInstance in ...
XXBrazeManager.shared.setupBraze(brazeInstance)
...
})
@WYZEYaolongZhu
Thank you for sharing the information. Our team has prioritized this issue. Kindly provide the crash file (.crash file) to help us track it more effectively.
@WYZEYaolongZhu
First, thank you for bringing the issue to our attention and providing valuable input along with the crash file. Based on that, we’ve released a fix in version 1.29.1, now available via both CocoaPods and SPM. Please give it a try; we’re confident this version resolves the crash.
@SKannaniOS I have tried using version 1.29.1, but still had the same issue
Crashed: com.rudder.RSCloudModeManager 0 libsystem_malloc.dylib 0x4dd4 _xzm_xzone_malloc_tiny_outlined + 1280 1 libsqlite3.dylib 0x2ff8 sqlite3_config + 1572 2 libsqlite3.dylib 0x19ee8 sqlite3_log + 1928 3 libsqlite3.dylib 0x9b354 sqlite3_sourceid + 48392 4 libsqlite3.dylib 0x9c8f4 sqlite3_sourceid + 53928 5 libsqlite3.dylib 0x2c8b0 sqlite3_step + 5416 6 libsqlite3.dylib 0x2b748 sqlite3_step + 960 7 Rudder 0xecd0 -[RSDBPersistentManager getEventsFromDB:] + 480 8 Rudder 0xe9e8 -[RSDBPersistentManager fetchEventsFromDB:ForMode:] + 192 9 Rudder 0x7e54 __45-[RSCloudModeManager startCloudModeProcessor]_block_invoke + 272 10 libdispatch.dylib 0x2370 _dispatch_call_block_and_release + 32 11 libdispatch.dylib 0x40d0 _dispatch_client_callout + 20 12 libdispatch.dylib 0xb6d8 _dispatch_lane_serial_drain + 744 13 libdispatch.dylib 0xc1e0 _dispatch_lane_invoke + 380 14 libdispatch.dylib 0x17258 _dispatch_root_queue_drain_deferred_wlh + 288 15 libdispatch.dylib 0x16aa4 _dispatch_workloop_worker_thread + 540 16 libsystem_pthread.dylib 0x4c7c _pthread_wqthread + 288 17 libsystem_pthread.dylib 0x1488 start_wqthread + 8
@WYZEYaolongZhu Hi, we’ve released version 1.29.2-beta with a fix on Cocoapods. We encourage you to give it a try, as we’re confident this update addresses the crash issue.
@WYZEYaolongZhu I hope the beta release has addressed the crashes. I would appreciate any updates.
Since we’ve released a fix for this issue in the version below, we are closing the issue.
Describe the bug
s.dependency 'Rudder', '~> 1.25'
There were few crashes before iOS 18, but a large number of crashes appeared after iOS 18.
0 libsystem_malloc.dylib 0x4dc0 _xzm_xzone_malloc_tiny_outlined + 1280 1 libsqlite3.dylib 0x2ff8 sqlite3_config + 1572 2 libsqlite3.dylib 0x19ee8 sqlite3_log + 1928 3 libsqlite3.dylib 0x9b354 sqlite3_sourceid + 48392 4 libsqlite3.dylib 0x9c8f4 sqlite3_sourceid + 53928 5 libsqlite3.dylib 0x2c8b0 sqlite3_step + 5416 6 libsqlite3.dylib 0x2b748 sqlite3_step + 960 7 Rudder 0xebd4 -[RSDBPersistentManager getEventsFromDB:] + 428 8 Rudder 0xe920 -[RSDBPersistentManager fetchEventsFromDB:ForMode:] + 192 9 Rudder 0x7e38 __45-[RSCloudModeManager startCloudModeProcessor]_block_invoke + 244 10 libdispatch.dylib 0x2370 _dispatch_call_block_and_release + 32 11 libdispatch.dylib 0x40d0 _dispatch_client_callout + 20 12 libdispatch.dylib 0xb6d8 _dispatch_lane_serial_drain + 744 13 libdispatch.dylib 0xc1e0 _dispatch_lane_invoke + 380 14 libdispatch.dylib 0x17258 _dispatch_root_queue_drain_deferred_wlh + 288 15 libdispatch.dylib 0x16aa4 _dispatch_workloop_worker_thread + 540 16 libsystem_pthread.dylib 0x4c7c _pthread_wqthread + 288 17 libsystem_pthread.dylib 0x1488 start_wqthread + 8