Bug 477356 - Saving a file takes ten seconds before anything happens
Summary: Saving a file takes ten seconds before anything happens
Status: RESOLVED WORKSFORME
Alias: None
Product: xdg-desktop-portal-kde
Classification: Plasma
Component: general (show other bugs)
Version: 5.27.9
Platform: Flatpak Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-11-22 08:59 UTC by Ian
Modified: 2023-12-14 17:15 UTC (History)
3 users (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 Ian 2023-11-22 08:59:38 UTC
Application: xdg-desktop-portal-kde (5.27.9)

Qt Version: 5.15.11
Frameworks Version: 5.112.0
Operating System: Linux 6.5.4-1-default x86_64
Windowing System: X11
Distribution: openSUSE Tumbleweed
DrKonqi: 5.27.9 [CoredumpBackend]

-- Information about the crash:
I was using Thonny (micropython editor), but the same thing happened every other time I tried to save a file. A button with KDE logo appears on the panel and the tumbler tumbles for maybe ten seconds. then the save dialog appears. Clicking a library causes the same th ing, KDE panel item and wait for ten seconds. The last time the portal actually crashed.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Portal (xdg-desktop-portal-kde), signal: Segmentation fault

           PID: 4472 (xdg-desktop-por)
           UID: 1000 (ian)
           GID: 1000 (ian)
        Signal: 11 (SEGV)
     Timestamp: Wed 2023-11-22 19:54:13 AEDT (43s ago)
  Command Line: /usr/libexec/xdg-desktop-portal-kde
    Executable: /usr/libexec/xdg-desktop-portal-kde
 Control Group: /user.slice/user-1000.slice/user@1000.service/session.slice/plasma-xdg-desktop-portal-kde.service
          Unit: user@1000.service
     User Unit: plasma-xdg-desktop-portal-kde.service
         Slice: user-1000.slice
     Owner UID: 1000 (ian)
       Boot ID: 1f31a4839bc0416693324c2eda70b9a8
    Machine ID: 29535661e97b4ebea7baeee4f9d533e9
      Hostname: opensusian
       Storage: /var/lib/systemd/coredump/core.xdg-desktop-por.1000.1f31a4839bc0416693324c2eda70b9a8.4472.1700643253000000.zst (present)
  Size on Disk: 3.4M
       Message: Process 4472 (xdg-desktop-por) of user 1000 dumped core.
                
                Stack trace of thread 5847:
                #0  0x00007f99d8491dec __pthread_kill_implementation (libc.so.6 + 0x91dec)
                #1  0x00007f99d843f0c6 raise (libc.so.6 + 0x3f0c6)
                #2  0x00007f99d9940d9a _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5 + 0x7d9a)
                #3  0x00007f99d843f190 __restore_rt (libc.so.6 + 0x3f190)
                #4  0x00007f99d8491dec __pthread_kill_implementation (libc.so.6 + 0x91dec)
                #5  0x00007f99d843f0c6 raise (libc.so.6 + 0x3f0c6)
                #6  0x00007f99d843f190 __restore_rt (libc.so.6 + 0x3f190)
                #7  0x00007f99d8514e11 pselect (libc.so.6 + 0x114e11)
                #8  0x00007f99d64b6b37 n/a (libusbmuxd-2.0.so.6 + 0x4b37)
                #9  0x00007f99d64b77a3 n/a (libusbmuxd-2.0.so.6 + 0x57a3)
                #10 0x00007f99d848ff44 start_thread (libc.so.6 + 0x8ff44)
                #11 0x00007f99d85184cc __clone3 (libc.so.6 + 0x1184cc)
                
                Stack trace of thread 4512:
                #0  0x00007f99d848c4ee __futex_abstimed_wait_common (libc.so.6 + 0x8c4ee)
                #1  0x00007f99d848f230 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8f230)
                #2  0x00007f99d02d1feb n/a (iris_dri.so + 0xd1feb)
                #3  0x00007f99d031b8e7 n/a (iris_dri.so + 0x11b8e7)
                #4  0x00007f99d848ff44 start_thread (libc.so.6 + 0x8ff44)
                #5  0x00007f99d85184cc __clone3 (libc.so.6 + 0x1184cc)
                
                Stack trace of thread 4472:
                #0  0x00007f99d8509d7f __poll (libc.so.6 + 0x109d7f)
                #1  0x00007f99d9940198 n/a (libKF5Crash.so.5 + 0x7198)
                #2  0x00007f99d9940d3d _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5 + 0x7d3d)
                #3  0x00007f99d843f190 __restore_rt (libc.so.6 + 0x3f190)
                #4  0x00007f99d9381cf0 _ZNK7QWindow15transientParentEv (libQt5Gui.so.5 + 0x181cf0)
                #5  0x00007f99d9381daa _ZNK7QWindow12isAncestorOfEPKS_NS_12AncestorModeE (libQt5Gui.so.5 + 0x181daa)
                #6  0x00007f99da7a4354 _ZNK19QApplicationPrivate15isWindowBlockedEP7QWindowPS1_ (libQt5Widgets.so.5 + 0x1a4354)
                #7  0x00007f99d93751d6 _ZN22QGuiApplicationPrivate15showModalWindowEP7QWindow (libQt5Gui.so.5 + 0x1751d6)
                #8  0x00007f99d9388018 _ZN14QWindowPrivate10setVisibleEb (libQt5Gui.so.5 + 0x188018)
                #9  0x00007f99da7dacd1 _ZN14QWidgetPrivate8show_sysEv (libQt5Widgets.so.5 + 0x1dacd1)
                #10 0x00007f99da7e38bb _ZN14QWidgetPrivate11show_helperEv (libQt5Widgets.so.5 + 0x1e38bb)
                #11 0x00007f99da7e6803 _ZN14QWidgetPrivate10setVisibleEb (libQt5Widgets.so.5 + 0x1e6803)
                #12 0x00007f99da9ae515 _ZN7QDialog10setVisibleEb (libQt5Widgets.so.5 + 0x3ae515)
                #13 0x00007f99da9adb21 _ZN7QDialog4execEv (libQt5Widgets.so.5 + 0x3adb21)
                #14 0x0000560d36ba4c00 n/a (xdg-desktop-portal-kde + 0x83c00)
                #15 0x0000560d36b50309 n/a (xdg-desktop-portal-kde + 0x2f309)
                #16 0x0000560d36b54923 n/a (xdg-desktop-portal-kde + 0x33923)
                #17 0x00007f99d999446b n/a (libQt5DBus.so.5 + 0x2846b)
                #18 0x00007f99d99982e6 n/a (libQt5DBus.so.5 + 0x2c2e6)
                #19 0x00007f99d99989d2 n/a (libQt5DBus.so.5 + 0x2c9d2)
                #20 0x00007f99d999ac98 n/a (libQt5DBus.so.5 + 0x2ec98)
                #21 0x00007f99d8f18f50 _ZN7QObject5eventEP6QEvent (libQt5Core.so.5 + 0x318f50)
                #22 0x00007f99da7a519e _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x1a519e)
                #23 0x00007f99d8eed198 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x2ed198)
                #24 0x00007f99d8ef0791 _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt5Core.so.5 + 0x2f0791)
                #25 0x00007f99d8f468c3 n/a (libQt5Core.so.5 + 0x3468c3)
                #26 0x00007f99d7266f30 n/a (libglib-2.0.so.0 + 0x5bf30)
                #27 0x00007f99d7268b58 n/a (libglib-2.0.so.0 + 0x5db58)
                #28 0x00007f99d726920c g_main_context_iteration (libglib-2.0.so.0 + 0x5e20c)
                #29 0x00007f99d8f460d6 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x3460d6)
                #30 0x00007f99d8eebc2b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2ebc2b)
                #31 0x00007f99d8ef40c0 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x2f40c0)
                #32 0x0000560d36b4bcaa n/a (xdg-desktop-portal-kde + 0x2acaa)
                #33 0x00007f99d84281b0 __libc_start_call_main (libc.so.6 + 0x281b0)
                #34 0x00007f99d8428279 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x28279)
                #35 0x0000560d36b4ca75 n/a (xdg-desktop-portal-kde + 0x2ba75)
                
                Stack trace of thread 4511:
                #0  0x00007f99d848c4ee __futex_abstimed_wait_common (libc.so.6 + 0x8c4ee)
                #1  0x00007f99d848f230 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8f230)
                #2  0x00007f99d02d1feb n/a (iris_dri.so + 0xd1feb)
                #3  0x00007f99d031b8e7 n/a (iris_dri.so + 0x11b8e7)
                #4  0x00007f99d848ff44 start_thread (libc.so.6 + 0x8ff44)
                #5  0x00007f99d85184cc __clone3 (libc.so.6 + 0x1184cc)
                
                Stack trace of thread 4514:
                #0  0x00007f99d848c4ee __futex_abstimed_wait_common (libc.so.6 + 0x8c4ee)
                #1  0x00007f99d848f230 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8f230)
                #2  0x00007f99d02d1feb n/a (iris_dri.so + 0xd1feb)
                #3  0x00007f99d031b8e7 n/a (iris_dri.so + 0x11b8e7)
                #4  0x00007f99d848ff44 start_thread (libc.so.6 + 0x8ff44)
                #5  0x00007f99d85184cc __clone3 (libc.so.6 + 0x1184cc)
                
                Stack trace of thread 4515:
                #0  0x00007f99d848c4ee __futex_abstimed_wait_common (libc.so.6 + 0x8c4ee)
                #1  0x00007f99d848f230 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8f230)
                #2  0x00007f99d02d1feb n/a (iris_dri.so + 0xd1feb)
                #3  0x00007f99d031b8e7 n/a (iris_dri.so + 0x11b8e7)
                #4  0x00007f99d848ff44 start_thread (libc.so.6 + 0x8ff44)
                #5  0x00007f99d85184cc __clone3 (libc.so.6 + 0x1184cc)
                
                Stack trace of thread 4493:
                #0  0x00007f99d8509d7f __poll (libc.so.6 + 0x109d7f)
                #1  0x00007f99d7268aff n/a (libglib-2.0.so.0 + 0x5daff)
                #2  0x00007f99d726920c g_main_context_iteration (libglib-2.0.so.0 + 0x5e20c)
                #3  0x00007f99d8f460ee _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x3460ee)
                #4  0x00007f99d8eebc2b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2ebc2b)
                #5  0x00007f99d8d02f6e _ZN7QThread4execEv (libQt5Core.so.5 + 0x102f6e)
                #6  0x00007f99d9986517 n/a (libQt5DBus.so.5 + 0x1a517)
                #7  0x00007f99d8d0419d n/a (libQt5Core.so.5 + 0x10419d)
                #8  0x00007f99d848ff44 start_thread (libc.so.6 + 0x8ff44)
                #9  0x00007f99d85184cc __clone3 (libc.so.6 + 0x1184cc)
                ELF object binary architecture: AMD x86-64


This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.opensuse.org/>
Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal]
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
[New LWP 5847]
[New LWP 4512]
[New LWP 4472]
[New LWP 4511]
[New LWP 4514]
[New LWP 4515]
[New LWP 4493]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/libexec/xdg-desktop-portal-kde'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f99d8491dec in __pthread_kill_implementation () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f99c9eba6c0 (LWP 5847))]
[Current thread is 1 (Thread 0x7f99c9eba6c0 (LWP 5847))]

Thread 7 (Thread 0x7f99d36826c0 (LWP 4493)):
#0  0x00007f99d8509d7f in poll () at /lib64/libc.so.6
#1  0x00007f99d7268aff in  () at /lib64/libglib-2.0.so.0
#2  0x00007f99d726920c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f99d8f460ee in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#4  0x00007f99d8eebc2b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007f99d8d02f6e in QThread::exec() () at /lib64/libQt5Core.so.5
#6  0x00007f99d9986517 in  () at /lib64/libQt5DBus.so.5
#7  0x00007f99d8d0419d in  () at /lib64/libQt5Core.so.5
#8  0x00007f99d848ff44 in start_thread () at /lib64/libc.so.6
#9  0x00007f99d85184cc in clone3 () at /lib64/libc.so.6

Thread 6 (Thread 0x7f99ca6bb6c0 (LWP 4515)):
#0  0x00007f99d848c4ee in __futex_abstimed_wait_common () at /lib64/libc.so.6
#1  0x00007f99d848f230 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libc.so.6
#2  0x00007f99d02d1feb in  () at /usr/lib64/dri/iris_dri.so
#3  0x00007f99d031b8e7 in  () at /usr/lib64/dri/iris_dri.so
#4  0x00007f99d848ff44 in start_thread () at /lib64/libc.so.6
#5  0x00007f99d85184cc in clone3 () at /lib64/libc.so.6

Thread 5 (Thread 0x7f99caebc6c0 (LWP 4514)):
#0  0x00007f99d848c4ee in __futex_abstimed_wait_common () at /lib64/libc.so.6
#1  0x00007f99d848f230 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libc.so.6
#2  0x00007f99d02d1feb in  () at /usr/lib64/dri/iris_dri.so
#3  0x00007f99d031b8e7 in  () at /usr/lib64/dri/iris_dri.so
#4  0x00007f99d848ff44 in start_thread () at /lib64/libc.so.6
#5  0x00007f99d85184cc in clone3 () at /lib64/libc.so.6

Thread 4 (Thread 0x7f99cbebe6c0 (LWP 4511)):
#0  0x00007f99d848c4ee in __futex_abstimed_wait_common () at /lib64/libc.so.6
#1  0x00007f99d848f230 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libc.so.6
#2  0x00007f99d02d1feb in  () at /usr/lib64/dri/iris_dri.so
#3  0x00007f99d031b8e7 in  () at /usr/lib64/dri/iris_dri.so
#4  0x00007f99d848ff44 in start_thread () at /lib64/libc.so.6
#5  0x00007f99d85184cc in clone3 () at /lib64/libc.so.6

Thread 3 (Thread 0x7f99d5c6ca00 (LWP 4472)):
[KCrash Handler]
#4  0x00007f99d9381cf0 in QWindow::transientParent() const () at /lib64/libQt5Gui.so.5
#5  0x00007f99d9381daa in QWindow::isAncestorOf(QWindow const*, QWindow::AncestorMode) const () at /lib64/libQt5Gui.so.5
#6  0x00007f99da7a4354 in QApplicationPrivate::isWindowBlocked(QWindow*, QWindow**) const () at /lib64/libQt5Widgets.so.5
#7  0x00007f99d93751d6 in QGuiApplicationPrivate::showModalWindow(QWindow*) () at /lib64/libQt5Gui.so.5
#8  0x00007f99d9388018 in QWindowPrivate::setVisible(bool) () at /lib64/libQt5Gui.so.5
#9  0x00007f99da7dacd1 in QWidgetPrivate::show_sys() () at /lib64/libQt5Widgets.so.5
#10 0x00007f99da7e38bb in QWidgetPrivate::show_helper() () at /lib64/libQt5Widgets.so.5
#11 0x00007f99da7e6803 in QWidgetPrivate::setVisible(bool) () at /lib64/libQt5Widgets.so.5
#12 0x00007f99da9ae515 in QDialog::setVisible(bool) () at /lib64/libQt5Widgets.so.5
#13 0x00007f99da9adb21 in QDialog::exec() () at /lib64/libQt5Widgets.so.5
#14 0x0000560d36ba4c00 in  ()
#15 0x0000560d36b50309 in  ()
#16 0x0000560d36b54923 in  ()
#17 0x00007f99d999446b in  () at /lib64/libQt5DBus.so.5
#18 0x00007f99d99982e6 in  () at /lib64/libQt5DBus.so.5
#19 0x00007f99d99989d2 in  () at /lib64/libQt5DBus.so.5
#20 0x00007f99d999ac98 in  () at /lib64/libQt5DBus.so.5
#21 0x00007f99d8f18f50 in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#22 0x00007f99da7a519e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#23 0x00007f99d8eed198 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#24 0x00007f99d8ef0791 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQt5Core.so.5
#25 0x00007f99d8f468c3 in  () at /lib64/libQt5Core.so.5
#26 0x00007f99d7266f30 in  () at /lib64/libglib-2.0.so.0
#27 0x00007f99d7268b58 in  () at /lib64/libglib-2.0.so.0
#28 0x00007f99d726920c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#29 0x00007f99d8f460d6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#30 0x00007f99d8eebc2b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#31 0x00007f99d8ef40c0 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#32 0x0000560d36b4bcaa in  ()
#33 0x00007f99d84281b0 in __libc_start_call_main () at /lib64/libc.so.6
#34 0x00007f99d8428279 in __libc_start_main_impl () at /lib64/libc.so.6
#35 0x0000560d36b4ca75 in  ()

Thread 2 (Thread 0x7f99cb6bd6c0 (LWP 4512)):
#0  0x00007f99d848c4ee in __futex_abstimed_wait_common () at /lib64/libc.so.6
#1  0x00007f99d848f230 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libc.so.6
#2  0x00007f99d02d1feb in  () at /usr/lib64/dri/iris_dri.so
#3  0x00007f99d031b8e7 in  () at /usr/lib64/dri/iris_dri.so
#4  0x00007f99d848ff44 in start_thread () at /lib64/libc.so.6
#5  0x00007f99d85184cc in clone3 () at /lib64/libc.so.6

Thread 1 (Thread 0x7f99c9eba6c0 (LWP 5847)):
[KCrash Handler]
#4  0x00007f99d8491dec in __pthread_kill_implementation () at /lib64/libc.so.6
#5  0x00007f99d843f0c6 in raise () at /lib64/libc.so.6
#6  0x00007f99d843f190 in <signal handler called> () at /lib64/libc.so.6
#7  0x00007f99d8514e11 in pselect () at /lib64/libc.so.6
#8  0x00007f99d64b6b37 in  () at /lib64/libusbmuxd-2.0.so.6
#9  0x00007f99d64b77a3 in  () at /lib64/libusbmuxd-2.0.so.6
#10 0x00007f99d848ff44 in start_thread () at /lib64/libc.so.6
#11 0x00007f99d85184cc in clone3 () at /lib64/libc.so.6

Reported using DrKonqi
Comment 1 Nate Graham 2023-11-29 19:54:43 UTC
Cannot reproduce, no KDE code is implicated in what I can see from the backtrace, and the backtrace has no debug symbols for anything that would help. :(

If this crash is reproducible, could you please install debug symbols, reproduce the crash, and attach a new symbolicated backtrace? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl

Thanks!
Comment 2 Bug Janitor Service 2023-12-14 03:46:05 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Ian 2023-12-14 05:13:41 UTC
Apologies for taking so long to get back to this. 
It seems to be no longer happening, so it may have been a Thonny problem. Update(s) have been applied to Thonny  since the problem was happening, and it seems to have gone away now. 
Apologies for wasting your time.
Comment 4 Nate Graham 2023-12-14 17:15:32 UTC
Well, I'm glad it's gone, and thanks for following up! We can always re-open this if it happens again.