tt4g
tt4g
I don't see why `fd` would be invalid for that use. Do you use one logger for all threads?
I honestly don't know how to reproduce it. Is there a minimum code that can be reproduced? This is because an exception during rotation is notified to the error handler...
The problem occurs because every time a `Logger` object is created, the spdlog logger that writes to the same file is created. Do not create multiple spdlog loggers that write...
If the function body of `Logger::getInstance()` is written in a header file, then the `Logger` object is created multiple times. See: - https://github.com/gabime/spdlog/issues/2267#issuecomment-1031930768 - https://stackoverflow.com/questions/18860895/how-to-initialize-static-members-in-the-header
> When the crash occurs,After the current xxx.1 xxx.2 xxx.3 and other files, there is no original xxx log file This situation can occur when an error is reported in...
I can't determine the cause of the problem, so I'm going to report the error handler. EDIT: File system problems are often reported in Windows OS, but similar problems can...
> I went back to a two year old version of the spdlog code and the problem didn't happen again. We cannot fix the bug unless we know the cause...
Thanks for investigating the error. But, building `example.cpp` should not be your goal. If your goal is to use the library, you can skip building `example.cpp` by defining the following...
I saw BugZIlla and it could be a bug in the GCC.
The definitions of the `FMT_TRY` and `FMT_NORETURN` macros branch off at the `FMT_EXCEPTIONS` macro. https://github.com/fmtlib/fmt/blob/bce8d4ed087a0560492426f9f5be2713804daded/include/fmt/format.h#L131-L137 https://github.com/fmtlib/fmt/blob/bce8d4ed087a0560492426f9f5be2713804daded/include/fmt/core.h#L141-L147 If an unbundled fmt library was built with `FMT_EXCEPTIONS=1`, wouldn't that break application binary...