View Issue Details

IDProjectCategoryView StatusLast Update
0012343Rocky-Linux-9Generalpublic2026-03-30 16:33
ReporterSanel Z. Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status newResolutionopen 
Platformx86_64OSRocky Linux releaseOS Version 9.7 (Blue Onyx)
Summary0012343: collectd write_riemann always crashing on Rocky 9.7
DescriptionI'm getting stacktrace from collectd write_riemann plugin, which is using riemann-c-client, when collectd is trying to send metrics. I didn't have these issues before. Stacktrace details:

```
Process 4729 (collectd) of user 0 dumped core.
  Stack trace of thread 4732:
  #0 0x00007f52f075d5bd __strlen_avx2 (libc.so.6 + 0x15d5bd)
  #1 0x00007f52f069c6c3 __strdup (libc.so.6 + 0x9c6c3)
  #2 0x00007f52f05f991c riemann_event_set_va (libriemann-client.so.0 + 0x591c)
  #3 0x00007f52f05f9e81 riemann_event_set (libriemann-client.so.0 + 0x5e81)
  #4 0x00007f52f0813f6c wrr_value_to_event (write_riemann.so + 0x2f6c)
  #5 0x00007f52f0814463 wrr_value_list_to_message (write_riemann.so + 0x3463)
  #6 0x00007f52f0814bc3 wrr_write (write_riemann.so + 0x3bc3)
  #7 0x000055a706ee4b9e plugin_write (collectd + 0x10b9e)
  #8 0x000055a706ee6d85 fc_bit_write_invoke.lto_priv.0 (collectd + 0x12d85)
  #9 0x000055a706ef23ff plugin_dispatch_values_internal.isra.0 (collectd + 0x1e3ff)
  #10 0x000055a706ee01f7 plugin_write_thread (collectd + 0xc1f7)
  #11 0x00007f52f068a19a start_thread (libc.so.6 + 0x8a19a)
  #12 0x00007f52f070f210 __clone3 (libc.so.6 + 0x10f210)
  
  Stack trace of thread 4738:
  #0 0x00007f52f068ef6a __GI___pthread_mutex_unlock_usercnt (libc.so.6 + 0x8ef6a)
  #1 0x000055a706ee1264 plugin_write_enqueue (collectd + 0xd264)
  #2 0x000055a706ee1817 plugin_dispatch_values (collectd + 0xd817)
  #3 0x00007f52f089f66f disk_submit (disk.so + 0x166f)
  #4 0x00007f52f08a00a4 disk_read (disk.so + 0x20a4)
  #5 0x000055a706ee44bc plugin_read_thread (collectd + 0x104bc)
  #6 0x00007f52f068a19a start_thread (libc.so.6 + 0x8a19a)
  #7 0x00007f52f070f210 __clone3 (libc.so.6 + 0x10f210)
```
I've reported this to riemann-c-client maintaner (https://git.madhouse-project.org/algernon/riemann-c-client/issues/17) and he suspects it's something either due to collectd or packaging. However, I'm running collectd 5.12.0 and riemann-c-client 1.10.4 on Debian 13 without any issue

Also, rieman-c-client might need update on Rocky as well.
Steps To Reproduce1. Install collectd, riemann-c-client and collectd-write_riemann
2. in /etc/collectd.conf enable line
```
 LoadPlugin write_riemann
```
and add at the end of the file:
```
<Plugin write_riemann>
        <Node "riemann_client">
                Host "127.0.0.1"
                Port 5555
                Protocol TCP
                Batch true
                BatchMaxSize 8192
                StoreRates true
                AlwaysAppendDS false
                TTLFactor 2.0
                Notifications true
                CheckThresholds false
                EventServicePrefix ""
        </Node>
</Plugin>
```
3. Download riemann tar.bz2 archive from https://github.com/riemann/riemann/releases/tag/0.3.12
4. Extract it and run:

```
./bin/riemann
```
5. Start collectd. Every time it tries to send metrics, it will crash.
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2026-03-30 16:33 Sanel Z. New Issue