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

            Bug ID: 492624
           Summary: On Wayland, plasmashell crashes when dragging an
                    applet from the widget explorer over a Show Activity
                    Manager widget
    Classification: Plasma
           Product: plasmashell
           Version: master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: generic-crash
          Assignee: plasma-b...@kde.org
          Reporter: christoph.w...@gmx.de
  Target Milestone: 1.0

Created attachment 173300
  --> https://bugs.kde.org/attachment.cgi?id=173300&action=edit
backtrace of crash

SUMMARY

This sequence of steps crashes plasmashell on both bare metal Tuxedo OS with
git master session of workspace, and stock Fedora 40 in a vm. Crash is very
consistently reproducible.

Terminal output at time of crash is: 

QWaylandDataOffer: timeout reading from pipe
QWaylandDataOffer: error reading data for mimeType text/x-plasmoidservicename

Top lines of backtrace:

#0  QMimeData::hasImage() const (this=this@entry=0x55555f9f5be0)
    at ./src/corelib/tools/qarraydatapointer.h:439
#1  0x00007ffff5bb4e33 in QWaylandMimeHelper::getByteArray(QMimeData*, QString
const&)
    (mimeData=0x55555f9f5be0, mimeType=...) at
./src/shared/qwaylandmimehelper.cpp:18
#2  0x00007ffff5ba4db9 in
QtWaylandClient::QWaylandDataSource::data_source_send(QString const&, int)
    (this=<optimized out>, mime_type=<optimized out>, fd=137) at
./src/client/qwaylanddatasource.cpp:46
#3  0x00007ffff5be3faa in QtWayland::wl_data_source::handle_send(void*,
wl_data_source*, char const*, int)
    (data=0x55555f4369e0, object=<optimized out>, mime_type=0x7fffdc05e98c
"text/x-plasmoidservicename", fd=137) at
./obj-x86_64-linux-gnu/src/client/qwayland-wayland.cpp:756
#4  0x00007ffff68dfe2e in ffi_call_unix64 () at ../src/x86/unix64.S:105
#5  0x00007ffff68dc493 in ffi_call_int
    (cif=<optimized out>, fn=<optimized out>, rvalue=<optimized out>,
avalue=<optimized out>, closure=<optimized out>) at ../src/x86/ffi64.c:672
#6  0x00007ffff7c1e611 in wl_closure_invoke
    (closure=closure@entry=0x7fffdc05e8b0, flags=flags@entry=1,
target=<optimized out>, 
    target@entry=0x55555f23db90, opcode=opcode@entry=1, data=<optimized out>)
    at ../../src/wayland/src/connection.c:1236
#7  0x00007ffff7c1a331 in dispatch_event
    (display=display@entry=0x55555568fb60, queue=queue@entry=0x55555568fc58)
    at ../../src/wayland/src/wayland-client.c:1681
#8  0x00007ffff7c1b443 in dispatch_queue (queue=0x55555568fc58,
display=0x55555568fb60)
    at ../../src/wayland/src/wayland-client.c:1827
#9  wl_display_dispatch_queue_pending (display=0x55555568fb60,
queue=0x55555568fc58)
    at ../../src/wayland/src/wayland-client.c:2069


STEPS TO REPRODUCE
1. Add Show Activity Manager (or on Plasme 6.1, Activities) widget to the
panel; make sure that two activities exist 
2. Open Widget Explorer by right-clicking the panel and selecting "Add or
Manage Widgets…" (in Plasma 6.1, "Add Widgets…"
3. Drag Analog Clock from the Widget Explorer over the Show Activity Manager
widget and hover a bit so the sidebar pops up - this may sometimes require
leaving and reentering the widget with the mouse

OBSERVED RESULT

Crash

EXPECTED RESULT

No Crash

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.1.80
KDE Frameworks Version: 6.6.0 according to kinfo (but this is from a dev
session with workspace kde-built earlier today) 
Qt Version: 6.7.2

ADDITIONAL INFORMATION

Fedora backtrace seems similar; the crash also tends to crash drkonqui so it's
a bit tough to get a good one. I can try harder if that would help. (Attached
backtrace is from running plasmashell in gdb)

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

Reply via email to