Memory overrun (stack) between _tmstartserver and the tpsvrinit callback.
707207Aug 3 2009 — edited Aug 7 2009Hi all
And thanks in advance.
We are trying to setup a Linux environment with both Tuxedo And Oracle XA.
Details:
Linux Ubuntu 9.06
Tuxedo 10gR3_32 Linux 01 x86 (downloaded as tuxedo10gR3_32_Linux_01_x86.zip)
oracle 10201 client Linux 32 (downloaded as oracle_10201_client_linux32.zip)
Unfortunately, We have run into a memory overrun (stack) between _tmstartserver and the tpsvrinit callback.
We set up 2 breakpoints one on _tmstartserver and the other on the tpsvrinit callback entry.
Now on the 1 breakpoint we have setup a watch on a local variable address (lets say char x[25] = {0};) declared at some other function (stack).
Now on the 2 breakpoint we can clearly see the stack overrun.
*there is a way to predict local variable address in memory.
Note: When we actually reach the relevant function we can clearly see that the values of the array are the same values as the over run.
We also get an unclear message in the ULOG:
143046.ubuntudev!tmp.16277.3025016528.0: NLS:4: Cannot open message catalog LIBTUX_CAT, set 1, num 262; check TUXDIR=/usr/local/bea/tuxedo10.0, LANG=en_US.UTF-8
Thanks TechSgin