title: CoreFoundation Trap error "Thread1:EXC_BREAKPOINT (code=EXC_ARM_BREAKPOINT, subcode=0xdefe)"
body: <p>i need your help i've got this frustrating "random" error.</p>
  
  <p>The app is compose of one <code>Mapviewcontroller</code> and a <code>collectionview</code> on the second controller.</p>
  
  <p>Sometimes when I return to the map from the second controller the app suddenly crash with this error on the the "trap" line.
  The crash report doesn't point to any of my lines of code.</p>
  
  <blockquote>
    <p>EXC_BREAKPOINT (code=EXC_ARM_BREAKPOINT, subcode=0xdefe)</p>
  </blockquote>
  
  <p><img src="https://i.stack.imgur.com/TVtYV.png" alt="enter image description here"></p>
  
  <p>I said "random error" because the same version of the same app could be build and run smooth for days, then suddenly it stuck. The only way to regain control of the app is to delete manually from the iPad and rebuild.</p>
  
  <p>For your information the app uses Coredata.</p>
  
  <p>Any ideas? Some method to figure out where the error come from?</p>
  
  <p>Any help is appreciated, thanks!</p>