Operating System - Linux
1752800 Members
5636 Online
108789 Solutions
New Discussion

Core dump due to identifiers "TRY, CATCH, RAISE, ENDTRY, FINALLY, CATCH_ALL" in HP-UX 11V2

 
sathis kumar
Frequent Advisor

Core dump due to identifiers "TRY, CATCH, RAISE, ENDTRY, FINALLY, CATCH_ALL" in HP-UX 11V2

Hello,

We are working on migrating our application from HP-UX 11i to HP-UX 11v2.

We were using the identifiers "TRY, CATCH, RAISE, ENDTRY, FINALLY, CATCH_ALL" to build our executable in 11i version.
In 11V2, though we are able to build the executable, it throws core dump while running our application. While debugging,
we found that it throws error when the code flow reach calling "TRY, CATCH, RAISE, ENDTRY, FINALLY, CATCH_ALL". Could you
please let us know the way to handle this?

E.g:

if (status)
{
RAISE(genericServerInitialize_ex);
}
CATCH(genericServerInitialize_ex)
serverJournalDceErrorReport(status, "Error from DCE_server", errstat);
RERAISE;
......
.....
.....


CATCH(genericServerInitialize_ex)
TRACE1("[%s] -SB TMP Exception = |\n", functionName);
serverJournalDceErrorReport(status, "Error from venus_DCE_server", errstat);
RERAISE;

ENDTRY



Thanks in advance for your help,
Sathish