Bug 452742 - Dolphin crashes if the same directory is already open in one instance
Summary: Dolphin crashes if the same directory is already open in one instance
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-18 17:57 UTC by Ömer Fadıl USTA
Modified: 2022-04-18 17:57 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ömer Fadıl USTA 2022-04-18 17:57:50 UTC
SUMMARY

Hello, Whenever an application trys to open a directory and if dolphin's instance is already in that directory
dophin crashes with added backtrace

I have hit this bug with an application called simplescreenrecorder but i believe same bug can be observed
with other programs which does same thing ( trys open a directory )

STEPS TO REPRODUCE
1. click open directory ( from any app )
2. if dolphin doesnt have any instance open and not showing that directory everthing is ok
3. click again ( or simply get same directory which external app tries to open )
4. crash

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: kdesrc-build compiled (18/02/22 ) 
KDE Frameworks Version: kdesrc-build compiled (18/02/22 ) 
Qt Version: 5.15.3 (built against 5.15.3)

BACKTRACE
dolphin[29120]: ASSERT: "dirs.size() > 0" in file /home/kde-dev/kde/src/dolphin/src/dolphintabwidget.cpp, line 187

[KCrash Handler]
#5  0x00007f109988534c in __pthread_kill_implementation () from /usr/lib/libc.so.6
#6  0x00007f10998384b8 in raise () from /usr/lib/libc.so.6
#7  0x00007f1099822534 in abort () from /usr/lib/libc.so.6
#8  0x00007f1099dc8ee4 in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/libQt5Core.so.5
#9  0x00007f1099dc8f44 in qt_assert(char const*, char const*, int) () from /usr/lib/libQt5Core.so.5
#10 0x0000565023d815d2 in DolphinTabWidget::openDirectories (this=0x5650256f15c0, dirs=..., splitView=false) at /home/kde-dev/kde/src/dolphin/src/dolphintabwidget.cpp:187
#11 0x0000565023d3eab6 in DolphinMainWindow::openDirectories (this=0x56502550a060, dirs=..., splitView=false) at /home/kde-dev/kde/src/dolphin/src/dolphinmainwindow.cpp:248
#12 0x0000565023d3eb10 in DolphinMainWindow::openDirectories (this=0x56502550a060, dirs=..., splitView=false) at /home/kde-dev/kde/src/dolphin/src/dolphinmainwindow.cpp:253
#13 0x0000565023dd1b73 in MainWindowAdaptor::openDirectories (this=0x565025420e50, dirs=..., splitView=false) at /home/kde-dev/kde/build/dolphin/src/dolphinmainwindowadaptor.cpp:51
#14 0x0000565023dd1d17 in MainWindowAdaptor::qt_static_metacall (_o=0x565025420e50, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fff458c0660) at /home/kde-dev/kde/build/dolphin/src/dolphinmainwindowadaptor.moc:130
#15 0x0000565023dd1ef6 in MainWindowAdaptor::qt_metacall (this=0x565025420e50, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fff458c0660) at /home/kde-dev/kde/build/dolphin/src/dolphinmainwindowadaptor.moc:179
#16 0x00007f109b1d2f9e in ?? () from /usr/lib/libQt5DBus.so.5
#17 0x00007f109b197132 in ?? () from /usr/lib/libQt5DBus.so.5
#18 0x00007f109b197e13 in ?? () from /usr/lib/libQt5DBus.so.5
#19 0x00007f109b197e4c in ?? () from /usr/lib/libQt5DBus.so.5
#20 0x00007f1099fd97d6 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#21 0x00007f109bcfe817 in KMainWindow::event (this=0x56502550a060, ev=0x565025b7b450) at /home/kde-dev/kde/src/kxmlgui/src/kmainwindow.cpp:961
#22 0x00007f109bd56f4b in KXmlGuiWindow::event (this=0x56502550a060, ev=0x565025b7b450) at /home/kde-dev/kde/src/kxmlgui/src/kxmlguiwindow.cpp:220
#23 0x0000565023d54db1 in DolphinMainWindow::event (this=0x56502550a060, event=0x565025b7b450) at /home/kde-dev/kde/src/dolphin/src/dolphinmainwindow.cpp:2505
#24 0x00007f109aa2d1c6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#25 0x00007f1099fb55aa in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#26 0x00007f1099fb60a9 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#27 0x00007f1099ffd678 in ?? () from /usr/lib/libQt5Core.so.5
#28 0x00007f1097a14163 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0x00007f1097a6a9e9 in ?? () from /usr/lib/libglib-2.0.so.0
#30 0x00007f1097a116c5 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#31 0x00007f109a00157a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#32 0x00007f1099fad88b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#33 0x00007f1099fb8fd7 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#34 0x0000565023d3a5e2 in main (argc=2, argv=0x7fff458c1128) at /home/kde-dev/kde/src/dolphin/src/main.cpp:240
[Inferior 1 (process 29407) detached]