https://bugs.kde.org/show_bug.cgi?id=520284

            Bug ID: 520284
           Summary: Random crash when press button to create filter mask
    Classification: Applications
           Product: krita
      Version First git master (please specify the git hash!)
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: * Unknown
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

DESCRIPTION

This rarely happens but it's not the first time it happen

```
#0  0x00007ffff43f6829 in
QWidgetPrivate::windowHandle(QWidgetPrivate::WindowHandleMode) const () from
/nix/store/wzq1d1ksdqi0dvhcxby21i2pi04as10w-qtbase-6.11.0/lib/libQt6Widgets.so.6
#1  0x00007ffff4411b15 in QWidgetPrivate::close() () from
/nix/store/wzq1d1ksdqi0dvhcxby21i2pi04as10w-qtbase-6.11.0/lib/libQt6Widgets.so.6
#2  0x00007ffff75db390 in KisDlgFilter::createMask() () from
/home/user/sources/krita/outputs/out/lib/libkritaui.so.21
#3  0x00007ffff2c2f87f in void doActivate<false>(QObject*, int, void**) () from
/nix/store/wzq1d1ksdqi0dvhcxby21i2pi04as10w-qtbase-6.11.0/lib/libQt6Core.so.6
#4  0x00007ffff44fe0e4 in QAbstractButtonPrivate::emitPressed() () from
/nix/store/wzq1d1ksdqi0dvhcxby21i2pi04as10w-qtbase-6.11.0/lib/libQt6Widgets.so.6
#5  0x00007ffff44febdd in QAbstractButton::mouseMoveEvent(QMouseEvent*) () from
/nix/store/wzq1d1ksdqi0dvhcxby21i2pi04as10w-qtbase-6.11.0/lib/libQt6Widgets.so.6
#6  0x00007ffff4417a58 in QWidget::event(QEvent*) () from
/nix/store/wzq1d1ksdqi0dvhcxby21i2pi04as10w-qtbase-6.11.0/lib/libQt6Widgets.so.6
#7  0x00007ffff43a8d2f in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from
/nix/store/wzq1d1ksdqi0dvhcxby21i2pi04as10w-qtbase-6.11.0/lib/libQt6Widgets.so.6
#8  0x00007ffff43b3d1b in QApplication::notify(QObject*, QEvent*) () from
/nix/store/wzq1d1ksdqi0dvhcxby21i2pi04as10w-qtbase-6.11.0/lib/libQt6Widgets.so.6
#9  0x00007ffff7ac098e in KisApplication::notify(QObject*, QEvent*) () from
/home/user/sources/krita/outputs/out/lib/libkritaui.so.21
#10 0x00007ffff2bbb828 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from
/nix/store/wzq1d1ksdqi0dvhcxby21i2pi04as10w-qtbase-6.11.0/lib/libQt6Core.so.6
#11 0x00007ffff43b24d9 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) ()
   from
/nix/store/wzq1d1ksdqi0dvhcxby21i2pi04as10w-qtbase-6.11.0/lib/libQt6Widgets.so.6
#12 0x00007ffff442cc72 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from
/nix/store/wzq1d1ksdqi0dvhcxby21i2pi04as10w-qtbase-6.11.0/lib/libQt6Widgets.so.6
#13 0x00007ffff442f8c3 in QWidgetWindow::event(QEvent*) () from
/nix/store/wzq1d1ksdqi0dvhcxby21i2pi04as10w-qtbase-6.11.0/lib/libQt6Widgets.so.6
#14 0x00007ffff43a8d2f in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from
/nix/store/wzq1d1ksdqi0dvhcxby21i2pi04as10w-qtbase-6.11.0/lib/libQt6Widgets.so.6
#15 0x00007ffff7ac098e in KisApplication::notify(QObject*, QEvent*) () from
/home/user/sources/krita/outputs/out/lib/libkritaui.so.21
#16 0x00007ffff2bbb828 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from
/nix/store/wzq1d1ksdqi0dvhcxby21i2pi04as10w-qtbase-6.11.0/lib/libQt6Core.so.6
#17 0x00007ffff3616afb in ?? () from
/nix/store/wzq1d1ksdqi0dvhcxby21i2pi04as10w-qtbase-6.11.0/lib/libQt6Gui.so.6
#18 0x00007ffff361799a in ?? () from
/nix/store/wzq1d1ksdqi0dvhcxby21i2pi04as10w-qtbase-6.11.0/lib/libQt6Gui.so.6
#19 0x00007ffff3687dd4 in ?? () from
/nix/store/wzq1d1ksdqi0dvhcxby21i2pi04as10w-qtbase-6.11.0/lib/libQt6Gui.so.6
#20 0x00007ffff3c28b24 in ?? () from
/nix/store/wzq1d1ksdqi0dvhcxby21i2pi04as10w-qtbase-6.11.0/lib/libQt6Gui.so.6
#21 0x00007ffff2501bab in g_main_context_dispatch_unlocked () from
/nix/store/zcmsivndca5wmam9nwnbjrm0zkgykwfz-glib-2.86.3/lib/libglib-2.0.so.0
#22 0x00007ffff2505188 in g_main_context_iterate_unlocked.isra () from
/nix/store/zcmsivndca5wmam9nwnbjrm0zkgykwfz-glib-2.86.3/lib/libglib-2.0.so.0
#23 0x00007ffff2505a2f in g_main_context_iteration () from
/nix/store/zcmsivndca5wmam9nwnbjrm0zkgykwfz-glib-2.86.3/lib/libglib-2.0.so.0
#24 0x00007ffff2f12d0d in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from
/nix/store/wzq1d1ksdqi0dvhcxby21i2pi04as10w-qtbase-6.11.0/lib/libQt6Core.so.6
#25 0x00007ffff2bc99ab in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/nix/store/wzq1d1ksdqi0dvhcxby21i2pi04as10w-qtbase-6.11.0/lib/libQt6Core.so.6
#26 0x00007ffff2bc4d79 in QCoreApplication::exec() () from
/nix/store/wzq1d1ksdqi0dvhcxby21i2pi04as10w-qtbase-6.11.0/lib/libQt6Core.so.6
#27 0x000055555555efad in main ()
```

STEPS TO REPRODUCE
1. Press ctrl+u to make HSV filter pop-up appear
2. Change hue, saturation, value
3. Press "Create Filter Mask"
4. If user is unlucky, the pop-up window closes, and krita crashes

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Linux Wayland
Qt Version: 6.11
Krita master branch at May 08, 2026

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to