Re: Stack Overflow
- From: "Vadym Stetsyak" <vadym_s@xxxxxxx>
- Date: Fri, 1 Sep 2006 16:06:58 +0300
Hello, Eric!
EW> The code almost completes when it throws a stack overflow exception.
EW> The code makes no recursive calls. I suspect the data is coming through
EW> faster than the app can process it, and events keep piling up until the
EW> stack overflows. Is that possible?
If I understand correctly data is stored in the buffer.
Then taken from that buffer and processed, right?
Then data is piling up in the heap not in the stack...
Can you provide code sample where you process data?
When exception occured - did you look at callstack?
--
Regards, Vadym Stetsyak
www:
http://vadmyst.blogspot.com
Relevant Pages
- RE: Win32 DLL project randomly crashes after moving to VS2005
... Have you found something when your program crashed with stack overflow ... Since your DLL project just upgraded to VS2005, is it possible that the new ... buffer and the return address. ... it will have to overwrite the cookie put in between it and the ... (microsoft.public.vc.ide_general) - Re: Reading local files in Netscape 6 and Mozilla (GM#001-NS)
... > The exception unknown software exception ... Exception xfd is a stack overflow, not a buffer ... Again, a stack overflow, not a buffer overflow. ... (NT-Bugtraq) - [Full-Disclosure] To anybody whos offended by my disclosure policy
... MSIE IFRAME bufferoverflow: ... MSIE nested array sortloop Stack overflow exception: ... My disclosure policy: ... PS. Recursive function call will cause stack overflow causing write exception in guard page on a push, no control over registers: ... (Full-Disclosure) - Re: Public disclosure of discovered vulnerabilities
... in a buffer stored on the stack. ... That's a stack overflow, because bufis a stack-allocated buffer. ... *I* didn't introduce that distinction. ... publicly known methods of exploiting stack overflows -- whereas there ... (sci.crypt) - Re: WindowsError: stack overflow
... > I can get through about 1750 pages of 5000 before I get a WindowsError: ... > stack overflow exception. ... A typical source of stack overflow is recursion. ... (comp.lang.python) |
|