Corrupting DPC list

Hello All,

I am getting a trap in NTOSKRNL.EXE. The debugger stack shows that it is
when NTOSKRNL try to use DPC list (crash occur due to KiRetireDpcList).

What could be the reasons of driver corrupting the DPC list (queue) ?

Thanks in advance

  • Vipul

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

NT 4 or 2000?

Gary G. Little
Staff Engineer
Broadband Storage, Inc.
xxxxx@broadstor.com

-----Original Message-----
From: Vipul Jain [mailto:xxxxx@fvc.com]
Sent: Friday, September 14, 2001 9:16 AM
To: NT Developers Interest List
Subject: [ntdev] Corrupting DPC list

Hello All,

I am getting a trap in NTOSKRNL.EXE. The debugger stack shows that it is
when NTOSKRNL try to use DPC list (crash occur due to KiRetireDpcList).

What could be the reasons of driver corrupting the DPC list (queue) ?

Thanks in advance

  • Vipul

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


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

NT 4

-----Original Message-----
From: Gary Little [mailto:xxxxx@Broadstor.com]
Sent: Friday, September 14, 2001 11:53 AM
To: NT Developers Interest List
Subject: [ntdev] RE: Corrupting DPC list

NT 4 or 2000?

Gary G. Little
Staff Engineer
Broadband Storage, Inc.
xxxxx@broadstor.com

-----Original Message-----
From: Vipul Jain [mailto:xxxxx@fvc.com]
Sent: Friday, September 14, 2001 9:16 AM
To: NT Developers Interest List
Subject: [ntdev] Corrupting DPC list

Hello All,

I am getting a trap in NTOSKRNL.EXE. The debugger stack shows that it is
when NTOSKRNL try to use DPC list (crash occur due to KiRetireDpcList).

What could be the reasons of driver corrupting the DPC list (queue) ?

Thanks in advance

  • Vipul

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


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


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

I have had this happen on NT 4, and I may have had extenuating circumstances
that I did not discover, but the fault that I found was that I was accessing
the DPC queue in an unsynchronized manner. I solved the problem by calling
KeSynchronizeExecution when inserting an item onto the queue outside of the
ISR.

Gary G. Little
Staff Engineer
Broadband Storage, Inc.
xxxxx@broadstor.com

-----Original Message-----
From: Vipul Jain [mailto:xxxxx@fvc.com]
Sent: Friday, September 14, 2001 12:45 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Corrupting DPC list

NT 4

-----Original Message-----
From: Gary Little [mailto:xxxxx@Broadstor.com]
Sent: Friday, September 14, 2001 11:53 AM
To: NT Developers Interest List
Subject: [ntdev] RE: Corrupting DPC list

NT 4 or 2000?

Gary G. Little
Staff Engineer
Broadband Storage, Inc.
xxxxx@broadstor.com

-----Original Message-----
From: Vipul Jain [mailto:xxxxx@fvc.com]
Sent: Friday, September 14, 2001 9:16 AM
To: NT Developers Interest List
Subject: [ntdev] Corrupting DPC list

Hello All,

I am getting a trap in NTOSKRNL.EXE. The debugger stack shows that it is
when NTOSKRNL try to use DPC list (crash occur due to KiRetireDpcList).

What could be the reasons of driver corrupting the DPC list (queue) ?

Thanks in advance

  • Vipul

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


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


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


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

Thanks Garry,

But my scenario is that I have one DpcForIsr (which is being inserted from
ISR) and one CustomTimerDpc routine which is being inserted by NT itself
whenever timer expires.

These are the only two Dpc routines the driver has. But still these are
corrupting DpcList.

Any pointer in the direction ?

  • Vipul

-----Original Message-----
From: Gary Little [mailto:xxxxx@Broadstor.com]
Sent: Friday, September 14, 2001 1:08 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Corrupting DPC list

I have had this happen on NT 4, and I may have had extenuating circumstances
that I did not discover, but the fault that I found was that I was accessing
the DPC queue in an unsynchronized manner. I solved the problem by calling
KeSynchronizeExecution when inserting an item onto the queue outside of the
ISR.

Gary G. Little
Staff Engineer
Broadband Storage, Inc.
xxxxx@broadstor.com

-----Original Message-----
From: Vipul Jain [mailto:xxxxx@fvc.com]
Sent: Friday, September 14, 2001 12:45 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Corrupting DPC list

NT 4

-----Original Message-----
From: Gary Little [mailto:xxxxx@Broadstor.com]
Sent: Friday, September 14, 2001 11:53 AM
To: NT Developers Interest List
Subject: [ntdev] RE: Corrupting DPC list

NT 4 or 2000?

Gary G. Little
Staff Engineer
Broadband Storage, Inc.
xxxxx@broadstor.com

-----Original Message-----
From: Vipul Jain [mailto:xxxxx@fvc.com]
Sent: Friday, September 14, 2001 9:16 AM
To: NT Developers Interest List
Subject: [ntdev] Corrupting DPC list

Hello All,

I am getting a trap in NTOSKRNL.EXE. The debugger stack shows that it is
when NTOSKRNL try to use DPC list (crash occur due to KiRetireDpcList).

What could be the reasons of driver corrupting the DPC list (queue) ?

Thanks in advance

  • Vipul

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


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


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


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


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

ExFreePooling of the memory which contains a KDPC structure.

Max

----- Original Message -----
From: “Vipul Jain”
To: “NT Developers Interest List”
Sent: Friday, September 14, 2001 8:16 PM
Subject: [ntdev] Corrupting DPC list

> Hello All,
>
> I am getting a trap in NTOSKRNL.EXE. The debugger stack shows that it is
> when NTOSKRNL try to use DPC list (crash occur due to KiRetireDpcList).
>
> What could be the reasons of driver corrupting the DPC list (queue) ?
>
> Thanks in advance
> - Vipul
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


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

Oh Max, that is so obvious … but a very good answer because it is so
obvious. :slight_smile:

Gary

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S. Shatskih
Sent: Saturday, September 15, 2001 9:08 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Corrupting DPC list

ExFreePooling of the memory which contains a KDPC structure.

Max

----- Original Message -----
From: “Vipul Jain”
To: “NT Developers Interest List”
Sent: Friday, September 14, 2001 8:16 PM
Subject: [ntdev] Corrupting DPC list

> Hello All,
>
> I am getting a trap in NTOSKRNL.EXE. The debugger stack shows that it is
> when NTOSKRNL try to use DPC list (crash occur due to KiRetireDpcList).
>
> What could be the reasons of driver corrupting the DPC list (queue) ?
>
> Thanks in advance
> - Vipul
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


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


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