[dolphin] [Bug 458709] [bug]: the closed file manager window crashes when copying

2023-04-23 Thread Fushan Wen
https://bugs.kde.org/show_bug.cgi?id=458709

Fushan Wen  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/fram |https://invent.kde.org/fram
   |eworks/kio/commit/ac2a594a6 |eworks/kio/commit/214dc24fa
   |54a3821e94b34be92d534608b98 |331dde345a69ca25f90dda20874
   |37a1|ab2b

--- Comment #13 from Fushan Wen  ---
Git commit 214dc24fa331dde345a69ca25f90dda20874ab2b by Fushan Wen.
Committed on 23/04/2023 at 08:29.
Pushed by fusionfuture into branch 'kf5'.

WidgetsAskUserActionHandler: make sure all dialogs are created in the main
thread

In Qt, the GUI runs in its own thread and must be accessed from the
main thread. If QWidget is created in a non-main thread, we can use
the QMetaObject::invokeMethod() method to create it in the main thread.
Related: bug 364039
FIXED-IN: 5.106
(cherry picked from commit ac2a594a654a3821e94b34be92d534608b9837a1)

M  +127  -172  src/widgets/widgetsaskuseractionhandler.cpp

https://invent.kde.org/frameworks/kio/commit/214dc24fa331dde345a69ca25f90dda20874ab2b

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

[dolphin] [Bug 458709] [bug]: the closed file manager window crashes when copying

2023-04-22 Thread Fushan Wen
https://bugs.kde.org/show_bug.cgi?id=458709

Fushan Wen  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/fram
   ||eworks/kio/commit/ac2a594a6
   ||54a3821e94b34be92d534608b98
   ||37a1
 Resolution|--- |FIXED
   Version Fixed In||5.106
 Status|REOPENED|RESOLVED

--- Comment #12 from Fushan Wen  ---
Git commit ac2a594a654a3821e94b34be92d534608b9837a1 by Fushan Wen.
Committed on 22/04/2023 at 09:09.
Pushed by fusionfuture into branch 'master'.

WidgetsAskUserActionHandler: make sure all dialogs are created in the main
thread

In Qt, the GUI runs in its own thread and must be accessed from the
main thread. If QWidget is created in a non-main thread, we can use
the QMetaObject::invokeMethod() method to create it in the main thread.
Related: bug 364039
FIXED-IN: 5.106

M  +127  -172  src/widgets/widgetsaskuseractionhandler.cpp

https://invent.kde.org/frameworks/kio/commit/ac2a594a654a3821e94b34be92d534608b9837a1

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

[dolphin] [Bug 458709] [bug]: the closed file manager window crashes when copying

2022-10-18 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=458709

Bug Janitor Service  changed:

   What|Removed |Added

   Priority|NOR |HI

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

[dolphin] [Bug 458709] [bug]: the closed file manager window crashes when copying

2022-10-18 Thread postix
https://bugs.kde.org/show_bug.cgi?id=458709

postix  changed:

   What|Removed |Added

 CC||djorz=40trashserver.net@smt
   ||p.cheogram.com

--- Comment #11 from postix  ---
*** Bug 452686 has been marked as a duplicate of this bug. ***

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

[dolphin] [Bug 458709] [bug]: the closed file manager window crashes when copying

2022-09-16 Thread Nikolaj
https://bugs.kde.org/show_bug.cgi?id=458709

--- Comment #10 from Nikolaj <79625490...@yandex.ru> ---
blocked the change.

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

[dolphin] [Bug 458709] [bug]: the closed file manager window crashes when copying

2022-09-16 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=458709

--- Comment #9 from Ahmad Samir  ---
The backtrace in comment#6 looks slightly different than the one from
comment#0, could be two separate issues... the problem is the backtrace from
comment#0 is not complete due to missing debug symbols.

I tried reproducing this issue, and it happened 1-2 times, but I failed to make
crash again.

This *might* be related:
https://invent.kde.org/frameworks/kio/-/merge_requests/977 (it makes sense to
parent the widgets to the dialog, not to its parent anyway). The question is,
why is this happening only now when this code has been around for ages?

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

[dolphin] [Bug 458709] [bug]: the closed file manager window crashes when copying

2022-09-12 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=458709

Ahmad Samir  changed:

   What|Removed |Added

 CC||beedellrokejulianlockhart@g
   ||mail.com

--- Comment #8 from Ahmad Samir  ---
*** Bug 458570 has been marked as a duplicate of this bug. ***

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

[dolphin] [Bug 458709] [bug]: the closed file manager window crashes when copying

2022-09-12 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=458709

Ahmad Samir  changed:

   What|Removed |Added

 CC||myccl...@outlook.com

--- Comment #7 from Ahmad Samir  ---
*** Bug 454133 has been marked as a duplicate of this bug. ***

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

[dolphin] [Bug 458709] [bug]: the closed file manager window crashes when copying

2022-09-12 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=458709

--- Comment #6 from Ahmad Samir  ---
postix posted a complete backtrace at
https://bugs.kde.org/show_bug.cgi?id=364039#c84


Operating System: openSUSE Tumbleweed 20220525
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.2
Kernel Version: 5.17.9-1-default (64-bit)
Graphics Platform: Wayland


```
#0  0x7f0f092846ac in __pthread_kill_implementation () from
/lib64/libc.so.6
#1  0x7f0f092316f6 in raise () from /lib64/libc.so.6
#2  0x7f0f0b2b9d7e in KCrash::defaultCrashHandler (sig=11) at
/usr/src/debug/kcrash-5.94.0-1.1.x86_64/src/kcrash.cpp:633
#3  
#4  QScopedPointer
>::operator-> (this=0x8) at
../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:116
#5  qGetPtrHelper > > (ptr=...) at
../../include/QtCore/../../src/corelib/global/qglobal.h:1143
#6  QWidget::d_func (this=0x0) at kernel/qwidget.h:132
#7  QWidgetPrivate::createWinId (this=) at
kernel/qwidget.cpp:2371
#8  0x7f0f0a5bdf79 in QWidget::createWinId (this=) at
kernel/qwidget.cpp:2442
#9  0x7f0f0a5bbbd0 in QWidget::create (this=0x564ddc1b3f00,
window=, initializeWindow=,
destroyOldWindow=) at kernel/qwidget.cpp:1149
#10 0x7f0f0a5c899a in QWidgetPrivate::setVisible (this=0x564ddc020db0,
visible=) at kernel/qwidget.cpp:8063
#11 0x7f0f0a5c8d92 in QWidget::setVisible (this=this@entry=0x564ddc1b3f00,
visible=visible@entry=true) at kernel/qwidget.cpp:8044
#12 0x7f0f0a78fb95 in QDialog::setVisible (this=0x564ddc1b3f00,
visible=) at dialogs/qdialog.cpp:787
#13 0x7f0f0b335dda in KIO::CopyJobPrivate::slotResultErrorCopyingFiles
(this=, job=0x564dda63dd60) at
/usr/src/debug/kio-5.94.0-1.1.x86_64/src/core/copyjob.cpp:1769
#14 0x7f0f09949def in QtPrivate::QSlotObjectBase::call (a=0x7ffd4c6f7b20,
r=0x564ddc0c4920, this=0x564dda659950) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#15 doActivate (sender=0x564dda63dd60, signal_index=6,
argv=0x7ffd4c6f7b20) at kernel/qobject.cpp:3886
#16 0x7f0f099430cf in QMetaObject::activate
(sender=sender@entry=0x564dda63dd60, m=,
local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffd4c6f7b20)
at kernel/qobject.cpp:3946
#17 0x7f0f0ab97785 in KJob::result (this=this@entry=0x564dda63dd60,
_t1=, _t1@entry=0x564dda63dd60, _t2=...) at
/usr/src/debug/kcoreaddons-5.94.0-1.1.x86_64/build/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:633
#18 0x7f0f0ab9b8eb in KJob::finishJob (this=0x564dda63dd60,
emitResult=) at
/usr/src/debug/kcoreaddons-5.94.0-1.1.x86_64/src/lib/jobs/kjob.cpp:98
#19 0x7f0f09949def in QtPrivate::QSlotObjectBase::call (a=0x7ffd4c6f7c40,
r=0x564dda63dd60, this=0x564ddb3e85a0) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#20 doActivate (sender=0x564ddb3bd9a0, signal_index=6,
argv=0x7ffd4c6f7c40) at kernel/qobject.cpp:3886
#21 0x7f0f099430cf in QMetaObject::activate
(sender=sender@entry=0x564ddb3bd9a0, m=,
local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffd4c6f7c40)
at kernel/qobject.cpp:3946
#22 0x7f0f0ab97785 in KJob::result (this=this@entry=0x564ddb3bd9a0,
_t1=, _t1@entry=0x564ddb3bd9a0, _t2=...) at
/usr/src/debug/kcoreaddons-5.94.0-1.1.x86_64/build/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:633
#23 0x7f0f0ab9b8eb in KJob::finishJob (this=0x564ddb3bd9a0,
emitResult=) at
/usr/src/debug/kcoreaddons-5.94.0-1.1.x86_64/src/lib/jobs/kjob.cpp:98
#24 0x7f0f09949def in QtPrivate::QSlotObjectBase::call (a=0x7ffd4c6f7d60,
r=0x564ddb3bd9a0, this=0x564ddc0b7f80) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#25 doActivate (sender=0x564ddc06c610, signal_index=5,
argv=0x7ffd4c6f7d60) at kernel/qobject.cpp:3886
#26 0x7f0f099430cf in QMetaObject::activate
(sender=sender@entry=0x564ddc06c610, m=,
local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffd4c6f7d60)
at kernel/qobject.cpp:3946
#27 0x7f0f0b34f056 in KIO::SlaveInterface::error
(this=this@entry=0x564ddc06c610, _t1=, _t2=...) at
/usr/src/debug/kio-5.94.0-1.1.x86_64/build/src/core/KF5KIOCore_autogen/include/moc_slaveinterface.cpp:452
#28 0x7f0f0b355f88 in KIO::SlaveInterface::dispatch (this=0x564ddc06c610,
_cmd=102, rawdata=...) at
/usr/src/debug/kio-5.94.0-1.1.x86_64/src/core/slaveinterface.cpp:181
#29 0x7f0f0b34ef06 in KIO::SlaveInterface::dispatch (this=0x564ddc06c610)
at /usr/src/debug/kio-5.94.0-1.1.x86_64/src/core/slaveinterface.cpp:78
#30 0x7f0f0b3528b9 in KIO::Slave::gotInput (this=0x564ddc06c610) at
/usr/src/debug/kio-5.94.0-1.1.x86_64/src/core/slave.cpp:336
#31 0x7f0f09949def in QtPrivate::QSlotObjectBase::call (a=0x7ffd4c6f7f70,
r=0x564ddc06c610, this=0x564ddc0c59f0) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#32 doActivate (sender=0x564ddc09ab80, signal_index=3,
argv=0x7ffd4c6f7f70) at kernel/qobject.cpp:3886
#33 0x7f0f0993e660 in QObject::event (this=0x564ddc09ab80,
e=0x564ddbe54a90) at kernel/qobject.cpp:1314
#34 

[dolphin] [Bug 458709] [bug]: the closed file manager window crashes when copying

2022-09-12 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=458709

Ahmad Samir  changed:

   What|Removed |Added

 CC||midkiffjack...@gmail.com

--- Comment #5 from Ahmad Samir  ---
*** Bug 456223 has been marked as a duplicate of this bug. ***

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

[dolphin] [Bug 458709] [bug]: the closed file manager window crashes when copying

2022-09-12 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=458709

Ahmad Samir  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|RESOLVED|REOPENED
 Resolution|DUPLICATE   |---
 CC||a.samir...@gmail.com

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

[dolphin] [Bug 458709] [bug]: the closed file manager window crashes when copying

2022-09-12 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=458709

Ahmad Samir  changed:

   What|Removed |Added

 CC||damian.hoes...@gmail.com

--- Comment #4 from Ahmad Samir  ---
*** Bug 458111 has been marked as a duplicate of this bug. ***

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

[dolphin] [Bug 458709] [bug]: the closed file manager window crashes when copying

2022-09-12 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=458709

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org

--- Comment #3 from Nate Graham  ---


*** This bug has been marked as a duplicate of bug 364039 ***

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

[dolphin] [Bug 458709] [bug]: the closed file manager window crashes when copying

2022-09-04 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=458709

Nicolas Fella  changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 Status|REPORTED|RESOLVED

--- Comment #2 from Nicolas Fella  ---


*** This bug has been marked as a duplicate of bug 456223 ***

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

[dolphin] [Bug 458709] [bug]: the closed file manager window crashes when copying

2022-09-04 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=458709

Nicolas Fella  changed:

   What|Removed |Added

 CC||nicolas.fe...@gmx.de

--- Comment #1 from Nicolas Fella  ---
Thread 1 (Thread 0x7fec4d8039c0 (LWP 2729)):
[KCrash Handler]
#4  0x7fec4c7e7c62 in QWidget::setParent(QWidget*, QFlags)
() from /usr/lib64/libQt5Widgets.so.5
#5  0x7fec4c7e8016 in QWidgetPrivate::init(QWidget*,
QFlags) () from /usr/lib64/libQt5Widgets.so.5
#6  0x7fec4c9ae62f in QDialog::QDialog(QWidget*, QFlags) ()
from /usr/lib64/libQt5Widgets.so.5
#7  0x7fec4dd3f777 in KIO::RenameDialog::RenameDialog(QWidget*, QString
const&, QUrl const&, QUrl const&, QFlags, unsigned
long long, unsigned long long, QDateTime const&, QDateTime const&, QDateTime
const&, QDateTime const&) () from /usr/lib64/libKF5KIOWidgets.so.5
#8  0x7fec4dd5108b in
KIO::WidgetsAskUserActionHandler::askUserRename(KJob*, QString const&, QUrl
const&, QUrl const&, QFlags, unsigned long long,
unsigned long long, QDateTime const&, QDateTime const&, QDateTime const&,
QDateTime const&) () from /usr/lib64/libKF5KIOWidgets.so.5
#9  0x7fec4d9f8b54 in
KIO::CopyJobPrivate::slotResultConflictCreatingDirs(KJob*) () from
/usr/lib64/libKF5KIOCore.so.5
#10 0x7fec4bc8ae8f in ?? () from /usr/lib64/libQt5Core.so.5
#11 0x7fec4cde12cc in KJob::result(KJob*, KJob::QPrivateSignal) () from
/usr/lib64/libKF5CoreAddons.so.5
#12 0x7fec4cde276b in KJob::finishJob(bool) () from
/usr/lib64/libKF5CoreAddons.so.5
#13 0x7fec4bc8ae8f in ?? () from /usr/lib64/libQt5Core.so.5
#14 0x7fec4da29cf3 in KIO::SlaveInterface::dispatch(int, QByteArray const&)
() from /usr/lib64/libKF5KIOCore.so.5
#15 0x7fec4da28359 in KIO::SlaveInterface::dispatch() () from
/usr/lib64/libKF5KIOCore.so.5
#16 0x7fec4da2c9ca in KIO::Slave::gotInput() () from
/usr/lib64/libKF5KIOCore.so.5
#17 0x7fec4bc8ae8f in ?? () from /usr/lib64/libQt5Core.so.5
#18 0x7fec4bc830cf in QObject::event(QEvent*) () from
/usr/lib64/libQt5Core.so.5
#19 0x7fec4c7a4a5f in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib64/libQt5Widgets.so.5
#20 0x7fec4bc58878 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib64/libQt5Core.so.5
#21 0x7fec4bc5bd5e in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#22 0x7fec4bca9003 in ?? () from /usr/lib64/libQt5Core.so.5
#23 0x7fec4960bd2b in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#24 0x7fec4960bfd8 in g_main_context_iterate.constprop () from
/usr/lib64/libglib-2.0.so.0
#25 0x7fec4960c08f in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#26 0x7fec4bca8ab4 in
QEventDispatcherGlib::processEvents(QFlags) ()
from /usr/lib64/libQt5Core.so.5
#27 0x7fec4bc5730b in
QEventLoop::exec(QFlags) () from
/usr/lib64/libQt5Core.so.5
#28 0x7fec4bc5f640 in QCoreApplication::exec() () from
/usr/lib64/libQt5Core.so.5
#29 0x00448028 in main ()

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