Re: Problems with Kernel Extension on Different Mac Configurations
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Thread-index: Acf7xZ1T2/mZa2e4EdyiGAAX8si2KA== Thread-topic: Problems with Kernel Extension on Different Mac Configurations User-agent: Microsoft-Entourage/11.3.6.070618
_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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Eric Long