FYI: We have such suppression code in the tree which we use for the renderer
process.

For the browser process we allow the crash to reach Crash Reporter so that
Chrome doesn't crash silently.

see: DebugUtil::DisableOSCrashDumps() in base/debug_util_mac.cc

Best regards,
Jeremy

On Tue, Nov 10, 2009 at 3:10 AM, Eric Seidel <esei...@chromium.org> wrote:

>
> ReportCrash is crawling for stacks and looking up symbol names.  If
> your process is a debug build it has huge symbol tables.
>
> I don't know of any way to disable ReportCrash.  However, you can add
> some code to your process to catch the offending symbols and exit
> instead.
>
> You can also run the process under the debugger, which will prevent
> ReportCrash from running.
>
> Others may know more.
>
> -eric
>
> On Mon, Nov 9, 2009 at 4:57 PM, Eric Roman <ero...@chromium.org> wrote:
> >
> > Whenever I hit a CHECK/DCHECK in the chrome unit tests on mac,
> > after printing a backtrace (which btw lacks the symbol names),
> > the process locks up and becomes un-killable!
> >
> > It won't respond to either SIGINT or SIGKILL.
> >
> > It looks like the villain is the ReportCrash process.
> >
> > As this is happening, ReportCrash happily chews up 100% CPU for about
> > 5-10 minutes.
> >
> > I confirmed ReportCrash is the villain, since if I murder it as root
> > then the unit-test is killed right away.
> >
> > I don't know what is going on with ReportCrash, but it is certainly
> > very frustrating.
> >
> > Running fs_usage I notice that ReportCrash is repeatedly
> > open/close/fstate the same *.a files under src/xcodebuild/Debug.
> > So my guess is that ReportCrash is having a heart attack trying to
> symbolicate.
> >
> > Anyone know how to fix this?
> > Can I disable ReportCrash if not?
> >
> > Thanks!
> >
> > /me is a mac n00b so please be gentle :)
> >
> > >
> >
>
> --~--~---------~--~----~------------~-------~--~----~
> Chromium Developers mailing list: chromium-dev@googlegroups.com
> View archives, change email options, or unsubscribe:
>    http://groups.google.com/group/chromium-dev
> -~----------~----~----~----~------~----~------~--~---
>
>

-- 
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev

Reply via email to