Application: kioworker (6.7.0) ApplicationNotResponding [ANR]: false Qt Version: 6.8.0 Frameworks Version: 6.7.0 Operating System: Linux 6.11.5-1-default x86_64 Windowing System: X11 Distribution: "openSUSE Tumbleweed" DrKonqi: 6.2.2 [CoredumpBackend] -- Information about the crash: I would need to fill this in at a later time, I didn't understand the backtrace. I was using my Canon LiDE 400 flatbed scanner to scan an A4 sheet of paper, and the Crash Handler appeared. I'll see if I can reproduce this error. The reporter is unsure if this crash is reproducible. -- Backtrace: Application: kioworker (kioworker), signal: Segmentation fault warning: Can't open file /memfd:xshmfence (deleted) during file-backed mapping note processing [New LWP 60869] [New LWP 60876] [New LWP 60878] [New LWP 60967] [New LWP 60969] [New LWP 60870] [New LWP 60968] [New LWP 60873] [New LWP 60871] [New LWP 60874] [New LWP 60971] [New LWP 60974] [New LWP 60877] [New LWP 60972] [New LWP 60875] [New LWP 60883] [New LWP 60970] [New LWP 60882] [New LWP 60973] [New LWP 60884] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `/usr/libexec/kf6/kioworker /usr/lib64/qt6/plugins/kf6/kio/thumbnail.so thumbnai'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007fd710a9a25c in __pthread_kill_implementation () from /lib64/libc.so.6 [Current thread is 1 (Thread 0x7fd70d9f0ac0 (LWP 60869))] python sentry-sdk not installed :( Cannot QML trace cores :( [Current thread is 1 (Thread 0x7fd70d9f0ac0 (LWP 60869))] Thread 20 (Thread 0x7fd6ecc006c0 (LWP 60884)): #0 0x00007fd710a946be in __futex_abstimed_wait_common () from /lib64/libc.so.6 #1 0x00007fd710a97520 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6 #2 0x00007fd6fdd35c39 in ?? () from /usr/lib64/dri/radeonsi_dri.so #3 0x00007fd6fdd13b8b in ?? () from /usr/lib64/dri/radeonsi_dri.so #4 0x00007fd6fdd35b77 in ?? () from /usr/lib64/dri/radeonsi_dri.so #5 0x00007fd710a983b2 in start_thread () from /lib64/libc.so.6 #6 0x00007fd710b1d5fc in __clone3 () from /lib64/libc.so.6 Thread 19 (Thread 0x7fd6c92006c0 (LWP 60973)): #0 0x00007fd710a946be in __futex_abstimed_wait_common () from /lib64/libc.so.6 #1 0x00007fd710a97845 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6 #2 0x00007fd71112169c in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6 #3 0x00007fd71112314c in ?? () from /lib64/libQt6Core.so.6 #4 0x00007fd71111ccf9 in ?? () from /lib64/libQt6Core.so.6 #5 0x00007fd710a983b2 in start_thread () from /lib64/libc.so.6 #6 0x00007fd710b1d5fc in __clone3 () from /lib64/libc.so.6 Thread 18 (Thread 0x7fd6ee0006c0 (LWP 60882)): #0 0x00007fd710a946be in __futex_abstimed_wait_common () from /lib64/libc.so.6 #1 0x00007fd710a97520 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6 #2 0x00007fd6fdd35c39 in ?? () from /usr/lib64/dri/radeonsi_dri.so #3 0x00007fd6fdd13b8b in ?? () from /usr/lib64/dri/radeonsi_dri.so #4 0x00007fd6fdd35b77 in ?? () from /usr/lib64/dri/radeonsi_dri.so #5 0x00007fd710a983b2 in start_thread () from /lib64/libc.so.6 #6 0x00007fd710b1d5fc in __clone3 () from /lib64/libc.so.6 Thread 17 (Thread 0x7fd6d5c006c0 (LWP 60970)): #0 0x00007fd710a946be in __futex_abstimed_wait_common () from /lib64/libc.so.6 #1 0x00007fd710a97845 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6 #2 0x00007fd71112169c in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6 #3 0x00007fd71112314c in ?? () from /lib64/libQt6Core.so.6 #4 0x00007fd71111ccf9 in ?? () from /lib64/libQt6Core.so.6 #5 0x00007fd710a983b2 in start_thread () from /lib64/libc.so.6 #6 0x00007fd710b1d5fc in __clone3 () from /lib64/libc.so.6 Thread 16 (Thread 0x7fd6ed6006c0 (LWP 60883)): #0 0x00007fd710a946be in __futex_abstimed_wait_common () from /lib64/libc.so.6 #1 0x00007fd710a97520 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6 #2 0x00007fd6fdd35c39 in ?? () from /usr/lib64/dri/radeonsi_dri.so #3 0x00007fd6fdd13b8b in ?? () from /usr/lib64/dri/radeonsi_dri.so #4 0x00007fd6fdd35b77 in ?? () from /usr/lib64/dri/radeonsi_dri.so #5 0x00007fd710a983b2 in start_thread () from /lib64/libc.so.6 #6 0x00007fd710b1d5fc in __clone3 () from /lib64/libc.so.6 Thread 15 (Thread 0x7fd6f52006c0 (LWP 60875)): #0 0x00007fd710a946be in __futex_abstimed_wait_common () from /lib64/libc.so.6 #1 0x00007fd710a97520 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6 #2 0x00007fd6fdd35c39 in ?? () from /usr/lib64/dri/radeonsi_dri.so #3 0x00007fd6fdd13b8b in ?? () from /usr/lib64/dri/radeonsi_dri.so #4 0x00007fd6fdd35b77 in ?? () from /usr/lib64/dri/radeonsi_dri.so #5 0x00007fd710a983b2 in start_thread () from /lib64/libc.so.6 #6 0x00007fd710b1d5fc in __clone3 () from /lib64/libc.so.6 Thread 14 (Thread 0x7fd6c9c006c0 (LWP 60972)): #0 0x00007fd710a946be in __futex_abstimed_wait_common () from /lib64/libc.so.6 #1 0x00007fd710a97845 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6 #2 0x00007fd71112169c in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6 #3 0x00007fd71112314c in ?? () from /lib64/libQt6Core.so.6 #4 0x00007fd71111ccf9 in ?? () from /lib64/libQt6Core.so.6 #5 0x00007fd710a983b2 in start_thread () from /lib64/libc.so.6 #6 0x00007fd710b1d5fc in __clone3 () from /lib64/libc.so.6 Thread 13 (Thread 0x7fd6ef4006c0 (LWP 60877)): #0 0x00007fd710a946be in __futex_abstimed_wait_common () from /lib64/libc.so.6 #1 0x00007fd710a97520 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6 #2 0x00007fd6fdd35c39 in ?? () from /usr/lib64/dri/radeonsi_dri.so #3 0x00007fd6fdd13b8b in ?? () from /usr/lib64/dri/radeonsi_dri.so #4 0x00007fd6fdd35b77 in ?? () from /usr/lib64/dri/radeonsi_dri.so #5 0x00007fd710a983b2 in start_thread () from /lib64/libc.so.6 #6 0x00007fd710b1d5fc in __clone3 () from /lib64/libc.so.6 Thread 12 (Thread 0x7fd6bfe006c0 (LWP 60974)): #0 0x00007fd710a946be in __futex_abstimed_wait_common () from /lib64/libc.so.6 #1 0x00007fd710a97845 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6 #2 0x00007fd71112169c in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6 #3 0x00007fd71112314c in ?? () from /lib64/libQt6Core.so.6 #4 0x00007fd71111ccf9 in ?? () from /lib64/libQt6Core.so.6 #5 0x00007fd710a983b2 in start_thread () from /lib64/libc.so.6 #6 0x00007fd710b1d5fc in __clone3 () from /lib64/libc.so.6 Thread 11 (Thread 0x7fd6d52006c0 (LWP 60971)): #0 0x00007fd710a946be in __futex_abstimed_wait_common () from /lib64/libc.so.6 #1 0x00007fd710a97845 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6 #2 0x00007fd71112169c in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6 #3 0x00007fd71112314c in ?? () from /lib64/libQt6Core.so.6 #4 0x00007fd71111ccf9 in ?? () from /lib64/libQt6Core.so.6 #5 0x00007fd710a983b2 in start_thread () from /lib64/libc.so.6 #6 0x00007fd710b1d5fc in __clone3 () from /lib64/libc.so.6 Thread 10 (Thread 0x7fd6f5c006c0 (LWP 60874)): #0 0x00007fd710a946be in __futex_abstimed_wait_common () from /lib64/libc.so.6 #1 0x00007fd710a97520 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6 #2 0x00007fd6fdd35c39 in ?? () from /usr/lib64/dri/radeonsi_dri.so #3 0x00007fd6fdd13b8b in ?? () from /usr/lib64/dri/radeonsi_dri.so #4 0x00007fd6fdd35b77 in ?? () from /usr/lib64/dri/radeonsi_dri.so #5 0x00007fd710a983b2 in start_thread () from /lib64/libc.so.6 #6 0x00007fd710b1d5fc in __clone3 () from /lib64/libc.so.6 Thread 9 (Thread 0x7fd707e006c0 (LWP 60871)): #0 0x00007fd710b0ebcf in poll () from /lib64/libc.so.6 #1 0x00007fd70e5bc8aa in ?? () from /lib64/libxcb.so.1 #2 0x00007fd70e5be41c in xcb_wait_for_event () from /lib64/libxcb.so.1 #3 0x00007fd70cc02d98 in QXcbEventQueue::run (this=0x55e090a79990) at /usr/src/debug/qtbase-everywhere-src-6.8.0/src/plugins/platforms/xcb/qxcbeventqueue.cpp:192 #4 0x00007fd71111ccf9 in ?? () from /lib64/libQt6Core.so.6 #5 0x00007fd710a983b2 in start_thread () from /lib64/libc.so.6 #6 0x00007fd710b1d5fc in __clone3 () from /lib64/libc.so.6 Thread 8 (Thread 0x7fd6f66006c0 (LWP 60873)): #0 0x00007fd710a946be in __futex_abstimed_wait_common () from /lib64/libc.so.6 #1 0x00007fd710a97520 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6 #2 0x00007fd6fdd35c39 in ?? () from /usr/lib64/dri/radeonsi_dri.so #3 0x00007fd6fdd13b8b in ?? () from /usr/lib64/dri/radeonsi_dri.so #4 0x00007fd6fdd35b77 in ?? () from /usr/lib64/dri/radeonsi_dri.so #5 0x00007fd710a983b2 in start_thread () from /lib64/libc.so.6 #6 0x00007fd710b1d5fc in __clone3 () from /lib64/libc.so.6 Thread 7 (Thread 0x7fd6e34006c0 (LWP 60968)): #0 0x00007fd710a946be in __futex_abstimed_wait_common () from /lib64/libc.so.6 #1 0x00007fd710a97845 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6 #2 0x00007fd71112169c in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6 #3 0x00007fd71112314c in ?? () from /lib64/libQt6Core.so.6 #4 0x00007fd71111ccf9 in ?? () from /lib64/libQt6Core.so.6 #5 0x00007fd710a983b2 in start_thread () from /lib64/libc.so.6 #6 0x00007fd710b1d5fc in __clone3 () from /lib64/libc.so.6 Thread 6 (Thread 0x7fd70ca006c0 (LWP 60870)): #0 0x00007fd710b0f186 in ppoll () from /lib64/libc.so.6 #1 0x00007fd70fb12d9f in ?? () from /lib64/libglib-2.0.so.0 #2 0x00007fd70fb134bc in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #3 0x00007fd7111fe043 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6 #4 0x00007fd710fb6602 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6 #5 0x00007fd7110a2a8c in QThread::exec() () from /lib64/libQt6Core.so.6 #6 0x00007fd71069622e in ?? () from /lib64/libQt6DBus.so.6 #7 0x00007fd71111ccf9 in ?? () from /lib64/libQt6Core.so.6 #8 0x00007fd710a983b2 in start_thread () from /lib64/libc.so.6 #9 0x00007fd710b1d5fc in __clone3 () from /lib64/libc.so.6 Thread 5 (Thread 0x7fd6e2a006c0 (LWP 60969)): #0 0x00007fd710a946be in __futex_abstimed_wait_common () from /lib64/libc.so.6 #1 0x00007fd710a97845 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6 #2 0x00007fd71112169c in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6 #3 0x00007fd71112314c in ?? () from /lib64/libQt6Core.so.6 #4 0x00007fd71111ccf9 in ?? () from /lib64/libQt6Core.so.6 #5 0x00007fd710a983b2 in start_thread () from /lib64/libc.so.6 #6 0x00007fd710b1d5fc in __clone3 () from /lib64/libc.so.6 Thread 4 (Thread 0x7fd6e3e006c0 (LWP 60967)): #0 0x00007fd710a946be in __futex_abstimed_wait_common () from /lib64/libc.so.6 #1 0x00007fd710a97845 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6 #2 0x00007fd71112169c in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6 #3 0x00007fd71112314c in ?? () from /lib64/libQt6Core.so.6 #4 0x00007fd71111ccf9 in ?? () from /lib64/libQt6Core.so.6 #5 0x00007fd710a983b2 in start_thread () from /lib64/libc.so.6 #6 0x00007fd710b1d5fc in __clone3 () from /lib64/libc.so.6 Thread 3 (Thread 0x7fd6eea006c0 (LWP 60878)): #0 0x00007fd710a946be in __futex_abstimed_wait_common () from /lib64/libc.so.6 #1 0x00007fd710a97520 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6 #2 0x00007fd6fdd35c39 in ?? () from /usr/lib64/dri/radeonsi_dri.so #3 0x00007fd6fdd13b8b in ?? () from /usr/lib64/dri/radeonsi_dri.so #4 0x00007fd6fdd35b77 in ?? () from /usr/lib64/dri/radeonsi_dri.so #5 0x00007fd710a983b2 in start_thread () from /lib64/libc.so.6 #6 0x00007fd710b1d5fc in __clone3 () from /lib64/libc.so.6 Thread 2 (Thread 0x7fd6efe006c0 (LWP 60876)): #0 0x00007fd710a946be in __futex_abstimed_wait_common () from /lib64/libc.so.6 #1 0x00007fd710a97520 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6 #2 0x00007fd6fdd35c39 in ?? () from /usr/lib64/dri/radeonsi_dri.so #3 0x00007fd6fdd13b8b in ?? () from /usr/lib64/dri/radeonsi_dri.so #4 0x00007fd6fdd35b77 in ?? () from /usr/lib64/dri/radeonsi_dri.so #5 0x00007fd710a983b2 in start_thread () from /lib64/libc.so.6 #6 0x00007fd710b1d5fc in __clone3 () from /lib64/libc.so.6 Thread 1 (Thread 0x7fd70d9f0ac0 (LWP 60869)): [KCrash Handler] #4 0x00007fd710b92416 in __memmove_avx512_unaligned_erms () from /lib64/libc.so.6 #5 0x00007fd6f5d21d0c in DumpModeDecode (tif=0x55e090edde00, buf=<optimized out>, cc=4866, s=<optimized out>) at /usr/src/debug/tiff-4.7.0/libtiff/tif_dumpmode.c:91 #6 0x00007fd6f5d5e882 in TIFFReadScanline (tif=0x55e090edde00, buf=0x7fd6cb406230, row=4744, sample=<optimized out>) at /usr/src/debug/tiff-4.7.0/libtiff/tif_read.c:458 #7 0x00007fd6fffdfd68 in QTiffHandler::read (this=0x55e090ed2c10, image=0x7ffc25166250) at /usr/src/debug/qtimageformats-everywhere-src-6.8.0/src/plugins/imageformats/tiff/qtiffhandler.cpp:544 #8 0x00007fd70e9dd71b in QImageReader::read (this=this@entry=0x7ffc25166220, image=image@entry=0x7ffc25166250) at /usr/src/debug/qtbase-everywhere-src-6.8.0/src/gui/image/qimagereader.cpp:1211 #9 0x00007fd70e9dde6a in QImageReader::read (this=this@entry=0x7ffc25166220, image=image@entry=0x7ffc25166250) at /usr/src/debug/qtbase-everywhere-src-6.8.0/src/gui/image/qimagereader.cpp:1283 #10 0x00007fd705b4e81b in ImageCreator::create (this=this@entry=0x55e090fab3c0, request=...) at /usr/src/debug/kio-extras-24.08.2/thumbnail/imagecreator.cpp:82 #11 0x00007fd711622d3c in ThumbnailProtocol::createThumbnail (this=this@entry=0x7ffc251667d0, thumbCreator=thumbCreator@entry=0x55e090ebab00, filePath=..., width=256, height=height@entry=256, thumbnail=...) at /usr/src/debug/kio-extras-24.08.2/thumbnail/thumbnail.cpp:787 #12 0x00007fd711628270 in ThumbnailProtocol::get (this=0x7ffc251667d0, url=...) at /usr/src/debug/kio-extras-24.08.2/thumbnail/thumbnail.cpp:246 #13 0x00007fd711520ace in KIO::WorkerSlaveBaseBridge::get (this=0x55e090eb5900, url=...) at /usr/src/debug/kio-6.7.0/src/core/workerbase_p.h:71 #14 0x00007fd71152019d in KIO::SlaveBase::dispatch (this=0x55e090eb5900, command=67, data=...) at /usr/src/debug/kio-6.7.0/src/core/slavebase.cpp:1175 #15 0x00007fd7115bc916 in KIO::SlaveBase::dispatchLoop() [clone .constprop.0] (this=<optimized out>) at /usr/src/debug/kio-6.7.0/src/core/slavebase.cpp:357 #16 0x00007fd71151ba19 in KIO::WorkerBase::dispatchLoop (this=<optimized out>) at /usr/src/debug/kio-6.7.0/src/core/workerbase.cpp:27 #17 0x00007fd711624ee7 in kdemain (argc=<optimized out>, argc@entry=4, argv=<optimized out>) at /usr/src/debug/kio-extras-24.08.2/thumbnail/thumbnail.cpp:114 #18 0x000055e05d864390 in main (argc=5, argv=0x7ffc251674d8) at /usr/src/debug/kio-6.7.0/src/kioworker/kioworker.cpp:144 Reported using DrKonqi This report was filed against 'kde' because the product 'kioworker' could not be located in Bugzilla. Add it to drkonqi's mappings file!
What scanning app were you using?
(In reply to Nate Graham from comment #1) > What scanning app were you using? I haven't been able to reproduce this. I've been running `scanimage` like so: ``` #! /usr/bin/env python3 import os import subprocess import sys from PIL import Image # TODO: Check CLI args, default to not rotating orientation = None if len(sys.argv) > 1: orientation = int(sys.argv[1]) save_path = "/home/totte/Pictures/Scans/" counter = 1 filename_prefix = "{:02d}" filename_suffix = ".tiff" filename = filename_prefix + filename_suffix while os.path.isfile(os.path.join(save_path, filename.format(counter))): counter += 1 filename = filename.format(counter) complete_path = os.path.join(save_path, filename) # TODO: Replace with https://github.com/python-pillow/Sane subprocess.run( [ "scanimage", "--format=tiff", "--output-file", complete_path, "--progress", "--mode", "Gray", "--resolution", "600", "-x", "206", "-y", "292", ] ) index = complete_path.find(".tiff") jpg_complete_path = complete_path[:index] + ".jpg" png_complete_path = complete_path[:index] + ".png" scannedImage = Image.open(complete_path) if orientation is not None: rotatedImage = scannedImage.rotate(orientation, expand=1) rotatedImage.save(complete_path) resizedImage = rotatedImage.resize((1920, 1354), 1) else: resizedImage = scannedImage.resize((1354, 1920), 1) resizedImage.save(png_complete_path, optimize=True) ``` Dolphin and Krita run all the time, if that could somehow be related to this. I scan pencil sketches before and after inking them, and try to automate the workflow using Python. I keep the original TIFFs and create smaller PNGs for sharing. The file system is `btrfs`.
So to be clear: you wrote a custom scanning program, and when you use it, it caused the kioworker process to crash? It seems possible that the file is being altered progressively while thumbnail generation is in progress, triggering a code bug that makes it crash. We should fix the crahs, but I'd also suggest fixing your program to save atomically.
(In reply to Nate Graham from comment #3) > So to be clear: you wrote a custom scanning program, and when you use it, it > caused the kioworker process to crash? Yes, and yes (that one time). I've run the script at least 26 times since my previous comment, and it hasn't happened again. > It seems possible that the file is being altered progressively while > thumbnail generation is in progress, triggering a code bug that makes it > crash. We should fix the crahs, but I'd also suggest fixing your program to > save atomically. Thank you for the advice – I'll do that.