6 Replies
      Latest reply on Apr 24, 2019 2:05 AM by Universalis
      thewlstyle Level 1 Level 1 (0 points)

        Area:

        Contacts Framework

         

        Summary:

         

        iOS8  simulators in macOS 10.14.1 system crash caused by dyld loading error dynamic library,if app link Contacts framework with optional flag,it should load as weak framework,but in macOS 10.14.1 it load framework  which in /System/Library/Frameworks, this framework is not for simulators,and then  it crash. iOS9 simulators has the similar problem.

         

        crash log:

        
        
        Date/Time:             2019-01-07 13:30:17.829 +0800
        OS Version:            Mac OS X 10.14.1 (18B75)
        Report Version:        12
        Anonymous UUID:        A7204B31-10F8-4839-15E7-83AD669AE30D
        
        
        Sleep/Wake UUID:       3F71ED35-99AC-47D7-928B-4B26583C3915
        
        
        Time Awake Since Boot: 9300 seconds
        Time Since Wake:       3600 seconds
        
        
        System Integrity Protection: enabled
        
        
        Crashed Thread:        0
        
        
        Exception Type:        EXC_BREAKPOINT (SIGTRAP)
        Exception Codes:       0x0000000000000002, 0x0000000000000000
        Exception Note:        EXC_CORPSE_NOTIFY
        
        
        Termination Signal:    Trace/BPT trap: 5
        Termination Reason:    Namespace SIGNAL, Code 0x5
        Terminating Process:   exc handler [19673]
        
        
        Application Specific Information:
        dyld: launch, loading dependent libraries
        DYLD_SHARED_REGION=avoid
        DYLD_ROOT_PATH=/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 8.1.simruntime/Contents/Resources/RuntimeRoot
        DYLD_FALLBACK_FRAMEWORK_PATH=/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 8.1.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks
        DYLD_FALLBACK_LIBRARY_PATH=/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 8.1.simruntime/Contents/Resources/RuntimeRoot/usr/lib
        DYLD_FALLBACK_FRAMEWORK_PATH=/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 8.1.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks
        DYLD_FALLBACK_LIBRARY_PATH=/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 8.1.simruntime/Contents/Resources/RuntimeRoot/usr/lib
        
        
        Dyld Error Message:
          Library not loaded: /System/Library/PrivateFrameworks/ContactsPersistence.framework/Versions/A/ContactsPersistence
          Referenced from: /System/Library/Frameworks/Contacts.framework/Contacts
          Reason: no suitable image found.  Did find:
        /System/Library/PrivateFrameworks/ContactsPersistence.framework/Versions/A/ContactsPersistence: mach-o, but not built for iOS simulator
        
        
        Thread 0 Crashed:
        0   dyld_sim                      0x0000000118806001 dyld_fatal_error + 1
        1   dyld_sim                      0x00000001188084eb dyld::halt(char const*) + 77
        2   dyld_sim                      0x0000000118809e1d dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) + 2537
        3   dyld_sim                      0x000000011880627c start_sim + 136
        4   dyld                          0x000000011f9382c4 dyld::useSimulatorDyld(int, macho_header const*, char const*, int, char const**, char const**, char const**, unsigned long*, unsigned long*) + 2241
        5   dyld                          0x000000011f93614f dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) + 541
        6   dyld                          0x000000011f9314f6 dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) + 1154
        7   dyld                          0x000000011f931036 _dyld_start + 54
        
        
        Thread 0 crashed with X86 Thread State (64-bit):
          rax: 0x000000011f9af000  rbx: 0x0000000118848778  rcx: 0x0000000118848770  rdx: 0x0000000118860160
          rdi: 0x0000000118860160  rsi: 0x0000000000000001  rbp: 0x00007ffee086e860  rsp: 0x00007ffee086e848
           r8: 0x0000000000000170   r9: 0xfffffffffffffe90  r10: 0x0000000118860158  r11: 0x0000000118848778
          r12: 0x0000000000000002  r13: 0x00007ffee0871688  r14: 0x0000000118860160  r15: 0x0000000000000002
          rip: 0x0000000118806001  rfl: 0x0000000000000202  cr2: 0x000000011f971000
          
        Logical CPU:     3
        Error Code:      0x00000000
        Trap Number:     3
        
        
        
        
        Binary Images:
               0x118805000 -        0x11882961f +dyld_sim (353.5)  /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 8.1.simruntime/Contents/Resources/RuntimeRoot/usr/lib/dyld_sim
               0x11f930000 -        0x11f9ae6a7  dyld (635.2) <1780094A-8FE2-3EAA-B4A3-C4CF14BC5196> /usr/lib/dyld
        
        
        External Modification Summary:
          Calls made by other processes targeting this process:
            task_for_pid: 0
            thread_create: 0
            thread_set_state: 0
          Calls made by this process:
            task_for_pid: 0
            thread_create: 0
            thread_set_state: 0
          Calls made by all processes on this machine:
            task_for_pid: 17450
            thread_create: 0
            thread_set_state: 6339
        
        
        VM Region Summary:
        ReadOnly portion of Libraries: Total=872K resident=0K(0%) swapped_out_or_unallocated=872K(100%)
        Writable regions: Total=8616K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8616K(100%)
        
                                        VIRTUAL   REGION 
        REGION TYPE                        SIZE    COUNT (non-coalesced) 
        ===========                     =======  ======= 
        STACK GUARD                       56.0M        2 
        Stack                             8192K        2 
        __DATA                             448K        5 
        __LINKEDIT                         220K        4 
        __TEXT                             656K        3 
        shared memory                        8K        3 
        ===========                     =======  ======= 
        TOTAL                             65.3M       13