Tuxedo COBOL WS CLIENT CRASHES WITHIN _E_NET_RECV() FUNCTION

(Doc ID 1630107.1)

Last updated on NOVEMBER 04, 2016

Applies to:

Oracle Tuxedo - Version 10.3.0 and later
HP IA64 HPUNIX

Symptoms

 

Remote Tuxedo WS clients written in MicroFocus COBOL and running on HP-UX 11v3 (Itanium 64bits) return an error message :
    

'rts32 : Error 200 encountered during finalization'.

  
The WS client crashes. Here below is the stack trace :

  

 (gdb) bt
 #0  0x60000000f75e4290:0 in _e_net_recv () at e_net.c:3128
 #1  0x60000000f76ef6c0:0 in br_e_net_recv () at brnet.c:704
 #2  0x60000000f764f680:0 in _wsc_nw_msgrcv () at wsmsg.c:307
 #3  0x60000000f76570e0:0 in _wsc_msgrcv () at wsmsg.c:2145
 #4  0x60000000f7652590:0 in _wsc_getrply () at wsmsg.c:1133
 #5  0x60000000f7667a60:0 in tpchkunsol () at wsunsol.c:279
 #6  0x60000000f7668440:0 in _wsc_sighndler () at wsunsol.c:321
 #7  <signal handler called>
 #8  0x60000000f718b1f0:0 in ___lwp_wait_sys+0x30 () from lib/libpthread.so.1
 #9  0x60000000f718a690:0 in _lwp_wait ()
     at /ux/core/libs/threadslibs/src/common/lwp/lwp_wait.c:82
 #10 0x60000000f70d27c0:0 in __vp_join ()
     at /ux/core/libs/threadslibs/src/common/pthreads/vp.c:447
 #11 0x60000000f70be7c0:0 in pthread_join ()
     at /ux/core/libs/threadslibs/src/common/pthreads/pthread.c:5488
 #12 0x60000000f6ee9570:0 in _mFgmain () at rtgmain.c:306
 #13 0x3300:0 in main+0x60 ()

 

The crash occurs within _e_net_recv() function. In addition, a timing issue between threads can be noticed.


Changes

   From the documentation :

 "
 Support for Programming a Multithreaded/Multicontexted ATMI Application

 The Oracle Tuxedo system supports only:
 
     Kernel-level threads packages (user-level threads packages are not supported)
     Multithreaded applications written in C (multithreaded COBOL applications are not supported)
     Multicontexted applications written in either C or COBOL
 
 If your operating system supports POSIX threads functions as well as other types of threads functions, we recommend using the POSIX threads functions,  which make your code easier to port to other platforms later.
 "

 


   More explicitly :
 

"Note: The Oracle Tuxedo system does not support multithreaded COBOL applications."

 
 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms