<div dir="ltr"><div><div>Hello.</div><div><br></div><div>On Debian 8.3 both Suricata 2.0.11 and 3.0.0 segfault after some time, maybe a few hours.  I think a bug exists in a PCRE parser for an IRC signature.  This problem does not happen on Ubuntu. </div><div><br></div><div>What do you think ?</div><div><br></div><div>Thanks,</div><div><br></div><div>Hovsep</div><div><br></div><div><br></div><div>#0  0x00007f8e6ed784bb in ?? ()</div><div>#1  0x00007f8d7f530cca in ?? ()</div><div>#2  0x00007f8e6ed781a8 in ?? ()</div><div>#3  0x0000000000000001 in ?? ()</div><div>#4  0x0000000000000dac in ?? ()</div><div>#5  0x00007f8c811020be in ?? ()</div><div>#6  0x0000000000000dac in ?? ()</div><div>#7  0x00007f8c811020be in ?? ()</div><div>#8  0x00000000030c5fe7 in ?? ()</div><div>#9  0x00000000030c5fe6 in ?? ()</div><div>#10 0x00000000034d35e2 in ?? ()</div><div>#11 0x00000000030c5fe7 in ?? ()</div><div>#12 0x0000000000000001 in ?? ()</div><div>#13 0x000000000e3b5540 in ?? ()</div><div>#14 0x00000000030c5fe7 in ?? ()</div><div>#15 0x0000000000000338 in ?? ()</div><div>#16 0x0000000000000002 in ?? ()</div><div>#17 0x000000000e3b6a40 in ?? ()</div><div>#18 0x00007f8e720c78bf in ?? () from /lib/x86_64-linux-gnu/libpcre.so.3</div><div>#19 0x00007f8e720ed288 in ?? () from /lib/x86_64-linux-gnu/libpcre.so.3</div><div>#20 0x00007f8e720c63a9 in pcre_exec () from /lib/x86_64-linux-gnu/libpcre.so.3</div><div>#21 0x00000000004a19ee in DetectPcrePayloadMatch (det_ctx=0x7f8d6c08c0d0, s=<optimized out>, sm=<optimized out>, p=0x30c57f0, f=0x7f8d08d33f40, </div><div>    payload=0x30c5fe2 "_NICKNAME=</div><div><br></div><div><br></div><div><br></div><div><span class="" style="white-space:pre">   </span>linux-vdso.so.1 (0x00007fffa4a00000)</div><div><span class="" style="white-space:pre">       </span>libhtp-0.5.18.so.1 => /opt/suricata-2.0.11/lib/libhtp-0.5.18.so.1 (0x00007fa972000000)</div><div><span class="" style="white-space:pre">  </span>libGeoIP.so.1 => /usr/lib/x86_64-linux-gnu/libGeoIP.so.1 (0x00007fa971dd0000)</div><div><span class="" style="white-space:pre">   </span>libmagic.so.1 => /usr/lib/x86_64-linux-gnu/libmagic.so.1 (0x00007fa971bb0000)</div><div><span class="" style="white-space:pre">   </span>libcap-ng.so.0 => /usr/lib/x86_64-linux-gnu/libcap-ng.so.0 (0x00007fa9719a8000)</div><div><span class="" style="white-space:pre"> </span>libpcap.so.1 => /opt/pfring/lib/libpcap.so.1 (0x00007fa971710000)</div><div><span class="" style="white-space:pre">       </span>libpfring.so => /opt/pfring/lib/libpfring.so (0x00007fa9714b0000)</div><div><span class="" style="white-space:pre">       </span>libnet.so.1 => /usr/lib/x86_64-linux-gnu/libnet.so.1 (0x00007fa971290000)</div><div><span class="" style="white-space:pre">       </span>libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fa971070000)</div><div><span class="" style="white-space:pre">   </span>libyaml-0.so.2 => /usr/lib/x86_64-linux-gnu/libyaml-0.so.2 (0x00007fa970e50000)</div><div><span class="" style="white-space:pre"> </span>libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007fa970be0000)</div><div><span class="" style="white-space:pre"> </span>libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fa970830000)</div><div><span class="" style="white-space:pre">       </span>libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fa970610000)</div><div><span class="" style="white-space:pre">       </span>/lib64/ld-linux-x86-64.so.2 (0x00007fa972220000)</div><div><span class="" style="white-space:pre">   </span>librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fa970408000)</div><div><br></div><div><br></div><div><br></div><div>ii  libpcre-ocaml                    7.0.4-1                              amd64        OCaml bindings for PCRE (runtime)</div><div>ii  libpcre3:amd64                   2:8.35-3.3+deb8u2                    amd64        Perl 5 Compatible Regular Expression Library - runtime files</div><div>ii  libpcre3-dev:amd64               2:8.35-3.3+deb8u2                    amd64        Perl 5 Compatible Regular Expression Library - development files</div><div>ii  libpcrecpp0:amd64                2:8.35-3.3+deb8u2                    amd64        Perl 5 Compatible Regular Expression Library - C++ runtime files</div><div><br></div></div><div><br></div><div><br></div></div>