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

Crash dumps are broken on Windows #299

Open
marcusbirkin opened this issue Mar 16, 2023 · 1 comment
Open

Crash dumps are broken on Windows #299

marcusbirkin opened this issue Mar 16, 2023 · 1 comment
Labels
Milestone

Comments

@marcusbirkin
Copy link
Collaborator

marcusbirkin commented Mar 16, 2023

Breakpad isn't running the callback dumper for the Windows build, unsure from when but with at least v2.2.0-beta.1
From testing this appears to be only for Qt GUI apps; console apps work ok

Testing in release code is hampered by crash_test in v2.2.0-beta.1 not having suitable Qt6 callbacks as QSignalMapper::mapped was deprecated

connect(m_signalMapper, SIGNAL(mapped(int)),

Updated for Qt6
connect(m_signalMapper, SIGNAL(mappedInt(int)),

@marcusbirkin marcusbirkin added this to the v2.2 milestone Mar 16, 2023
marcusbirkin added a commit that referenced this issue Mar 16, 2023
@marcusbirkin
Copy link
Collaborator Author

Qt GUI is handling and absorbing all the normally "Unhandled" exceptions, meaning that the callback to create the minidumps from SetUnhandledExceptionFilter is never called.

Callbacks from AddVectoredExceptionHandler work, however this returns on all exceptions including those in a try-block.
Breakpad does not include, out the box, support for vectored exception handler anyway.

I'm not sure how to resolve this one....

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

No branches or pull requests

1 participant