Posted: Wed Jan 23, 2008 1:04 pm Post subject: Running MQ application using purify
Newbie
Joined: 18 Dec 2007 Posts: 6
I am running C++ application on Sun Solaries MQ version 5.3. C++ application is running in client mode. After running the application with purify, I am getting various uninitailized memory read error. Can anyone please tell me if I can remove these errors somehow and if this can't be removed then is it dangerous for the application ?
UMR: Uninitialized memory read:
* This is occurring while in thread 29:
_putmsg [libc.so.1]
putmsg [libthread.so.1]
clnt_dg_call [clnt_dg.c]
domatch [yp_match.c]
__yp_match_cflookup [yp_match.c]
_nss_nis_ypmatch [nss_nis.so.1]
_nss_nis_lookup [nss_nis.so.1]
nss_search [libc.so.1]
_uncached_getpwnam_r [libc.so.1]
getpwnam_r [libc.so.1]
__posix_getpwnam_r [libc.so.1]
xcsGetpwnam [fclear.c]
xtrGetTraceLock [fclear.c]
xtrAccessTraceControl [fclear.c]
xtrInitialize [fclear.c]
InitProcessInitialisation [fclear.c]
pthread_once [libthread.so.1]
xcsInitialize [fclear.c]
DoConnect [amqrreqa.c]
zstMQCONN [iforslnk.c]
MQCONN [amqzuhd0.c]
long createQMConnection() [MQueueC.c]
long getQMConnectionForThread() [MQueueC.c]
MQbeginTxn [MQueueC.c]
MQControlDequeue [MQControl.c]
dce_pthread_start [pthread_impl.c]
_thread_start [libthread.so.1]
* Reading 12 bytes from 0xf933ef4c (misaligned) on the stack of thread 29 (4 bytes at 0xf933ef4c uninit).
* Address 0xf933ef4c is 60 bytes below frame pointer in function
clnt_dg_call.
MQCONN takes 4 parameter, out of them only one is input parameter and rest 3 are output parameters. and Input is only queue manager name that I am providing .
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum