<div dir="ltr">Hello,<div><div> I successfully reproduced the crash with your configuration. The problem was in the <b>padding</b> template function, and has nothing to do with the earlier java problems.</div><div> If you intended to use the default (space) character for padding, you don't have to provide the third argument to the function. (Or provide the space character explicitly: <b>'' -> ' '</b>)</div><div><br></div><div> The problem exist, because in the padding function we divide with the length of the provided padding string <pre style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;margin-top:0px;margin-bottom:0px;color:rgb(36,41,46);text-decoration-style:initial;text-decoration-color:initial;width:1px;height:1px"><a href="https://github.com/balabit/syslog-ng/blob/aa88bba2a9158fb6401bc260e0a58d7784c7bab4/modules/basicfuncs/str-funcs.c#L425">https://github.com/balabit/syslog-ng/blob/aa88bba2a9158fb6401bc260e0a58d7784c7bab4/modules/basicfuncs/str-funcs.c#L425</a></pre></div><div><br></div><div> I will create a pull request to correct it.</div><div><br></div><div>Br,</div><div>Laci</div><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 5, 2018 at 11:16 AM, Fabien Wernli <span dir="ltr"><<a href="mailto:wernli@in2p3.fr" target="_blank">wernli@in2p3.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Jul 05, 2018 at 11:05:21AM +0200, T4iga wrote:<br>
> Hi Fabien Wernli,<br>
> <br>
> it says<br>
> sysctl kernel.core_pattern<br>
> kernel.core_pattern = |/usr/lib/systemd/systemd-<wbr>coredump %P %u %g %s %t %c<br>
> %e<br>
<br>
</span>Oh my...<br>
<br>
At least we now know who takes care of your core file!<br>
Reading<br>
<a href="https://www.freedesktop.org/software/systemd/man/systemd-coredump.html" rel="noreferrer" target="_blank">https://www.freedesktop.org/<wbr>software/systemd/man/systemd-<wbr>coredump.html</a> will<br>
probably help<br>
<div class="HOEnZb"><div class="h5"><br>
______________________________<wbr>______________________________<wbr>__________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" target="_blank">https://lists.balabit.hu/<wbr>mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer" target="_blank">http://www.balabit.com/<wbr>support/documentation/?<wbr>product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" target="_blank">http://www.balabit.com/wiki/<wbr>syslog-ng-faq</a><br>
<br>
</div></div></blockquote></div><br></div>