You are not logged in.

#1 2022-04-13 14:09:44

leonavis
Member
From: Bremen, Germany
Registered: 2021-06-27
Posts: 71

Plasma not able to start new programs after suspend

edit: original topic name: "Plasma not able to start new programs after waking up from suspend", too long to put it in there with the tag

Hello,

I have a strange error. When I have the PC in suspend for some time and wake it up, I cannot start new programs anymore. Restarting programs works fine.

 ~  thunderbird 

(thunderbird:21331): Gtk-WARNING **: 15:59:27.632: Locale not supported by C library.
        Using the fallback 'C' locale.
Maximum number of clients reachedError: cannot open display: :0
 ✘  ~  konsole     
Maximum number of clients reachedqt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: Could not load the Qt platformplugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

[1]    21421 IOT instruction (core dumped)  konsole
 ✘  ~  

It can be solved temporarily by reinstalling xcb... but to do that every time the computer was in suspend would be a little annoying.

Also I do believe it only happens when the PC is in suspend for a longer time (like an hour or something).

Did look in the journalctl and found a bunch of those errors

Apr 13 09:51:32 leonavis274 kwin_x11[788]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 53166, resource id: 21045545, ma>
Apr 13 09:51:32 leonavis274 kwin_x11[788]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 53167, resource id: 21045545, >

But have no idea if they're related. When I tried starting the programs this is what happened in journal:

Apr 13 16:06:47 leonavis274 kernel: audit: type=1106 audit(1649858807.300:134): pid=21578 uid=1000 auid=1000 ses=1 msg='op=PAM:session_clos>
                                                     #2  0x00007f026b8be534 abort (libc.so.6 + 0x2c534)
                                                     #3  0x00007f026bd63ee4 _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0x9fee4)
                                                     #4  0x00007f026c3c6cc5 _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt>
                                                     #5  0x00007f026c3c72e9 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt5Gui>
                                                     #6  0x00007f026bf5608b _ZN23QCoreApplicationPrivate4initEv (libQt5Core.so.5 + 0x29208b)
                                                     #7  0x00007f026c3c73a7 _ZN22QGuiApplicationPrivate4initEv (libQt5Gui.so.5 + 0x13b3a7)
                                                     #8  0x00007f026ca693ae _ZN19QApplicationPrivate4initEv (libQt5Widgets.so.5 + 0x1763ae)
                                                     #9  0x000055f2950f730c n/a (konsole + 0x430c)
                                                     #10 0x00007f026b8bf310 __libc_start_call_main (libc.so.6 + 0x2d310)
                                                     #11 0x00007f026b8bf3c1 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x2d3c1)
                                                     #12 0x000055f2950f9245 n/a (konsole + 0x6245)
                                                     ELF object binary architecture: AMD x86-64
Apr 13 16:01:28 leonavis274 systemd[1]: systemd-coredump@1-21422-0.service: Deactivated successfully.
Apr 13 16:01:28 leonavis274 kernel: audit: type=1131 audit(1649858488.706:126): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=system>
Apr 13 16:01:28 leonavis274 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@1-21422-0 comm="sy>
Apr 13 16:01:28 leonavis274 audit: BPF prog-id=0 op=UNLOAD

No idea if that hints to the problem.

Thanks

Last edited by leonavis (2022-06-04 15:23:29)

Offline

#2 2022-04-19 17:35:38

leonavis
Member
From: Bremen, Germany
Registered: 2021-06-27
Posts: 71

Re: Plasma not able to start new programs after suspend

Okay, got the solution. Somehow KDE could not handle DRM-content from Firefox (Disney+ in this case) going to suspend, somehow messing the whole system up. Restarting the browser does allow me to open programs once again.

Edit: Or maybe it's Signal, since just now it only worked after closing off Signal. well... whatever.

Last edited by leonavis (2022-04-19 19:27:12)

Offline

#3 2022-06-04 15:29:42

leonavis
Member
From: Bremen, Germany
Registered: 2021-06-27
Posts: 71

Re: Plasma not able to start new programs after suspend

Hello,

The problem started to emerge more frequently again. Can't even restart via Plasma anymore, gotta do a "systemctl reboot now" to be able to start new programs now.

Journalctl shows a system-core-dump when I try to start new programs after suspending:

Jun 04 17:21:58 leonavis274 konsole[17400]: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
Jun 04 17:21:58 leonavis274 konsole[17400]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
                                            
                                            Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
Jun 04 17:21:58 leonavis274 systemd[1]: Created slice Slice /system/systemd-coredump.
Jun 04 17:21:58 leonavis274 kernel: audit: type=1334 audit(1654356118.172:375): prog-id=29 op=LOAD
Jun 04 17:21:58 leonavis274 kernel: audit: type=1334 audit(1654356118.172:376): prog-id=30 op=LOAD
Jun 04 17:21:58 leonavis274 kernel: audit: type=1334 audit(1654356118.172:377): prog-id=31 op=LOAD
Jun 04 17:21:58 leonavis274 kernel: audit: type=1130 audit(1654356118.173:378): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@0-17402-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? >
Jun 04 17:21:58 leonavis274 audit: BPF prog-id=29 op=LOAD
Jun 04 17:21:58 leonavis274 audit: BPF prog-id=30 op=LOAD
Jun 04 17:21:58 leonavis274 audit: BPF prog-id=31 op=LOAD
Jun 04 17:21:58 leonavis274 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@0-17402-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 04 17:21:58 leonavis274 systemd[1]: Started Process Core Dump (PID 17402/UID 0).
Jun 04 17:21:58 leonavis274 systemd-coredump[17405]: [?] Process 17400 (konsole) of user 1000 dumped core.
                                                     
                                                     Module linux-vdso.so.1 with build-id 4d460248b3cc0ee6b5479ce04bcf76aaf5d0e72c
                                                     Module libuuid.so.1 with build-id 032a21acd159ee3902605e9911be5f86a7df7df9
                                                     Module libxcb-util.so.1 with build-id b1e4c01b388a3bd7a0a9ad384865b61f5f1d4a24
                                                     Module libxkbcommon-x11.so.0 with build-id 90654f41d9fe91c74bef6672a8b57ab34418b27a
                                                     Module libICE.so.6 with build-id a78252e65631a98d7935f1bca668c2fe1d6bbb53
                                                     Module libSM.so.6 with build-id 66cef8ae9a7848679be78dd26fd47e05110d03b5
                                                     Module libxcb-xinput.so.0 with build-id 409ee697e2b16243bf1fc6429e672f2359033388
                                                     Module libxcb-xkb.so.1 with build-id bad7e1eb65df04a6b2d676a08f68844856edaace
                                                     Module libxcb-xinerama.so.0 with build-id 5d2ab2683447d9bb7bcc49c058dfa06bcb65560d
                                                     Module libxcb-xfixes.so.0 with build-id e231a68d00ee4cfa12a2c31e755a9e2c1e7be450
                                                     Module libxcb-sync.so.1 with build-id 13025f6de23a271636ad321c77eda98801e62e8e
                                                     Module libxcb-shape.so.0 with build-id f9aab9846b5e3523bd534f8a845f36a37d42b3fa
                                                     Module libxcb-render.so.0 with build-id b1ca498d665807ab0ccdafbe8070853efd058173
                                                     Module libxcb-render-util.so.0 with build-id 32609134bf1b73183d07a66f6bd65c94b4542460
                                                     Module libxcb-randr.so.0 with build-id c914473ab7592ed5cf5c191200faaac1089c12ad
                                                     Module libxcb-shm.so.0 with build-id 828fec4d856e2710e732ea8d92c3f250c807b1c2
                                                     Module libxcb-image.so.0 with build-id 0e6feae23e34658646dbd63d11f899c92c5d3c79
                                                     Module libxcb-icccm.so.4 with build-id 5eb9288df14c7f50af1e8db26c37e19d78bf0978
                                                     Module libX11-xcb.so.1 with build-id f6beacd41cd16a23f53e5e56bb599e98f039d0d6
                                                     Module libQt5XcbQpa.so.5 with build-id 51e8d584caf91ffa0ea99589e62a1e9f2d1db71e
                                                     Module libqxcb.so with build-id 73480e75ec0539b1ed9fe019185f47f1d131cfd1
                                                     Module libgmp.so.10 with build-id 26cec2ebe94cc5c4cb99e6988717347222b324fd
                                                     Module libhogweed.so.6 with build-id 2d70cff7b1841b4d9ca4e8e7726cd4b944c07fdc
                                                     Module libnettle.so.8 with build-id 9a878e513c02007598fcf1e2e286c2203f13536e
                                                     Module libunistring.so.2 with build-id 617dbf3d3d6f85d6556a7a036e23845e95490158
                                                     Module libidn2.so.0 with build-id 1ce2b50ad9f9821c2c629b521cf5a3c99593d332
                                                     Module libbrotlienc.so.1 with build-id 74adbc62e4fbb5da9d37b5aa458471f4130862ff
                                                     Module libp11-kit.so.0 with build-id cc372ea3c28c4d3dfc633b4d2e933c8584d2af16
                                                     Module libbrotlicommon.so.1 with build-id acfd597a977c8087bb6184383daae2e828a9ce42
                                                     Module libexpat.so.1 with build-id 113bb5a3e9ad856801bfcfc029102c9bdc13d67e
                                                     Module libusbmuxd-2.0.so.6 with build-id fd9f05e7f5b0da4e15972f75b61fd9b4b9f06dbe
                                                     Module libtasn1.so.6 with build-id ee3429ca5e94718aea4fe5249fc859e0cd88e4e9
                                                     Module libgnutls.so.30 with build-id a4f42d33fc809cb6f596998001cedc0bce06c751
                                                     Module libdl.so.2 with build-id 94198b268228074fa9f405bbedbbae94112593ed
                                                     Module libogg.so.0 with build-id ca0cae30a809f10db1f16e54a23b4e5ff7b2c54c
                                                     Module libvorbis.so.0 with build-id f4e086347f6c1a66eb73cfe13974a29bd39aabca
                                                     Module libpthread.so.0 with build-id 95ae4f30a6f12ccbff645d30f8e1a3ee23ec7d36
                                                     Module libgpg-error.so.0 with build-id f9aaa96d5ddf6f6872051ed7abcdfe6bdaff9b1c
                                                     Module libbrotlidec.so.1 with build-id 66c54e9301f7e102ecc1d88547e5f0e8a056fe22
                                                     Module libresolv.so.2 with build-id 89a368a6ad1b392d126a2a5beb9c2f61ade00279
                                                     Module libkeyutils.so.1 with build-id ac405ddd17be10ce538da3211415ee50c8f8df79
                                                     Module libkrb5support.so.0 with build-id 36db7c21bc57a9b934ad2d3463782db9fef4af07
                                                     Module libcom_err.so.2 with build-id 358b783c9b3d12ba8248519ea2e7f3da4c4e0297
                                                     Module libk5crypto.so.3 with build-id f1c113fea46023cdf62c7e51cb643c45831abdd5
                                                     Module libkrb5.so.3 with build-id 9350783c946d77aec8ee8fd9c6bc12f4f7b72be9
                                                     Module libblkid.so.1 with build-id 140694a62d8d4d07c6c320a501f948dd1b389d73
                                                     Module libbz2.so.1.0 with build-id 919597c477c9b2cb9cdbb7745ed6494ac0e6da60
                                                     Module libQt5QmlModels.so.5 with build-id 3aca8e95972fa0b56402ca9d5cf2f101ba4fdd1c
                                                     Module libKF5Syndication.so.5 with build-id 121cc832a50d3c401a3d253d5d1f61eb30e5bf31
                                                     Module libKF5Package.so.5 with build-id 833125d75e938aee2108380b8b5ff0d0df806a79
                                                     Module libKF5Attica.so.5 with build-id 5e8e5efb63d58daa34776e97453e362437f47b0e
                                                     Module libXext.so.6 with build-id 17beadf1cb40d41ab36629db3b4eed74110678a7
                                                     Module libXdmcp.so.6 with build-id d864159ab0008415667db8d5f251696d75c90df2
                                                     Module libXau.so.6 with build-id 60db1eac70f819bea9d4c366603c1583067510b4
                                                     Module libffi.so.8 with build-id f0a9586cf0f42d2b9971bd1065ca3a6b19f4a2c2
                                                     Module libxkbcommon.so.0 with build-id 6cf66eead3fcc20fe5df10162bfbcdcdc8b2a183
                                                     Module libfontconfig.so.1 with build-id 36be6951b8c1e42a7dd05684a37400fc8ef9147c
                                                     Module libwayland-cursor.so.0 with build-id 647d92328111682fb15bff1c20a4c9368414857c
                                                     Module libplist-2.0.so.3 with build-id f16bdd42b3d750ba0a150d286248f5dc50cc76cb
                                                     Module libimobiledevice-1.0.so.6 with build-id bc258677480403cc2df4f0efcfc97e06af826ddc
                                                     Module libudev.so.1 with build-id 541e6841430a5ee36134325ec0ce669c2c0b9053
                                                     Module libltdl.so.7 with build-id c4ee3f1ba09fe34163d71ff336756fbecb6f409f
                                                     Module libtdb.so.1 with build-id 6c9ccf6d9a22d117d984d1666842a49fd7669f09
                                                     Module libvorbisfile.so.3 with build-id 45d2551167a616d448beb033ba49394831992887
                                                     Module libpcre.so.1 with build-id 845483dd0acba86de9f0313102bebbaf3ce52767
                                                     Module libicudata.so.71 with build-id 4fef196388e678deb881978139e125e20ee2d94d
                                                     Module liblz4.so.1 with build-id e63600ab23b2f6997f42fac2fa56e1f02ce159a1
                                                     Module liblzma.so.5 with build-id 28b40c7af8098a66af6ee093b6986b91cad7694d
                                                     Module libgcrypt.so.20 with build-id 8bf3cb884124273640de797a3e77d86c98434ea4
                                                     Module libcap.so.2 with build-id 21b00ab76bb16fde56fd741f07233c78069f0579
                                                     Module libgraphite2.so.3 with build-id ce58945ebb55b86d3a4e717b6eae29efc4720d8e
                                                     Module libfreetype.so.6 with build-id f89dd5502e75aca28fb5c3ccd0dbd26fe822bfef
                                                     Module libGLX.so.0 with build-id 02bd4ac6acc4da9288c543ea1a0cdaa70c5e151a
                                                     Module libGLdispatch.so.0 with build-id de981c020bd9dbdc159b11f4a2a541310cc3b8d5
                                                     Module libcrypto.so.1.1 with build-id d54a7ee1e288aeae436d073277ff986e03994b15
                                                     Module libssl.so.1.1 with build-id 25a55106cb13dec5d495c34ca1caf2c2f3114f11
                                                     Module libgssapi_krb5.so.2 with build-id 1813217c8baf82a1078772eed0d868310cd59f8b
                                                     Module libdbus-1.so.3 with build-id 7f4b16b4b407cbae2d7118d6f99610e29a18a56a
                                                     Module libmount.so.1 with build-id 4436aeea0cd8c01b5a77969e0531184f8b3513ce
                                                     Module libacl.so.1 with build-id 27869ed0219ade5d2ffd50eaee11f967187faa8b
                                                     Module libKF5Archive.so.5 with build-id 7f7d5190814159c6d5b8ebbcce35882228189b09
                                                     Module libQt5Svg.so.5 with build-id 74fc2741f02d4a0e0f7585a36f607656d18361bb
                                                     Module libKF5SonnetCore.so.5 with build-id 78967beac9211e35e3fc6cd1671272f24b36490c
                                                     Module libKF5SonnetUi.so.5 with build-id 31d82f4f57f3560fb41d3e225ec2c53404f8d8da
                                                     Module libQt5Qml.so.5 with build-id 3302afd50e5fb5cc942267e9cad5746e4c125ce1
                                                     Module libQt5Quick.so.5 with build-id e64c8602e59b921835da1ffa74aa5a3bfa52a296
                                                     Module libKF5NewStuffCore.so.5 with build-id 727dcb0689c089599b5a1c0d38802f03ae71c454
                                                     Module libdbusmenu-qt5.so.2 with build-id 346cd54093968d3de9e61cc329e9512d248dce18
                                                     Module libXtst.so.6 with build-id 35c7f3daf454834acb724e6bd1664b0a2e9a6494
                                                     Module libQt5TextToSpeech.so.5 with build-id e5a59ae504c2f3b55b8c881e148a9f4ee5361273
                                                     Module libxcb-keysyms.so.1 with build-id 507bdc94868b9b1f9d95e31c492694f2513da88d
                                                     Module libxcb.so.1 with build-id 13d677412a71468381b11092915d231f664d18d3
                                                     Module libwayland-client.so.0 with build-id 95e7368b400dd57e3db2a5c385de71c7dca08879
                                                     Module libQt5WaylandClient.so.5 with build-id 5dd9df738053f852cc9ff2bd24f423e6c77f1306
                                                     Module libKF5AuthCore.so.5 with build-id 17d36834cf80899ab927f56074161ef188386177
                                                     Module libKF5Codecs.so.5 with build-id 49750e18a1134ad0d63d678b6ef4cd486b44f483
                                                     Module libKF5Completion.so.5 with build-id 208a4c6a1a1c98a5d1c825761993cfca184ed8db
                                                     Module libKF5Solid.so.5 with build-id 145412e41ec1eb1b7fb70653e938232d1216da07
                                                     Module libcanberra.so.0 with build-id 8ddef69c9b84a86062c88a59510639cd908fc6d3
                                                     Module ld-linux-x86-64.so.2 with build-id fc93487393eea02b5bc6e76e48976fc325294c24
                                                     Module libglib-2.0.so.0 with build-id f1d15261ce1317b9003a1f0957d5a528d063f630
                                                     Module libzstd.so.1 with build-id 3bccb8fe08e48d5ea135b1d0f99de0d771dd752f
                                                     Module libpcre2-16.so.0 with build-id 68a5c2d52b45bfa6b1e93d2766e80094f52d9ebf
                                                     Module libicuuc.so.71 with build-id 633fdc0c5385d916571f6140e7a978ad0630ef55
                                                     Module libicui18n.so.71 with build-id 6fd5c97fd2808ee29958bf809656d5885e7e8963
                                                     Module libdouble-conversion.so.3 with build-id d162eb67b00f523a3f146b1077ae00fe04d5fb85
                                                     Module libsystemd.so.0 with build-id a220b34e873e29bb116d88be0bf11fac7089ef4d
                                                     Module libmd4c.so.0 with build-id 2151dba72cdc9960097e6e960a58a2f03c8bb96e
                                                     Module libharfbuzz.so.0 with build-id c58fe082cbde02fc176e3c3663a6d81386eb5027
                                                     Module libpng16.so.16 with build-id 2dc0bce07f199bf983c07a05fb95a6f4af83a9b3
                                                     Module libGL.so.1 with build-id b915a2e48be6c9fd3cc6f9f4c7aab1f7aeed8a4c
                                                     Module libgcc_s.so.1 with build-id 0e3de903950e35ae59a5de8c00b1817a4a71ca01
                                                     Module libX11.so.6 with build-id d8e0be8e0323aa421366f19065ecd1c76405c130
                                                     Module libQt5X11Extras.so.5 with build-id cc47e381ac9469803fd53bee418d952ad2782202
                                                     Module libKF5ItemViews.so.5 with build-id fab874f5c8eb4f8c4696851adb78f9acf5997886
                                                     Module libm.so.6 with build-id 210ec9905e41825671210f8f7d0b24d6c371196a
                                                     Module libQt5Network.so.5 with build-id 5bb03198d22fed27c5a15a935dcf4a312d0d4281
                                                     Module libQt5DBus.so.5 with build-id 6f6c582da4c0fed28f1e4595552cf5ee3792447a
                                                     Module libQt5Xml.so.5 with build-id 76adbc3352f238c19f022496533dd239a8ad0f78
                                                     Module libKF5ConfigGui.so.5 with build-id 1c964c60eba88258e448acd062029a683c48baf1
                                                     Module libKF5Service.so.5 with build-id 12d2ed6e76be6a13381da83759510bf3a6f725ac
                                                     Module libKF5KIOCore.so.5 with build-id 1a92d633d7ee99315c9ee76b901f05341b7e8663
                                                     Module libKF5JobWidgets.so.5 with build-id 9ce0eb2dd536864ec351c4a6035defeaad134638
                                                     Module libKF5KIOGui.so.5 with build-id c49f2e1aecdea0eb7735bbd3e149bf70adf70f0f
                                                     Module libKF5IconThemes.so.5 with build-id 7086d24255d1a52fbc46005df5152910076ae416
                                                     Module libKF5TextWidgets.so.5 with build-id 02326ee94e1a004d0c13671fc9af7ff6c78f181c
                                                     Module libQt5PrintSupport.so.5 with build-id d6df4ae9b6324090fb9d625ba28877f21e06f174
                                                     Module libKF5NewStuff.so.5 with build-id bda52bae8a7070a4c8a3271a9ea73ed401e58c50
                                                     Module libKF5Pty.so.5 with build-id 0454088aaf922a5f99cbabec37c5c4fcfab00cfb
                                                     Module libKF5Bookmarks.so.5 with build-id 6d2038950221a930285b15a0742f8d4c7a355b4a
                                                     Module libKF5Notifications.so.5 with build-id 9346ac445cfb2db35e59320ec9478439078dcd3f
                                                     Module libz.so.1 with build-id fefe3219a96d682ec98fcfb78866b8594298b5a2
                                                     Module libKF5WidgetsAddons.so.5 with build-id 392cedd1407dc850e8676f2315992b4804ccb012
                                                     Module libKF5WindowSystem.so.5 with build-id b4733339e1c479aa3aeaf0b6a6335509b39f7c61
                                                     Module libKF5GuiAddons.so.5 with build-id 45ccfeaacbf8be163b88edab17b62e6c918e7437
                                                     Module libKF5ConfigWidgets.so.5 with build-id 9698f3a275bfaca7d5d4ecd87594db94cb9daacc
                                                     Module libKF5KIOWidgets.so.5 with build-id 36ea01fdfefbeaafe56c011cddce2c186924a28a
                                                     Module libKF5GlobalAccel.so.5 with build-id 8ee8124cf99d22889be965d3fbc13755322f4883
                                                     Module libKF5NotifyConfig.so.5 with build-id 93c1bcc3f0eca481b096f12add4a1c473bcf739b
                                                     Module libc.so.6 with build-id 388993b6ef62f964bc7bf473c069fbfe957b9e44
                                                     Module libstdc++.so.6 with build-id b3eaebcb5369487562e52dd8d016c9cd77f80c54
                                                     Module libQt5Core.so.5 with build-id 8cdf5604f4bfb4d50a9a7206b0da4450411ca4eb
                                                     Module libKF5CoreAddons.so.5 with build-id 273e7c5a7cb2fbabf0d895cb82de5e5f191e9f6b
                                                     Module libQt5Gui.so.5 with build-id ceffad0d49bcda41ebb29ff7c6df9d2aa224176f
                                                     Module libQt5Widgets.so.5 with build-id 061cfd46dc2a46469059b8792ecc33a2aceac2b6
                                                     Module libKF5Crash.so.5 with build-id 5793e2b3bf81a9142cfb833115d1bbb7ffaf669d
                                                     Module libKF5ConfigCore.so.5 with build-id 834d1bd13d3bbac5fd141fa08b79d19e7727674d
                                                     Module libKF5DBusAddons.so.5 with build-id f67c4bdbe31ff35dd1e346189c811bf229ab4e1a
                                                     Module libKF5I18n.so.5 with build-id cf7ec4c5553f328a931bf91583809338409c3e52
                                                     Module libKF5XmlGui.so.5 with build-id 0a68991da6374820ab277392432312cc733ac977
                                                     Module libkonsoleprivate.so.1 with build-id d8ddffd0d09cf5ccce8a1e240c498474f39f073d
                                                     Module libkonsoleapp.so.1 with build-id 66d685621cab9b9ac5d81c085744dbafe66686e4
                                                     Module konsole with build-id afb90bf1227d56ea148f1f28386083ebd0e08d5e
                                                     Stack trace of thread 17400:
                                                     #0  0x00007fa4e388e36c n/a (libc.so.6 + 0x8e36c)
                                                     #1  0x00007fa4e383e838 raise (libc.so.6 + 0x3e838)
                                                     #2  0x00007fa4e3828535 abort (libc.so.6 + 0x28535)
                                                     #3  0x00007fa4e409fedc _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0x9fedc)
                                                     #4  0x00007fa4e473c925 _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt5Gui.so.5 + 0x13c925)
                                                     #5  0x00007fa4e473cf99 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt5Gui.so.5 + 0x13cf99)
                                                     #6  0x00007fa4e42935eb _ZN23QCoreApplicationPrivate4initEv (libQt5Core.so.5 + 0x2935eb)
                                                     #7  0x00007fa4e473d049 _ZN22QGuiApplicationPrivate4initEv (libQt5Gui.so.5 + 0x13d049)
                                                     #8  0x00007fa4e4f75d6e _ZN19QApplicationPrivate4initEv (libQt5Widgets.so.5 + 0x175d6e)
                                                     #9  0x0000564eeee1f1c6 n/a (konsole + 0x41c6)
                                                     #10 0x00007fa4e3829290 n/a (libc.so.6 + 0x29290)
                                                     #11 0x00007fa4e382934a __libc_start_main (libc.so.6 + 0x2934a)
                                                     #12 0x0000564eeee21255 n/a (konsole + 0x6255)
                                                     ELF object binary architecture: AMD x86-64
Jun 04 17:21:58 leonavis274 systemd[1]: systemd-coredump@0-17402-0.service: Deactivated successfully.
Jun 04 17:21:58 leonavis274 kernel: audit: type=1131 audit(1654356118.237:379): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@0-17402-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? >
Jun 04 17:21:58 leonavis274 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@0-17402-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 04 17:21:58 leonavis274 kwin_x11[895]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 26156, resource id: 39846562, major code: 18 (ChangeProperty), minor code: 0
Jun 04 17:21:58 leonavis274 audit: BPF prog-id=0 op=UNLOAD
Jun 04 17:21:58 leonavis274 audit: BPF prog-id=0 op=UNLOAD
Jun 04 17:21:58 leonavis274 audit: BPF prog-id=0 op=UNLOAD
Jun 04 17:21:58 leonavis274 kernel: audit: type=1334 audit(1654356118.293:380): prog-id=0 op=UNLOAD
Jun 04 17:21:58 leonavis274 kernel: audit: type=1334 audit(1654356118.293:381): prog-id=0 op=UNLOAD
Jun 04 17:21:58 leonavis274 kernel: audit: type=1334 audit(1654356118.293:382): prog-id=0 op=UNLOAD
Jun 04 17:22:06 leonavis274 kwin_x11[895]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 30729, resource id: 85983294, major code: 15 (QueryTree), minor code: 0
Jun 04 17:22:06 leonavis274 kwin_x11[895]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 30757, resource id: 88080391, major code: 18 (ChangeProperty), minor code: 0
Jun 04 17:22:07 leonavis274 systemd[816]: app-thunderbird-e66db4905ac848e0a789b13177122149.scope: Consumed 54min 51.203s CPU time.
Jun 04 17:22:08 leonavis274 systemd[816]: Started Konsole - Terminal.
Jun 04 17:22:08 leonavis274 kwin_x11[895]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 33156, resource id: 21384797, major code: 3 (GetWindowAttributes), minor code: 0
Jun 04 17:22:08 leonavis274 kwin_x11[895]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 33157, resource id: 21384797, major code: 14 (GetGeometry), minor code: 0

It does start again when I close another program. It's quite annoying, all in all. If there are any other infos that could help, please ask. I have no idea what this issue might be about.

Offline

#4 2022-06-04 15:59:45

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,244

Re: Plasma not able to start new programs after suspend

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.

hostnamectl

Offline

#5 2022-06-04 16:19:52

leonavis
Member
From: Bremen, Germany
Registered: 2021-06-27
Posts: 71

Re: Plasma not able to start new programs after suspend

 ~  hostnamectl
 Static hostname: leonavis274
       Icon name: computer
      Machine ID: 8813a1663cf34865a7cbed29ccedd8df
         Boot ID: 4427e8274fab4614858d1ca6a66e1c02
Operating System: Arch Linux                        
          Kernel: Linux 5.18.1-zen1-1-zen
    Architecture: x86-64
 Hardware Vendor: Micro-Star International Co., Ltd.
  Hardware Model: MS-7C37
Firmware Version: H.F0

Offline

#6 2022-06-04 16:37:52

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,244

Re: Plasma not able to start new programs after suspend

Nope.

But:

It does start again when I close another program.

Maximum number of clients reachedError: cannot open display: :0

https://archlinux.org/packages/extra/x8 … lsclients/
Also check "lsof -p ($pidof Xorg) | wc -l"

Offline

#7 2022-06-04 17:02:33

leonavis
Member
From: Bremen, Germany
Registered: 2021-06-27
Posts: 71

Re: Plasma not able to start new programs after suspend

I've installed and will try when the problem next occurs. Right now it just gives me

leonavis274  psensor
leonavis274  evolution-alarm-notify
leonavis274  firefox
leonavis274  org.gnome.clocks

Also check "lsof -p ($pidof Xorg) | wc -l"

That gives me

zsh: unknown file attribute:  
0

in zsh and

bash: syntax error near unexpected token `('

in bash.

Offline

#8 2022-06-04 17:35:45

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,244

Re: Plasma not able to start new programs after suspend

"The hand is faster than the brain"... sorry.

lsof -p $(pidof Xorg) | wc -l

Edit: lol

Last edited by seth (2022-06-04 17:36:15)

Offline

#9 2022-06-04 17:40:12

leonavis
Member
From: Bremen, Germany
Registered: 2021-06-27
Posts: 71

Re: Plasma not able to start new programs after suspend

no need to be sorry, thanks for helping ;-)

output's just "0".

Offline

#10 2022-06-04 20:16:03

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,244

Re: Plasma not able to start new programs after suspend

Is this a wayland session?
Or is Xorg running as root?

sudo lsof -p $(pidof Xorg) | wc -l

Offline

#11 2022-06-05 15:13:41

leonavis
Member
From: Bremen, Germany
Registered: 2021-06-27
Posts: 71

Re: Plasma not able to start new programs after suspend

Xorg.

 ~  sudo lsof -p $(pidof Xorg) | wc -l
[sudo] password for leonavis: 
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
      Output information may be incomplete.
lsof: WARNING: can't stat() fuse.portal file system /run/user/1000/doc
      Output information may be incomplete.
213

Offline

#12 2022-06-05 18:27:50

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,244

Re: Plasma not able to start new programs after suspend

The absolute number isn't so important - it's just one way to figure whether Xorg collects connections.
xlsclients will however list all clients (iirc the default max is 256) and you probably will also be able to spot a pattern for a culprit when you reached that maximum.

Offline

#13 2022-06-05 19:03:24

leonavis
Member
From: Bremen, Germany
Registered: 2021-06-27
Posts: 71

Re: Plasma not able to start new programs after suspend

seth wrote:

The absolute number isn't so important - it's just one way to figure whether Xorg collects connections.
xlsclients will however list all clients (iirc the default max is 256) and you probably will also be able to spot a pattern for a culprit when you reached that maximum.

Okay thanks! I will use those commands when it happens again.

Offline

#14 2022-06-10 14:58:38

leonavis
Member
From: Bremen, Germany
Registered: 2021-06-27
Posts: 71

Re: Plasma not able to start new programs after suspend

Alright. Since I don't really use suspend through the week, it only happened again today while the PC was on suspend when I went grocery-shopping.

~  xlsclients
leonavis274  psensor
leonavis274  lutris
leonavis274  firefox
leonavis274  evolution-alarm-notify
leonavis274  signal-desktop
 ~  sudo lsof -p $(pidof Xorg) | wc -l
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
      Output information may be incomplete.
lsof: WARNING: can't stat() fuse.portal file system /run/user/1000/doc
      Output information may be incomplete.
475

If the default max truly is 256, then the 475 might point to the problem?!

Weirdly enough, this time, Konsole does start, but thunderbird and steam do not:

~  thunderbird

(thunderbird:8170): Gtk-WARNING **: 16:58:59.983: Locale not supported by C library.
        Using the fallback 'C' locale.
Maximum number of clients reached
Error: cannot open display: :0
 ~  steam-native 
steam.sh[8267]: Running Steam on arch rolling 64-bit
steam.sh[8267]: STEAM_RUNTIME is disabled by the user
steam.sh[8267]: Can't find 'steam-runtime-check-requirements', continuing anyway
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
[2022-06-10 16:59:23] Startup - updater built Jun  7 2022 03:18:19
Installing breakpad exception handler for appid(steam)/version(1654574690)
[2022-06-10 16:59:23] Loading cached metrics from disk (/home/leonavis/.local/share/Steam/package/steam_client_metrics.bin)
[2022-06-10 16:59:23] Using the following download hosts for Public, Realm steamglobal
[2022-06-10 16:59:23] 1. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf'
[2022-06-10 16:59:23] 2. https://cdn.akamai.steamstatic.com, /client/, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf'
[2022-06-10 16:59:23] 3. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
Installing breakpad exception handler for appid(steam)/version(1654574690)
[2022-06-10 16:59:23] Verifying installation...
[2022-06-10 16:59:23] Verification complete
Loaded SDL version 2.0.22-7215337
Maximum number of clients reached

(steam:8348): Gtk-WARNING **: 16:59:23.968: cannot open display: :0
src/common/framefunction.cpp (149) : Assertion Failed: CFrameFunctionMgr::~CFrameFunctionMgr: non static FrameFunction[CHTTPClient::BFrameFuncHandleCompletedWorkItems] still registered
src/common/framefunction.cpp (149) : Assertion Failed: CFrameFunctionMgr::~CFrameFunctionMgr: non static FrameFunction[CHTTPClient::BFrameFuncHandleCompletedWorkItems] still registered
Installing breakpad exception handler for appid(steam)/version(1654574690)
assert_20220610165923_3.dmp[8372]: Uploading dump (out-of-process)
/tmp/dumps/assert_20220610165923_3.dmp
assert_20220610165923_3.dmp[8372]: Finished uploading minidump (out-of-process): success = no
assert_20220610165923_3.dmp[8372]: error: HTTP response code said error
assert_20220610165923_3.dmp[8372]: file ''/tmp/dumps/assert_20220610165923_3.dmp'', upload no: ''HTTP response code said error''

Stopping any program (in this case, Lutris) gives me room to open one other program

 ~  sudo lsof -p $(pidof Xorg) | wc -l
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
      Output information may be incomplete.
lsof: WARNING: can't stat() fuse.portal file system /run/user/1000/doc
      Output information may be incomplete.
471

But none more. Starting thunderbird heightened the output of lsof to 483. Apparantly thunderbird needs 12 of... whatever we are counting here, while Konsole only needs 4, that's why it could be started. So I would concluded that the maximum amount that number can reach before no more programs can be started must be 484 or 485.

Shutting down all programs so xlsclients doesn't have any output at all leads to lsof still having the output of 423.

Logging out and back in lowers the count to 189.

Okay. So after going out I went back in and the monitor was dark, as it should be, but not suspended. However, the output of lsof did rise from 228 to 281 for no apparant reason, with xlsclients still showing the same clients as before: Steam and evolution-alarm-notify. The evolution-alarm-notify, which I do not use or need, seems to be the only constant here, so I deleted the autostart file in /etc/xdg/autostart. Maybe...

Last edited by leonavis (2022-06-10 15:55:36)

Offline

#15 2022-06-10 15:53:17

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,244

Re: Plasma not able to start new programs after suspend

konsole will by default not run another client if there's a running one but just tell that one to spawn another window.

xlsclients looks harmless enough, but the open file development is suspicious, yes.
Some client probably leaves stale connections.
Maybe xrestop can point you to a PID/Identifier - or there're dormant processes in ps aux?
Otherwise my best idea would be to kill X11 clients (plasma will have drstically more than listed in your xlsclients output…)  one by one until the lsof count drastically drops for one.

Offline

#16 2022-06-10 16:04:58

leonavis
Member
From: Bremen, Germany
Registered: 2021-06-27
Posts: 71

Re: Plasma not able to start new programs after suspend

xrestop shows a bunch of unknown clients. Don't know if that's normal.

Offline

#17 2022-06-10 16:27:28

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,244

Re: Plasma not able to start new programs after suspend

Unless they're *all* unknown, yes - I currently have 10 <unknown> resource users.

Offline

Board footer

Powered by FluxBB