Re: Paged Pool memory



Added my comments inline :
"roger.orr@xxxxxxxxx" wrote:

On Nov 17, 10:16 am, Harish_38 <Haris...@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote:
When the exception is translated i can see that the exception code is
X_E_NOT_ENOUGH_MEMORY. That explains the orgin of Exception.
This can be a common problem( low resources ).

The problem for crash is stack overflow and i trying to find the reason for
that as this is an uncommon. The exception handling mechanism is allocating
lot of memory(like u said) on the stack and ultimately the stack overflows
before the exception is completely handled.

That's the trouble.

Exception 1 -- caused by original out of memory -->Paged pool Memory
Goes into exception handler
tries to allocate lots of memory--->ON Stack
fails -- throws another nested exception ->no it doesnt throw Exception. Rather it results in stack overflow

Exception 2 -- further down the stack -->never raised(makes no sense).
Goes into exception handler
tries to allocate lots of memoryt
fails...

repeat until no stack left (This is not the way exception handler works! :-) )


.



Relevant Pages

  • Re: Python from Wise Guys Viewpoint
    ... > ...now add an exception handler around calls to myeval that handles stack ... and don't allow the user code access to functions and variables that ... Isn't the stack overflow just due to the function being coded/compiled poorly ...
    (comp.lang.lisp)
  • Re: Python from Wise Guys Viewpoint
    ... (defun fac (x) ... Stack overflow on control stack. ... ...now add an exception handler around calls to myeval that handles ... and don't allow the user code access to functions and ...
    (comp.lang.lisp)
  • Re: Undebuggable StackOverflowException, possibly related to hotfi
    ... if you call "new StackTrace" before the first exception ... is raised, the stack overflow disappears. ... we get another exception and end up in the unhandled exception ... > exception handler. ...
    (microsoft.public.dotnet.framework.clr)
  • Re: Application "Nuked"
    ... Should be easy to create a test to verify it. ... Read that somewhere too, now just created a very simple test app for this, ... in a main thread you get stack overflow exception handled by the default app ... exception handler. ...
    (borland.public.delphi.non-technical)
  • Re: Stack growth direction to thwart buffer overflow attacks
    ... |> would never have a problem with stack overflow attacks. ... in that a common problem of using a stack is ... problem of static allocation is forgetting that and recursing. ...
    (comp.security.misc)