godsonhand / spserver

Automatically exported from code.google.com/p/spserver
Other
0 stars 0 forks source link

heap error #34

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. upgrade vc6 workspace to vs2008
2. build testiocpecho.exe
3. telnet to localhost 3333, type some text and quit, again and again

What is the expected output? What do you see instead?
VS2008 said:
HEAP[testiocpecho.exe]: HEAP: Free Heap block 3f6b68 modified at 3f6d14
after it was freed

What version of the product are you using? On what operating system?
latest svn source, on WinXP SP3 with VS2008

Please provide any additional information below.

Original issue reported on code.google.com by everwa...@gmail.com on 5 May 2010 at 8:53

GoogleCodeExporter commented 9 years ago
I have not the VS2008 environment, only have VC6 and VS2003.
Dose the VS2008 point out which line of the source code?

Original comment by stephen....@gmail.com on 9 May 2010 at 3:48

GoogleCodeExporter commented 9 years ago
The stack seems be destroyed. Here's the stack of VS2008.
I think this is an error on stack. But I'm not familiar with the code :(
Here is the stack of the breakpoint.
>   msvcr90d.dll!__set_flsgetvalue()  行256 + 0xc 字节   C
    00000031()  
    msvcr90d.dll!_heap_alloc_base(unsigned int size=255)  行105 + 0x28 字节  C
    ffffff90()  

Original comment by everwa...@gmail.com on 11 May 2010 at 2:38