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

            Bug ID: 477778
           Summary: Crash when starting multiple drags
    Classification: Plasma
           Product: kwin
           Version: 5.27.9
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: pilzsc...@t-online.de
  Target Milestone: ---

SUMMARY
I had a bug in my application which lead it to create multiple drags eg. it
called wl_data_device.start_drag twice. It used two independent wl_data_source
objects. The application continued as normal but kwin crashed on me after some
time. I could get it to crash reliably when opening thunderbird after doing the
drag. 

STEPS TO REPRODUCE
1. Initiate multiple simultaneous drags with wl_data_device.start_drag
2. Finish drags by dropping them somewhere
3. Close application
4. Use system normally. Usually when opening applications (for example
thunderbird) it crashed

OBSERVED RESULT
Crash

EXPECTED RESULT
I am not sure whether multiple simultaneous drags are officially supported by
wayland. Nonetheless I expect KWin to handle that case somewhat gracefully.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version:  5.27.9
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION
I appended a crash dump to this report. 
Problem seems to be the following line. 
if (drag->handleClientMessage(event)) {
Probably m_oldDrags contains an invalid element which has not been cleaned up
correctly

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

Reply via email to