|
September 05, 2005
Smart Crash Reports: Beta 3
Thank you for your comments on Smart Crash Reports! Now, to announce the changes and our current plans on the matter: I have created beta 2 (and 3) of the product. About the only change users will notice (although an important one) is that Smart Crash Reports will now send crash reports both to the developer and Apple. We think it's not a good idea to make Apple "miss" any of these crash reports, so new beta (likely to become final) fixes this. So now the crash dialog looks like this: Other changes apply to the SDK:
Anyway, here is a link to the new beta: Thanks! UPDATE 09/13: Beta 6 (FC) is out! Trackback Pings: TrackBack URL for this entry: Related:
Comments
I'm just trying out the Smart Crash Reporter in our application Life Balance right now after reading about it on Ars Technica. I did find one small problem in the header file. There needs to be a double underscore in __cplusplus, not just a single one. Posted by: Stuart A. Malone on September 5, 2005 6:54 AMOops, thanks for pointing that out, Stuart! Fixed in 1.0b3. Posted by: slava on September 5, 2005 7:00 AMI'm trying out Beta 3 in my application and UnsanitySCR_RegisterMatchSpecifier() is returning -54, permErr. Where is it trying to write stuff? Also, I really would prefer to not have anything in /Library/InputManagers/ if possible. It is acceptable to me to have an extra folder in my app's bundle, but not in another folder. I know how to crash my app :-) so I want this to work! Thanks! Posted by: Philippe Casgrain on September 7, 2005 8:03 AMPhilippe: it tries to save to /Library/Preferences/. As for not having it as an input manager, unfortunately, not much we can do about it -- the system expects InputManagers to be in that folder (or ~/Library/InputManagers). Luckily, I've added the installation API in the 1.0b4 (out soon) that will allow you to install SCR in one function call. Posted by: slava on September 7, 2005 8:08 AMOK, I changed the permissions on /Library/Preferences and UnsanitySCR_RegisterMatchSpecifier() returns noErr. May I comment that it should not write there? I do not run as an admin user, so normally I can't access this folder. Shouldn't SCR write to ~/Library/Preferences/ if it can't access /Library/Preferences/? I installed SCR in ~/Library/InputManagers/. Also, my app is a CFM app. It will be Mach-O at some point in the future, but not now. So I installed SCR in our "Cocoa" bundle, a plug-in with Mach-O code. UnsanitySCR_RegisterMatchSpecifier() works fine (returns noErr) but when I crash the app, I do not get "Send to MyCompany & Apple", only "Apple". Is it because the crash did not occur in the Mach-O bundle? Posted by: Philippe Casgrain on September 7, 2005 8:38 AMOh, and by the way "BombApp" works: it shows the "Send to Unsanity & Apple" button. What am I missing? Posted by: Philippe Casgrain on September 7, 2005 8:42 AMPhilippe, for the future, it'll try writing to both locations if the global one fails. This was an oversight on our part and not intentional. For the Question you had about CFM, just register using the bundle ID of the CFM application (or pass NULL). What does your CFM crash look like? Posted by: Rosyna on September 7, 2005 8:44 AMI tried registering with both NULL and "com.MyCompanyName". The plist file looks like this:
Date/Time: 2005-09-07 12:02:11.850 -0400 Command: MyApp Debug Tests Version: 10.0.006 (10.0.006© MyCompany 2005) PID: 15738 Exception: EXC_BAD_ACCESS (0x0001) Thread 0 Crashed: I hope this helps... Philippe, In this case, your best bet is to register for "My App Debug Tests". Since CFM crash logs contain no bundle IDs in the threads but only the main CFM fragment name, then Smart Crash Reports would be catching the app name in the crashed thread. As for the preferences/permissions issues, as Rosyna stated, we will fix this tomorrow in the updated version. Thanks for testing this out! Posted by: slava on September 7, 2005 11:47 AMSlava, When I register with "My App Debug Tests", crashdump crashes :-) So we're closer to getting it working... Isn't crashdump part of the Crash Reporter engine? I have one app bundle but the "MacOS" folder actually contains all my executables: Debug, Release, Debug with Tests, Release with Tests, etc... Maybe that is confusing to the Crash Reporter. I was able to restore normal Crash Reporter functionality only after I renamed ~/Library/InputManagers/ to ~/Library/InputManagersBackup/ |

