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

double free or corruption (!prev) Aborted (core dumped) #37

Closed
odygrd opened this issue Apr 18, 2022 · 1 comment
Closed

double free or corruption (!prev) Aborted (core dumped) #37

odygrd opened this issue Apr 18, 2022 · 1 comment

Comments

@odygrd
Copy link

odygrd commented Apr 18, 2022

Hello,

I would like to say thanks for the library, it is nice seeing someone else with interest in those things.
I am maintaining a repo of logger benchmarks. I have tried to add your logger there.

Your logger is performing very well, if you would like to see how it does compared to other loggers you can have a look at the results here

It runs fine when 1 thread is logging but at the end it terminates and a exception in thrown.

I was unable to benchmark 4 threads pushing logs at the same time as the logger crashed for the same reason

double free or corruption (!prev)
double free or corruption (out)

I am compiling on ubuntu with gcc 11.2 in release mode.

To reproduce you can try to run the benchmark here

@odygrd
Copy link
Author

odygrd commented Apr 18, 2022

sorry please ignore this, I was calling poll on 2 different threads by mistake, forgot to remove my previous line of code starting the pooling thread. Seems to be running okay now!

@odygrd odygrd closed this as completed Apr 18, 2022
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