-
Notifications
You must be signed in to change notification settings - Fork 162
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
segmentation fault in 1.7.0 #408
Comments
Hi @odygrd could you please look at this ? |
This code is part of a huge legacy application that has a lot of other dependencies to it. |
are you linking your own version of lib fmt in your final application ? Just a suspicion |
I am using bundled fmt of quill @odygrd |
Are you also using your own libfmt outside the logger linking the whole program against? Can you try to link the standalone example that you say it's working with the same libraries you're linking your application and see if it works ? |
I'm getting a similar issue with my tests using gtest. If i run the app standalone all is fine. but when i run the tests and start testing the app, the quill logging macros segfaults.
Update. I found that i was missing the setup part so a call to |
some gtest death tests are using Update: I just saw the update, glad you fixed it. Just be aware of the death tests. Also for the tests, you can just setup the |
I have a legacy application that is using the quill version 1.7.0 and is giving segmentation fault as soon as I try to log something.
My code:
It crashes as soon as the first statement is executed.
Here is the stacktrace:
My system details are:
OS: AlmaLinux release 8.9 (Midnight Oncilla)
Compiler: g++ (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20)
The text was updated successfully, but these errors were encountered: