Re: char * causing kernel panics
Re: char * causing kernel panics
- Subject: Re: char * causing kernel panics
- From: Justin Walker <email@hidden>
- Date: Tue, 16 Dec 2003 15:41:25 -0800
Matt,
Your messages have two problems, at least for me:
1) You never include any substantive information regarding the problem
you are facing, leaving us to divine the actual problem.
2) It appears that you are thinking faster than you type, with the
result that what you have typed is difficult to understand.
We are happy to help, but you need to provide a little more in the way
of clear, concise problem statements. Code snippets help.
Be assured that declaring a variable does not cause a kernel panic.
Something else is causing it.
One way to figure out what the problem, on your own, is to use the
kernel debugger. You can do this in two ways:
1) use remote debugging, as explained in the documentation tree;
connect to the crashed system from another system, and get a stack
traceback. That will start you on the path to narrowing down the
search for the cause of the crash.
2) get the information from the crash, reboot, and use the debugger on
your system to look at the code. You can use this information to
figure out where the crash took place, and work backwards from there.
Regards,
Justin
On Tuesday, December 16, 2003, at 02:32 PM, Matt Jaffa wrote:
Hi,
Never mind where ever i declare a char * or caddr_t vairable it is
causing a kernel Panic when i loaded a compiled version of my KEXT,
despite the fact that there are other places in the code that have
these variables declared.
I took example project from nke and modified it. Now why would
adding char * values cause it to panic?
Thanks,
Matt
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.
--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | If you're not confused,
| You're not paying attention
*--------------------------------------*-------------------------------*
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.