Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

EnterCriticalSection crash from NDIS

3 views
Skip to first unread message

Gammaraman

unread,
Mar 11, 2009, 7:22:03 PM3/11/09
to
I am trying to debug a crash. Here is the stack trace

COREDLL!EnterCriticalSection() line 95 + 4 bytes
TCPSTK!MdpFree() line 311
TCPSTK!ARPSendComplete() line 5306
NDIS!ndisMSendCompleteX() line 1155
MY_DRV!ReturnPkt() line 2000

Basically a bunch of Windows functions are getting called when my miniport
indicates NDIS packet send completion by calling NdisMSendComplete and the
crash is happening in one of these Windows functions. I can see only assembly
for all these Windows functions and that is not very helpful.

This is the log from PB

339170 Data Abort: Thread=83813688 Proc=8036b020 'device.exe'
339170 AKY=00000005 PC=03f6871c(coredll.dll+0x0001c71c)
RA=01b5cb38(tcpstk.dll+0x0004cb38) BVA=6c483038 FSR=00000005

I do not even know what this critical section is. From my miniport point of
view I get an NDIS packet which I pend and then later return by calling
NdisMSendComplete. Also, I only access the 12 bytes reserved for miniport use
and do not touch any of the other private areas of the packet.

Is there some critical section info buried somewhere in the packet that
somehow got corrupted? Any ideas on where to look, how to proceed will be
highly appreciated.

Thanks.

Pavel A.

unread,
Mar 12, 2009, 10:42:19 AM3/12/09
to
Gammaraman wrote:
> I am trying to debug a crash. Here is the stack trace
>
> COREDLL!EnterCriticalSection() line 95 + 4 bytes
> TCPSTK!MdpFree() line 311
> TCPSTK!ARPSendComplete() line 5306
> NDIS!ndisMSendCompleteX() line 1155
> MY_DRV!ReturnPkt() line 2000


Coredll means Windows CE.
This NG does not support WinCE and PB, as you probably already read
several times :(

Regards
-- pa

Maxim S. Shatskih

unread,
Mar 12, 2009, 5:03:47 PM3/12/09
to
> COREDLL!EnterCriticalSection() line 95 + 4 bytes
> TCPSTK!MdpFree() line 311

This is not a Windows CE forum.

--
Maxim S. Shatskih
Windows DDK MVP
ma...@storagecraft.com
http://www.storagecraft.com

0 new messages