title: CrashReporter dialog doesn't show when mac app crashes
body: <p>I have a Mac app store app that just silently disappears when it crashes. It doesn't show the CrashReporter dialog to give the user a chance to report the crash to Apple.</p>
  
  <p>I see the same behavior on multiple machines. Is there any known reason why this might happen?</p>
  
  <p>According to <a href="https://developer.apple.com/library/mac/#technotes/tn2004/tn2123.html" rel="nofollow">TN2123</a>:</p>
  
  <blockquote>
    <p>In addition, if the program that crashed is running as a logged in GUI
    user, CrashReporter will present the user with a dialog asking them
    whether they want to submit a bug report to Apple</p>
  </blockquote>
  
  <p>What does "running as a logged in GUI user" mean? Does a window have to be visible? </p>
  
  <p><strong>Update:</strong></p>
  
  <p>I was reading the <a href="http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man8/ReportCrash.8.html" rel="nofollow">manpage for ReportCrash</a>, and found the following:</p>
  
  <blockquote>
    <p>For application crashes (but not background process crashes)
    ReportCrash will display a dialog notifying the user that the
    application unexpectedly quit and offering to reopen the application
    or send the report to Apple.  For developers, the behavior of this
    dialog can be adjusted using
    /Developer/Applications/Utilities/CrashReporterPrefs.app which is
    installed as part of the developer tools.</p>
  </blockquote>
  
  <p>I ran CrashReporterPrefs and changed my CrashReporter mode to Developer. When I ran the app and triggered the crash, the CrashReporter dialog was shown! </p>
  
  <p>So I guess the question now is: <strong>What's the difference between an "application" crash and a "background process" crash?</strong> </p>