Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Upgrade from 10 to 11 - heap corruption problem

893090Oct 7 2011 — edited Aug 24 2012
Hello,

I have a problem with Windows application that was developed some time ago. It connects to Oracle using ODBC. It works fine with Oracle Client version 10.2.0.1. When I upgraded Oracle client to 11g Client R2, the strange problem occurred. Debug showed that the break happens when MFC's class CRecordSet calls method Close(). It is closed right after updating row (method Update()). Error message looks like this:

------------------------------------------------------------------------------------------
Debug Error!

Program C:\**************\app.exe

HEAP CORRUPTION DETECTED: after Normal block (#4292) at 0x01B59300
CRT detected that the application wrote to memory after end of heap buffer.

Memory allocated at
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\dbcore.cpp(2622).

(Press Retry to debug application)
------------------------------------------------------------------------------------------

OS is Windows 7, 32-bit.

When I press Ignore everything seems to be fine. Until the next time anything in database is updated. Then, the same message appears. I repeat In Oracle 10 everything works fine. Is ODBC driver upgraded to version that does not support some operations?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 21 2012
Added on Oct 7 2011
8 comments
2,384 views