Re: Problems with Kernel Extension on Different Mac Configurations
Re: Problems with Kernel Extension on Different Mac Configurations
- Subject: Re: Problems with Kernel Extension on Different Mac Configurations
- From: Eric Long <email@hidden>
- Date: Thu, 20 Sep 2007 13:34:17 -0700
- Thread-topic: Problems with Kernel Extension on Different Mac Configurations
> _MALLOC calls are getting failed some time after my application is started. I
> tried with OSMalloc as well , its also failing. In which cases _MALLOC Fails ?
> .
_MALLOC will often fail if you pass M_NOWAIT. M_WAITOK is reliable. I've
never encountered problems using M_WAITOK.
> Once my application is started ( kext as well ) , the system hangs on
> PowerBook G4 , But on iMac G5 its works without any problem.
If it hangs, you might be caught in a loop or something in your kext. Set
up two machine debugging and break during the hang. You will probably be
able to get some useful information about it.
<http://developer.apple.com/documentation/Darwin/Conceptual/KernelProgrammin
g/build/chapter_18_section_5.html>
Eric
_______________________________________________
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