Home » Developer & Programmer » Precompilers, OCI & OCCI » A memory bug in Pro*C?
A memory bug in Pro*C? [message #163418] Thu, 16 March 2006 12:08
Messages: 1
Registered: March 2006
Junior Member
I am having the following trouble running Pro*C

I copied the example Thread_example1.pc given by the
"Pro*C/C++ Precompiler Programmer's Guide" available at
It illustrates how to use multiple threads with a single shared context.
Then I changed the number of threads from 3 to 80 (I think 10
or 20 would be enough) and compiled it with the linking flag
-lmcheck, to check memory consistency.

Then, every time I run the program, I get the message:
memory clobbered before allocated block
And the program aborts.

Apparently it doesn't happen with Pro*C

Have anyone experienced something similar?
Previous Topic: code is not working properly
Next Topic: Assigning text in an OCI String
Goto Forum:

Current Time: Mon Feb 06 19:14:23 CST 2023