Comments (7)
Hi!
I have a quick'n'dirty fix for this in my repo (talien/syslog-ng-incubator), on branch f/perl-fixes.
Could you please verify, that this patch solves your use-case? Can you test this patch in threaded(yes) environment? I think I should rethink the unholy marriage of our perl destination and syslog-ng multithreaded model.
from syslog-ng-incubator.
unfortunately, your branch causes syslog-ng to segfault every time.
When using master, I get 50% segfaults on startup, and sometimes I get perl errors from init function which seem to indicate a race condition. I suspect something not being enforced in the right order.
Here's the stack trace from your branch:
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/local/sbin/syslog-ng -Fv'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007ff27009cc73 in ?? () from /usr/lib/x86_64-linux-gnu/perl5/5.20/auto/Sub/Name/Name.so
(gdb) bt full
#0 0x00007ff27009cc73 in ?? () from /usr/lib/x86_64-linux-gnu/perl5/5.20/auto/Sub/Name/Name.so
No symbol table info available.
#1 0x00007ff271e9dcfb in Perl_pp_entersub () from /usr/lib/x86_64-linux-gnu/libperl.so.5.20
No symbol table info available.
#2 0x00007ff271e965b6 in Perl_av_iter_p () from /usr/lib/x86_64-linux-gnu/libperl.so.5.20
No symbol table info available.
#3 0x000000000255f400 in ?? ()
No symbol table info available.
#4 0x0000000002a05490 in ?? ()
No symbol table info available.
#5 0x00000000025b8440 in ?? ()
No symbol table info available.
#6 0x0000000000000000 in ?? ()
No symbol table info available.
from syslog-ng-incubator.
Hi!
That's bad news. Can you get me the most simple config, on which you can reproduce the segfault?
from syslog-ng-incubator.
Hi!
Sorry, but I can't reproduce this segfault at my machine.
Can you share your config and the core file of syslog-ng?
And of course description of the steps causes the segfault will be welcome :)
It would be a great help for us.
Thanks,
Viktor
from syslog-ng-incubator.
did you run the test on @talien's branch or on master?
from syslog-ng-incubator.
I tried it on master.
from syslog-ng-incubator.
I cannot reproduce with master and a minimal config. Thanks for looking into this
from syslog-ng-incubator.
Related Issues (20)
- java destination on FreeBSD HOT 6
- systemd HOT 3
- java destination on RHEL6 (CentOS6) HOT 1
- multiple java destinations java.lang.UnsatisfiedLinkError HOT 2
- Question: java destination LD_LIBRARY_PATH HOT 2
- typo in the example config of python destination HOT 1
- grok compile warning
- Error parsing kafka, Error compiling template (Unknown template function "format-json") HOT 1
- kafka-plugin segfaults
- Do the SCL changes in 3.7.2 break the kafka C support from the incubator? HOT 9
- Rename kafka destination to kafka-c HOT 1
- some problems when compiling syslog-ng-incubator HOT 1
- Some problems when running zmq destination with syslog-ng 3.7.2 HOT 8
- compiling the date parser fails on FreeBSD HOT 4
- why I ./configure it always show the error" No package 'syslog-ng' found" HOT 7
- Add support for 3.8 HOT 7
- Grok pattern compilation error HOT 6
- java destination can't be disabled
- zmq compile warnings HOT 2
- there are traces of graphite in 0.4.0 sources
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from syslog-ng-incubator.