Re: strange panic, debugging help wanted..
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Dec 22, 2004, at 2:50 PM, James Drake wrote: A - Pointers? I second this one, I always get this type of panic with the same type of output, when I have been trying to access null pointers. panic(cpu 1): 0x300 - Data access Matt Jaffa On Dec 22, 2004, at 4:47 PM, Andrew Gallatin wrote: On Dec 22, 2004, at 1:12 PM, Andrew Gallatin wrote: Thanks for the details, but I'm not very familiar with the ppc architecture. What's a common programming error that can result in this behaviour on ppc? Could returning from a function after it clobbers the stack result in this behaviour? If so, are there any "red-zone" options in the Darwin kernel that could catch something like this? If your programmers are using assembly, inspection of their code can help find this sort of thing, and it's usually a typo (e.g. "Oh, I meant to clear %r10, not %r1...") Nope, no assembly except for a few inline sync instructions. That's probably it, I'll start searching for changes that fit this bill. Thanks for your help, Drew _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/jdrake%40utk.edu This email sent to jdrake@utk.edu This email sent to matt@knowligent.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... Jim This was usually telling me I am trying to access a null pointer, in my case. William Kucharski writes: If they're using C, overwriting the stack could easily cause this (say going beyond the bounds of an automatic array or variable.) _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/ matt%40knowligent.com This email sent to site_archiver@lists.apple.com
participants (1)
-
Matt Jaffa