nt/2K filesystem filter driver: BAD_POOL_CALLER

I write a NT/2K filesystem filter driver. In IRP_MJ_CREATE dispatch
routine, I use ZwCreateFile to open another file and copy it to overwrite
the destination file. At first, everything is right, but after several
minutes and some operations, an exception occured! the KeBugCheckEx
parameters:

BAD_POOL_CALLER p1=7 p2=e68 p3=e1faf280 p4=e1faf298

BAD_POOL_CALLER p1=99 p2=e2051808 p3=0 p4=0

I guess this is caused bye my IRPs allocated by “ZwCreateFile”, Can I
resolve it by marking it(IRP), writing a special completion routine and
returning STATUS_MORE_PROCESSING…??
THX!

Best regards
lizhiwei


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Are you checking for recursion into your filter. ZwCreateFile() will
pass throught your handler for IRP_MJ_CREATE.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
leezhiwei@263.net
Sent: Thursday, July 05, 2001 2:00 PM
To: File Systems Developers
Subject: [ntfsd] nt/2K filesystem filter driver: BAD_POOL_CALLER

I write a NT/2K filesystem filter driver. In IRP_MJ_CREATE dispatch
routine, I use ZwCreateFile to open another file and copy it
to overwrite
the destination file. At first, everything is right, but
after several
minutes and some operations, an exception occured! the KeBugCheckEx
parameters:

BAD_POOL_CALLER p1=7 p2=e68 p3=e1faf280 p4=e1faf298

BAD_POOL_CALLER p1=99 p2=e2051808 p3=0 p4=0

I guess this is caused bye my IRPs allocated by “ZwCreateFile”, Can I
resolve it by marking it(IRP), writing a special completion
routine and
returning STATUS_MORE_PROCESSING…??
THX!

Best regards
lizhiwei


You are currently subscribed to ntfsd as:
xxxxx@storagecraft.com To unsubscribe send a blank email to
leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Yes, I know it.
I add a special surfix at my filename, in my handler for IRP_MJ_CREATE, check the surfix. If there is the surfix, don’t copy it again.
Are there any questions?
thx!

----- Original Message -----
From: “Jamey Kirby”
To: “File Systems Developers”
Sent: Friday, July 06, 2001 3:10 AM
Subject: [ntfsd] RE: nt/2K filesystem filter driver: BAD_POOL_CALLER

> Are you checking for recursion into your filter. ZwCreateFile() will
> pass throught your handler for IRP_MJ_CREATE.
>
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com] On Behalf Of
> > leezhiwei@263.net
> > Sent: Thursday, July 05, 2001 2:00 PM
> > To: File Systems Developers
> > Subject: [ntfsd] nt/2K filesystem filter driver: BAD_POOL_CALLER
> >
> >
> > I write a NT/2K filesystem filter driver. In IRP_MJ_CREATE dispatch
> > routine, I use ZwCreateFile to open another file and copy it
> > to overwrite
> > the destination file. At first, everything is right, but
> > after several
> > minutes and some operations, an exception occured! the KeBugCheckEx
> > parameters:
> >
> > BAD_POOL_CALLER p1=7 p2=e68 p3=e1faf280 p4=e1faf298
> >
> > BAD_POOL_CALLER p1=99 p2=e2051808 p3=0 p4=0
> >
> > I guess this is caused bye my IRPs allocated by “ZwCreateFile”, Can I
> > resolve it by marking it(IRP), writing a special completion
> > routine and
> > returning STATUS_MORE_PROCESSING…??
> > THX!
> >
> > Best regards
> > lizhiwei
> >
> > —
> > You are currently subscribed to ntfsd as:
> > xxxxx@storagecraft.com To unsubscribe send a blank email to
> > xxxxx@lists.osr.com
> >
>
>
> —
> You are currently subscribed to ntfsd as: leezhiwei@263.net
> To unsubscribe send a blank email to xxxxx@lists.osr.com
???y˫???+.n?+???~?Z?˛??^r*D???kN???r??zǧu??jy???^j??? 0?j?b??(??(