DescriptionZbigniew Jędrzejewski-Szmek
2016-06-03 20:25:26 UTC
Description of problem:
Running gdb or readelf on a coredump file gives the following output:
"/var/tmp/coredump-6H6at9" is not a core dump: File format not recognized
I'll attach readelf output later on.
The size of the corefile is plausible, and the ELF headers are there, so it's not totally bonkers, just somehow corrupted.
Version-Release number of selected component (if applicable):
kernel-4.7.0-0.rc0.git4.1.fc25.x86_64 is first bad
kernel-4.7.0-0.rc0.git3.1.fc25.x86_64 is last good
How reproducible:
100%
Steps to Reproduce:
1. sudo sysctl -w kernel.core_pattern='|/bin/tee /var/tmp/core.%p'
2. bash -c 'kill -SEGV $$'
3. gdb /var/tmp/core.XXX
Note that using kernel.core_pattern without "|", i.e. dumping directly to a file, works.
Comment 1Zbigniew Jędrzejewski-Szmek
2016-06-03 20:26:45 UTC
Created attachment 1164631[details]
readelf output for bash core file, kernel 4.7.0-0.rc0.git4.1.fc25.x86_64