Click here to Skip to main content
16,016,263 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Win32 Owner Draw Pin
YaronNir9-Apr-06 20:14
YaronNir9-Apr-06 20:14 
QuestionWMI in VC++, Access Denied Pin
tobeymag5-Apr-06 21:33
tobeymag5-Apr-06 21:33 
AnswerRe: WMI in VC++, Access Denied Pin
tobeymag6-Apr-06 21:28
tobeymag6-Apr-06 21:28 
QuestionInternet Connection status Pin
mahesh_patil1665-Apr-06 21:31
mahesh_patil1665-Apr-06 21:31 
AnswerRe: Internet Connection status Pin
kakan5-Apr-06 21:56
professionalkakan5-Apr-06 21:56 
AnswerRe: Internet Connection status Pin
Mila0256-Apr-06 2:54
Mila0256-Apr-06 2:54 
GeneralRe: Internet Connection status Pin
kakan6-Apr-06 4:04
professionalkakan6-Apr-06 4:04 
QuestionFree Heap block modified after it was freed Pin
DirkBugner5-Apr-06 21:18
DirkBugner5-Apr-06 21:18 
Dear All,

I have the following problem:

Environment:
Visual Studio 6.0, Service Pack 6, C++, Windows XP
Software is using “Microsoft.Jet.OLEDB.4.0”

After a view hours of operation in debugger, the software stops with the message box “User defined breakpoint”.

Message in output window is:
HEAP[Ellipson.exe]: HEAP: Free Heap block 5cbf760 modified at 5cd2f4c after it was freed

(Ellipson.exe is my program)

Output in callstack window:

NTDLL! 7c911230()
NTDLL! 7c959b79()
NTDLL! 7c9369a9()
NTDLL! 7c97e062()
NTDLL! 7c95a5d0()
NTDLL! 7c9368ad()
MSJET40! 1b005262()
MSJET40! 1b04af35()
MSJET40! 1b01a6f2()
05356890()

Memory and 5cbf760:

05CBF760 14 2D 15 24 AC 14 18 01 78 01 34 05 48 AE C9 05 EE FE EE FE EE FE EE FE EE FE EE FE EE FE EE FE EE and so on …

Memory at 5cd2f4c:
05CD2F4C EE FC EE FE EE FE EE FE EE FE EE FE EE

Here is this FC. This is causing the problem.
I have no idea, how this FC was written to this address. But before allocating memory the debugger checks the memory for the sequence of FE EE. FC is not expected and so the debugger stops the software.
Has anybody an explanation what FC in terms of memory means?
I also can not explain the callstack. This thread is not the main thread and no thread I did start (they all have names). The software is doing inter process communication to a service by COM. Maybe it is a callback from this service?

Thanks for some good advice.

Dirk.


Dirk
AnswerRe: Free Heap block modified after it was freed Pin
toxcct5-Apr-06 21:32
toxcct5-Apr-06 21:32 
GeneralRe: Free Heap block modified after it was freed Pin
DirkBugner5-Apr-06 21:48
DirkBugner5-Apr-06 21:48 
QuestionSQLite ~ Access Pin
aukh5-Apr-06 20:55
aukh5-Apr-06 20:55 
AnswerRe: SQLite ~ Access Pin
scoroop6-Apr-06 0:05
scoroop6-Apr-06 0:05 
AnswerRe: SQLite ~ Access Pin
Waldermort6-Apr-06 2:02
Waldermort6-Apr-06 2:02 
GeneralRe: SQLite ~ Access Pin
aukh6-Apr-06 2:15
aukh6-Apr-06 2:15 
GeneralRe: SQLite ~ Access Pin
Ștefan-Mihai MOGA6-Apr-06 2:20
professionalȘtefan-Mihai MOGA6-Apr-06 2:20 
GeneralRe: SQLite ~ Access Pin
Waldermort6-Apr-06 7:19
Waldermort6-Apr-06 7:19 
Questionabout the checking dvd or cd Pin
abstar5-Apr-06 20:50
abstar5-Apr-06 20:50 
AnswerRe: about the checking dvd or cd Pin
Nibu babu thomas5-Apr-06 21:13
Nibu babu thomas5-Apr-06 21:13 
AnswerRe: about the checking dvd or cd Pin
abstar6-Apr-06 19:32
abstar6-Apr-06 19:32 
QuestionSend mail thru VC++ code Pin
kk_mfc5-Apr-06 20:40
kk_mfc5-Apr-06 20:40 
AnswerRe: Send mail thru VC++ code Pin
Hamid_RT5-Apr-06 21:12
Hamid_RT5-Apr-06 21:12 
GeneralRe: Send mail thru VC++ code Pin
kk_mfc5-Apr-06 22:41
kk_mfc5-Apr-06 22:41 
QuestionInherited Form in C++ Pin
ilidan5-Apr-06 20:34
ilidan5-Apr-06 20:34 
AnswerRe: Inherited Form in C++ Pin
YaronNir6-Apr-06 2:57
YaronNir6-Apr-06 2:57 
GeneralRe: Inherited Form in C++ Pin
ilidan6-Apr-06 15:37
ilidan6-Apr-06 15:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.