[Lognorm] Segmentation fault: user-defined type

David Lang david at lang.hm
Fri Oct 28 02:48:48 CEST 2016


looks like a bug, we've had problems in this area in the past, but I thought 
they were fixed by the versions you are using

are you just getting the segfault when running rsyslog, or do you get it as well 
with the stand-alone normalizer?

David Lang

On Fri, 12 Aug 2016, Adam Williams wrote:

> Date: Fri, 12 Aug 2016 10:23:21 -0400
> From: Adam Williams <adam at spreedly.com>
> Reply-To: lognorm <lognorm at lists.adiscon.com>
> To: lognorm at lists.adiscon.com
> Subject: [Lognorm] Segmentation fault: user-defined type
> 
> Hello,
>
> I'm seeing a segmentation fault with the following rules file:
>
> ```
> version=2
>
> type=@sq:%..:string{"quoting.char.begin":"'", "quoting.char.end":"'"}%
> type=@event:event=%event:@sq% app=%app:@sq%
> type=@desc:description=%desc:string{
>  "quoting.mode":"required",
>  "quoting.char.begin":"'",
>  "quoting.char.end":"'"
> }%
>
> rule=: %.:@event% %.:@desc% %-:rest%
> ```
>
> When I change things to this it works fine:
>
> ```
> version=2
>
> type=@sq:%..:string{"quoting.char.begin":"'", "quoting.char.end":"'"}%
> type=@event:event=%event:@sq% app=%app:@sq%
>
> rule=: %.:@event% description=%desc:string{
>  "quoting.mode":"required",
>  "quoting.char.begin":"'",
>  "quoting.char.end":"'"
> }% %-:rest%
> ```
>
> Am I doing something wrong, is there a need to verify what libraries are
> executing, or should I report this as a bug?
>
> Thanks!
>
> Adam
>
>
>  rsyslog 8.20.0-0adiscon3trusty1
>  libfastjson4 0.99.3-adiscon4trusty
>  liblognorm5 2.0.1-1adiscon3trusty1
>  rsyslog-mmnormalize 8.20.0-0adiscon3trusty1
>
-------------- next part --------------
_______________________________________________
Lognorm mailing list
Lognorm at lists.adiscon.com
http://lists.adiscon.net/mailman/listinfo/lognorm


More information about the Lognorm mailing list