-
Notifications
You must be signed in to change notification settings - Fork 595
Closed
Labels
bugSomething isn't workingSomething isn't workingcore/crashShouldn't happen, requires attentionShouldn't happen, requires attention
Description
Describe the bug
The following error message appears when Icinga cannot start due to config loading issues:
free(): double free detected in tcache 2
Caught SIGABRT.
To Reproduce
- Configure Icinga to load config files from a directory:
include "features-enabled/*.conf"
- Remove the directly read permission, so Icinga can't find the
*.conf
files within - Start the service or run
icinga2 daemon -C
Icinga is going to crash:
critical/config: Error: Error while evaluating expression: Function call 'glob' for file '/etc/icinga2/features-enabled/*.conf' failed with error code 13, 'Permission denied'
Location: in /etc/icinga2/icinga2.conf: 50:1-50:33
/etc/icinga2/icinga2.conf(48): * the features-enabled directory.
/etc/icinga2/icinga2.conf(49): */
/etc/icinga2/icinga2.conf(50): include "features-enabled/*.conf"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/etc/icinga2/icinga2.conf(51):
/etc/icinga2/icinga2.conf(52): /**
free(): double free detected in tcache 2
Caught SIGABRT.
Current time: 2025-09-15 08:20:42 +0200
critical/Application: Icinga 2 has terminated unexpectedly. Additional information can be found in '/var/log/icinga2/crash/report.1757917242.575895'
critical/Application: Error: Function call 'open' for file '/var/log/icinga2/crash/report.1757917242.575895' failed with error code 13, 'Permission denied'
Expected behaviour
An error message and clean exit.
Your Environment
Include as many relevant details about the environment you experienced the problem in
- Version used (
icinga2 --version
): r2.15.0-1 - Operating System and version: openSUSE Leap
- Config validation (
icinga2 daemon -C
): see above
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcore/crashShouldn't happen, requires attentionShouldn't happen, requires attention