Unix Agent crashes, receive corruption (out) error message.

Document ID : KB000085090
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
*** glibc detected *** /appl/uc4/11.2.3/Agent/bin/ucxjlx6: double free or corruption (out): 0x00007f57af818a50 ***

The Unix Agent crashes when it receives a message with an invalid length and a message similar to the one above is displayed.

Investigation

Attempting  to run a File Transfer (FT) job on a Unix Agent causes the Agent to crash and the following message is printed out to the console.

*** glibc detected *** /appl/uc4/11.2.3/Agent/bin/ucxjlx6: double free or corruption (out): 0x00007f57af818a50 *** 

Enable the following traces and duplicate the issue with tracing enabled.
 
[TRACE]
file=../temp/ucxjxxx_t##.txt
trccount=10
tcp/ip=9
event=9
job_debug=9
ft_debug=9
ex_init=9
signal=9
mail=9

In the trace files you will see messages similar to these:
 
20170118/134134.758 - U00029000 Report '1947847' for file '/appl/uc4/11.2.1/ServiceManager/bin/../../Agent/Linux/bin/../out/OAAEGSRP.TXT' has been started.
20170118/134134.771 - U00029001 Report '1947847' ended normally.
20170118/134142.542 - U02000134 Thread '*FE(1948770)' started.
20170118/134142.586 - U02000134 Thread '*FE(1949196)' started.
20170118/134142.622 - U02000135 Thread '*FE(1948770)' ended.
20170118/134142.630 - U02000134 Thread '*FE(1945987)' started.
20170118/134142.670 - U02000135 Thread '*FE(1949196)' ended.
20170118/134142.710 - U02000135 Thread '*FE(1945987)' ended.
20170119/093234.572 - U02000194 The host name of IP address 'HOST_NOT_FOUND' could not be determined.
20170119/093234.572 - U02000143 General GSS error: 'gss_release_name() rc=851968(1002)'.
20170119/093234.572 - U00000000  |
20170119/093234.572 - U02000007 Connection to Agent 'UNIXAGT' terminated.
...
20170119/095438.545 - U01002200 Received an invalid message from partner 'UNIXAGT' via connection '10.10.2.131:10796'.
20170119/095438.545 - U01002203 Field 'Length' in message header is invalid.
20170119/095438.633 - U02000007 Connection to Agent 'UNIXAGT' terminated.


 
Environment:
OS: Unix
OS Version: N/A
Cause:
Cause type:
Defect
Root Cause: The UNIX agent crashes when it receives a message with an invalid length. The error is caused by an invalid gss message sent to the Unix Agent from the FT in the gss setup phase.
Resolution:
Update to a fix version listed below or a newer version if available.

Fix versions when released will be available for download at the Automic-Support-Zone (https://support.automic.com). 

Hotfix-Description: A problem has been solved in the Unix agent when an invalid message is received by the agent. 

A problem has been solved in the Unix agent when an invalid message is received by the agent. The agent crashed when it received a message with an invalid length.

Fix Status: Released

Fix Version(s):
Component(s): Agent UNIX

Automation Engine 12.1.0 – Available
Automation Engine 12.0.2 – Available
Automation Engine 11.2.4 - Available
Additional Information:
Workaround :
N/A