Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 805179 - kde-apps/dolphin-20.12.3-r1 will crash if you'll stay for some time in a smb:// folder for some time and will try to update a file within the folder
Summary: kde-apps/dolphin-20.12.3-r1 will crash if you'll stay for some time in a smb:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard: fixed in 21.04.3
Keywords:
Depends on: kde-gear-21.04.3-stable
Blocks:
  Show dependency tree
 
Reported: 2021-07-30 07:38 UTC by zhaleks
Modified: 2021-08-05 19:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zhaleks 2021-07-30 07:38:34 UTC
Hello there.
So, that's my setup.
I have a network storage connected as smb://... network location in Dolphin.
I can access this network location via the Dolphin after issuing username/password.
I have read/write access for this network location.
I've created a folder and placed a file within the folder.
I've opened the file and placed some text within, saved the file then.
After 5-10 mins, if I'll change the file and will try to save it, I'll see the Dolphin crash.
Sorry, I'm not the programmer and don't have dbg installed.
Thanks in advance.

Reproducible: Always

Steps to Reproduce:
1. Connect smb:// share as network location within the Dolphin;
2. Access the network location;
3. Access some folder, or create one;
4. Access a file within the folder, or create one, open the file by clicking it;
5. Feed the file with some text via Kate, as example, save the file then;
6. Wait for 5-10 minutes, put some more text to the file and try to save the file;
Actual Results:  
The kde-apps/dolphin-20.12.3-r1 will crash.

Expected Results:  
A file at smb:// network location should be saved without the Dolphin crash.

Portage 3.0.20 (python 3.9.6-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-10.3.0, glibc-2.33-r1, 5.10.52-gentoo x86_64)
=================================================================
System uname: Linux-5.10.52-gentoo-x86_64-Intel-R-_Core-TM-_i5-4300U_CPU_@_1.90GHz-with-glibc2.33
KiB Mem:     8051512 total,   3379900 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Fri, 30 Jul 2021 06:30:01 +0000
Head commit of repository gentoo: c85957bbfeac2c2e2a6a0b41f5fc20bff2f2775d
sh bash 5.1_p8
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
app-shells/bash:          5.1_p8::gentoo
dev-lang/perl:            5.34.0::gentoo
dev-lang/python:          2.7.18_p11::gentoo, 3.9.6::gentoo
dev-lang/rust:            1.52.1::gentoo
dev-util/cmake:           3.18.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo
sys-devel/gcc:            10.3.0-r2::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r1::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=haswell -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=haswell -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=haswell -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=haswell -O2 -pipe"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="7zip X a52 aac acl acpi activities alsa amd64 bittorrent bluetooth branding bzip2 cairo cdda cdr cli client crypt cups dbus declarative dhclient dri dts dvd dvdr elogind emboss encode exif ffmpeg firmware flac fortran gdbm gif git gles2 gpm gui harfbuzz iconv icu ipv6 jpeg kde kipi kwallet lcms libglvnd libtirpc logrotate mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ntp ogg opengl openmp opus oscar otr pam pango pcre pdf phonon pipewire-alsa plasma png policykit ppds qml qt5 rar readline samba scanner screencast sddm sdl seccomp semantic-desktop sip sna spell split-usr sqlite ssl startup-notification svg synaptics tcpd theora tiff touchpad truetype tty-helpers udev udisks unicode upnp upower usb v4l vaapi vorbis wayland widgets x264 xattr xcb xml xv xvid zip zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="usb-audio hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput synaptics" KERNEL="linux" L10N="en ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS

user@hp0 ~ $ dolphin 
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = dolphin path = /usr/bin pid = 3572
KCrash: Arguments: /usr/bin/dolphin 
KCrash: Attempting to start /usr/lib64/libexec/drkonqi
QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
QSocketNotifier: Invalid socket 13 and type 'Read', disabling...

[1]+  Остановлен    dolphin
user@hp0 ~ $ /tmp/drkonqi.ugYzFx:2: Error in sourced command file:
No symbol table is loaded.  Use the "file" command.
^C

[1]+  Остановлен    dolphin
user@hp0 ~ $ 

Application: Dolphin (dolphin), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fb9af7303db in QUrl::QUrl(QUrl const&) () from /usr/lib64/libQt5Core.so.5
#5  0x00007fb9b1022a26 in KFileItem::url() const () from /usr/lib64/libKF5KIOCore.so.5
#6  0x00007fb9b1620a8a in KFileItemModel::index(QUrl const&) const () from /usr/lib64/libdolphinprivate.so.5
#7  0x00007fb9b1621440 in KFileItemModel::index(KFileItem const&) const () from /usr/lib64/libdolphinprivate.so.5
#8  0x00007fb9b163297d in KFileItemModelRolesUpdater::slotItemsRemoved(KItemRangeList const&) () from /usr/lib64/libdolphinprivate.so.5
#9  0x00007fb9af7f9c3e in ?? () from /usr/lib64/libQt5Core.so.5
#10 0x00007fb9b16086b5 in KItemModelBase::itemsRemoved(KItemRangeList const&) () from /usr/lib64/libdolphinprivate.so.5
#11 0x00007fb9b162820f in KFileItemModel::slotItemsDeleted(KFileItemList const&) () from /usr/lib64/libdolphinprivate.so.5
#12 0x00007fb9af7f9c3e in ?? () from /usr/lib64/libQt5Core.so.5
#13 0x00007fb9b10b95e5 in KCoreDirLister::itemsDeleted(KFileItemList const&) () from /usr/lib64/libKF5KIOCore.so.5
#14 0x00007fb9b10bcd8f in ?? () from /usr/lib64/libKF5KIOCore.so.5
#15 0x00007fb9b10cd033 in ?? () from /usr/lib64/libKF5KIOCore.so.5
#16 0x00007fb9b10cdb94 in ?? () from /usr/lib64/libKF5KIOCore.so.5
#17 0x00007fb9b10ce6f2 in ?? () from /usr/lib64/libKF5KIOCore.so.5
#18 0x00007fb9af7f9c3e in ?? () from /usr/lib64/libQt5Core.so.5
#19 0x00007fb9b1001c8f in OrgKdeKDirNotifyInterface::FileRenamedWithLocalPath(QString const&, QString const&, QString const&) () from /usr/lib64/libKF5KIOCore.so.5
#20 0x00007fb9b1002f53 in OrgKdeKDirNotifyInterface::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libKF5KIOCore.so.5
#21 0x00007fb9afabc99a in ?? () from /usr/lib64/libQt5DBus.so.5
#22 0x00007fb9af7f1e92 in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#23 0x00007fb9b024766f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#24 0x00007fb9af7c7388 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#25 0x00007fb9af7ca82a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#26 0x00007fb9af8183f3 in ?? () from /usr/lib64/libQt5Core.so.5
#27 0x00007fb9ad82749b in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#28 0x00007fb9ad827748 in ?? () from /usr/lib64/libglib-2.0.so.0
#29 0x00007fb9ad8277ff in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#30 0x00007fb9af817eb3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#31 0x00007fb9af7c5e43 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#32 0x00007fb9b084701e in KJob::exec() () from /usr/lib64/libKF5CoreAddons.so.5
#33 0x00007fb9b1678cef in DolphinView::calculateItemCount(int&, int&, unsigned long long&) const () from /usr/lib64/libdolphinprivate.so.5
#34 0x00007fb9b167a0dc in DolphinView::statusBarText() const () from /usr/lib64/libdolphinprivate.so.5
#35 0x00007fb9b18f941c in ?? () from /usr/lib64/libkdeinit5_dolphin.so
#36 0x00007fb9af7f9c3e in ?? () from /usr/lib64/libQt5Core.so.5
#37 0x00007fb9af7f9c3e in ?? () from /usr/lib64/libQt5Core.so.5
#38 0x00007fb9b1608662 in KItemModelBase::itemsInserted(KItemRangeList const&) () from /usr/lib64/libdolphinprivate.so.5
#39 0x00007fb9b16261e6 in KFileItemModel::insertItems(QList<KFileItemModel::ItemData*>&) () from /usr/lib64/libdolphinprivate.so.5
#40 0x00007fb9b1626b05 in KFileItemModel::dispatchPendingItemsToInsert() () from /usr/lib64/libdolphinprivate.so.5
#41 0x00007fb9b16275e5 in KFileItemModel::slotCompleted() () from /usr/lib64/libdolphinprivate.so.5
#42 0x00007fb9af7f9c3e in ?? () from /usr/lib64/libQt5Core.so.5
#43 0x00007fb9b10b9255 in KCoreDirLister::completed(QUrl const&) () from /usr/lib64/libKF5KIOCore.so.5
#44 0x00007fb9b10d2b66 in ?? () from /usr/lib64/libKF5KIOCore.so.5
#45 0x00007fb9af7f9c3e in ?? () from /usr/lib64/libQt5Core.so.5
#46 0x00007fb9b084460c in KJob::result(KJob*, KJob::QPrivateSignal) () from /usr/lib64/libKF5CoreAddons.so.5
#47 0x00007fb9b0845363 in KJob::finishJob(bool) () from /usr/lib64/libKF5CoreAddons.so.5
#48 0x00007fb9af7f9c3e in ?? () from /usr/lib64/libQt5Core.so.5
#49 0x00007fb9b10608f6 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /usr/lib64/libKF5KIOCore.so.5
#50 0x00007fb9b105ef59 in KIO::SlaveInterface::dispatch() () from /usr/lib64/libKF5KIOCore.so.5
#51 0x00007fb9b10638ba in KIO::Slave::gotInput() () from /usr/lib64/libKF5KIOCore.so.5
#52 0x00007fb9af7f9c3e in ?? () from /usr/lib64/libQt5Core.so.5
#53 0x00007fb9af7f1e92 in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#54 0x00007fb9b024766f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#55 0x00007fb9af7c7388 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#56 0x00007fb9af7ca82a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#57 0x00007fb9af8183f3 in ?? () from /usr/lib64/libQt5Core.so.5
#58 0x00007fb9ad82749b in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#59 0x00007fb9ad827748 in ?? () from /usr/lib64/libglib-2.0.so.0
#60 0x00007fb9ad8277ff in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#61 0x00007fb9af817eb3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#62 0x00007fb9af7c5e43 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#63 0x00007fb9af7ce0b0 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#64 0x00007fb9b18e314d in kdemain () from /usr/lib64/libkdeinit5_dolphin.so
#65 0x00007fb9b17017fd in __libc_start_main () from /lib64/libc.so.6
#66 0x000055bfdb88908a in _start ()
[Inferior 1 (process 3572) detached]
Comment 1 zhaleks 2021-07-30 07:57:01 UTC
I've tried to stop iptables and ip6tables just in case.
The Dolphin still crashing, sorry.
Comment 2 Andreas Sturmlechner gentoo-dev 2021-08-01 20:16:09 UTC
Please unmask KDE Gear 21.04.3 in order to try with the latest available (and soon to be stabilised) version. You can pick up a keyword file from here: https://gitweb.gentoo.org/proj/kde.git/tree/Documentation/package.accept_keywords/kde-gear-21.04.keywords

Please upgrade/rebuild dolphin and its dependencies with debug symbols: https://wiki.gentoo.org/wiki/Debugging

Please install sys-devel/gdb and reproduce the bug.

Please report the resulting crash upstream at bugs.kde.org (using drkonqi).

Please link to that upstream bug here so we can track it.
Comment 3 Andreas Sturmlechner gentoo-dev 2021-08-01 20:17:53 UTC
For a list of dependencies, you can use equery:

> $ equery g --depth=2 kde-apps/dolphin-21.04.3

Those dependencies must also be rebuilt in order to gain debug symbols, but remember to use --oneshot in order to not make them register in your world file.
Comment 4 zhaleks 2021-08-03 07:04:20 UTC
Hello.
Thanks for your time.
So, I've updated to KDE Gear 21.04.3, will try to reproduce the bug later today.
I've recompiled with "nostrip" feature, is that enough?
And I have a laptop with Calculate Linux (binary distribution based on Gentoo Linux) and I was able to reproduce the bug with kde-apps/dolphin-20.12.3-r1.
https://mirror.yandex.ru/calculate/release/21/cldc-21-x86_64.iso
https://mirror.yandex.ru/calculate/grp/x86_64
Comment 5 zhaleks 2021-08-03 07:06:45 UTC
https://mirror.yandex.ru/calculate/release/21/cld-21-x86_64.iso for KDE, sorry.
Comment 6 zhaleks 2021-08-03 17:34:29 UTC
Hello.
I can't reproduce this bug with KDE Gear 21.04.3.
Mostly likely, this bug has been fixed.
Thanks in advance.
Comment 7 Andreas Sturmlechner gentoo-dev 2021-08-03 18:54:58 UTC
thanks for checking back!