KERNEL_STACK_INPAGE_ERROR

How can a driver effect some error code like KERNEL_STACK_INPAGE_ERROR or KERNEL_DATA_INPAGE_ERROR on a system after it unloads? Iam askig this bcos as soon as my drivers’ unload routine returns successfully, the system crashes with this bugcheck.

Giri.