<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hello Soyef,</div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
the assertion is related to message reference counting. (particularly dropped by this code segment: <a href="https://github.com/syslog-ng/syslog-ng/blob/master/lib/logmsg/logmsg.c#L1521">https://github.com/syslog-ng/syslog-ng/blob/master/lib/logmsg/logmsg.c#L1521</a>)</div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
It is indicating that there was an unexpected scenario, and it might be a bug. Therefore I would rather continue this investigation as a <a href="https://github.com/syslog-ng/syslog-ng/issues">https://github.com/syslog-ng/syslog-ng/issues</a> issue. But if
you would like to stay with the mailing list it is also excellent.</div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
We need as many information about your system as possible to investigate why this is happening.</div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<ul>
<li>Version of syslog-ng: printed by "syslog-ng --version"</li><li>Origin of syslog-ng. (How was it built?) It was coming from an official repository, or you compiled it from source code?</li><li>The platform it is running on.</li><li>The configuration you are using, while the error occurred.</li><li>If your system is configured in that way, there should be a "core file" generated while this error happening. gdb can print the backtrace from that core file, which would be really helpful. (Please be careful! The backtrace MIGHT contains segments of log
messages, and those segments might contains sensitive information.)</li></ul>
<div><br>
</div>
<div>Thank You in advance!</div>
<div>Laci</div>
<div><br>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> syslog-ng <syslog-ng-bounces@lists.balabit.hu> on behalf of Ahmed Soyef <Soyef.Ahmed34@homeoffice.gov.uk><br>
<b>Sent:</b> Wednesday, July 29, 2020 13:19<br>
<b>To:</b> syslog-ng@lists.balabit.hu <syslog-ng@lists.balabit.hu><br>
<b>Subject:</b> [syslog-ng] Error message in syslog-ng (LOGMSG_REFCACHE_VALUE_TO_REF(old_value) >= 1)</font>
<div> </div>
</div>
<style>
<!--
@font-face
{font-family:"Cambria Math"}
@font-face
{font-family:Calibri}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif}
a:link, span.x_MsoHyperlink
{color:#0563C1;
text-decoration:underline}
a:visited, span.x_MsoHyperlinkFollowed
{color:#954F72;
text-decoration:underline}
span.x_EmailStyle17
{font-family:"Calibri",sans-serif;
color:windowtext}
.x_MsoChpDefault
{font-family:"Calibri",sans-serif}
@page WordSection1
{margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.x_WordSection1
{}
-->
</style>
<div lang="EN-GB" link="#0563C1" vlink="#954F72">
<div style="background-color:#FFEB9C; width:100%; border-style:solid; border-color:#9C6500; border-width:1pt; padding:2pt; font-size:10pt; line-height:12pt; font-family:'Calibri'; color:Black; text-align:left">
<span style="color:#9C6500; font-weight:bold">CAUTION:</span> 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.</div>
<br>
<div>
<div class="x_WordSection1">
<p class="x_MsoNormal">Hi All,</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">We’re seeing some instances of this error message <br>
<br>
ERROR:lib/logmsg/logmsg.c:1521:log_msg_ref: assertion failed: (LOGMSG_REFCACHE_VALUE_TO_REF(old_value) >= 1)<br>
<br>
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?</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Regards,</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Soyef</p>
</div>
**********************************************************************<br>
This email and any files transmitted with it are private and intended<br>
solely for the use of the individual or entity to whom they are addressed.<br>
If you have received this email in error please return it to the address<br>
it came from telling them it is not for you and then delete it from your system.<br>
This email message has been swept for computer viruses.<br>
********************************************************************** </div>
</div>
</body>
</html>