I have a infinite loop in main thread with a sleep timer of 5 sec. It updates Prometheus counters every time. I am seeing segmentation fault when thread tries to aquire write lock in prom_counter_add () function.
Below is stack trace.
(gdb) bt
0 0x00007f35c20f91b6 in pthread_rwlock_wrlock () from /lib64/libpthread.so.0
1 0x00007f35c25154e8 in prom_metric_sample_from_labels () from /lib64/libprom.so
2 0x00007f35c2513431 in prom_counter_add () from /lib64/libprom.so
3 0x00000000004300aa in ran_update_cplane_perf_counters ()
Hi,
I have a infinite loop in main thread with a sleep timer of 5 sec. It updates Prometheus counters every time. I am seeing segmentation fault when thread tries to aquire write lock in prom_counter_add () function.
Below is stack trace.
(gdb) bt
0 0x00007f35c20f91b6 in pthread_rwlock_wrlock () from /lib64/libpthread.so.0
1 0x00007f35c25154e8 in prom_metric_sample_from_labels () from /lib64/libprom.so
2 0x00007f35c2513431 in prom_counter_add () from /lib64/libprom.so
3 0x00000000004300aa in ran_update_cplane_perf_counters ()
4 0x000000000040a761 in ran_adaptor_loop ()
5 0x00000000004069df in main ()
Please suggest.