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

Qt Quick: Crash when deleting dockWidget in MDI #473

Closed
MiKom opened this issue Mar 4, 2024 · 1 comment
Closed

Qt Quick: Crash when deleting dockWidget in MDI #473

MiKom opened this issue Mar 4, 2024 · 1 comment
Assignees

Comments

@MiKom
Copy link
Member

MiKom commented Mar 4, 2024

Environment

  • Qt 6.6.2
  • Windows 11
  • Visual Studio 2022 compiler 19.38.33135 amd64

Steps to reproduce

  1. Add the following code to examples\qtquick\mdi\main.cpp:
    QTimer::singleShot(std::chrono::seconds(3), [&]{
         delete dw1;
         delete dw2;
    });
    
  2. Run the qtquick_mdi.exe example
  3. Wait

Expected result

dw1 and dw2 are properly deleted and disappear taking their children with them.

Actual result

Application crashes with the following stacktrace:
https://gist.github.com/MiKom/e9fe77c45004a2139a8410ba0c90740e

@iamsergio iamsergio self-assigned this Mar 6, 2024
@iamsergio
Copy link
Contributor

Fixed in 1866326

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

2 participants