[dolphin] [Bug 433347] Dolphin may crash when repeatedly opening and closing dialog

2021-07-01 Thread Harald Sitter
https://bugs.kde.org/show_bug.cgi?id=433347

Harald Sitter  changed:

   What|Removed |Added

 CC||chris-hartm...@gmx.de

--- Comment #6 from Harald Sitter  ---
*** Bug 439303 has been marked as a duplicate of this bug. ***

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

[dolphin] [Bug 433347] Dolphin may crash when repeatedly opening and closing dialog

2021-04-01 Thread Méven Car
https://bugs.kde.org/show_bug.cgi?id=433347

--- Comment #5 from Méven Car  ---
@Meven: is this caused by the recent changes to KNewFileMenu?

Probably.

https://invent.kde.org/frameworks/kio/-/merge_requests/375 should help here,
since having multiple modal dialogs won't be possible.

I was able to reproduce after a while of F10 + Esc.

This happens when the statJob finishes while the KNewFileMenu is being
destroyed and its QLineEdit has already been destroyed...

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

[dolphin] [Bug 433347] Dolphin may crash when repeatedly opening and closing dialog

2021-03-21 Thread Elvis Angelaccio
https://bugs.kde.org/show_bug.cgi?id=433347

Elvis Angelaccio  changed:

   What|Removed |Added

 CC||elvis.angelac...@kde.org,
   ||meve...@gmail.com

--- Comment #4 from Elvis Angelaccio  ---
@Meven: is this caused by the recent changes to KNewFileMenu?

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

[dolphin] [Bug 433347] Dolphin may crash when repeatedly opening and closing dialog

2021-02-22 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=433347

--- Comment #3 from magib...@hotmail.com ---
It seems that the problem is not "repeatedly opening and closing the New
Directory dialog", but "opening more than one New Directory dialog".

A simpler way to reproduce it is:

1. Launch dolphin.
2. Smash the F10 button attempting to open several New Directory dialogs,
especially while Dolphin has not finished loading the current directory yet.
3. Several New Directory dialogs will be open. Close the topmost one.
4. Attempting to edit text in any of the remaining New Directory dialogs will
crash Dolphin.

When running under Valgrind, Dolphin is slow enough that you can open tenths of
dialogs at once. But it also generates notifications like the following, even
without pressing the "OK" button in the dialogs:

> Examining (Failed)
> /home/magiblot//New Folder

Valgring log:

> ==88948== Invalid read of size 8
> ==88948==at 0x5D6003A: QLineEdit::text() const (qlineedit.cpp:312)
> ==88948==by 0x4D026CC: KNewFileMenuPrivate::_k_slotStatResult(KJob*) 
> (knewfilemenu.cpp:1231)
> ==88948==by 0x6B0ED85: call (qobjectdefs_impl.h:398)
> ==88948==by 0x6B0ED85: void doActivate(QObject*, int, void**) 
> (qobject.cpp:3886)
> ==88948==by 0x58B1C5C: KJob::result(KJob*, KJob::QPrivateSignal) 
> (moc_kjob.cpp:576)
> ==88948==by 0x58B279B: KJob::finishJob(bool) (kjob.cpp:92)
> ==88948==by 0x6B0ED85: call (qobjectdefs_impl.h:398)
> ==88948==by 0x6B0ED85: void doActivate(QObject*, int, void**) 
> (qobject.cpp:3886)
> ==88948==by 0x510C0B6: KIO::SlaveInterface::error(int, QString const&) 
> (moc_slaveinterface.cpp:452)
> ==88948==by 0x510E4E3: KIO::SlaveInterface::dispatch(int, QByteArray 
> const&) (slaveinterface.cpp:180)
> ==88948==by 0x510C819: KIO::SlaveInterface::dispatch() 
> (slaveinterface.cpp:77)
> ==88948==by 0x511031A: KIO::Slave::gotInput() (slave.cpp:394)
> ==88948==by 0x6B0ED85: call (qobjectdefs_impl.h:398)
> ==88948==by 0x6B0ED85: void doActivate(QObject*, int, void**) 
> (qobject.cpp:3886)
> ==88948==by 0x6B04531: QObject::event(QEvent*) (qobject.cpp:1314)
> ==88948==by 0x5C1A751: QApplicationPrivate::notify_helper(QObject*, 
> QEvent*) (qapplication.cpp:3632)
> ==88948==by 0x6AD7A29: QCoreApplication::notifyInternal2(QObject*, 
> QEvent*) (qcoreapplication.cpp:1063)
> ==88948==by 0x6ADA522: 
> QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) 
> (qcoreapplication.cpp:1817)
> ==88948==by 0x6B31053: postEventSourceDispatch(_GSource*, int (*)(void*), 
> void*) (qeventdispatcher_glib.cpp:277)
> ==88948==by 0x8BF3B83: g_main_context_dispatch (in 
> /usr/lib/libglib-2.0.so.0.6600.7)
> ==88948==by 0x8C47C20: ??? (in /usr/lib/libglib-2.0.so.0.6600.7)
> ==88948==by 0x8BF23B0: g_main_context_iteration (in 
> /usr/lib/libglib-2.0.so.0.6600.7)
> ==88948==by 0x6B30690: 
> QEventDispatcherGlib::processEvents(QFlags) 
> (qeventdispatcher_glib.cpp:423)
> ==88948==by 0x6AD63AB: 
> QEventLoop::exec(QFlags) (qeventloop.cpp:232)
> ==88948==by 0x6ADE843: QCoreApplication::exec() 
> (qcoreapplication.cpp:1371)
> ==88948==by 0x48C4F42: kdemain (main.cpp:222)
> ==88948==by 0x499FB24: (below main) (in /usr/lib/libc-2.33.so)
> ==88948==  Address 0xfbf3d18 is 8 bytes inside a block of size 48 free'd
> ==88948==at 0x484008B: operator delete(void*, unsigned long) 
> (vg_replace_malloc.c:593)
> ==88948==by 0x6B020BD: QObjectPrivate::deleteChildren() (qobject.cpp:2104)
> ==88948==by 0x5C5704D: QWidget::~QWidget() (qwidget.cpp:1522)
> ==88948==by 0x5E1C819: QDialog::~QDialog() (qdialog.cpp:426)
> ==88948==by 0x6B042EF: QObject::event(QEvent*) (qobject.cpp:1301)
> ==88948==by 0x5C1A751: QApplicationPrivate::notify_helper(QObject*, 
> QEvent*) (qapplication.cpp:3632)
> ==88948==by 0x6AD7A29: QCoreApplication::notifyInternal2(QObject*, 
> QEvent*) (qcoreapplication.cpp:1063)
> ==88948==by 0x6ADA522: 
> QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) 
> (qcoreapplication.cpp:1817)
> ==88948==by 0x6B31053: postEventSourceDispatch(_GSource*, int (*)(void*), 
> void*) (qeventdispatcher_glib.cpp:277)
> ==88948==by 0x8BF3B83: g_main_context_dispatch (in 
> /usr/lib/libglib-2.0.so.0.6600.7)
> ==88948==by 0x8C47C20: ??? (in /usr/lib/libglib-2.0.so.0.6600.7)
> ==88948==by 0x8BF23B0: g_main_context_iteration (in 
> /usr/lib/libglib-2.0.so.0.6600.7)
> ==88948==by 0x6B30690: 
> QEventDispatcherGlib::processEvents(QFlags) 
> (qeventdispatcher_glib.cpp:423)
> ==88948==by 0x6AD63AB: 
> QEventLoop::exec(QFlags) (qeventloop.cpp:232)
> ==88948==by 0x6ADE843: QCoreApplication::exec() 
> (qcoreapplication.cpp:1371)
> ==88948==by 0x48C4F42: kdemain (main.cpp:222)
> ==88948==by 0x499FB24: (below main) (in /usr/lib/libc-2.33.so)
> ==88948==  Block was alloc'd at
> ==88948==at 0x483EDEF: operator new(unsigned long) 
> (vg_replace_malloc.c:342)
> ==88948==  

[dolphin] [Bug 433347] Dolphin may crash when repeatedly opening and closing dialog

2021-02-21 Thread Yannick Armand
https://bugs.kde.org/show_bug.cgi?id=433347

Yannick Armand  changed:

   What|Removed |Added

 CC||yannick.armand@protonmail.c
   ||om

--- Comment #2 from Yannick Armand  ---
I am not able to reproduce the problem (on a different system).

Operating System: Debian GNU/Linux
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Kernel Version: 5.10.0-3-amd64
OS Type: 64-bit
Graphics Platform: X11

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

[dolphin] [Bug 433347] Dolphin may crash when repeatedly opening and closing dialog

2021-02-21 Thread Andy Great
https://bugs.kde.org/show_bug.cgi?id=433347

Andy Great  changed:

   What|Removed |Added

 CC||andythe_gr...@pm.me

--- Comment #1 from Andy Great  ---
Hi, we would need debug symbol for the backtrace to be understandable.

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