Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opentelemetry() source crashes when config init fails #316

Open
alltilla opened this issue Sep 30, 2024 · 1 comment
Open

opentelemetry() source crashes when config init fails #316

alltilla opened this issue Sep 30, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@alltilla
Copy link
Member

AxoSyslog

Version of AxoSyslog

4.8.1

Configuration

log {
  source { opentelemetry(); tcp(); };
};

Input and output logs

[2024-09-30T12:35:51.551556] Running application hooks; hook='6'
[2024-09-30T12:35:51.551556] Running application hooks; hook='7'
[2024-09-30T12:35:51.551556] OpenTelemetry server accepting connections; port='4317'
[2024-09-30T12:35:51.551556] Trying to open module; module='syslogformat', filename='/home/alltilla/repos/axosyslog/build/install/lib/syslog-ng/libsyslogformat.so'
[2024-09-30T12:35:51.551556] Module loaded and initialized successfully; module='syslogformat'
[2024-09-30T12:35:51.551556] Error binding socket; addr='AF_INET(0.0.0.0:514)', error='Permission denied (13)'
[2024-09-30T12:35:51.551556] Error initializing message pipeline; plugin_name='tcp', location='/home/alltilla/repos/axosyslog/build/install/etc/syslog-ng.conf:2:29'
E0930 12:35:51.590174963  257709 completion_queue.cc:247]    assertion failed: queue.num_items() == 0
fish: Job 1, './install/sbin/syslog-ng -Fedtv' terminated by signal SIGABRT (Abort)
@alltilla alltilla added the bug Something isn't working label Sep 30, 2024
@alltilla alltilla changed the title opentelemtry() source crashes when config init fails opentelemetry() source crashes when config init fails Sep 30, 2024
@MrAnno
Copy link
Member

MrAnno commented Oct 9, 2024

According to the gRPC docs, shutdown should be called only after we drained the completion queues.

This may happen even in normal cases, when init does not fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants