[K42-discussion] destruction of global kernel objects
Donour Sizemore
donour at cs.unm.edu
Thu Sep 21 06:43:42 EST 2006
I've been beating my head against the wall now while trying to add a
virtual destructor to XBaseObjCore. It causes no problems when building,
but it causes a failure on boot.
Specifically, during KernelInitPhase2, TypeMgrServer::ClassInit calls
this function and I cannot figure out why. TypeMgrServer does inherit
from XBaseObj, I don't think it should be calling the destructor.
However, this isn't where it's crashing. Instead it's crashing on
SysFSNode::ClassInit.
I would attach a patch to demonstrate this problem, but all you have to
do is add an empty virtual destructor to XBaseObjCare, rebuild and run
regress.
Anyone know what is cause these classinit's to get borked.
donour
More information about the K42-discussion
mailing list