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

Segmentation fault when using custom parser in sc4s 3.29.x and 3.30.0 #2568

Closed
ehlo550 opened this issue Aug 28, 2024 · 1 comment
Closed
Assignees

Comments

@ehlo550
Copy link
Contributor

ehlo550 commented Aug 28, 2024

Was the issue replicated by support?
No

What is the sc4s version ?
3.28.1: working
3.29.x: not working
3.30.0: not working

Which operating system (including its version) are you using for hosting SC4S?
Ubuntu 20.4.2

Which runtime (Docker, Podman, Docker Swarm, BYOE, MicroK8s) are you using for SC4S?
kubernetes Server Version: v1.28.12

Is the issue related to local customization?
Yes. The pod is stable without custom parsers.
The pod crashes when a custom parser is used.

When using the debug option, no config can be found in /tmp/.

Describe the bug
When upgrading sc4s to 3.30.0 my kubernetes pods are crashing with a segmentation fault message when syslog-ng is started.

[sc4s-splunk-connect-for-syslog-1] syslog-ng checking config
[sc4s-splunk-connect-for-syslog-1] sc4s version=3.30.0
[sc4s-splunk-connect-for-syslog-1] /entrypoint.sh: line 225:   109 Segmentation fault      (core dumped) $SC4S_SBIN/syslog-ng --no-caps $SC4S_CONTAINER_OPTS -s >> $SC4S_VAR/log/syslog-ng.out 2> $SC4S_VAR/log/syslog-ng.err
[sc4s-splunk-connect-for-syslog-1] starting goss
[sc4s-splunk-connect-for-syslog-1] /entrypoint.sh: line 242:   116 Segmentation fault      (core dumped) syslog-ng -s --no-caps
@rjha-splunk rjha-splunk self-assigned this Aug 29, 2024
@rjha-splunk
Copy link
Collaborator

With the release of new version, the segmentation fault is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants