The binary uxhstpurge crashed generating a coredump when it's launched via a uproc script to purge the history file of the manager SAP.
Example of the command used:
$UXSAP_DIR_EXEC/uxhstpurge $S_NOEUD
The output generated in the log:
Creation of sapuc standard filebuf failed.
/DUAS_NODE/data/exp/upr/U000000016.000: line 10: 21312: Abort(coredump)Dollar Universe on Unix/Linux
The problem is due to the SAP library initialization while being launched inside a script.
The error in the log "Creation of sapuc standard filebuf failed" indicates a low-level failure in the SAP Common Unicode (SAPUC) layer when trying to initialize standard file buffers.
The SAP library NWRFC does not find the FD 0 so it gets the error:
fcntl(0, F_GETFL) = -1 EBADF (Bad file descriptor)
Modify the command used in the Uproc to redirect stdin to force FD 0 creation, hence change the call to the binary failing appending </dev/null
$UXSAP_DIR_EXEC/uxhstpurge $S_NOEUD </dev/null