Bug 508704 - kup kioworker crash after login
Summary: kup kioworker crash after login
Status: RESOLVED WORKSFORME
Alias: None
Product: kup
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Simon Persson
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2025-08-25 10:29 UTC by aleksuialekseev
Modified: 2025-10-09 03:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/240737/events/aac9c86f840b41acb37a0214cdceddef/


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description aleksuialekseev 2025-08-25 10:29:30 UTC
Application: kioworker (6.17.0)

ApplicationNotResponding [ANR]: false
Qt Version: 6.9.1
Frameworks Version: 6.17.0
Operating System: Linux 6.16.3-arch1-1 x86_64
Windowing System: Wayland
Distribution: Arch Linux
DrKonqi: 6.4.4 [CoredumpBackend]

-- Information about the crash:
I recover kup (bup) from debian13 to arch. Removed the backup disk, rebooted. kioworker is trying to read the disk

The crash can be reproduced every time.

-- Backtrace:
Application: kioworker (kioworker), signal: Segmentation fault

Downloading 687.90 K separate debug info for /usr/lib/kf6/kioworker...
warning: Can't open file /run/media/nikita/Elements/bac_deb_nik_new_fin/objects/pack/pack-bab228133578e2dc8bf00af1166ba952c6b2cc4a.idx during file-backed mapping note processing
warning: Can't open file /run/media/nikita/Elements/bac_deb_nik_new_fin/objects/pack/pack-d74bddb1cabb96ea05b2148290bc84419d52dd7f.pack during file-backed mapping note processing
warning: Can't open file /run/media/nikita/Elements/bac_deb_nik_new_fin/objects/pack/pack-a4a8b9ae50a64deb01f712c41f1d1a21635ec7a3.idx during file-backed mapping note processing
warning: Can't open file /run/media/nikita/Elements/bac_deb_nik_new_fin/objects/pack/pack-262b361a9fe90a3cc751204a90a56f23e8b6b299.idx during file-backed mapping note processing
warning: Can't open file /run/media/nikita/Elements/bac_deb_nik_new_fin/objects/pack/pack-ca6e540a27f3167345a5aa98aa9a0108011c8805.pack during file-backed mapping note processing
warning: Can't open file /run/media/nikita/Elements/bac_deb_nik_new_fin/objects/pack/pack-d74bddb1cabb96ea05b2148290bc84419d52dd7f.idx during file-backed mapping note processing
warning: Can't open file /run/media/nikita/Elements/bac_deb_nik_new_fin/objects/pack/pack-9c456a1af738a688e493d437cddabdf449077656.pack during file-backed mapping note processing
warning: Can't open file /run/media/nikita/Elements/bac_deb_nik_new_fin/objects/pack/pack-a4d3486c1cfd94ccefa05bba0296a76951fe4a88.idx during file-backed mapping note processing
warning: Can't open file /run/media/nikita/Elements/bac_deb_nik_new_fin/objects/pack/pack-262b361a9fe90a3cc751204a90a56f23e8b6b299.pack during file-backed mapping note processing
warning: Can't open file /run/media/nikita/Elements/bac_deb_nik_new_fin/objects/pack/pack-a4a8b9ae50a64deb01f712c41f1d1a21635ec7a3.pack during file-backed mapping note processing
warning: Can't open file /run/media/nikita/Elements/bac_deb_nik_new_fin/objects/pack/pack-9c456a1af738a688e493d437cddabdf449077656.idx during file-backed mapping note processing
warning: Can't open file /run/media/nikita/Elements/bac_deb_nik_new_fin/objects/pack/pack-25d04914e030304e67e38d03596a525d1c7f3425.idx during file-backed mapping note processing
warning: Can't open file /run/media/nikita/Elements/bac_deb_nik_new_fin/objects/pack/pack-ca6e540a27f3167345a5aa98aa9a0108011c8805.idx during file-backed mapping note processing
warning: Can't open file /run/media/nikita/Elements/bac_deb_nik_new_fin/objects/pack/pack-81c3bdc6774a33ac2c5ea115f68b387d266787f1.idx during file-backed mapping note processing
[New LWP 9131]
Downloading 9.88 M separate debug info for /usr/lib/libc.so.6...
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/usr/lib/kf6/kioworker /usr/lib/qt6/plugins/kf6/kio/kio_bup.so bup '' local:/run/user/1000/kupfilediggerYEVOBY.71.kioworker.socket'.
Program terminated with signal SIGSEGV, Segmentation fault.
Downloading 4.48 K source file /usr/src/debug/glibc/glibc/nptl/pthread_kill.c...
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44
44	      return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;
Cannot QML trace cores :(
add symbol table from file "/usr/lib/libc.so.6"
Downloading 1.50 M separate debug info for /usr/lib/libKF6Crash.so.6...
add symbol table from file "/usr/lib/libKF6Crash.so.6"
Downloading 100.87 M separate debug info for /usr/lib/libQt6Core.so.6...
add symbol table from file "/usr/lib/libQt6Core.so.6"
Downloading 1.85 M separate debug info for /usr/lib/qt6/plugins/kf6/kio/kio_bup.so...
add symbol table from file "/usr/lib/qt6/plugins/kf6/kio/kio_bup.so"
Downloading 39.83 M separate debug info for /usr/lib/libKF6KIOCore.so.6...
add symbol table from file "/usr/lib/libKF6KIOCore.so.6"
add symbol table from file "/usr/lib/kf6/kioworker"
Downloading 12.41 K source file /usr/src/debug/kup/kup-0.10.0/kioworker/bupworker.cpp...
Downloading 45.11 K source file /usr/src/debug/kio/kio-6.17.0/src/core/slavebase.cpp...
Downloading 5.76 K source file /usr/src/debug/kio/kio-6.17.0/src/core/workerbase_p.h...
Downloading 15.93 K source file /usr/src/debug/kup/kup-0.10.0/kioworker/bupvfs.cpp...
Downloading 153.76 K source file /usr/src/debug/qt6-base/qtbase/src/corelib/text/qbytearray.cpp...
Downloading 31.49 K source file /usr/src/debug/qt6-base/qtbase/src/corelib/text/qbytearray.h...
Downloading 27.27 K source file /usr/src/debug/glibc/glibc/string/../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S...
[KCrash Handler]
#4  __memcpy_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:660
#5  0x00007fb27d82d12f in memcpy (__dest=<optimized out>, __src=<optimized out>, __len=<optimized out>, __dest=<optimized out>, __src=<optimized out>, __len=<optimized out>) at /usr/include/bits/string_fortified.h:29
#6  QByteArray::QByteArray (this=<optimized out>, data=<optimized out>, size=<optimized out>, this=<optimized out>, data=<optimized out>, size=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/text/qbytearray.cpp:1847
#7  0x00007fb27d82d22c in QByteArray::QByteArray (this=<optimized out>, v=..., this=<optimized out>, v=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/text/qbytearray.h:95
#8  QByteArrayView::toByteArray (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/text/qbytearray.h:815
#9  QByteArray::assign (this=this@entry=0x7ffdfdab52d0, v=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/text/qbytearray.cpp:2233
#10 0x00007fb27d82f56f in QByteArray::append (this=0x7ffdfdab52d0, ba=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/text/qbytearray.cpp:2107
#11 QByteArray::append (this=this@entry=0x7ffdfdab52d0, ba=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/text/qbytearray.cpp:2102
#12 0x00007fb27def9ed5 in File::readMetadata (this=0x55f6a7810190, pMetadataStream=...) at /usr/src/debug/kup/kup-0.10.0/kioworker/bupvfs.cpp:125
#13 0x00007fb27defadd3 in ArchivedDirectory::generateSubNodes (this=0x55f6a780bb60) at /usr/src/debug/kup/kup-0.10.0/kioworker/bupvfs.cpp:407
#14 0x00007fb27def1bec in Directory::subNodes (this=0x55f6a780bb60) at /usr/src/debug/kup/kup-0.10.0/kioworker/bupvfs.cpp:114
#15 0x00007fb27def76d0 in Node::resolve (this=<optimized out>, pPathList=..., pFollowLinks=pFollowLinks@entry=true) at /usr/src/debug/kup/kup-0.10.0/kioworker/bupvfs.cpp:55
#16 0x00007fb27def8475 in BupWorker::listDir (this=0x7ffdfdab5940, pUrl=...) at /usr/src/debug/kup/kup-0.10.0/kioworker/bupworker.cpp:134
#17 0x00007fb27dde7593 in KIO::WorkerSlaveBaseBridge::listDir (this=0x55f6a7526f70, url=...) at /usr/src/debug/kio/kio-6.17.0/src/core/workerbase_p.h:121
#18 0x00007fb27dde323f in KIO::SlaveBase::dispatch (this=0x55f6a7526f70, command=71, data=...) at /usr/src/debug/kio/kio-6.17.0/src/core/slavebase.cpp:1237
#19 0x00007fb27dde0e70 in KIO::SlaveBase::dispatchLoop() [clone .constprop.0] (this=<optimized out>) at /usr/src/debug/kio/kio-6.17.0/src/core/slavebase.cpp:363
#20 0x00007fb27defa81b in kdemain (pArgc=<optimized out>, pArgv=<optimized out>) at /usr/src/debug/kup/kup-0.10.0/kioworker/bupworker.cpp:366
#21 0x000055f69184d24a in main (argc=5, argv=0x7ffdfdab5c48) at /usr/include/qt6/QtCore/qvarlengtharray.h:89

Reported using DrKonqi
Comment 1 Simon Persson 2025-09-09 18:21:08 UTC
Thanks for the report!

I don't understand why the kioworker is doing anything when after reboot/log in. Do you have a file manager window open with a bup:// URL active?  I mean such that the window opens and tries to show you files inside the backup archive every time you log in.
Comment 2 Simon Persson 2025-09-09 18:40:36 UTC
Actually, just before the place where kioworker crashed, it does checks that two folders in git repo folder exists (objects and refs) and cancels the operation if not. 
I am confused. You said the backup disk had been disconnected. So how can folders on it be reported as existing?
Comment 3 aleksuialekseev 2025-09-09 19:10:32 UTC
(In reply to Simon Persson from comment #2)
> Actually, just before the place where kioworker crashed, it does checks that
> two folders in git repo folder exists (objects and refs) and cancels the
> operation if not. 
> I am confused. You said the backup disk had been disconnected. So how can
> folders on it be reported as existing?

File manager not open. It doesn't happen again.
Comment 4 Bug Janitor Service 2025-09-24 03:47:14 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2025-10-09 03:47:04 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.