Hello Soyef,

 the assertion is related to message reference counting. (particularly dropped by this code segment: https://github.com/syslog-ng/syslog-ng/blob/master/lib/logmsg/logmsg.c#L1521)
 It is indicating that there was an unexpected scenario, and it might be a bug. Therefore I would rather continue this investigation as a https://github.com/syslog-ng/syslog-ng/issues issue. But if you would like to stay with the mailing list it is also excellent.

 We need as many information about your system as possible to investigate why this is happening.

Thank You in advance!
Laci


From: syslog-ng <syslog-ng-bounces@lists.balabit.hu> on behalf of Ahmed Soyef <Soyef.Ahmed34@homeoffice.gov.uk>
Sent: Wednesday, July 29, 2020 13:19
To: syslog-ng@lists.balabit.hu <syslog-ng@lists.balabit.hu>
Subject: [syslog-ng] Error message in syslog-ng (LOGMSG_REFCACHE_VALUE_TO_REF(old_value) >= 1)
 
CAUTION: This email originated from outside of the organization. Do not follow guidance, click links, or open attachments unless you recognize the sender and know the content is safe.

Hi All,

 

We’re seeing some instances of this error message

ERROR:lib/logmsg/logmsg.c:1521:log_msg_ref: assertion failed: (LOGMSG_REFCACHE_VALUE_TO_REF(old_value) >= 1)

I’ve had a quick search about and can’t figure out what it actually means. Can anyone shed some light and possibly some guidance on how to avoid it happening?

 

Regards,

 

Soyef

**********************************************************************
This email and any files transmitted with it are private and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please return it to the address
it came from telling them it is not for you and then delete it from your system.
This email message has been swept for computer viruses.
**********************************************************************