-
Notifications
You must be signed in to change notification settings - Fork 159
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
Pattern Format Segfault #24
Labels
bug
Something isn't working
Comments
Can you please attach the code snippet that makes it crash from the start of main() ? It looks like it is crashing when main is exiting from the call stack |
Here's the snippet: quill::start();
quill::Handler *handler = quill::stdout_handler();
handler->set_pattern(
QUILL_STRING(
"%(ascii_time) [%(process):%(thread)] %(filename):%(lineno) %(level_name) %(logger_name) - %(message)"),
"%FT%T.%Qus%z%Z");
quill::set_default_logger_handler(handler);
|
Thanks! I can not reproduce on ubuntu with gcc 9.3.0 :( |
Thanks for reporting this. It should be fixed in the latest commit. Please check and if you still have any issues let me know. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using the
set_pattern
function handler appears to cause a runtime crash.A stack trace of the segmentation fault is below.
This occurs on GCC 9.1.1 on CentOS 7.
I'm using the recent commit eb56fe8, but it occurs on v1.2.0 as well.
The issue does not occur using Clang 9.0.1 on macOS 10.15 Catalina.
My program crashes on launch.
Perhaps it has to do with the
QUILL_STRING
macro?The text was updated successfully, but these errors were encountered: