I'm working on an Objective-C++ app and I'm being bugged frequently in the middle of typing code by an application crashed notice referring to cc1objplus.
This seemingly happens from predictive compilation. If I'm in the middle of typing code and the particular file is not (at the time of predictive compiling) able to be compiled (i.e. I'm in the middle of typing a function call), then the Crash Report window will pop up with:
"The application cc1objplus quit unexpectedly"
2006-05-03 09:45:34 -0700
EXC_BAD_ACCESS (0x0001)
KERN_PROTECTION_FAILURE (0x0002) at 0x00000000
Thread 0 Crashed:
0 strcpy + 104
1 0x1000 + 792160
2 0x1000 + 410072
3 0x1000 + 397200
4 0x1000 + 399140
5 0x1000 + 400012
6 0x1000 + 401128
7 0x1000 + 397716
8 0x1000 + 399140
9 0x1000 + 400012
In this example, I had started typing an NSLog function call: NSLog(@"Switching from
note the incomplete literal string as well as incomplete function call. This also happens with open braces, open square brackets for Obj-C messages, etc, etc.
I have CrashReporterPrefs set to 'Developer'
If I change it to "Basic" I don't seem to see the crash notices. I'm guessing that in addition to showing stack traces, 'Developer' mode will show the crash notices for background apps.
Since I don't really want to turn off Developer crash reports, I'm wondering if there's a way to tell crash reporter to not show reports for a certain bg app.
Also, it seems that trying to predictively compile a file that isn't at the time compile-able shouldn't actually cause a crash of the compiler.
Thoughts on this, anyone? Should I file a bug on the crash? Is there a way to selectively not show crash reports for a bg app?