[dolphin] [Bug 480363] New: Terminal panel can freeze Dolphin on a network share

Nicolas Fella bugzilla_noreply at kde.org
Fri Jan 26 15:09:54 GMT 2024


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

            Bug ID: 480363
           Summary: Terminal panel can freeze Dolphin on a network share
    Classification: Applications
           Product: dolphin
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: panels: terminal
          Assignee: dolphin-bugs-null at kde.org
          Reporter: nicolas.fella at gmx.de
                CC: kfm-devel at kde.org
  Target Milestone: ---

STEPS TO REPRODUCE
0. Enable terminal panel
1.  navigate to a SMB share
2. Get prompted for credentials
3. Click cancel

OBSERVED RESULT
Dolphin freezes. Backtrace:

#0  __GI___getdents64 (fd=81, buf=buf at entry=0x36165f0, nbytes=<optimized out>)
at ../sysdeps/unix/sysv/linux/getdents64.c:32
#1  0x00007fdf15cf7e57 in __GI___readdir64 (dirp=0x36165c0) at
../sysdeps/unix/sysv/linux/readdir64.c:47
#2  0x00007fdf164f17f1 in QFileSystemIterator::advance
(this=this at entry=0x2a93610, fileEntry=..., metaData=...)
    at
/home/nico/workspace/qt6/qtbase/src/corelib/io/qfilesystemiterator_unix.cpp:57
#3  0x00007fdf16311810 in QDirIteratorPrivate::advance
(this=this at entry=0x395b660) at
/home/nico/workspace/qt6/qtbase/src/corelib/io/qdiriterator.cpp:233
#4  0x00007fdf1631228d in QDirIteratorPrivate::QDirIteratorPrivate
    (this=0x395b660, entry=<optimized out>, nameFilters=<optimized out>,
_filters=..., flags=..., resolveEngine=true)
    at /home/nico/workspace/qt6/qtbase/src/corelib/io/qdiriterator.cpp:151
#5  0x00007fdf16312958 in QDirIterator::QDirIterator
(this=this at entry=0x7fffa56751b8, path=..., nameFilters=...,
filters=filters at entry=..., flags=flags at entry=...)
    at /home/nico/workspace/qt6/qtbase/src/corelib/io/qdiriterator.cpp:443
#6  0x00007fdf1630a3c1 in QDir::entryList (this=this at entry=0x7fffa56752b8,
nameFilters=<optimized out>, filters=..., sort=...)
    at /home/nico/workspace/qt6/qtbase/src/corelib/io/qdir.cpp:1429
#7  0x00007fdf1630aa67 in QDir::entryList (this=this at entry=0x7fffa56752b8,
filters=..., filters at entry=..., sort=..., sort at entry=...)
    at /home/nico/workspace/qt6/qtbase/src/corelib/io/qdir.cpp:1367
#8  0x00007fdec9cf7c87 in Konsole::FileFilter::process (this=0x2495790) at
/home/nico/kde/usr/include/QtCore/qflags.h:74
#9  0x00007fdec9cffc9d in Konsole::FilterChain::process (this=0x2384940) at
/home/nico/kde/src/konsole/src/filterHotSpots/FilterChain.cpp:63
#10 0x00007fdec9d34a3d in Konsole::TerminalDisplay::processFilters
(this=this at entry=0x237b460)
    at /home/nico/kde/src/konsole/src/terminalDisplay/TerminalDisplay.cpp:449
#11 0x00007fdec9d3b974 in Konsole::TerminalDisplay::mouseMoveEvent
(ev=0x7fffa56758f0, this=0x237b460)
    at /home/nico/kde/src/konsole/src/terminalDisplay/TerminalDisplay.cpp:1270
#12 Konsole::TerminalDisplay::mouseMoveEvent (this=0x237b460,
ev=0x7fffa56758f0) at
/home/nico/kde/src/konsole/src/terminalDisplay/TerminalDisplay.cpp:1253
#13 0x00007fdf175d6e38 in QWidget::event (this=0x237b460, event=0x7fffa56758f0)
at /home/nico/workspace/qt6/qtbase/src/widgets/kernel/qwidget.cpp:9339
#14 0x00007fdf17581ad1 in QApplicationPrivate::notify_helper
(this=this at entry=0x1a086a0, receiver=receiver at entry=0x237b460,
e=e at entry=0x7fffa56758f0)
    at /home/nico/workspace/qt6/qtbase/src/widgets/kernel/qapplication.cpp:3298
#15 0x00007fdf1758a8f8 in QApplication::notify (this=<optimized out>,
receiver=0x237b460, e=0x7fffa56758f0)
    at /home/nico/workspace/qt6/qtbase/src/widgets/kernel/qapplication.cpp:2776
#16 0x00007fdf1635f358 in QCoreApplication::notifyInternal2
(receiver=0x237b460, event=0x7fffa56758f0)
    at
/home/nico/workspace/qt6/qtbase/src/corelib/kernel/qcoreapplication.cpp:1134
#17 0x00007fdf1635f529 in QCoreApplication::sendSpontaneousEvent
(receiver=<optimized out>, event=<optimized out>)
    at
/home/nico/workspace/qt6/qtbase/src/corelib/kernel/qcoreapplication.cpp:1589
#18 0x00007fdf175893b7 in QApplicationPrivate::sendMouseEvent
(receiver=receiver at entry=0x237b460, event=event at entry=0x7fffa56758f0,
alienWidget=<optimized out>, 
    alienWidget at entry=0x237b460, nativeWidget=0x1cbff70,
buttonDown=buttonDown at entry=0x7fdf17b40080 <qt_button_down>,
lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at
/home/nico/workspace/qt6/qtbase/src/widgets/kernel/qapplication.cpp:2360
#19 0x00007fdf175e84ba in QWidgetWindow::handleMouseEvent (this=0x20dc900,
event=0x7fffa5675b60)
    at /home/nico/workspace/qt6/qtbase/src/widgets/kernel/qwidgetwindow.cpp:653
#20 0x00007fdf175eae38 in QWidgetWindow::event (this=0x20dc900,
event=0x7fffa5675b60) at
/home/nico/workspace/qt6/qtbase/src/widgets/kernel/qwidgetwindow.cpp:267
#21 0x00007fdf17581ad1 in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x20dc900, e=0x7fffa5675b60)
    at /home/nico/workspace/qt6/qtbase/src/widgets/kernel/qapplication.cpp:3298
#22 0x00007fdf1635f358 in QCoreApplication::notifyInternal2
(receiver=0x20dc900, event=0x7fffa5675b60)
    at
/home/nico/workspace/qt6/qtbase/src/corelib/kernel/qcoreapplication.cpp:1134
#23 0x00007fdf1635f529 in QCoreApplication::sendSpontaneousEvent
(receiver=<optimized out>, event=<optimized out>)
    at
/home/nico/workspace/qt6/qtbase/src/corelib/kernel/qcoreapplication.cpp:1589
#24 0x00007fdf16bc233b in QGuiApplicationPrivate::processMouseEvent
(e=0x7fdef8002010) at
/home/nico/workspace/qt6/qtbase/src/gui/kernel/qguiapplication.cpp:2326
#25 0x00007fdf16c1b46c in QWindowSystemInterface::sendWindowSystemEvents
(flags=...) at
/home/nico/workspace/qt6/qtbase/src/gui/kernel/qwindowsysteminterface.cpp:1114
#26 0x00007fdf170c05c0 in userEventSourceDispatch (source=<optimized out>) at
/home/nico/workspace/qt6/qtbase/src/gui/platform/unix/qeventdispatcher_glib.cpp:38
#27 0x00007fdf14e4ae5c in g_main_dispatch (context=0x7fdefc000ef0) at
../glib/gmain.c:3476
#28 g_main_context_dispatch_unlocked (context=0x7fdefc000ef0) at
../glib/gmain.c:4284
#29 0x00007fdf14ea5f18 in g_main_context_iterate_unlocked.isra.0
    (context=context at entry=0x7fdefc000ef0, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at ../glib/gmain.c:4349
#30 0x00007fdf14e48ad3 in g_main_context_iteration (context=0x7fdefc000ef0,
may_block=1) at ../glib/gmain.c:4414
#31 0x00007fdf1660a5cc in QEventDispatcherGlib::processEvents (this=0x1a0a600,
flags=...)
--Type <RET> for more, q to quit, c to continue without paging--
    at
/home/nico/workspace/qt6/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#32 0x00007fdf1636acdb in QEventLoop::exec (this=this at entry=0x7fffa5675f50,
flags=..., flags at entry=...)
    at /home/nico/workspace/qt6/qtbase/src/corelib/global/qflags.h:34
#33 0x00007fdf163676c2 in QCoreApplication::exec () at
/home/nico/workspace/qt6/qtbase/src/corelib/global/qflags.h:74
#34 0x00007fdf16bb2c5c in QGuiApplication::exec () at
/home/nico/workspace/qt6/qtbase/src/gui/kernel/qguiapplication.cpp:1926
#35 0x00007fdf17581a45 in QApplication::exec () at
/home/nico/workspace/qt6/qtbase/src/widgets/kernel/qapplication.cpp:2568
#36 0x0000000000449af1 in main (argc=<optimized out>, argv=<optimized out>) at
/home/nico/kde/src/dolphin/src/main.cpp:255


EXPECTED RESULT
Dolphin doesn't freeze

SOFTWARE/OS VERSIONS
KDE Plasma Version: master
KDE Frameworks Version: master
Qt Version: 6.7

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list