AVStream input pin data processing crashes with Page fault.

When the inpin’s flag of a decoder AVStream filter is set to
GENERATE_MAPPINGS ,some times the driver crashes with PAGE FAULT in non
page area , when I try to access the data in the inpin, this does not
happen so frequently so i cant find the exact reason for the same.

The same processing in the driver with out GENERATE_MAPPINGS flag works
fine always , any input for this will be of great help.

Thanks
Kesav