iOS 9.2 MDM Segmentation fault on ManagedApplicationList

After upgrading to iOS 9.2 com.apple.managedconfiguration.mdmd crashed


Dec 14 16:16:28 none-ipad2-dev mdmd[863] <Notice>: (Note ) MDM: Attempting to perform MDM request: ManagedApplicationList
Dec 14 16:16:28 none-ipad2-dev mdmd[863] <Notice>: (Note ) MDM: Handling request type: ManagedApplicationList
Dec 14 16:16:28 none-ipad2-dev com.apple.xpc.launchd[1] (com.apple.managedconfiguration.mdmd[863]) <Notice>: Service exited due to signal: Segmentation fault: 11
Dec 14 16:16:28 none-ipad2-dev ReportCrash[864] <Error>: assertion failed: 13C75: libsystem_trace.dylib + 15927 [0AE31C11-AAE7-301F-9B1B-143B1A2C764C]: 0x0
Dec 14 16:16:28 none-ipad2-dev Unknown[864] <Error>:
Dec 14 16:16:28 none-ipad2-dev ReportCrash[864] <Warning>: os_activity_diagnostic_for_pid() failed!
Dec 14 16:16:28 none-ipad2-dev ReportCrash[864] <Notice>: Formulating report for corpse[863] mdmd
Dec 14 16:16:28 none-ipad2-dev ReportCrash[864] <Warning>: report not saved because the limit of 25 for 109_mdmd logs has been reached.
Dec 14 16:16:28 none-ipad2-dev ReportCrash[864] <Error>: Notice: This report is abbreviated for syslog inclusion because it could not be saved to disk.
    Symbolication may be possible by manually cleaning up and including the Binary Image section of a full report from this same device -- good luck!
Dec 14 16:16:28 none-ipad2-dev ReportCrash[864] <Error>: Process:             mdmd [863]
    Path:                /System/Library/PrivateFrameworks/ManagedConfiguration.framework/Support/mdmd
    OS Version:          iOS 9.2 (13C75)
Dec 14 16:16:28 none-ipad2-dev ReportCrash[864] <Error>: Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Subtype: KERN_INVALID_ADDRESS at 0x00000000
    Triggered by Thread:  0
Dec 14 16:16:28 none-ipad2-dev ReportCrash[864] <Error>: Thread 0 name:  Dispatch queue: com.apple.main-thread
    Thread 0 Crashed:
    0   CoreFoundation                    0x25c5e7d6 0x25c54000 + 42966
    1   CoreFoundation                    0x25d27406 0x25c54000 + 865286
    2   CoreFoundation                    0x25c844ae 0x25c54000 + 197806
    3   libmis.dylib                      0x28100b12 0x280fe000 + 11026
    4   libmis.dylib                      0x2810110e 0x280fe000 + 12558
    5   libmis.dylib                      0x28101f8e 0x280fe000 + 16270
    6   MDM                               0x36b2c2f6 0x36b1c000 + 66294
    7   MDM                               0x36b2c2a2 0x36b1c000 + 66210
    8   MDM                               0x36b37108 0x36b1c000 + 110856
    9   MDM                               0x36b2e1f8 0x36b1c000 + 74232
    10  MDM                               0x36b2d8b2 0x36b1c000 + 71858
    11  mdmd                              0x000521ce 0x45000 + 53710
    12  mdmd                              0x000515cc 0x45000 + 50636
    13  libdispatch.dylib                 0x258c1b5a 0x258bf000 + 11098
    14  libdispatch.dylib                 0x258c1b46 0x258bf000 + 11078
    15  libdispatch.dylib                 0x258cfee0 0x258bf000 + 69344
    16  CoreFoundation                    0x25d0b3fc 0x25c54000 + 750588
    17  CoreFoundation                    0x25d098f6 0x25c54000 + 743670
    18  CoreFoundation                    0x25c5cbf8 0x25c54000 + 35832
    19  CoreFoundation                    0x25c5c9e4 0x25c54000 + 35300
    20  Foundation                        0x264903c4 0x26485000 + 46020
    21  mdmd                              0x0004a64a 0x45000 + 22090
    22  libdyld.dylib                     0x2590b872 0x25909000 + 10354
Dec 14 16:16:28 none-ipad2-dev ReportCrash[864] <Error>: Thread 1:
    0   libsystem_kernel.dylib            0x259dd88c 0x259c8000 + 88204
    1   libsystem_pthread.dylib           0x25a7fb34 0x25a7e000 + 6964
    2   libsystem_pthread.dylib           0x25a7f718 0x25a7e000 + 5912
Dec 14 16:16:28 none-ipad2-dev ReportCrash[864] <Error>: Thread 2:
    0   libsystem_kernel.dylib            0x259dd88c 0x259c8000 + 88204
    1   libsystem_pthread.dylib           0x25a7fb34 0x25a7e000 + 6964
    2   libsystem_pthread.dylib           0x25a7f718 0x25a7e000 + 5912
Dec 14 16:16:28 none-ipad2-dev ReportCrash[864] <Error>: Thread 3 name:  Dispatch queue: com.apple.libdispatch-manager
    Thread 3:
    0   libsystem_kernel.dylib            0x259de320 0x259c8000 + 90912
    1   libdispatch.dylib                 0x258d6098 0x258bf000 + 94360
    2   libdispatch.dylib                 0x258d5df6 0x258bf000 + 93686
Dec 14 16:16:28 none-ipad2-dev ReportCrash[864] <Error>: Thread 4:
    0   libsystem_kernel.dylib            0x259dd88c 0x259c8000 + 88204
    1   libsystem_pthread.dylib           0x25a7fb34 0x25a7e000 + 6964
    2   libsystem_pthread.dylib           0x25a7f718 0x25a7e000 + 5912
Dec 14 16:16:28 none-ipad2-dev ReportCrash[864] <Error>: Thread 5:
    0   libsystem_kernel.dylib            0x259dd88c 0x259c8000 + 88204
    1   libsystem_pthread.dylib           0x25a7fb34 0x25a7e000 + 6964
    2   libsystem_pthread.dylib           0x25a7f718 0x25a7e000 + 5912
Dec 14 16:16:28 none-ipad2-dev ReportCrash[864] <Error>: Thread 6:
    0   libsystem_kernel.dylib            0x259c8c24 0x259c8000 + 3108
    1   libsystem_kernel.dylib            0x259c8a28 0x259c8000 + 2600
    2   CoreFoundation                    0x25d0b354 0x25c54000 + 750420
    3   CoreFoundation                    0x25d096dc 0x25c54000 + 743132
    4   CoreFoundation                    0x25c5cbf8 0x25c54000 + 35832
    5   CoreFoundation                    0x25c5c9e4 0x25c54000 + 35300
    6   Foundation                        0x264903c4 0x26485000 + 46020
    7   Foundation                        0x264ad83a 0x26485000 + 165946
    8   ManagedConfiguration              0x281c59d4 0x28186000 + 260564
    9   Foundation                        0x26561164 0x26485000 + 901476
    10  libsystem_pthread.dylib           0x25a8185a 0x25a7e000 + 14426
    11  libsystem_pthread.dylib           0x25a817ce 0x25a7e000 + 14286
    12  libsystem_pthread.dylib           0x25a7f724 0x25a7e000 + 5924
Dec 14 16:16:28 none-ipad2-dev ReportCrash[864] <Error>: Thread 7 name:  com.apple.NSURLConnectionLoader
    Thread 7:
    0   libsystem_kernel.dylib            0x259c8c24 0x259c8000 + 3108
    1   libsystem_kernel.dylib            0x259c8a28 0x259c8000 + 2600
    2   CoreFoundation                    0x25d0b354 0x25c54000 + 750420
    3   CoreFoundation                    0x25d096dc 0x25c54000 + 743132
    4   CoreFoundation                    0x25c5cbf8 0x25c54000 + 35832
    5   CoreFoundation                    0x25c5c9e4 0x25c54000 + 35300
    6   CFNetwork                         0x2629f81e 0x26218000 + 555038
    7   Foundation                        0x26561164 0x26485000 + 901476
    8   libsystem_pthread.dylib           0x25a8185a 0x25a7e000 + 14426
    9   libsystem_pthread.dylib           0x25a817ce 0x25a7e000 + 14286
    10  libsystem_pthread.dylib           0x25a7f724 0x25a7e000 + 5924
Dec 14 16:16:28 none-ipad2-dev ReportCrash[864] <Error>: Thread 8:
    0   libsystem_kernel.dylib            0x259dd88c 0x259c8000 + 88204
    1   libsystem_pthread.dylib           0x25a7fb34 0x25a7e000 + 6964
    2   libsystem_pthread.dylib           0x25a7f718 0x25a7e000 + 5912
Dec 14 16:16:28 none-ipad2-dev ReportCrash[864] <Error>: Thread 9 name:  com.apple.CFSocket.private
    Thread 9:
    0   libsystem_kernel.dylib            0x259dcf14 0x259c8000 + 85780
    1   CoreFoundation                    0x25d107a2 0x25c54000 + 772002
    2   libsystem_pthread.dylib           0x25a8185a 0x25a7e000 + 14426
    3   libsystem_pthread.dylib           0x25a817ce 0x25a7e000 + 14286
    4   libsystem_pthread.dylib           0x25a7f724 0x25a7e000 + 5924
Dec 14 16:16:28 none-ipad2-dev ReportCrash[864] <Error>: Thread 0 crashed with ARM Thread State (32-bit):
        r0: 0x00000000    r1: 0x00000000      r2: 0x00000000      r3: 0x00000000
        r4: 0x00000000    r5: 0xcaeb0b44      r6: 0x00000000      r7: 0x001635e8
        r8: 0x00000000    r9: 0x00000000     r10: 0x00000000     r11: 0x00000000
        ip: 0x3997b27c    sp: 0x001635e0      lr: 0x25d27407      pc: 0x25c5e7d6
      cpsr: 0x60000030
Dec 14 16:16:28 none-ipad2-dev ReportCrash[864] <Error>: Error Formulating Crash Report:
    Failed while requesting activity/breadcrumb diagnostics
Dec 14 16:16:59 none-ipad2-dev SpringBoard[47] <Warning>: [MPUSystemMediaControls] Disabling lock screen media controls updates for screen turning off.
Dec 14 16:16:59 none-ipad2-dev backboardd[59] <Notice>: [HID] [MT] MTSimpleHIDManager::setPropertyInternal detection mode: 0->255
Dec 14 16:16:59 none-ipad2-dev Preferences[143] <Warning>:  ** -[UIApplication _handleNonLaunchSpecificActions:forScene:withTransitionContext:completion:] ** unhandled action -> <FBSSceneSnapshotAction: 0x14fdb230> {
        handler = remote;
        info = <BSSettings: 0x14e33810> {
            (1) = 5;
        };
    }


The problem detected only on a few devices, other works fine (same models).

Reset with content don't help


Anyone else has the same issue?

Replies

Probably same as this.

No, I haven't problems with installing apps (iTunes and inhouse)

I have the same issue on a all my managed 9.2 ios devices:


Thread 0 name: Dispatch queue: com.apple.main-thread

Thread 0 Crashed:

0 CoreFoundation 0x000000018433eebc CFStringGetLength + 20

1 CoreFoundation 0x0000000184433b24 _CFURLCreateWithFileSystemPath + 80

2 CoreFoundation 0x0000000184433b24 _CFURLCreateWithFileSystemPath + 80

3 libmis.dylib 0x0000000186d0b50c 0x186d08000 + 13580

4 libmis.dylib 0x0000000186d0bd4c 0x186d08000 + 15692

5 libmis.dylib 0x0000000186d0cf64 MISAppApprovalState + 204

6 MDM 0x0000000198412ee8 -[LSApplicationProxy(MCMISValidation) isMISAuthorized] + 80

7 MDM 0x0000000198412e7c +[LSApplicationProxy(MCMISValidation) applicationProxyIsMISAuthorizedForBundleID:] + 56

8 MDM 0x000000019841e9a0 -[MCMDMParser _managedApplicationList:] + 1540

9 MDM 0x0000000198414ebc -[MCMDMParser _processRequest:accessRights:assertion:completionBlock:] + 1260

10 MDM 0x0000000198414954 -[MCMDMParser processRequest:accessRights:assertion:completionBlock:] + 2752

11 mdmd 0x00000001000afad8 0x1000a4000 + 47832

12 mdmd 0x00000001000aedf8 0x1000a4000 + 44536

13 libdispatch.dylib 0x0000000183ead630 _dispatch_call_block_and_release + 24

14 libdispatch.dylib 0x0000000183ead5f0 _dispatch_client_callout + 16

15 libdispatch.dylib 0x0000000183eb2cf8 _dispatch_main_queue_callback_4CF + 1844

16 CoreFoundation 0x0000000184410bb0 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12

17 CoreFoundation 0x000000018440ea18 __CFRunLoopRun + 1628

18 CoreFoundation 0x000000018433d680 CFRunLoopRunSpecific + 384

19 Foundation 0x0000000184d3521c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 308

20 mdmd 0x00000001000a763c 0x1000a4000 + 13884

21 libdyld.dylib 0x0000000183ede8b8 start + 4


Dec 14 11:16:02 iPhone-6-Plus-Dell-test mdmd[791] <Notice>: (Note ) MDM: Attempting to perform MDM request: ManagedApplicationList

Dec 14 11:16:02 iPhone-6-Plus-Dell-test mdmd[791] <Notice>: (Note ) MC: Loaded SetupAssistant.framework

Dec 14 11:16:02 iPhone-6-Plus-Dell-test mdmd[791] <Notice>: (Note ) MC: Loaded FrontBoardServices.framework

Dec 14 11:16:02 iPhone-6-Plus-Dell-test mdmd[791] <Notice>: (Note ) MDM: Handling request type: ManagedApplicationList

Dec 14 11:16:02 iPhone-6-Plus-Dell-test com.apple.xpc.launchd[1] (com.apple.managedconfiguration.mdmd[791]) <Notice>: Service exited due to signal: Segmentation fault: 11

Dec 14 11:16:02 iPhone-6-Plus-Dell-test diagnosticd[86] <Error>: unable to find offset 0x83ed39a4 in shared cache for arch 'arm64'

Dec 14 11:16:02 iPhone-6-Plus-Dell-test ReportCrash[792] <Notice>: platform_thread_get_unique_id matched 173394

Dec 14 11:16:02 iPhone-6-Plus-Dell-test ReportCrash[792] <Notice>: Formulating report for corpse[791] mdmd

I am seeing this as well on our devices - even after doing a wipe and install clean. I've filed a bug report with Apple (#23884473)

FNSBSD please keep us in touch about bug report changes

Same here!


Some Devices already enrolled before 9.2 and fresh enrolled with 9.2 are affected but no all. Saw this problem with iPhones, IPads non supervised and supervised.


mdmd-service crash report:


...

Global Trace Buffer (reverse chronological seconds):

0.346490 CFNetwork 0x000000018199584c TCP Conn 0x124d20710 SSL Handshake DONE

0.499182 CFNetwork 0x000000018199575c TCP Conn 0x124d20710 starting SSL negotiation

0.499742 CFNetwork 0x0000000181a37104 TCP Conn 0x124d20710 complete. fd: 6, err: 0

0.501162 CFNetwork 0x0000000181a38630 TCP Conn 0x124d20710 event 1. err: 0

0.582783 CFNetwork 0x0000000181a38708 TCP Conn 0x124d20710 started

0.590219 CFNetwork 0x0000000181a8d8f8 Creating default cookie storage with process/bundle identifier

0.590219 CFNetwork 0x0000000181a8d888 Faulting in CFHTTPCookieStorage singleton

0.590219 CFNetwork 0x0000000181adf558 Faulting in NSHTTPCookieStorage singleton


Thread 0 name: Dispatch queue: com.apple.main-thread

Thread 0 Crashed:

0 CoreFoundation 0x00000001812a2ebc 0x181298000 + 44732

1 CoreFoundation 0x0000000181397b24 0x181298000 + 1047332

2 CoreFoundation 0x0000000181397b24 0x181298000 + 1047332

3 libmis.dylib 0x0000000183c6f50c 0x183c6c000 + 13580

4 libmis.dylib 0x0000000183c6fd4c 0x183c6c000 + 15692

5 libmis.dylib 0x0000000183c70f64 0x183c6c000 + 20324

6 MDM 0x00000001952daee8 0x1952c8000 + 77544

7 MDM 0x00000001952dae7c 0x1952c8000 + 77436

8 MDM 0x00000001952e69a0 0x1952c8000 + 125344

9 MDM 0x00000001952dcebc 0x1952c8000 + 85692

10 MDM 0x00000001952dc954 0x1952c8000 + 84308

11 mdmd 0x00000001000bfad8 0x1000b4000 + 47832

12 mdmd 0x00000001000bedf8 0x1000b4000 + 44536

13 libdispatch.dylib 0x0000000180e11630 0x180e10000 + 5680

14 libdispatch.dylib 0x0000000180e115f0 0x180e10000 + 5616

15 libdispatch.dylib 0x0000000180e16cf8 0x180e10000 + 27896

16 CoreFoundation 0x0000000181374bb0 0x181298000 + 904112

17 CoreFoundation 0x0000000181372a18 0x181298000 + 895512

18 CoreFoundation 0x00000001812a1680 0x181298000 + 38528

19 Foundation 0x0000000181c9921c 0x181c8c000 + 53788

20 mdmd 0x00000001000b763c 0x1000b4000 + 13884

21 libdyld.dylib 0x0000000180e428b8 0x180e40000 + 10424

...