balabit / syslog-ng-incubator

Experimental modules for syslog-ng 3.5+
Other
52 stars 28 forks source link

perl: unclean shutdown #84

Open faxm0dem opened 10 years ago

faxm0dem commented 10 years ago

When shutting down syslog-ng, it seems the perl plugin is not shutting down cleanly:

# syslog-ng -Fv
^C
Scalars leaked: -8
Attempt to free non-existent shared string '_array_iterator', Perl interpreter: 0x7f18bc0008c0 during global destruction.
Attempt to free non-existent shared string '_natatime_iterator', Perl interpreter: 0x7f18bc0008c0 during global destruction.
Attempt to free non-existent shared string '_XScompiled', Perl interpreter: 0x7f18bc0008c0 during global destruction.
Attempt to free non-existent shared string '/usr/lib64/perl5/List/MoreUtils.pm', Perl interpreter: 0x7f18bc0008c0 during global destruction.
Scalars leaked: -142
Attempt to free unreferenced scalar: SV 0x7f18bc10ffe8, Perl interpreter: 0x7f18b40008c0 during global destruction.
Unbalanced string table refcount: (1) for "_XScompiled" during global destruction.
Unbalanced string table refcount: (1) for "_natatime_iterator" during global destruction.
Unbalanced string table refcount: (1) for "_array_iterator" during global destruction.
Unbalanced string table refcount: (1) for "/usr/lib64/perl5/List/MoreUtils.pm" during global destruction.
Scalars leaked: 150
talien commented 10 years ago

Hi!

I couldn't reproduce that. I think it depends on the perl script and perl modules loaded. I'm a perl noob, so I don't have any clue how to experiment with this.

faxm0dem commented 10 years ago

So for the record this seems to only happen when using multiple perl destinations