[frameworks-kio] [Bug 454747] Plasma crashed on Wayland in KIO::PasteJobPrivate::PasteJobPrivate() after drag-and-drop from Firefox to desktop

2022-07-15 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=454747

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In||5.97

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

[frameworks-kio] [Bug 454747] Plasma crashed on Wayland in KIO::PasteJobPrivate::PasteJobPrivate() after drag-and-drop from Firefox to desktop

2022-07-09 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=454747

David Edmundson  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/fram
   ||eworks/kio/commit/29bdf541a
   ||a83c78bc8e9d90487a7e1dd505e
   ||f013
 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED

--- Comment #7 from David Edmundson  ---
Git commit 29bdf541aa83c78bc8e9d90487a7e1dd505ef013 by David Edmundson.
Committed on 09/07/2022 at 08:28.
Pushed by davidedmundson into branch 'master'.

Fix crash in DropJob

QMimeData is owned by the backend and can be deleted during any event
processing.

DropJob has a deferred start operation. One path in this is to call
PasteJob with mimedata. It could be dangling by this point.

Pastejob follows a similar pattern in
1d668a9fe65c5bc178487fc32e6662ff815147f6 internally but we also need to
handle this usage before PasteJob.

M  +2-2src/widgets/dropjob.cpp

https://invent.kde.org/frameworks/kio/commit/29bdf541aa83c78bc8e9d90487a7e1dd505ef013

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

[frameworks-kio] [Bug 454747] Plasma crashed on Wayland in KIO::PasteJobPrivate::PasteJobPrivate() after drag-and-drop from Firefox to desktop

2022-07-08 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=454747

Bug Janitor Service  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED

--- Comment #6 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/frameworks/kio/-/merge_requests/902

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

[frameworks-kio] [Bug 454747] Plasma crashed on Wayland in KIO::PasteJobPrivate::PasteJobPrivate() after drag-and-drop from Firefox to desktop

2022-06-30 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=454747

Nate Graham  changed:

   What|Removed |Added

 CC||jkhsjd...@totally.rip

--- Comment #5 from Nate Graham  ---
*** Bug 456136 has been marked as a duplicate of this bug. ***

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

[frameworks-kio] [Bug 454747] Plasma crashed on Wayland in KIO::PasteJobPrivate::PasteJobPrivate() after drag-and-drop from Firefox to desktop

2022-06-12 Thread postix
https://bugs.kde.org/show_bug.cgi?id=454747

postix  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Resolution|WAITINGFORINFO  |---
 Status|NEEDSINFO   |CONFIRMED
 CC||pos...@posteo.eu

--- Comment #4 from postix  ---
(SEGV) Dolphin crashed in KIO::PasteJobPrivate::PasteJobPrivate when accessing
an USB drive

```
#6  0x7fcb5a6d12aa in
std::__atomic_base::load
(__m=std::memory_order_relaxed, this=) at
/usr/include/c++/12/bits/atomic_base.h:820
#7  std::atomic::load
(__m=std::memory_order_relaxed, this=) at
/usr/include/c++/12/atomic:579
#8 
QAtomicOps::loadRelaxed
(_q_value=...) at
../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:239
#9  QBasicAtomicPointer::loadRelaxed
(this=) at
../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:248
#10 QtSharedPointer::ExternalRefCountData::getAndRef
(obj=obj@entry=0x5591f79f6af0) at tools/qsharedpointer.cpp:1396
#11 0x7fcb5c553060 in QWeakPointer::QWeakPointer (ptr=0x5591f79f6af0, this=0x5591f7ee68b0) at
/usr/include/qt5/QtCore/qsharedpointer_impl.h:679
#12 QPointer::QPointer (p=0x5591f79f6af0, this=0x5591f7ee68b0)
at /usr/include/qt5/QtCore/qpointer.h:62
#13 KIO::PasteJobPrivate::PasteJobPrivate (clipboard=false, flags=...,
destDir=..., mimeData=0x5591f79f6af0, this=0x5591f7ee6850) at
/usr/src/debug/kio-5.94.0-1.1.x86_64/src/widgets/pastejob_p.h:23
#14 KIO::PasteJobPrivate::newJob (clipboard=false, flags=..., destDir=...,
mimeData=0x5591f79f6af0) at
/usr/src/debug/kio-5.94.0-1.1.x86_64/src/widgets/pastejob_p.h:51
#15 KIO::DropJobPrivate::slotStart (this=0x7fcb4c007dd0) at
/usr/src/debug/kio-5.94.0-1.1.x86_64/src/widgets/dropjob.cpp:277
#16 KIO::DropJob::qt_static_metacall (_o=, _c=,
_id=, _a=) at
/usr/src/debug/kio-5.94.0-1.1.x86_64/build/src/widgets/KF5KIOWidgets_autogen/include/moc_dropjob.cpp:101
#17 0x7fcb5a8a0660 in QObject::event (this=0x7fcb48014a30,
e=0x7fcb44003a80) at kernel/qobject.cpp:1314
#18 0x7fcb5b4e937e in QApplicationPrivate::notify_helper (this=, receiver=0x7fcb48014a30, e=0x7fcb44003a80) at
kernel/qapplication.cpp:3632
#19 0x7fcb5a874988 in QCoreApplication::notifyInternal2
(receiver=0x7fcb48014a30, event=0x7fcb44003a80) at
kernel/qcoreapplication.cpp:1064
#20 0x7fcb5a877921 in QCoreApplicationPrivate::sendPostedEvents
(receiver=0x0, event_type=0, data=0x5591f70c4a40) at
kernel/qcoreapplication.cpp:1821
#21 0x7fcb5a8ccec3 in postEventSourceDispatch (s=0x5591f7136980) at
kernel/qeventdispatcher_glib.cpp:277
#22 0x7fcb58398ea0 in g_main_dispatch (context=0x5591f7132f30) at
../glib/gmain.c:3417
#23 g_main_context_dispatch (context=0x5591f7132f30) at ../glib/gmain.c:4135
#24 0x7fcb58399258 in g_main_context_iterate
(context=context@entry=0x5591f7132f30, block=block@entry=1,
dispatch=dispatch@entry=1, self=) at ../glib/gmain.c:4211
#25 0x7fcb583992ec in g_main_context_iteration (context=0x5591f7132f30,
may_block=1) at ../glib/gmain.c:4276
#26 0x7fcb5a8cc5a6 in QEventDispatcherGlib::processEvents
(this=0x5591f7136910, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#27 0x7fcb5a8733fb in QEventLoop::exec (this=this@entry=0x7ffc74100b00,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#28 0x7fcb5a87b566 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#29 0x7fcb5ad8e3bc in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1867
#30 0x7fcb5b4e92f5 in QApplication::exec () at kernel/qapplication.cpp:2824
#31 0x5591f5a71212 in main (argc=, argv=) at
/usr/src/debug/dolphin-22.04.1-1.1.x86_64/src/main.cpp:217
```

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20220609
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.2
Kernel Version: 5.18.2-1-default (64-bit)
Graphics Platform: Wayland

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

[frameworks-kio] [Bug 454747] Plasma crashed on Wayland in KIO::PasteJobPrivate::PasteJobPrivate() after drag-and-drop from Firefox to desktop

2022-06-02 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=454747

Nate Graham  changed:

   What|Removed |Added

   Keywords||wayland
Summary|Plasma crashed on Wayland   |Plasma crashed on Wayland
   |after drag-and-drop from|in
   |Firefox to desktop  |KIO::PasteJobPrivate::Paste
   ||JobPrivate() after
   ||drag-and-drop from Firefox
   ||to desktop
 CC||kdelibs-b...@kde.org,
   ||meve...@gmail.com
   Target Milestone|1.0 |---
   Assignee|plasma-b...@kde.org |kio-bugs-n...@kde.org
Version|master  |5.94.0
  Component|generic-crash   |general
Product|plasmashell |frameworks-kio

--- Comment #3 from Nate Graham  ---
Thanks.

> #10 KIO::PasteJobPrivate::PasteJobPrivate (clipboard=false, flags=..., 
> destDir=..., mimeData=0x55e784b8ba40, this=0x55e78db9d460) at 
> ./src/widgets/pastejob_p.h:26
> #11 KIO::PasteJobPrivate::newJob (clipboard=false, flags=..., destDir=..., 
> mimeData=0x55e784b8ba40) at ./src/widgets/pastejob_p.h:51
> #12 KIO::DropJobPrivate::slotStart (this=0x55e79826be60) at 
> ./src/widgets/dropjob.cpp:276
> #13 0x7ff54e24865b in KIO::DropJob::qt_static_metacall (_o= out>, _c=, _id=, _a=) at 
> ./src/widgets/dropjob.h:108

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