Re: strange panic, debugging help wanted..
Re: strange panic, debugging help wanted..
- Subject: Re: strange panic, debugging help wanted..
- From: James Drake <email@hidden>
- Date: Wed, 22 Dec 2004 16:50:49 -0500
A - Pointers?
Jim
On Dec 22, 2004, at 4:47 PM, Andrew Gallatin wrote:
William Kucharski writes:
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.
If they're using C, overwriting the stack could easily cause this (say
going beyond the bounds of an automatic array or variable.)
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden