-
Notifications
You must be signed in to change notification settings - Fork 565
SIGSEGV: invalid address at stop #195
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
Comments
Please try to modify the code and add |
I did but the error is still there, during shutdown call. I also tried to isolate the configurator into a block to be sure that the AppenderMap (contained in the configurator) was destructed before the call to shutdown but it didn't change anything. |
I have test with log4cplus 1.2.0 and I have the same problem. |
I fixed this adding one line in if(queue_thread->isRunning()) just before join call. |
I do no entirely understand why this is happening but adding the condition before the |
Check if queue thread pointer is not NULL and if it is running before trying to join it.
Check if queue thread pointer is not NULL and if it is running before trying to join it.
Check if queue thread pointer is not NULL and if it is running before trying to join it.
I have added the suggested fix to all active branches. |
My process exits with code 11. If I run it in the debugger, there is a "SIGSEGV: invalid address".
Here is the call stack:
I have tried to simplify the code and here is what I have:
And the config file:
If I change the logger name L7 to L6, I don't have an error anymore.
Actually, if I delete any configuration line, I don't have an error anymore but I noticed that the name of my logger L7 worried.
I use log4cplus 1.1.3-0.4.rc3 on centos7
The text was updated successfully, but these errors were encountered: