Comments (5)
It seems to have crashed because the username is unset.
It shouldnt crash in this case so its definitely a bug.
Bazsi
Steve Berryman [email protected] wrote:
destination config here:
amqp(
vhost("/")
host("rabbitmq-0.internal.example.com")
port(5672)
exchange("raw_logs")
exchange_type("fanout")
routing_key("")
body("")
persistent(yes)
value-pairs(
scope("selected-macros" "nv-pairs" "sdata")
)
);Backtrace here:
Core was generated by `syslog-ng -dev -F --enable-core'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f1b1a65099f in ?? () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) backtrace
#0 0x00007f1b1a65099f in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007f1b171b4bd2 in sasl_response (args=0x7f1b1b27da78,
method=AMQP_SASL_METHOD_PLAIN,
pool=0x7f1b10002040) at
../../../../../modules/afamqp/rabbitmq-c/librabbitmq/amqp_socket.c:149
#2 amqp_login_inner (vl=0x7f1b1b27da78,
sasl_method=AMQP_SASL_METHOD_PLAIN, heartbeat=0, frame_max=131072,
channel_max=0, state=0x7f1b10002000)
at
../../../../../modules/afamqp/rabbitmq-c/librabbitmq/amqp_socket.c:432
#3 amqp_login (state=0x7f1b10002000, vhost=0x152d9b0 "/",
channel_max=, frame_max=131072,
heartbeat=0, sasl_method=AMQP_SASL_METHOD_PLAIN)
at
../../../../../modules/afamqp/rabbitmq-c/librabbitmq/amqp_socket.c:517
#4 0x00007f1b171acb72 in afamqp_dd_connect (self=0x15235a0,
reconnect=)
at ../../modules/afamqp/afamqp.c:334
#5 0x00007f1b1ae18be8 in log_threaded_dest_driver_worker_thread_main
(arg=0x15235a0)
at ../../lib/logthrdestdrv.c:57
#6 0x00007f1b1ae1e22a in worker_thread_func (st=0x1514e20) at
../../lib/misc.c:586
#7 0x00007f1b1ab5c9b5 in ?? () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#8 0x00007f1b1a8dde9a in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#9 0x00007f1b1a60a3fd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#10 0x0000000000000000 in ?? ()
Reply to this email directly or view it on GitHub:
#80
from syslog-ng.
@algernon can you have a look pls? thanks.
from syslog-ng.
I can confirm that setting a username/password in the destination stops
the segfaulting :)
Balazs Scheidler wrote:
@algernon https://github.com/algernon can you have a look pls? thanks.
—
Reply to this email directly or view it on GitHub
#80 (comment).
from syslog-ng.
I can't easily fix it to work without a username/password pair, but I can make those two mandatory, so I'll do that.
from syslog-ng.
Merged to 3.5/master, closing here. #107 covers the fix for the master branch. Thanks for the report!
from syslog-ng.
Related Issues (20)
- mqtt: need support a wildcards and a mechanism to recognize the topic from which the message was received HOT 2
- Syslog-ng 4.4.0 Leading Zeroes in Datetime causes Datetime to be Removed HOT 2
- syslog-ng control tool socket "connection refused" HOT 1
- git snapshot compile problem on openSUSE Tumbleweed HOT 1
- syslog-ng is not able to start when apparmor enabled HOT 2
- syslog ng tcp tls HOT 1
- Support "official" AWS authentication in s3 destination
- Support role in s3 destination
- Sending logs to OpenSearch using panos parser produces JSON error in OpenSearch HOT 2
- default-network-drivers() is not getting fortigate logs hostname ($HOST) correctly HOT 4
- stats(healthcheck-freq()) problems HOT 4
- On a stressed system, some logs are not being written to the log file. HOT 2
- openobserve config is incorrect HOT 2
- Syslog-ng stops writing logs to a file from a custom systemd-journald namespace after a server restart HOT 2
- Support aws:kms encryption in the s3 destination
- [4.7.1] can't compile cloud-auth when using libressl HOT 2
- compile error in otel when ipv6 support is disabled
- clang c++ support HOT 1
- trusted-keys: support a secure hash algorithm HOT 1
- Add macro for certificate fingerprint HOT 1
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.