RP/TUX 7.1 - BBL fails to unlock the Bulletin Board

(Doc ID 771633.1)

Last updated on NOVEMBER 04, 2016

Applies to:

Oracle Tuxedo / Tuxedo / 7.1
Information in this document applies to any platform

Goal

Platform: HP-UX 11.00
The reproducer "client" explicitly uses the function "tmbblock()" to lock the BB and then commits
suicide to leave the BB locked and have the BBL attempting to free the lock. The lock is then held by the BBL itself
and never freed.

The test case is under /nfs/homes/pabgrall/lchp13/cases/357592/testcase.tar.Z

untar everything and "runsample" should build most things

ipclean
clean any remaining TUXEDO process

in terminal 1
> . ./setenv
> tmboot -y

in terminal 2
> . ./setenv
> tmadmin

in terminal 1
> client -c -k

in terminal 2 enter rapidly:
tmadmin> bbi   -> the BB lock is held by client
--> some times later
tmadmin> bbi   -> some times later the BB lock is held by BB and never freed

in terminal 3
> . ./setenv
> tmshutdown/...   --> fails because the BB lock is not free
> --> any client/server that attempts to get the BB lock will fail

The reproducer "client" uses explicitly the function "tmbblock()" to lock the BB and then commits
suicide to leave the BB locked and have the BBL attempting to free the lock. The lock is then held by the BBL itself
and never freed.

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