View Issue Details

IDProjectCategoryView StatusLast Update
0015486CentOS-7rsyslogpublic2018-11-23 15:54
Reporterhrd 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformESXiOSOS Version
Product Version7.5.1804 
Target VersionFixed in Version 
Summary0015486: rsyslog: segfault (memory violation) if LinkedList is used
DescriptionIf ActionQueue is used and ActionQueueType is set to LinkedList rsyslogd crashes to memory violation. If ActionQueueType is set to Disk it runs OK.

Relevant Log file (/var/log/messages):
Nov 18 03:35:32 logger audispd: node=logger.domain type=ANOM_ABEND msg=audit(1542508532.016:25674): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=system_u:system_r:syslogd_
t:s0 pid=7183 comm=72733A6D61696E20513A526567 reason="memory violation" sig=11
Nov 18 03:35:32 logger kernel: rs:main Q:Reg[7195]: segfault at 1a ip 00007f92ea21fa3c sp 00007f92bca6b7e8 error 4 in libc-2.17.so[7f92ea0c9000+1c3000]
Nov 18 03:35:32 logger systemd: rsyslog.service: main process exited, code=killed, status=11/SEGV
Nov 18 03:35:32 logger systemd: Unit rsyslog.service entered failed state.
Nov 18 03:35:32 logger systemd: rsyslog.service failed.
Nov 18 03:35:32 logger audispd: node=logger.domain type=SERVICE_STOP msg=audit(1542508532.020:25675): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=rsyslog comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Nov 18 03:35:32 logger systemd: rsyslog.service holdoff time over, scheduling restart.
Nov 18 03:35:32 logger audispd: node=logger.domain type=SERVICE_START msg=audit(1542508532.152:25676): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=rsyslog comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 18 03:35:32 logger audispd: node=logger.domain type=SERVICE_STOP msg=audit(1542508532.152:25677): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=rsyslog comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 18 03:35:32 logger systemd: Starting System Logging Service...
Nov 18 03:35:32 logger rsyslogd: [origin software="rsyslogd" swVersion="8.24.0" x-pid="8552" x-info="http://www.rsyslog.com"] start
Nov 18 03:35:32 logger systemd: Started System Logging Service.
Nov 18 03:35:32 logger audispd: node=logger.domain type=SERVICE_START msg=audit(1542508532.167:25678): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=rsyslog comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

/etc/rsyslog.conf configuration:
$ActionQueueFileName da1 # unique name prefix for spool files
$ActionQueueMaxDiskSpace 400g # 1gb space limit (use as much as possible)
$ActionQueueSaveOnShutdown on # save messages to disk on shutdown
$ActionQueueType LinkedList # run asynchronously
$ActionResumeRetryCount -1 # infinite retries if host is down
*.* @@10.20.30.40:514;ForwardFormat
Additional Information# uname -a
Linux lxseclog401.ux.to2cz.cz 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
# /usr/sbin/rsyslogd -v
rsyslogd 8.24.0, compiled with:
        PLATFORM: x86_64-redhat-linux-gnu
        PLATFORM (lsb_release -d):
        FEATURE_REGEXP: Yes
        GSSAPI Kerberos 5 support: Yes
        FEATURE_DEBUG (debug build, slow code): No
        32bit Atomic operations supported: Yes
        64bit Atomic operations supported: Yes
        memory allocator: system default
        Runtime Instrumentation (slow code): No
        uuid support: Yes
        Number of Bits in RainerScript integers: 64

See http://www.rsyslog.com for more information.
#
Tagsmemory, rsyslog syslog, segfault
abrt_hash
URL

Activities

hrd

hrd

2018-11-23 15:54

reporter  

rsyslog.conf (5,192 bytes)

Issue History

Date Modified Username Field Change
2018-11-23 15:54 hrd New Issue
2018-11-23 15:54 hrd File Added: rsyslog.conf
2018-11-23 15:54 hrd Tag Attached: memory
2018-11-23 15:54 hrd Tag Attached: rsyslog syslog
2018-11-23 15:54 hrd Tag Attached: segfault