1 Reply
      Latest reply on Jan 7, 2019 3:03 AM by eskimo
      SanojBlue Level 1 Level 1 (0 points)

        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
        • Re: Crashed <compiler-generated> line 0
          eskimo Apple Staff Apple Staff (10,445 points)

          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"