Bug 59623

Summary: systemd-coredump truncates coredumps
Product: systemd Reporter: Giovanni Campagna <scampa.giovanni>
Component: generalAssignee: systemd-bugs
Status: RESOLVED FIXED QA Contact: systemd-bugs
Severity: normal    
Priority: medium CC: yyc1992
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Giovanni Campagna 2013-01-20 15:09:06 UTC
In all coredumps collected by systemd-coredump and retrieved with coredumpctl, I fail to run gdb with:

BFD: Warning: /home/giovanni/core is truncated: expected core file size >= 449388544, found: 25165824.

And the resulting coredump is completely unusable (not even a backtrace or the failure signal).

Looking at coredump.c, I see a maximum limit of 24M, which is not enough. This limit should increased, or at least made configurable.
Comment 1 Zbigniew Jedrzejewski-Szmek 2013-07-16 02:46:09 UTC
The limits is now 768*1024*1024 bytes which should be enough for most cases. This is also what systemd-journald allows [1].

[1] http://cgit.freedesktop.org/systemd/systemd/commit/?id=c4aa09b

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.