Bug 504286 - Kernel logs spammed with coredump: Unsafe core_pattern
Summary: Kernel logs spammed with coredump: Unsafe core_pattern
Status: RESOLVED FIXED
Alias: None
Product: drkonqi
Classification: Applications
Component: general (other bugs)
Version First Reported In: 6.3.5
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-15 18:26 UTC by Laurent Bonnaud
Modified: 2025-05-20 13:29 UTC (History)
3 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 Laurent Bonnaud 2025-05-15 18:26:37 UTC
SUMMARY

Each time I start a KDE program, 2 lines are added to the kernel logs with this error message:

>  Unsafe core_pattern used with fs.suid_dumpable=2: pipe handler or fully qualified core dump path required. Set kernel.core_pattern before fs.suid_dumpable

STEPS TO REPRODUCE
1. Launch a KDE program
2. Run dmesg

OBSERVED RESULT

For example, with okular:

[542997.262936] coredump: 790246(okular): Unsafe core_pattern used with fs.suid_dumpable=2: pipe handler or fully qualified core dump path required. Set kernel.core_pattern before fs.suid_dumpable.
[542997.262944] coredump: 790246(okular): Unsafe core_pattern used with fs.suid_dumpable=2: pipe handler or fully qualified core dump path required. Set kernel.core_pattern before fs.suid_dumpable.

EXPECTED RESULT

No kernel logs

SOFTWARE/OS VERSIONS

$ kinfo
Operating System: Kubuntu 25.04
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.3
Kernel Version: 6.14.6-061406-generic (64-bit)
Graphics Platform: X11
[...]
Comment 1 TraceyC 2025-05-16 18:40:16 UTC
I don't see any instances of this in my dmesg logs on Plasma 6.3.5, even just after launching Okular, with the same kernel version.

Operating System: Solus 4.7
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.8.3
Kernel Version: 6.14.6-319.current (64-bit)

I also am unable to reproduce on Neon Testing or Kubuntu 25.04

Since a coredump is indicated, this means something crashed.  We need a backtrace of it so we can figure out what's going on. 

Can you please attach a backtrace of the crash using the coredumpctl command-line program, as detailed in [https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl](https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl)?


Thanks.
Comment 2 Laurent Bonnaud 2025-05-20 10:58:40 UTC
The problem is now fixed after a KF6 upgrade and the following versions:

$ kinfo
Operating System: Kubuntu 25.04
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.8.3
Kernel Version: 6.14.7-061407-generic (64-bit)
Graphics Platform: X11

Thanks for looking at this bug!