RP/TUX 8.1/TUX 9.1 - Child thread in server application core dumps when using SYSTEM_ACCESS=PROTECTED (Doc ID 777028.1)

Last updated on NOVEMBER 04, 2016

Applies to:

Oracle Tuxedo / Tuxedo / 8.1,9.1
Information in this document applies to any platform

Goal

DESCRIPTION:
The customer's application creates child thread in tpsvrinit() that calls tpacall() with TPNOREPLY.
Sometimes, it dumps core with the following stack:

bash-2.05$ pstack core
core 'core' of 3019:    simpservp -C dom=simpapp -g 10 -i 1000 -u holden -U /hom
e/mkishim/TUX8
-----------------  lwp# 2 / thread# 2  --------------------
 ff226280 tpacall  (21334, 38140, 0, 4, 1400, 14a8) + 584
 00010c60 child    (ffbfd972, 0, ffffffff, ffbfd972, 398af, 38140) + 40
 fef657b4 _lwp_start (0, 0, 0, 0, 0, 0)
-----------------  lwp# 1 / thread# 1  --------------------
 fef658f8 __lwp_park (fef78b44, 0, ff354800, fef78000, 33cd8, 1) + 14
 fef6206c slow_lock (ff354800, fed20000, 2, 2, 0, 33cd8) + 58
 ff0edca4 _e_mutex_lock (fffffffc, ff354800, 0, 0, 0, 0) + bc
 ff230864 _tmatmienter (21450, 15, 0, 33cd8, 2bfb0, ff3547f8) + 47c
 ff21cfa4 _tpfree_internal (21450, ffbff8ec, 2bfb0, 8000000, f8000000, 21588) +
b8
 ff26d384 _tmrcvrq (21450, ffbff8ec, a2, 7ffffff, 1000, 1) + b0c
 ff27140c _tmrunserver (fe9a7148, 1400, ff349a60, 0, 33cd8, 2bfb0) + b8c
 ff24e030 _tmstartserver (0, ffbffa1c, 21040, 21588, 1540, 1) + 1b0
 00010aa0 main     (e, ffbffa1c, ffbffa58, 21000, 0, 0) + 20
 00010a08 _start   (0, 0, 0, 0, 0, 0) + 108

bash-2.05$ pstack core
core 'core' of 3147:    simpservp -C dom=simpapp -g 10 -i 1000 -u holden -U /hom
e/mkishim/TUX8
-----------------  lwp# 2 / thread# 2  --------------------
 ff22630c tpacall  (fe9a7148, 38140, 0, 4, 1400, 14a8) + 610
 00010c60 child    (ffbfd972, 0, 0, ffbfd972, 52444b, 38140) + 40
 fef657b4 _lwp_start (0, 0, 0, 0, 0, 0)
-----------------  lwp# 1 / thread# 1  --------------------
 fef625ec pthread_mutex_unlock (fef405a0, ff12ec08, 0, 0, 5, 64) + e4
 ff0a1390 _e_ipc_gshmat (21450, 27ea4, fe980000, 0, 0, 1) + 4f4
 ff247ef8 _tmreattach (21450, 1, 0, 0, 1400, 1) + 130
 ff230980 _tmatmienter (21450, 4, 0, 33cd8, 2bfb0, ff3547f8) + 598
 ff2264c8 _tpacall_internal (21450, 213b4, 50a58, 4, 33cd8, ffffffff) + 124
 ff226258 tpacall  (213b4, 50b20, 0, 4, 1400, 14a8) + 55c
 00010d74 TOUPPER3 (2d49c, 0, 1203, 2bfb0, 6400, 50b20) + 3c
 ff24f304 _tmsvcdsp (21450, 10d38, fffffffe, 0, 0, 0) + ed4
 ff2719f8 _tmrunserver (29ec, 1400, ff349a60, 0, 33cd8, 2bfb0) + 1178
 ff24e030 _tmstartserver (0, ffbffa1c, 21040, 21588, 1540, 1) + 1b0
 00010aa0 main     (e, ffbffa1c, ffbffa58, 21000, 0, 0) + 20
 00010a08 _start   (0, 0, 0, 0, 0, 0) + 108

CONFIGURATION:
Tuxedo 8.1 (using user therad on server application)

Solution

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