Bug 464050

Summary: Unable to set up Samba network share
Product: [Applications] dolphin Reporter: Alpha-Craft <knolld00>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: crash CC: kfm-devel, nickdragomir, nicolas.fella
Priority: NOR Keywords: drkonqi
Version: 22.12.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alpha-Craft 2023-01-09 13:33:09 UTC
Application: dolphin (22.12.0)

Qt Version: 5.15.7
Frameworks Version: 5.101.0
Operating System: Linux 6.0.17-300.fc37.x86_64 x86_64
Windowing System: X11
Distribution: Fedora Linux 37 (KDE Plasma)
DrKonqi: 5.26.5 [KCrashBackend]

-- Information about the crash:
I installed samba and tried setting up a network share. It had issues, because my distro (Fedora 37 KDE) seems to not set it up properly. I followed the instructions by creating the missing usershares folder, creating the usershares group, assigning the group ownership of the new folder to that group, adding myself to the group, rebooting and setting a samba user password. Now each time I'm trying to access the "Share" tab in the file properties dolphin crashes. The same thing happens when trying to send a file via Bluetooth. When trying to send a file via KDE Connect from within dolphin, the file never gets sent. There is a message with a progress bar, but it never gets past 0%.

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f8e1c81aab4 in Lightly::Style::drawFramePrimitive(QStyleOption const*, QPainter*, QWidget const*) const () at /usr/lib64/qt5/plugins/styles/lightly.so
#5  0x00007f8e1c8110f4 in Lightly::Style::drawPrimitive(QStyle::PrimitiveElement, QStyleOption const*, QPainter*, QWidget const*) const () at /usr/lib64/qt5/plugins/styles/lightly.so
#6  0x00007f8e1c8114d3 in Lightly::Style::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const () at /usr/lib64/qt5/plugins/styles/lightly.so
#7  0x00007f8e0df446bc in KQuickStyleItem::updatePolish() () at /usr/lib64/qt5/qml/org/kde/qqc2desktopstyle/private/libqqc2desktopstyleplugin.so
#8  0x00007f8e300a8f9a in QQuickWindowPrivate::polishItems() () at /lib64/libQt5Quick.so.5
#9  0x00007f8e30135852 in QQuickRenderControl::polishItems() () at /lib64/libQt5Quick.so.5
#10 0x00007f8e303ed169 in QQuickWidgetPrivate::render(bool) () at /lib64/libQt5QuickWidgets.so.5
#11 0x00007f8e303ee9c4 in QQuickWidget::showEvent(QShowEvent*) () at /lib64/libQt5QuickWidgets.so.5
#12 0x00007f8e31bf1818 in QWidget::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#13 0x00007f8e31baed12 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#14 0x00007f8e30ea8278 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#15 0x00007f8e31bee3c7 in QWidgetPrivate::show_helper() () at /lib64/libQt5Widgets.so.5
#16 0x00007f8e31bee329 in QWidgetPrivate::showChildren(bool) () at /lib64/libQt5Widgets.so.5
#17 0x00007f8e31bee3a3 in QWidgetPrivate::show_helper() () at /lib64/libQt5Widgets.so.5
#18 0x00007f8e31bee329 in QWidgetPrivate::showChildren(bool) () at /lib64/libQt5Widgets.so.5
#19 0x00007f8e31bee3a3 in QWidgetPrivate::show_helper() () at /lib64/libQt5Widgets.so.5
#20 0x00007f8e31bf1363 in QWidgetPrivate::setVisible(bool) () at /lib64/libQt5Widgets.so.5
#21 0x00007f8e31bd57c0 in QStackedLayout::setCurrentIndex(int) () at /lib64/libQt5Widgets.so.5
#22 0x00007f8e31d8fee0 in QTabWidget::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () at /lib64/libQt5Widgets.so.5
#23 0x00007f8e30edbdaf in void doActivate<false>(QObject*, int, void**) () at /lib64/libQt5Core.so.5
#24 0x00007f8e31d6c8a2 in QTabBar::currentChanged(int) () at /lib64/libQt5Widgets.so.5
#25 0x00007f8e31d73295 in QTabBar::mousePressEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#26 0x00007f8e31bf1818 in QWidget::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#27 0x00007f8e31baed12 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#28 0x00007f8e31bb7382 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#29 0x00007f8e30ea8278 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#30 0x00007f8e31bb5482 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /lib64/libQt5Widgets.so.5
#31 0x00007f8e31c0ab7c in QWidgetWindow::handleMouseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#32 0x00007f8e31c0df40 in QWidgetWindow::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#33 0x00007f8e31baed12 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#34 0x00007f8e30ea8278 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#35 0x00007f8e3136ae7d in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /lib64/libQt5Gui.so.5
#36 0x00007f8e3134a02c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Gui.so.5
#37 0x00007f8e1e5178de in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5XcbQpa.so.5
#38 0x00007f8e2ec66cbf in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#39 0x00007f8e2ecbc598 in g_main_context_iterate.constprop () at /lib64/libglib-2.0.so.0
#40 0x00007f8e2ec63f40 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#41 0x00007f8e30ef938a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#42 0x00007f8e30ea6cca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#43 0x00007f8e30eaed92 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#44 0x00005590efa5e095 in main ()
[Inferior 1 (process 2933) detached]

Reported using DrKonqi
Comment 1 Nicolas Fella 2023-01-09 14:17:02 UTC
The crash is in the Lightly style, please report to https://github.com/Luwx/Lightly/issues
Comment 2 Nicolas Fella 2023-02-13 12:42:24 UTC
*** Bug 465666 has been marked as a duplicate of this bug. ***
Comment 3 Nicolas Fella 2023-02-13 12:43:06 UTC
See https://github.com/Luwx/Lightly/issues/194
Comment 4 Nick 2023-02-13 14:58:10 UTC
Thank you Nicolas; will report there.