Bug 460820

Summary: Desktop freezes since upgrade to KDE 5.26 on Neon possibly caused by xdg-desktop-portal-kde crashing
Product: [Plasma] xdg-desktop-portal-kde Reporter: Sebastian <bugreports.nmhj2>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: aleixpol, jgrulich, nate, qydwhotmail
Priority: NOR    
Version: 5.26.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Sebastian 2022-10-21 18:27:06 UTC
SUMMARY
Desktop sometimes freezes since upgrade to KDE 5.26 on Neon (Wayland)

STEPS TO REPRODUCE
Not sure. Seems to happen when I'm away for longer from notebook and display turned off (notebook stays on). After logging back in desktop is frozen, have to reboot.

OBSERVED RESULT
Desktop frozen.

EXPECTED RESULT
Desktop works normal.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.26
KDE Plasma Version: 5.26.0
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Kernel Version: 5.15.0-52-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-7820HQ CPU @ 2.90GHz
Memory: 62.6 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 630
Manufacturer: HP
Product Name: HP ZBook 15 G4

ADDITIONAL INFORMATION
Backtrace of what I suspect is the cause:

           PID: 2655 (xdg-desktop-por)
           UID: 118 (sddm)
           GID: 125 (sddm)
        Signal: 6 (ABRT)
     Timestamp: Fri 2022-10-21 20:00:03 CEST (22min ago)
  Command Line: /usr/lib/x86_64-linux-gnu/libexec/xdg-desktop-portal-kde
    Executable: /usr/lib/x86_64-linux-gnu/libexec/xdg-desktop-portal-kde
 Control Group: /user.slice/user-118.slice/user@118.service/session.slice/plasma-xdg-desktop-portal-kde.service
          Unit: user@118.service
     User Unit: plasma-xdg-desktop-portal-kde.service
         Slice: user-118.slice
     Owner UID: 118 (sddm)
       Boot ID: a1b9e0ad37ed4583a381bec2fcc49c02
    Machine ID: be93237f58a7432c8924ca44369ab72b
      Hostname: sebzbook
       Storage: /var/lib/systemd/coredump/core.xdg-desktop-por.118.a1b9e0ad37ed4583a381bec2fcc49c02.2655.1666375203000000000000.lz4 (inaccessible)
       Message: Process 2655 (xdg-desktop-por) of user 118 dumped core.
                
                Stack trace of thread 2655:
                #0  0x00007f90e773500b __GI_raise (libc.so.6 + 0x4300b)
                #1  0x00007f90e7714859 __GI_abort (libc.so.6 + 0x22859)
                #2  0x00007f90e7b58bd9 _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0x92bd9)
                #3  0x00007f90e8b1ad9b _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt5Gui.so.5 + 0x139d9b)
                #4  0x00007f90e8b1b218 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt5Gui.so.5 + 0x13a218)
                #5  0x00007f90e7d81b06 _ZN23QCoreApplicationPrivate4initEv (libQt5Core.so.5 + 0x2bbb06)
                #6  0x00007f90e8b1e333 _ZN22QGuiApplicationPrivate4initEv (libQt5Gui.so.5 + 0x13d333)
                #7  0x00007f90e97a21bd _ZN19QApplicationPrivate4initEv (libQt5Widgets.so.5 + 0x1741bd)
                #8  0x000055db9a5dcf55 n/a (xdg-desktop-portal-kde + 0x26f55)
                #9  0x00007f90e7716083 __libc_start_main (libc.so.6 + 0x24083)
                #10 0x000055db9a5dd29e n/a (xdg-desktop-portal-kde + 0x2729e)
                
                Stack trace of thread 2656:
                #0  0x00007f90e780499f __GI___poll (libc.so.6 + 0x11299f)
                #1  0x00007f90e5eda36e n/a (libglib-2.0.so.0 + 0x5236e)
                #2  0x00007f90e5eda4a3 g_main_context_iteration (libglib-2.0.so.0 + 0x524a3)
                #3  0x00007f90e7dd5b82 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x30fb82)
                #4  0x00007f90e7d79b3b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b3b3b)
                #5  0x00007f90e7b93342 _ZN7QThread4execEv (libQt5Core.so.5 + 0xcd342)
                #6  0x00007f90e8037f4b n/a (libQt5DBus.so.5 + 0x18f4b)
                #7  0x00007f90e7b94543 n/a (libQt5Core.so.5 + 0xce543)
                #8  0x00007f90e74f2609 start_thread (libpthread.so.0 + 0x8609)
                #9  0x00007f90e7811133 __clone (libc.so.6 + 0x11f133)
Comment 1 Antonio Rojas 2022-10-22 08:43:33 UTC
The xdg-desktop-portel-kde crash is bug 458865 and completely unrelated to the freezes.
Comment 2 Sebastian 2022-10-22 11:03:35 UTC
(In reply to Antonio Rojas from comment #1)
> The xdg-desktop-portel-kde crash is bug 458865 and completely unrelated to
> the freezes.

Ok, I see. Could you then please close this bug?
Comment 3 Sebastian 2022-10-24 06:46:03 UTC
(In reply to Sebastian from comment #2)
> (In reply to Antonio Rojas from comment #1)
> > The xdg-desktop-portel-kde crash is bug 458865 and completely unrelated to
> > the freezes.
> 
> Ok, I see. Could you then please close this bug?

Just wanted to add that the desktop freezes seem to strongly correlate with xdg-desktop-portel-kde crashes. Just observed this another time.
Comment 4 Antonio Rojas 2022-10-24 07:13:31 UTC
(In reply to Sebastian from comment #3)
> (In reply to Sebastian from comment #2)
> > (In reply to Antonio Rojas from comment #1)
> > > The xdg-desktop-portel-kde crash is bug 458865 and completely unrelated to
> > > the freezes.
> > 
> > Ok, I see. Could you then please close this bug?
> 
> Just wanted to add that the desktop freezes seem to strongly correlate with
> xdg-desktop-portel-kde crashes. Just observed this another time.

The xdg-desktop-portal-kde crashes happen *after* a reboot. That's why they correlate.
Comment 5 Nate Graham 2022-10-24 20:31:30 UTC

*** This bug has been marked as a duplicate of bug 458865 ***