Information: Forum is in read-only mode
For details and other support options see

Segfault using rsyslogd 7.4.5

This is the place for developers to discuss bugs, new features and everything else about code changes.

Moderator: alorbach

Google Ads

Segfault using rsyslogd 7.4.5

Postby dvoita » Wed Oct 30, 2013 11:57 pm


I'm using the rsyslog provided rpms (rsyslog-7.4.5-1.el6.x86_64) and get a segfault when trying to start /sbin/rsyslogd. Here's what I see:

Code: Select all
8085 Segmentation fault      (core dumped) /sbin/rsyslogd -i /var/run/

$ gdb /sbin/rsyslogd core.8085


Core was generated by `/sbin/rsyslogd -i /var/run/'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007f993da575f3 in cnfexprOptimize_CMP_var (expr=<value optimized out>) at rainerscript.c:2811
2811            free(cstr);
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.107.el6_4.5.x86_64 json-c-0.10-2.el6.x86_64 libee-0.4.1-1.el6.x86_64 libestr-0.1.8-1.el6.x86_64 libgcc-4.4.7-3.el6.x86_64 librelp-1.0.6-1.el6.x86_64 libuuid-2.17.2-12.9.el6_4.3.x86_64 zlib-1.2.3-29.el6.x86_64

(gdb) info threads
* 1 Thread 0x7f993da15740 (LWP 8085)  0x00007f993da575f3 in cnfexprOptimize_CMP_var (
    expr=<value optimized out>) at rainerscript.c:2811

(gdb) thread 1
[Switching to thread 1 (Thread 0x7f993da15740 (LWP 8085))]#0  0x00007f993da575f3 in cnfexprOptimize_CMP_var (expr=<value optimized out>) at rainerscript.c:2811
2811            free(cstr);

(gdb) bt
#0  0x00007f993da575f3 in cnfexprOptimize_CMP_var (expr=<value optimized out>) at rainerscript.c:2811
#1  cnfexprOptimize (expr=<value optimized out>) at rainerscript.c:2928
#2  0x00007f993da59221 in cnfstmtOptimizeIf (root=<value optimized out>) at rainerscript.c:3005
#3  cnfstmtOptimize (root=<value optimized out>) at rainerscript.c:3123
#4  0x00007f993da7e1ca in rulesetOptimize (pData=0x7f993ef6c610, pParam=<value optimized out>)
    at ruleset.c:814
#5  doRulesetOptimizeAll (pData=0x7f993ef6c610, pParam=<value optimized out>) at ruleset.c:825
#6  0x00007f993da6ac3f in llExecFunc (pThis=0x7f993ef69b90, pFunc=0x7f993da7e1a0 <doRulesetOptimizeAll>,
    pParam=0x0) at linkedlist.c:389
#7  0x00007f993da7d247 in rulesetOptimizeAll (conf=0x7f993ef69aa0) at ruleset.c:835
#8  0x00007f993da62545 in load (cnf=0x7f993dcb8a28, confFile=0x7f993da8eba0 "/etc/rsyslog.conf")
    at rsconf.c:1301
#9  0x00007f993da47460 in realMain (argc=<value optimized out>, argv=<value optimized out>)
    at syslogd.c:1969
#10 0x00007f993bfa9cdd in __libc_start_main () from /lib64/
#11 0x00007f993da45009 in _start ()

(gdb) quit

This is on CentOS 6 2.6.32-358.23.2.el6.x86_64. Please let me know if I can provide any additional information. Thanks!
Posts: 1
Joined: Wed Oct 30, 2013 11:32 pm

Urgent Question?

  • Pulling out your Hair?
  • Wasting Time and Money?
  • Deadline Approaching?

Google Ads

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 0 guests