<br><font size=2 face="sans-serif">On solaris 8, Forte compiler, I have a problem catching BAD_PARAM from omniORB:</font>
<br>
<br>
<br><font size=2 face="sans-serif">The following code is in thrad 'n'... (simplified -- removed all other catch blocks for testing)</font>
<br>
<br><font size=2 face="sans-serif"> fprintf(stderr,"%s:%d\n", __FILE__, __LINE__); fflush(stderr); /// this is line 409 in the trace output below</font>
<br>
<br><font size=2 face="sans-serif"> try {</font>
<br><font size=2 face="sans-serif"> CORBA::Object_var obj = ORB->string_to_object( Buffer );</font>
<br>
<br><font size=2 face="sans-serif"> fprintf(stderr,"%s:%d\n", __FILE__, __LINE__); fflush(stderr);</font>
<br>
<br><font size=2 face="sans-serif"> T.SQLAgent = GSQL::SQLAgent::_narrow(obj);</font>
<br>
<br><font size=2 face="sans-serif"> fprintf(stderr,"%s:%d\n", __FILE__, __LINE__); fflush(stderr);</font>
<br><font size=2 face="sans-serif"> } catch(CORBA::BAD_PARAM& ex) {</font>
<br><font size=2 face="sans-serif"> </font>
<br><font size=2 face="sans-serif"> Worker->error("Connection attempt - Caught system exception BAD PARAM -- unable to contact the object.");</font>
<br><font size=2 face="sans-serif"> }</font>
<br>
<br>
<br><font size=2 face="sans-serif">This never seems to catch the BAD_PARAM exception... </font>
<br>
<br><font size=2 face="sans-serif">Here's the output:</font>
<br>
<br><font size=2 face="sans-serif">../Database/GenericSQL.cpp:409</font>
<br><font size=2 face="sans-serif">Run-time exception error; current exception: BAD_PARAM</font>
<br><font size=2 face="sans-serif"> No handler for exception.</font>
<br><font size=2 face="sans-serif">signal fault in critical section</font>
<br><font size=2 face="sans-serif">signal number: 11, signal code: 2, fault address: 0xfd802000, pc: 0xfe8da6dc, sp: 0xfdf0dc18</font>
<br><font size=2 face="sans-serif">libthread panic: fault in libthread critical section : dumping core (PID: 15051 LWP 3)</font>
<br><font size=2 face="sans-serif">stacktrace:</font>
<br><font size=2 face="sans-serif"> fe8da6c0</font>
<br><font size=2 face="sans-serif"> fe8dd6a0</font>
<br><font size=2 face="sans-serif"> fe8dd730</font>
<br><font size=2 face="sans-serif"> fe8eb01c</font>
<br><font size=2 face="sans-serif"> fe8dd6d8</font>
<br><font size=2 face="sans-serif">./startgk: line 30: 15051 Segmentation Fault (core dumped) EXSKernel $*</font>
<br>
<br><font size=2 face="sans-serif">Please help!<br>
</font>
<br><font size=2 face="sans-serif">Renny Koshy<br>
President & CEO<br>
<br>
--------------------------------------------<br>
RUBIX Information Technologies, Inc.<br>
www.rubixinfotech.com</font>