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

Crash observed during counter update #54

Open
sdollp opened this issue Mar 30, 2021 · 0 comments
Open

Crash observed during counter update #54

sdollp opened this issue Mar 30, 2021 · 0 comments

Comments

@sdollp
Copy link

sdollp commented Mar 30, 2021

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.

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

1 participant