Bug 507048 - kwin_wayland crashes with error "free(): invalid pointer" on login to wayland session
Summary: kwin_wayland crashes with error "free(): invalid pointer" on login to wayland...
Status: RESOLVED FIXED
Alias: None
Product: neon
Classification: KDE Neon
Component: Packages Testing Edition (other bugs)
Version First Reported In: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-14 21:02 UTC by John Schroeder
Modified: 2025-07-16 23:21 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Schroeder 2025-07-14 21:02:37 UTC
SUMMARY
Logging in to a Wayland session with KDE Plasma 6.4.2 (Neon Testing Edition) fails and returns to the login screen.

STEPS TO REPRODUCE
1. Login to Wayland session on KDE Neon Testing Edition.

OBSERVED RESULT
KDE Plasma fails to start and returns to the login screen.

EXPECTED RESULT
KDE Plasma session starts.

SOFTWARE/OS VERSIONS
ERROR:             VkInstanceCreateInfo::pApplicationInfo::apiVersion has value of 0 which is not permitted. If apiVersion is not 0, then it must be greater than or equal to the value of VK_API_VERSION_1_0 [VUID-VkApplicationInfo-apiVersion]
Operating System: KDE neon Testing Edition
KDE Plasma Version: 6.4.2
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Kernel Version: 6.11.0-29-generic (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-8665U CPU @ 1.90GHz
Memory: 16 GiB of RAM (15.4 GiB usable)
Graphics Processor: Intel® UHD Graphics 620

ADDITIONAL INFORMATION
This starting happening after upgrading KDE Neon Testing Edition today.

Jul 14 10:29:51 <---HOSTNAME---> kwin_wayland_wrapper[3764]: free(): invalid pointer
Jul 14 10:29:51 <---HOSTNAME---> systemd-coredump[3800]: [🡕] Process 3764 (kwin_wayland) of user ********* dumped core.

                                                         Module libgomp.so.1 from deb gcc-14-14.2.0-4ubuntu2~24.04.amd64
                                                         Module libgcc_s.so.1 from deb gcc-14-14.2.0-4ubuntu2~24.04.amd64
                                                         Module libudev.so.1 from deb systemd-255.4-1ubuntu8.8.amd64
                                                         Module libzstd.so.1 from deb libzstd-1.5.5+dfsg2-2build1.1.amd64
                                                         Module libstdc++.so.6 from deb gcc-14-14.2.0-4ubuntu2~24.04.amd64
                                                         Module libsystemd.so.0 from deb systemd-255.4-1ubuntu8.8.amd64
                                                         Stack trace of thread 3764:
                                                         #0  0x0000792530c9eb2c __pthread_kill_implementation (libc.so.6 + 0x9eb2c)
                                                         #1  0x0000792530c4527e __GI_raise (libc.so.6 + 0x4527e)
                                                         #2  0x0000792530c288ff __GI_abort (libc.so.6 + 0x288ff)
                                                         #3  0x0000792530c297b6 __libc_message_impl (libc.so.6 + 0x297b6)
                                                         #4  0x0000792530ca8ff5 malloc_printerr (libc.so.6 + 0xa8ff5)
                                                         #5  0x0000792530cab38c _int_free (libc.so.6 + 0xab38c)
                                                         #6  0x0000792530caddae __GI___libc_free (libc.so.6 + 0xaddae)
                                                         #7  0x0000792531c5ace0 n/a (libQt6Gui.so.6 + 0x25ace0)
                                                         #8  0x0000792531ce0417 _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt6Gui.so.6 + 0x2e0417)
                                                         #9  0x0000792531ce1f00 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt6Gui.so.6 + 0x2e1f00)
                                                         #10 0x00007925318bb3a9 _ZN23QCoreApplicationPrivate4initEv (libQt6Core.so.6 + 0x4bb3a9)
                                                         #11 0x0000792531ce1f9f _ZN22QGuiApplicationPrivate4initEv (libQt6Gui.so.6 + 0x2e1f9f)
                                                         #12 0x0000792532c39825 _ZN19QApplicationPrivate4initEv (libQt6Widgets.so.6 + 0x639825)
                                                         #13 0x000079253410f439 _ZN4KWin11ApplicationC1ERiPPc (libkwin.so.6 + 0x30f439)
                                                         #14 0x00005a407e223738 n/a (kwin_wayland + 0x64738)
                                                         #15 0x0000792530c2a1ca __libc_start_call_main (libc.so.6 + 0x2a1ca)
                                                         #16 0x0000792530c2a28b __libc_start_main_impl (libc.so.6 + 0x2a28b)
                                                         #17 0x00005a407e22b905 n/a (kwin_wayland + 0x6c905)

                                                         Stack trace of thread 3798:
                                                         #0  0x0000792530d1b4cd __GI___poll (libc.so.6 + 0x11b4cd)
                                                         #1  0x000079252fe4368e n/a (libglib-2.0.so.0 + 0xbc68e)
                                                         #2  0x000079252fde3a63 g_main_context_iteration (libglib-2.0.so.0 + 0x5ca63)
                                                         #3  0x000079253166124f _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x26124f)
                                                         #4  0x00007925318c0b6b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x4c0b6b)
                                                         #5  0x00007925317ce6b7 _ZN7QThread4execEv (libQt6Core.so.6 + 0x3ce6b7)
                                                         #6  0x00007925323d891d n/a (libQt6DBus.so.6 + 0x9c91d)
                                                         #7  0x000079253179482c n/a (libQt6Core.so.6 + 0x39482c)
                                                         #8  0x0000792530c9caa4 start_thread (libc.so.6 + 0x9caa4)
                                                         #9  0x0000792530d29c3c __clone3 (libc.so.6 + 0x129c3c)
                                                         ELF object binary architecture: AMD x86-64
Comment 1 John Schroeder 2025-07-16 23:21:57 UTC
This has been fixed in an update from today.