A memory bug in Pro*C? [message #163418] |
Thu, 16 March 2006 12:08 |
arnaldom
Messages: 1 Registered: March 2006
|
Junior Member |
|
|
I am having the following trouble running Pro*C 10.2.0.1.0.
I copied the example Thread_example1.pc given by the
"Pro*C/C++ Precompiler Programmer's Guide" available at
http://www.cs.umbc.edu/help/oracle8/server.815/a68022/threads.htm#998593
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 9.2.0.4.0.
Have anyone experienced something similar?
|
|
|