SUSE Support

Here When You Need Us

ClamAV/clamsap: SAP work process coredumps on cl_scandesc_callback() during virus scan check

This document (000019907) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server for SAP Applications 12

Situation

SAP work processes are crashing and generating core dumps during virus scan check activities (like scanning file attachments etc.). Referencing the stack trace, the work process core dumps on cl_scandesc_callback() during a file scan:
 
C-Stack:
M  si_code = 1
M  Sending process ID = 54551095
M  Real user ID of sending process = 0
M  SEGV_MAPERR: Address not mapped to object
M  3406237 (Memory location which caused fault)
M  ------------------ C-STACK ----------------------
dw.sapRD1_DVEBMGS00[S](LinStackBacktrace+0xa9)[0x55fe161cefa0,0x784fa0]
dw.sapRD1_DVEBMGS00[S](LinStack+0x4d)[0x55fe161d1f96,0x787f96]
dw.sapRD1_DVEBMGS00[S](CTrcStack2+0x4b)[0x55fe161cdd42,0x783d42]
dw.sapRD1_DVEBMGS00[S](SigIGenAction+0x80b)[0x55fe183ed2cb,0x29a32cb]
<signal handler called> [0x7efe58cddc00,0x11c00]
libclamav.so[T][0x7ef6f141fed3,0x50ed3]
libclamav.so[S](cl_scandesc_callback+0x81)[0x7ef6f1420481,0x51481]
libclamav.so[S](cl_scanfile_callback+0x72)[0x7ef6f1420682,0x51682]
libclamsap.so[T][0x7efe4f0b095d,0x295d]
libclamsap.so[S](VsaScan+0xafc)[0x7efe4f0b36ac,0x56ac]
dw.sapRD1_DVEBMGS00[S](VsiIXScan+0x2f9)[0x55fe17af92b7,0x20af2b7]
dw.sapRD1_DVEBMGS00[S](VsiScanClean+0x5ae)[0x55fe17b000bb,0x20b60bb]
dw.sapRD1_DVEBMGS00[S](ab_vsiScan+0x7f1)[0x55fe17af1b5d,0x20a7b5d]
dw.sapRD1_DVEBMGS00[S](ab_jmeth()+0x1b3)[0x55fe17e81323,0x2437323]
dw.sapRD1_DVEBMGS00[S](ab_extri()+0x1fa)[0x55fe17d4eb2a,0x2304b2a]
dw.sapRD1_DVEBMGS00[S](ab_xevent(char16_t const*)+0x36)[0x55fe17da8cf6,0x235ecf6]
dw.sapRD1_DVEBMGS00[S](ab_trigg()+0x55)[0x55fe181ce8c5,0x27848c5]
dw.sapRD1_DVEBMGS00[S](ab_run+0xcd)[0x55fe181dc8ad,0x27928ad]
dw.sapRD1_DVEBMGS00[S](dynpmcal(DINFDUMY*, STPDUMMY*)+0x896)[0x55fe17d31516,0x22e7516]
dw.sapRD1_DVEBMGS00[S](dynppai0(DINFDUMY*)+0x31b)[0x55fe1817190b,0x272790b]
dw.sapRD1_DVEBMGS00[S](dynprctl(DINFDUMY*)+0x1d0)[0x55fe17d31f50,0x22e7f50]
dw.sapRD1_DVEBMGS00[S](dynpen00+0x418)[0x55fe17d28eb8,0x22deeb8]
dw.sapRD1_DVEBMGS00[S](ThrtCallAbapVm+0xc2)[0x55fe17d18812,0x22ce812]
dw.sapRD1_DVEBMGS00[S](GuiHandler::handleRequest(REQUEST_BUF*, bool)+0x574)[0x55fe16124910,0x6da910]
dw.sapRD1_DVEBMGS00[S](ThStart()+0x1e06)[0x55fe160585a8,0x60e5a8]
dw.sapRD1_DVEBMGS00[S](DpMain+0x381)[0x55fe180fb771,0x26b1771]
libc.so.6[S](__libc_start_main+0xf5)[0x7efe5894aa35,0x23a35]
M  ------------------ c-stack end ------------------

Resolution

This issue is fixed by using the multithreaded version of libclamsap library, libclamdsap.so instead of libclamsap.so, as "Adapter Path". 

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000019907
  • Creation Date: 11-Mar-2021
  • Modified Date:11-Mar-2021
    • SUSE Linux Enterprise Server for SAP Applications

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.