Under what circumstances calling ExDeleteNPagedLookasideList may hang? Can
it be caused by not freeing all memory to pool? How can I trace all
allocations/deallocations?
-htfv
Under what circumstances calling ExDeleteNPagedLookasideList may hang? Can
it be caused by not freeing all memory to pool? How can I trace all
allocations/deallocations?
-htfv
Basically, it cant really “hang”. This API simply unlinks a lookaside from
system lookaisde lists, then return each entry on the list back to the
system memory pool. What exactly do you mean by hang ? Whta happens to your
system ? Are you sure you pass a valid pointer to a lookaside to this
function ?
Regards, Dan
----- Original Message -----
From: “Alexey Logachyov”
To: “NT Developers Interest List”
Sent: Friday, August 09, 2002 5:28 PM
Subject: [ntdev] ExDeleteNPagedLookasideList
> Under what circumstances calling ExDeleteNPagedLookasideList may hang? Can
> it be caused by not freeing all memory to pool? How can I trace all
> allocations/deallocations?
>
> -htfv
>
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@rdsor.ro
> To unsubscribe send a blank email to %%email.unsub%%
>
It really HANGS the whole system. Mouse pointer stops frequently. Windows do
not overdraw. WinDBG shows nothing on the stack. Well, almost nothing (will
provide some more info on Monday).
I understand what ExDeleteNPagedLookasideList does. And that’s why I asked
this question. I’ve never had any problems with the function. Now, I
increment a counter each time I allocate memory from list and decrement when
free it. By the time I want to delete list, counter is 0.
My lookaside list is wrapped in C++ class. It is initialized in constructor
and deleted in destructor. This class works fine in some different places in
driver. The whole class seems fine inside, but need to do some more
investigations.
-htfv
----- Original Message -----
From: “Dan Partelly”
To: “NT Developers Interest List”
Sent: Friday, August 09, 2002 5:46 PM
Subject: [ntdev] Re: ExDeleteNPagedLookasideList
> Basically, it cant really “hang”. This API simply unlinks a lookaside from
> system lookaisde lists, then return each entry on the list back to the
> system memory pool. What exactly do you mean by hang ? Whta happens to
your
> system ? Are you sure you pass a valid pointer to a lookaside to this
> function ?
>
> Regards, Dan
>
>
> ----- Original Message -----
> From: “Alexey Logachyov”
> To: “NT Developers Interest List”
> Sent: Friday, August 09, 2002 5:28 PM
> Subject: [ntdev] ExDeleteNPagedLookasideList
>
>
> > Under what circumstances calling ExDeleteNPagedLookasideList may hang?
Can
> > it be caused by not freeing all memory to pool? How can I trace all
> > allocations/deallocations?
> >
> > -htfv
> >
> >
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@rdsor.ro
> > To unsubscribe send a blank email to %%email.unsub%%
> >
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@vba.com.by
> To unsubscribe send a blank email to %%email.unsub%%
>
Anytime a system “hangs” it means that threads are waiting for ownership of
some resource. What you need to do is look at what the current CPU(s) are
doing and then for what each of the threads in the system is waiting. Only
then can you identify the cause of the hang.
Regards,
Tony
Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com
Hope to see you at the next OSR file systems class in San Jose, CA September
16, 2002!
-----Original Message-----
From: Alexey Logachyov [mailto:xxxxx@vba.com.by]
Sent: Friday, August 09, 2002 1:40 PM
To: NT Developers Interest List
Subject: [ntdev] Re: ExDeleteNPagedLookasideList
It really HANGS the whole system. Mouse pointer stops frequently. Windows do
not overdraw. WinDBG shows nothing on the stack. Well, almost nothing (will
provide some more info on Monday).
I understand what ExDeleteNPagedLookasideList does. And that’s why I asked
this question. I’ve never had any problems with the function. Now, I
increment a counter each time I allocate memory from list and decrement when
free it. By the time I want to delete list, counter is 0.
My lookaside list is wrapped in C++ class. It is initialized in constructor
and deleted in destructor. This class works fine in some different places in
driver. The whole class seems fine inside, but need to do some more
investigations.
-htfv
----- Original Message -----
From: “Dan Partelly”
To: “NT Developers Interest List”
Sent: Friday, August 09, 2002 5:46 PM
Subject: [ntdev] Re: ExDeleteNPagedLookasideList
> Basically, it cant really “hang”. This API simply unlinks a lookaside from
> system lookaisde lists, then return each entry on the list back to the
> system memory pool. What exactly do you mean by hang ? Whta happens to
your
> system ? Are you sure you pass a valid pointer to a lookaside to this
> function ?
>
> Regards, Dan
>
>
> ----- Original Message -----
> From: “Alexey Logachyov”
> To: “NT Developers Interest List”
> Sent: Friday, August 09, 2002 5:28 PM
> Subject: [ntdev] ExDeleteNPagedLookasideList
>
>
> > Under what circumstances calling ExDeleteNPagedLookasideList may hang?
Can
> > it be caused by not freeing all memory to pool? How can I trace all
> > allocations/deallocations?
> >
> > -htfv
> >
> >
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@rdsor.ro
> > To unsubscribe send a blank email to %%email.unsub%%
> >
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@vba.com.by
> To unsubscribe send a blank email to %%email.unsub%%
>
—
You are currently subscribed to ntdev as: xxxxx@osr.com
To unsubscribe send a blank email to %%email.unsub%%
Improperly handled exceptions , especially in some system calls, can lead to
such a behaviour. The system may be able to continue normaly , but still the
thread in question retains ownership of some synch objects , for example. As
Tony said, check the threads in the system to see on what are they waiting
for.
Dan
----- Original Message -----
From: “Alexey Logachyov”
To: “NT Developers Interest List”
Sent: Friday, August 09, 2002 8:39 PM
Subject: [ntdev] Re: ExDeleteNPagedLookasideList
> It really HANGS the whole system. Mouse pointer stops frequently. Windows
do
> not overdraw. WinDBG shows nothing on the stack. Well, almost nothing
(will
> provide some more info on Monday).
>
> I understand what ExDeleteNPagedLookasideList does. And that’s why I asked
> this question. I’ve never had any problems with the function. Now, I
> increment a counter each time I allocate memory from list and decrement
when
> free it. By the time I want to delete list, counter is 0.
>
> My lookaside list is wrapped in C++ class. It is initialized in
constructor
> and deleted in destructor. This class works fine in some different places
in
> driver. The whole class seems fine inside, but need to do some more
> investigations.
>
> -htfv
>
> ----- Original Message -----
> From: “Dan Partelly”
> To: “NT Developers Interest List”
> Sent: Friday, August 09, 2002 5:46 PM
> Subject: [ntdev] Re: ExDeleteNPagedLookasideList
>
>
> > Basically, it cant really “hang”. This API simply unlinks a lookaside
from
> > system lookaisde lists, then return each entry on the list back to the
> > system memory pool. What exactly do you mean by hang ? Whta happens to
> your
> > system ? Are you sure you pass a valid pointer to a lookaside to this
> > function ?
> >
> > Regards, Dan
> >
> >
> > ----- Original Message -----
> > From: “Alexey Logachyov”
> > To: “NT Developers Interest List”
> > Sent: Friday, August 09, 2002 5:28 PM
> > Subject: [ntdev] ExDeleteNPagedLookasideList
> >
> >
> > > Under what circumstances calling ExDeleteNPagedLookasideList may hang?
> Can
> > > it be caused by not freeing all memory to pool? How can I trace all
> > > allocations/deallocations?
> > >
> > > -htfv
> > >
> > >
> > >
> > >
> > > —
> > > You are currently subscribed to ntdev as: xxxxx@rdsor.ro
> > > To unsubscribe send a blank email to %%email.unsub%%
> > >
> >
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@vba.com.by
> > To unsubscribe send a blank email to %%email.unsub%%
> >
>
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@rdsor.ro
> To unsubscribe send a blank email to %%email.unsub%%
>
The documentation for this function says that it frees any remaining entries
in the list and then frees the list. It seems to me that IF you were to call
this at DISPATCH with a list that had become corrupted in some circular way,
you could see the behaviour you describe…
Just a thought
/simgr
-----Original Message-----
From: Alexey Logachyov [mailto:xxxxx@vba.com.by]
Sent: Friday, August 09, 2002 1:40 PM
To: NT Developers Interest List
Subject: [ntdev] Re: ExDeleteNPagedLookasideList
It really HANGS the whole system. Mouse pointer stops frequently. Windows do
not overdraw. WinDBG shows nothing on the stack. Well, almost nothing (will
provide some more info on Monday).
I understand what ExDeleteNPagedLookasideList does. And that’s why I asked
this question. I’ve never had any problems with the function. Now, I
increment a counter each time I allocate memory from list and decrement when
free it. By the time I want to delete list, counter is 0.
My lookaside list is wrapped in C++ class. It is initialized in constructor
and deleted in destructor. This class works fine in some different places in
driver. The whole class seems fine inside, but need to do some more
investigations.
-htfv
----- Original Message -----
From: “Dan Partelly”
To: “NT Developers Interest List”
Sent: Friday, August 09, 2002 5:46 PM
Subject: [ntdev] Re: ExDeleteNPagedLookasideList
> Basically, it cant really “hang”. This API simply unlinks a lookaside from
> system lookaisde lists, then return each entry on the list back to the
> system memory pool. What exactly do you mean by hang ? Whta happens to
your
> system ? Are you sure you pass a valid pointer to a lookaside to this
> function ?
>
> Regards, Dan
>
>
> ----- Original Message -----
> From: “Alexey Logachyov”
> To: “NT Developers Interest List”
> Sent: Friday, August 09, 2002 5:28 PM
> Subject: [ntdev] ExDeleteNPagedLookasideList
>
>
> > Under what circumstances calling ExDeleteNPagedLookasideList may hang?
Can
> > it be caused by not freeing all memory to pool? How can I trace all
> > allocations/deallocations?
> >
> > -htfv
> >
> >
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@rdsor.ro
> > To unsubscribe send a blank email to %%email.unsub%%
> >
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@vba.com.by
> To unsubscribe send a blank email to %%email.unsub%%
>
—
You are currently subscribed to ntdev as: xxxxx@stratus.com
To unsubscribe send a blank email to %%email.unsub%%
I think it would result in BSOD of BAD_POOL_CALLER and not in such a
behaviour as you describe.
----- Original Message -----
From: “Graham, Simon”
To: “NT Developers Interest List”
Sent: Sunday, August 11, 2002 7:19 PM
Subject: [ntdev] Re: ExDeleteNPagedLookasideList
> The documentation for this function says that it frees any remaining
entries
> in the list and then frees the list. It seems to me that IF you were to
call
> this at DISPATCH with a list that had become corrupted in some circular
way,
> you could see the behaviour you describe…
>
> Just a thought
> /simgr
>
> -----Original Message-----
> From: Alexey Logachyov [mailto:xxxxx@vba.com.by]
> Sent: Friday, August 09, 2002 1:40 PM
> To: NT Developers Interest List
> Subject: [ntdev] Re: ExDeleteNPagedLookasideList
>
>
> It really HANGS the whole system. Mouse pointer stops frequently. Windows
do
> not overdraw. WinDBG shows nothing on the stack. Well, almost nothing
(will
> provide some more info on Monday).
>
> I understand what ExDeleteNPagedLookasideList does. And that’s why I asked
> this question. I’ve never had any problems with the function. Now, I
> increment a counter each time I allocate memory from list and decrement
when
> free it. By the time I want to delete list, counter is 0.
>
> My lookaside list is wrapped in C++ class. It is initialized in
constructor
> and deleted in destructor. This class works fine in some different places
in
> driver. The whole class seems fine inside, but need to do some more
> investigations.
>
> -htfv
>
> ----- Original Message -----
> From: “Dan Partelly”
> To: “NT Developers Interest List”
> Sent: Friday, August 09, 2002 5:46 PM
> Subject: [ntdev] Re: ExDeleteNPagedLookasideList
>
>
> > Basically, it cant really “hang”. This API simply unlinks a lookaside
from
> > system lookaisde lists, then return each entry on the list back to the
> > system memory pool. What exactly do you mean by hang ? Whta happens to
> your
> > system ? Are you sure you pass a valid pointer to a lookaside to this
> > function ?
> >
> > Regards, Dan
> >
> >
> > ----- Original Message -----
> > From: “Alexey Logachyov”
> > To: “NT Developers Interest List”
> > Sent: Friday, August 09, 2002 5:28 PM
> > Subject: [ntdev] ExDeleteNPagedLookasideList
> >
> >
> > > Under what circumstances calling ExDeleteNPagedLookasideList may hang?
> Can
> > > it be caused by not freeing all memory to pool? How can I trace all
> > > allocations/deallocations?
> > >
> > > -htfv
> > >
> > >
> > >
> > >
> > > —
> > > You are currently subscribed to ntdev as: xxxxx@rdsor.ro
> > > To unsubscribe send a blank email to %%email.unsub%%
> > >
> >
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@vba.com.by
> > To unsubscribe send a blank email to %%email.unsub%%
> >
>
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@stratus.com
> To unsubscribe send a blank email to %%email.unsub%%
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@rdsor.ro
> To unsubscribe send a blank email to %%email.unsub%%
>
Now, I can provide a bit more information. I debugged into
ExDeleteNPagedLookasideList and here what I see:
Any ideas?
-htfv
P.S. I’m running Win2k SP2 check build with MP kernel on a single processor
machine.
----- Original Message -----
From: “Dan Partelly”
To: “NT Developers Interest List”
Sent: Sunday, August 11, 2002 8:42 PM
Subject: [ntdev] Re: ExDeleteNPagedLookasideList
> I think it would result in BSOD of BAD_POOL_CALLER and not in such a
> behaviour as you describe.
>
> ----- Original Message -----
> From: “Graham, Simon”
> To: “NT Developers Interest List”
> Sent: Sunday, August 11, 2002 7:19 PM
> Subject: [ntdev] Re: ExDeleteNPagedLookasideList
>
>
> > The documentation for this function says that it frees any remaining
> entries
> > in the list and then frees the list. It seems to me that IF you were to
> call
> > this at DISPATCH with a list that had become corrupted in some circular
> way,
> > you could see the behaviour you describe…
> >
> > Just a thought
> > /simgr
> >
> > -----Original Message-----
> > From: Alexey Logachyov [mailto:xxxxx@vba.com.by]
> > Sent: Friday, August 09, 2002 1:40 PM
> > To: NT Developers Interest List
> > Subject: [ntdev] Re: ExDeleteNPagedLookasideList
> >
> >
> > It really HANGS the whole system. Mouse pointer stops frequently.
Windows
> do
> > not overdraw. WinDBG shows nothing on the stack. Well, almost nothing
> (will
> > provide some more info on Monday).
> >
> > I understand what ExDeleteNPagedLookasideList does. And that’s why I
asked
> > this question. I’ve never had any problems with the function. Now, I
> > increment a counter each time I allocate memory from list and decrement
> when
> > free it. By the time I want to delete list, counter is 0.
> >
> > My lookaside list is wrapped in C++ class. It is initialized in
> constructor
> > and deleted in destructor. This class works fine in some different
places
> in
> > driver. The whole class seems fine inside, but need to do some more
> > investigations.
> >
> > -htfv
> >
> > ----- Original Message -----
> > From: “Dan Partelly”
> > To: “NT Developers Interest List”
> > Sent: Friday, August 09, 2002 5:46 PM
> > Subject: [ntdev] Re: ExDeleteNPagedLookasideList
> >
> >
> > > Basically, it cant really “hang”. This API simply unlinks a lookaside
> from
> > > system lookaisde lists, then return each entry on the list back to the
> > > system memory pool. What exactly do you mean by hang ? Whta happens to
> > your
> > > system ? Are you sure you pass a valid pointer to a lookaside to this
> > > function ?
> > >
> > > Regards, Dan
> > >
> > >
> > > ----- Original Message -----
> > > From: “Alexey Logachyov”
> > > To: “NT Developers Interest List”
> > > Sent: Friday, August 09, 2002 5:28 PM
> > > Subject: [ntdev] ExDeleteNPagedLookasideList
> > >
> > >
> > > > Under what circumstances calling ExDeleteNPagedLookasideList may
hang?
> > Can
> > > > it be caused by not freeing all memory to pool? How can I trace all
> > > > allocations/deallocations?
> > > >
> > > > -htfv
> > > >
> > > >
> > > >
> > > >
> > > > —
> > > > You are currently subscribed to ntdev as: xxxxx@rdsor.ro
> > > > To unsubscribe send a blank email to %%email.unsub%%
> > > >
> > >
> > >
> > >
> > > —
> > > You are currently subscribed to ntdev as: xxxxx@vba.com.by
> > > To unsubscribe send a blank email to %%email.unsub%%
> > >
> >
> >
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@stratus.com
> > To unsubscribe send a blank email to %%email.unsub%%
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@rdsor.ro
> > To unsubscribe send a blank email to %%email.unsub%%
> >
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@vba.com.by
> To unsubscribe send a blank email to %%email.unsub%%
>
Huh! It spins in
ExpInterlockedPopEntrySListResume/ExpInterlockedPopEntrySListFault
functions! Some kind of fault?
-htfv
----- Original Message -----
From: “Alexey Logachyov”
To: “NT Developers Interest List”
Sent: Monday, August 12, 2002 10:29 AM
Subject: [ntdev] Re: ExDeleteNPagedLookasideList
> Now, I can provide a bit more information. I debugged into
> ExDeleteNPagedLookasideList and here what I see:
> 1. A call to KfAcquireSpinLock
> 2. KfReleaseSpinLock
> 3. ExAllocateFromNPagedLokasideList succeeds.
> 4. ExFreePool
> 5. goes back to point 3 and hangs in ExAllocateFromNPagedLookasideList.
> Seems like on ExInterlockedPopEntrySList (at least it never returns, I set
a
> breakpoint after a call to it and it’s never hit).
>
> Any ideas?
>
> -htfv
>
> P.S. I’m running Win2k SP2 check build with MP kernel on a single
processor
> machine.
>
> ----- Original Message -----
> From: “Dan Partelly”
> To: “NT Developers Interest List”
> Sent: Sunday, August 11, 2002 8:42 PM
> Subject: [ntdev] Re: ExDeleteNPagedLookasideList
>
>
> > I think it would result in BSOD of BAD_POOL_CALLER and not in such a
> > behaviour as you describe.
> >
> > ----- Original Message -----
> > From: “Graham, Simon”
> > To: “NT Developers Interest List”
> > Sent: Sunday, August 11, 2002 7:19 PM
> > Subject: [ntdev] Re: ExDeleteNPagedLookasideList
> >
> >
> > > The documentation for this function says that it frees any remaining
> > entries
> > > in the list and then frees the list. It seems to me that IF you were
to
> > call
> > > this at DISPATCH with a list that had become corrupted in some
circular
> > way,
> > > you could see the behaviour you describe…
> > >
> > > Just a thought
> > > /simgr
> > >
> > > -----Original Message-----
> > > From: Alexey Logachyov [mailto:xxxxx@vba.com.by]
> > > Sent: Friday, August 09, 2002 1:40 PM
> > > To: NT Developers Interest List
> > > Subject: [ntdev] Re: ExDeleteNPagedLookasideList
> > >
> > >
> > > It really HANGS the whole system. Mouse pointer stops frequently.
> Windows
> > do
> > > not overdraw. WinDBG shows nothing on the stack. Well, almost nothing
> > (will
> > > provide some more info on Monday).
> > >
> > > I understand what ExDeleteNPagedLookasideList does. And that’s why I
> asked
> > > this question. I’ve never had any problems with the function. Now, I
> > > increment a counter each time I allocate memory from list and
decrement
> > when
> > > free it. By the time I want to delete list, counter is 0.
> > >
> > > My lookaside list is wrapped in C++ class. It is initialized in
> > constructor
> > > and deleted in destructor. This class works fine in some different
> places
> > in
> > > driver. The whole class seems fine inside, but need to do some more
> > > investigations.
> > >
> > > -htfv
> > >
> > > ----- Original Message -----
> > > From: “Dan Partelly”
> > > To: “NT Developers Interest List”
> > > Sent: Friday, August 09, 2002 5:46 PM
> > > Subject: [ntdev] Re: ExDeleteNPagedLookasideList
> > >
> > >
> > > > Basically, it cant really “hang”. This API simply unlinks a
lookaside
> > from
> > > > system lookaisde lists, then return each entry on the list back to
the
> > > > system memory pool. What exactly do you mean by hang ? Whta happens
to
> > > your
> > > > system ? Are you sure you pass a valid pointer to a lookaside to
this
> > > > function ?
> > > >
> > > > Regards, Dan
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: “Alexey Logachyov”
> > > > To: “NT Developers Interest List”
> > > > Sent: Friday, August 09, 2002 5:28 PM
> > > > Subject: [ntdev] ExDeleteNPagedLookasideList
> > > >
> > > >
> > > > > Under what circumstances calling ExDeleteNPagedLookasideList may
> hang?
> > > Can
> > > > > it be caused by not freeing all memory to pool? How can I trace
all
> > > > > allocations/deallocations?
> > > > >
> > > > > -htfv
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > —
> > > > > You are currently subscribed to ntdev as: xxxxx@rdsor.ro
> > > > > To unsubscribe send a blank email to %%email.unsub%%
> > > > >
> > > >
> > > >
> > > >
> > > > —
> > > > You are currently subscribed to ntdev as: xxxxx@vba.com.by
> > > > To unsubscribe send a blank email to %%email.unsub%%
> > > >
> > >
> > >
> > >
> > >
> > > —
> > > You are currently subscribed to ntdev as: xxxxx@stratus.com
> > > To unsubscribe send a blank email to %%email.unsub%%
> > >
> > >
> > > —
> > > You are currently subscribed to ntdev as: xxxxx@rdsor.ro
> > > To unsubscribe send a blank email to %%email.unsub%%
> > >
> >
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@vba.com.by
> > To unsubscribe send a blank email to %%email.unsub%%
> >
>
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@vba.com.by
> To unsubscribe send a blank email to %%email.unsub%%
>
Ah! Incorrect symbols confused me a bit. ExDeleteNPagedLookasideList removes
items from internal single linked list. The problem arises because the last
item in this list points to 0x00000040 not to 0x00000000. System jumps 15
bytes back when trying to execute mov ebx,[eax], then assigns 0x00000040 to
eax and everything repeats.
Seems like someone damages memory. Though I was pretty sure that that was a
real cause.
-htfv
----- Original Message -----
From: “Alexey Logachyov”
To: “NT Developers Interest List”
Sent: Monday, August 12, 2002 10:57 AM
Subject: [ntdev] Re: ExDeleteNPagedLookasideList
> Huh! It spins in
> ExpInterlockedPopEntrySListResume/ExpInterlockedPopEntrySListFault
> functions! Some kind of fault?
>
> -htfv
>
> ----- Original Message -----
> From: “Alexey Logachyov”
> To: “NT Developers Interest List”
> Sent: Monday, August 12, 2002 10:29 AM
> Subject: [ntdev] Re: ExDeleteNPagedLookasideList
>
>
> > Now, I can provide a bit more information. I debugged into
> > ExDeleteNPagedLookasideList and here what I see:
> > 1. A call to KfAcquireSpinLock
> > 2. KfReleaseSpinLock
> > 3. ExAllocateFromNPagedLokasideList succeeds.
> > 4. ExFreePool
> > 5. goes back to point 3 and hangs in ExAllocateFromNPagedLookasideList.
> > Seems like on ExInterlockedPopEntrySList (at least it never returns, I
set
> a
> > breakpoint after a call to it and it’s never hit).
> >
> > Any ideas?
> >
> > -htfv
> >
> > P.S. I’m running Win2k SP2 check build with MP kernel on a single
> processor
> > machine.
> >
> > ----- Original Message -----
> > From: “Dan Partelly”
> > To: “NT Developers Interest List”
> > Sent: Sunday, August 11, 2002 8:42 PM
> > Subject: [ntdev] Re: ExDeleteNPagedLookasideList
> >
> >
> > > I think it would result in BSOD of BAD_POOL_CALLER and not in such a
> > > behaviour as you describe.
> > >
> > > ----- Original Message -----
> > > From: “Graham, Simon”
> > > To: “NT Developers Interest List”
> > > Sent: Sunday, August 11, 2002 7:19 PM
> > > Subject: [ntdev] Re: ExDeleteNPagedLookasideList
> > >
> > >
> > > > The documentation for this function says that it frees any remaining
> > > entries
> > > > in the list and then frees the list. It seems to me that IF you were
> to
> > > call
> > > > this at DISPATCH with a list that had become corrupted in some
> circular
> > > way,
> > > > you could see the behaviour you describe…
> > > >
> > > > Just a thought
> > > > /simgr
> > > >
> > > > -----Original Message-----
> > > > From: Alexey Logachyov [mailto:xxxxx@vba.com.by]
> > > > Sent: Friday, August 09, 2002 1:40 PM
> > > > To: NT Developers Interest List
> > > > Subject: [ntdev] Re: ExDeleteNPagedLookasideList
> > > >
> > > >
> > > > It really HANGS the whole system. Mouse pointer stops frequently.
> > Windows
> > > do
> > > > not overdraw. WinDBG shows nothing on the stack. Well, almost
nothing
> > > (will
> > > > provide some more info on Monday).
> > > >
> > > > I understand what ExDeleteNPagedLookasideList does. And that’s why I
> > asked
> > > > this question. I’ve never had any problems with the function. Now, I
> > > > increment a counter each time I allocate memory from list and
> decrement
> > > when
> > > > free it. By the time I want to delete list, counter is 0.
> > > >
> > > > My lookaside list is wrapped in C++ class. It is initialized in
> > > constructor
> > > > and deleted in destructor. This class works fine in some different
> > places
> > > in
> > > > driver. The whole class seems fine inside, but need to do some more
> > > > investigations.
> > > >
> > > > -htfv
> > > >
> > > > ----- Original Message -----
> > > > From: “Dan Partelly”
> > > > To: “NT Developers Interest List”
> > > > Sent: Friday, August 09, 2002 5:46 PM
> > > > Subject: [ntdev] Re: ExDeleteNPagedLookasideList
> > > >
> > > >
> > > > > Basically, it cant really “hang”. This API simply unlinks a
> lookaside
> > > from
> > > > > system lookaisde lists, then return each entry on the list back to
> the
> > > > > system memory pool. What exactly do you mean by hang ? Whta
happens
> to
> > > > your
> > > > > system ? Are you sure you pass a valid pointer to a lookaside to
> this
> > > > > function ?
> > > > >
> > > > > Regards, Dan
> > > > >
> > > > >
> > > > > ----- Original Message -----
> > > > > From: “Alexey Logachyov”
> > > > > To: “NT Developers Interest List”
> > > > > Sent: Friday, August 09, 2002 5:28 PM
> > > > > Subject: [ntdev] ExDeleteNPagedLookasideList
> > > > >
> > > > >
> > > > > > Under what circumstances calling ExDeleteNPagedLookasideList may
> > hang?
> > > > Can
> > > > > > it be caused by not freeing all memory to pool? How can I trace
> all
> > > > > > allocations/deallocations?
> > > > > >
> > > > > > -htfv
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > —
> > > > > > You are currently subscribed to ntdev as: xxxxx@rdsor.ro
> > > > > > To unsubscribe send a blank email to %%email.unsub%%
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > —
> > > > > You are currently subscribed to ntdev as: xxxxx@vba.com.by
> > > > > To unsubscribe send a blank email to %%email.unsub%%
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > > —
> > > > You are currently subscribed to ntdev as: xxxxx@stratus.com
> > > > To unsubscribe send a blank email to %%email.unsub%%
> > > >
> > > >
> > > > —
> > > > You are currently subscribed to ntdev as: xxxxx@rdsor.ro
> > > > To unsubscribe send a blank email to %%email.unsub%%
> > > >
> > >
> > >
> > >
> > > —
> > > You are currently subscribed to ntdev as: xxxxx@vba.com.by
> > > To unsubscribe send a blank email to %%email.unsub%%
> > >
> >
> >
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@vba.com.by
> > To unsubscribe send a blank email to %%email.unsub%%
> >
>
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@vba.com.by
> To unsubscribe send a blank email to %%email.unsub%%
>