Bug 59623 - systemd-coredump truncates coredumps
Summary: systemd-coredump truncates coredumps
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-20 15:09 UTC by Giovanni Campagna
Modified: 2013-07-16 02:46 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.