Skip to content
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

x64dbg crashes when closed. (STATUS_FATAL_USER_CALLBACK_EXCEPTION) #11

Open
cw2k opened this issue Feb 23, 2022 · 0 comments
Open

x64dbg crashes when closed. (STATUS_FATAL_USER_CALLBACK_EXCEPTION) #11

cw2k opened this issue Feb 23, 2022 · 0 comments

Comments

@cw2k
Copy link

cw2k commented Feb 23, 2022

Well it happens not always - however if I opened the (nomodal) x64dbg-updater settings window and close x64dbg.
Boom x64dbg crashes.
0xC000041d = STATUS_FATAL_USER_CALLBACK_EXCEPTION
With Ollydbg I found out the crash is triggered by qwindows.dll that tries to call 'myMessageHandler' in the snowman LogManager which have been already unloaded.
Here are the details:

qInstallMessageHandler(myMessageHandler);

void myMessageHandler(QtMsgType type, const QMessageLogContext &, const QString &msg) {
    LogManager::instance()->log(type, msg);
}
LogManager *LogManager::instance() {
 
...
        qInstallMessageHandler(myMessageHandler);
...

To fixed that issue add an destructor for LogManager that free's myMessageHandler when unloaded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant