title: xcode8.1:invalid mode 'kCFRunLoopCommonModes' provided to CFRunLoopRunSpecific - break on _CFRunLoopError_RunCalledWithInvalidMode to debug
body: <p>I write the code below:</p>
  
  <pre><code>JSImgDeleteCollectionViewCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:displayCellID forIndexPath:indexPath];
  </code></pre>
  
  <p>and before use it,I registered it:</p>
  
  <pre><code>[_displayImgCollectionView registerNib:[UINib nibWithNibName:displayCellID bundle:nil] forCellWithReuseIdentifier:displayCellID];
  </code></pre>
  
  <p>it is allright in xcode7.3,
  but when I run this in xcode8.1,there is sth wrong,the msg like this:</p>
  
  <p>invalid mode 'kCFRunLoopCommonModes' provided to CFRunLoopRunSpecific - break on _CFRunLoopError_RunCalledWithInvalidMode to debug. This message will only appear once per execution.</p>
  
  <pre><code>libsystem_c.dylib`__abort:
      0x18ce163ec &lt;+0&gt;:   adrp   x8, 150192
      0x18ce163f0 &lt;+4&gt;:   add    x8, x8, #0                ; =0 
      0x18ce163f4 &lt;+8&gt;:   ldr    x9, [x8, #8]
      0x18ce163f8 &lt;+12&gt;:  cbnz   x9, 0x18ce16408           ; &lt;+28&gt;
      0x18ce163fc &lt;+16&gt;:  adrp   x9, 27
      0x18ce16400 &lt;+20&gt;:  add    x9, x9, #1393             ; =1393 
      0x18ce16404 &lt;+24&gt;:  str    x9, [x8, #8]
      0x18ce16408 &lt;+28&gt;:  stp    x20, x19, [sp, #-32]!
      0x18ce1640c &lt;+32&gt;:  stp    x29, x30, [sp, #16]
      0x18ce16410 &lt;+36&gt;:  add    x29, sp, #16              ; =16 
      0x18ce16414 &lt;+40&gt;:  sub    sp, sp, #32               ; =32 
      0x18ce16418 &lt;+44&gt;:  add    x8, sp, #16               ; =16 
      0x18ce1641c &lt;+48&gt;:  add    x19, x8, #8               ; =8 
      0x18ce16420 &lt;+52&gt;:  movn   w20, #0
      0x18ce16424 &lt;+56&gt;:  stp    xzr, x20, [sp, #16]
      0x18ce16428 &lt;+60&gt;:  orr    w0, wzr, #0x6
      0x18ce1642c &lt;+64&gt;:  add    x1, sp, #16               ; =16 
      0x18ce16430 &lt;+68&gt;:  movz   x2, #0
      0x18ce16434 &lt;+72&gt;:  bl     0x18cdc552c               ; sigaction
      0x18ce16438 &lt;+76&gt;:  ldr    w8, [sp, #24]
      0x18ce1643c &lt;+80&gt;:  and    w8, w8, #0xffffffdf
      0x18ce16440 &lt;+84&gt;:  str    w8, [sp, #24]
      0x18ce16444 &lt;+88&gt;:  str    w20, [sp, #12]
      0x18ce16448 &lt;+92&gt;:  orr    w0, wzr, #0x3
      0x18ce1644c &lt;+96&gt;:  add    x1, sp, #12               ; =12 
      0x18ce16450 &lt;+100&gt;: movz   x2, #0
      0x18ce16454 &lt;+104&gt;: bl     0x18ce2b814               ; symbol stub for: __printf_arginfo_n
      0x18ce16458 &lt;+108&gt;: orr    w0, wzr, #0x1
      0x18ce1645c &lt;+112&gt;: bl     0x18cf6a470               ; __pthread_workqueue_setkill
      0x18ce16460 &lt;+116&gt;: orr    w0, wzr, #0x3
      0x18ce16464 &lt;+120&gt;: mov    x1, x19
      0x18ce16468 &lt;+124&gt;: movz   x2, #0
      0x18ce1646c &lt;+128&gt;: bl     0x18cf6885c               ; pthread_sigmask
      0x18ce16470 &lt;+132&gt;: bl     0x18cf6d908               ; pthread_self
      0x18ce16474 &lt;+136&gt;: orr    w1, wzr, #0x6
      0x18ce16478 &lt;+140&gt;: bl     0x18cf6a3e0               ; pthread_kill
      0x18ce1647c &lt;+144&gt;: movz   w0, #0x2710
      0x18ce16480 &lt;+148&gt;: bl     0x18cdf2b1c               ; usleep$NOCANCEL
      0x18ce16484 &lt;+152&gt;: orr    w8, wzr, #0xffffffe7
      0x18ce16488 &lt;+156&gt;: str    w8, [sp, #24]
      0x18ce1648c &lt;+160&gt;: orr    w0, wzr, #0x3
      0x18ce16490 &lt;+164&gt;: mov    x1, x19
      0x18ce16494 &lt;+168&gt;: movz   x2, #0
      0x18ce16498 &lt;+172&gt;: bl     0x18ce2b814               ; symbol stub for: __printf_arginfo_n
  -&gt;  0x18ce1649c &lt;+176&gt;: brk    #0x1
  </code></pre>
  
  <p>please help!</p>