Crashed <compiler-generated> line 0

I am getting the frequent crash and when I see the details it's on fabric below


10

Rooms


<compiler-generated> line 0
@objc SyncService.triggerSync()


11

Rooms


<compiler-generated> line 0
@objc WeakTimer.invoke()




I am using Xcode 10.1 Please let me know. Below is crash details downloaded from fabric: for crashed thread only


#0. Crashed: com.apple.main-thread
0  libswiftCore.dylib             0x1018361a4 specialized _assertionFailure(_:_:file:line:flags:) + 4236
1  libswiftCore.dylib             0x10169ddb8 _assertionFailure(_:_:file:line:flags:) + 135288
2  Swinject                       0x100fd11b4 __swift_noop_void_return + 11580
3  Swinject                       0x100fcecc0 __swift_noop_void_return + 2120
4  Swinject                       0x100fcef38 __swift_noop_void_return + 2752
5  Rooms                          0x100c95700 specialized BaseAPIasObservablesessionManager(_:_:) (ServicesAssembly.swift:492)
6  Rooms                          0x100c4efc8 $S7Cry7RoomAPIC03getB8Featuresy7RxSwift10ObservableCySayAA17FeatureInfoVGGSSF (RoomAPI.swift)
7  Rooms                          0x100cb4590 $S7Cry20FeatureManagerC18updateRoomFeaturesyySSF (FeatureManager.swift:96)
8  Rooms                          0x100bd88f8 SyncService.triggerRoomFeaturesSync() ()
9  Rooms                          0x100bd7d00 SyncService.triggerSync() (SyncService.swift:45)
10 Rooms                          0x100bd7d2c @objc SyncService.triggerSync() ()
11 Rooms                          0x100ce21f8 @objc WeakTimer.invoke() ()
12 Foundation                     0x194165488 __NSFireTimer + 84
13 CoreFoundation                 0x193641828 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 28
14 CoreFoundation                 0x193641558 __CFRunLoopDoTimer + 864
15 CoreFoundation                 0x193640d8c __CFRunLoopDoTimers + 248
16 CoreFoundation                 0x19363bc68 __CFRunLoopRun + 1880
17 CoreFoundation                 0x19363b1f0 CFRunLoopRunSpecific + 436
18 GraphicsServices               0x1958b4584 GSEventRunModal + 100
19 UIKitCore                      0x1c05874c0 UIApplicationMain + 212
20 Rooms                          0x100b664c0 main (AppDelegate.swift:16)
21 libdyld.dylib                  0x1930fabb4 start + 4

Replies

Is there a reason you think that frames 10 and 11 are relevant here? While I agree that it’s weird that you’ve not getting lines numbers for those frames, they seem to be behaving themselves otherwise. In contrast, frames 1 and 2 seem to be the source of the problem here. Frame 1 indicates that some sort of assert failed, and frame 2 is the code within Swinject that triggered the assert.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

@eskimo I am facing a crash with __swift_noop_void_return and unable to understand the crash.

Crashed: com.apple.main-thread
0  MoEngageMessaging              0x15df0 block_destroy_helper.30 + 26536
1  MoEngageMessaging              0xeb48 block_destroy_helper + 4692
2  MoEngageMessaging              0xcd00 __swift_noop_void_return + 12828
3  MoEngageMessaging              0x75c4 __swift_instantiateConcreteTypeFromMangledName + 1440
4  libdispatch.dylib              0x24b4 _dispatch_call_block_and_release + 32
5  libdispatch.dylib              0x3fdc _dispatch_client_callout + 20
6  libdispatch.dylib              0x127f4 _dispatch_main_queue_drain + 928
7  libdispatch.dylib              0x12444 _dispatch_main_queue_callback_4CF + 44
8  CoreFoundation                 0x9a6d8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
9  CoreFoundation                 0x7c03c __CFRunLoopRun + 2036
10 CoreFoundation                 0x80ec0 CFRunLoopRunSpecific + 612
11 GraphicsServices               0x1368 GSEventRunModal + 164
12 UIKitCore                      0x3a186c -[UIApplication _run] + 888
13 UIKitCore                      0x3a14d0 UIApplicationMain + 340
14 BliBliMobile                   0x10258 main + 21 (AppDelegate.swift:21)
15 ???                            0x1f4006960 (Missing)
Add a Comment