Dear mackpei,
Our SIGBUS/SIGSEGV problem came from a piece of code like this:
void
foo1( void )
{
STRUCT_ABC *ptr_StructAbc;
ptr_StructAbc = new STRUCT_ABC;
ptr_StructAbc = foo2( param1 );
...
}
If you need more help, please let me know.
Regards,
<rousse>
Hello,
Can anyone find what the (memory leak) problem is in this code segment:
--------------------------
void
foo1( void )
{
A *a = appArray.iterate( 0 );
B *b;
b = new B;
...
b = foo2( a->id );
...
delete b;
}
Note that foo2 returns B*
---------------------------
Thank you.
Hello,
I implemented successfully this:
${ORACLE_HOME}/bin/tnsping ${ORACLE_SID} > /dev/null
if [[ $? -eq 0 ]]; then
#Oracle is up...
#...do something...
else
#Oracle is down...
#...do something...
fi
Thanks.
<rousse>
Paresh,
This is a complex challenge. :-) After confirming (and excluding) many variables, I decided that it's a memory leak related issue. However, I didn't have the proper tool available to troubleshoot (e.g., PurifyPlus, Insure++, etc.) Thus, I found a different (workaround) solution that...
Hello,
I want to check with a ksh script if another process is running and get the process id, too. Also, I am able to get the following line:
userid 2345 1 0 13:58:52 pts/tg 0:00 abcd -a devl -f /home/cfg/abcd.cfg
How can I retrieve the pid value - 2345 - and assign it to a local...
What are the possibilities of getting SIGBUS and SIGSEGV errors in the following scenario?
There is a program (C/C++/Pro*C) that was running fine under HP-UX 11.x and Oracle8i (8.1.6). Oracle database was upgraded to Oracle9i (9.2.0). The source code, including the project libraries, was...
What are the possibilities of getting SIGBUS and SIGSEGV errors in the following scenario?
There is a program (C/C++/Pro*C) that was running fine under HP-UX 11.x and Oracle8i (8.1.6). Oracle database was upgraded to Oracle9i (9.2.0). The source code, including the project libraries, was...
What are the possibilities of getting SIGBUS and SIGSEGV errors in the following scenario?
There is a program (C/C++/Pro*C) that was running fine under HP-UX 11.x and Oracle8i (8.1.6). Oracle database was upgraded to Oracle9i (9.2.0). The source code, including the project libraries, was...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.