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
if “logs.logLevel.audio debug” then “Error in `.': corrupted double-linked list:” #641
Comments
|
backtrace: |
|
Hi someone asked me to test it on 0.37.0, the bug is still there: |
|
Heads-up: I investigated this and while I cannot make sense of the error, I think it is something along the lines of: the order of global destructors is undefined and that the logger data destructor is called before this. @Amanieu would you be ok adding a global per process "processTerminating" flag so that we can 1) skip some destructors to quit faster (no need to free things after all) 2) not use some systems that might already have been deinitialized? |
|
@Kangz feel free to add the flag, I have no objections. You could even use it to make the operator delete override a no-op (src/common/System.cpp). As for this bug, if you can reproduce it, I think it would be helpful to do so while running under valgrind. |
|
Fixed in 01fb67b |
Hi, I'm running Unvanquished this way:
daemon +set logs.logLevel.common.commands debug +set logs.logLevel.audio debug +nocurses +set vm.cgame.type 4 +set vm.game.type 4 +devmap mapnameAnd sometime at quit I get that:
Then
daemonis stuck. If I kill it, it prints:But does not exit, only
kill -9is able to kill it.This behavior appeared since I use
+set logs.logLevel.audio debug, with+set logs.logLevel.common.commands debugI never had such error.The text was updated successfully, but these errors were encountered: