Open aumer-logiciel opened 5 months ago
Hi @odygrd could you please look at this ? Thank you!
I could not reproduce on my machine.
It is not possible for that simple example to crash in 1.7.0
that would mean the library is not working at all and there were many unit tests.
It should be something related with your system or specific OS.
This code is part of a huge legacy application that has a lot of other dependencies to it. The thing is when I run it separately it works alright as well but combined with the application it crashes instantly. In my application I have placed this code at the top of the main function so as to not affect it by other components but still it is giving me this error continuously.
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 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)