Replies: 5 comments 18 replies
-
The See: debugging - Decoding the parameters of a thrown C++ exception (0xE06D7363) - Stack Overflow In most cases, it is a lack of permissions to access folders or files, or a lack of memory. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Just a guess but perhaps try to replace |
Beta Was this translation helpful? Give feedback.
-
@tuxroger Let us know if this fix this. Because if yes, spdlog's drop could be improved to avoid such cases. |
Beta Was this translation helpful? Give feedback.
-
Hi there, |
Beta Was this translation helpful? Give feedback.
-
Good afternoon,
I have been using spdlog for a while and I have faced many weird situations but this one is blowing my mind. I do not know what can be happenning.
This is the code snippet:
// Session Logging functions
bool PBConnectionThread::createSessionLogger(const std::string& loggerName, const std::string& filename)
{
SPDLOG_LOGGER_INFO(logger, "");
SPDLOG_LOGGER_INFO(logger, "Creating session log with filename '{}'.", filename);
}
This code, from time to time is making my application crash. Here is an example of the output when it is crashing:
[2023-03-29 09:49:02.012] [ProbeBuilderServer] [info] PBConnectionThread::createSessionLogsDirectory[t3147436335914322354]
[2023-03-29 09:49:02.012] [ProbeBuilderServer] [info] PBConnectionThread::createSessionLog[t3147436335914322354]
[2023-03-29 09:49:02.012] [ProbeBuilderServer] [info] PBConnectionThread::createConnectionLogger[t3147436335914322354]
[2023-03-29 09:49:02.013] [ProbeBuilderServer] [info] PBConnectionThread::createConnectionLogger[t3147436335914322354]: Creating session log with filename 'LOGS/log_Richardson_{b0d2be45-b578-4bf5-a260-0f13125a54eb}_29Mar2023094902AM.log'.
ORA-24550: signal received: Unhandled exception: Code=e06d7363 Flags=1
As you can see something happens between the beginning of the function and the end of it. As you can also see, I am checking for all the possible nullptrs along the function code.
As I mentioned above, this crash occurs from time to time and I do not why.
Thanks for your time!
Beta Was this translation helpful? Give feedback.
All reactions