Hi,

We have built rsyslog with TLS support (--enable-gnutls) and its working
fine (able to send traffic via TLS channel) as a daemon.

However, when we do rsyslog -N 2, it throws an error

rsyslogd: malloc.c:2406: sysmalloc: Assertion `(old_top == initial_top
(av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE &&
prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) ==
0)' failed.
Aborted


rajesh.kaki@test-ip:/etc/rsyslog.d$ echo $?
134


Even when running rsyslog in debugging/interactive mode, rsyslog -dn seems
to have issue

Next token is token ')' ()
Shifting token ')' ()
Entering state 140
Reducing stack by rule 67 (line 225):
   $1 = token FUNC ()
   $2 = token '(' ()
   $3 = nterm fparams ()
   $4 = token ')' ()
7801.689854056:main thread    : Called LogMsg, msg: error during
parsing file /etc/rsyslog.d/40-dyn_stats.conf, on or before line 148:
exec_template(): template 'relay.internal.metric' could not be found
rsyslogd: malloc.c:2406: sysmalloc: Assertion `(old_top == initial_top
(av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE &&
prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) ==
0)' failed.
Aborted


How come it's working in background mode and not working in interactive or
other modes?
(Rsyslog version - 8.27.0, debian 9 stretch)

-- 
Regards,
Rajesh KSV
_______________________________________________
rsyslog mailing list
https://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to