fails to identify what program left a core file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
file (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Steps to reproduce:
- 'ulimit -c unlimited' so you get core files
- get a program to crash
- run 'file core' to see what program it was that crashed
Expected results:
- file tells me the name of the program
Actual results:
- "core: ELF 64-bit LSB core file x86-64, version 1 (SYSV), too many program headers (463)"
This matters when you find a 'core' file after time has passed and you don't remember when or what crashed.
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: file 1:5.22+15-2ubuntu1
ProcVersionSign
Uname: Linux 4.2.0-16-generic x86_64
ApportVersion: 2.19.1-0ubuntu4
Architecture: amd64
CurrentDesktop: GNOME
Date: Fri Oct 30 14:40:56 2015
Dependencies:
gcc-5-base 5.2.1-22ubuntu2
libc6 2.21-0ubuntu4
libgcc1 1:5.2.1-22ubuntu2
libmagic1 1:5.22+15-2ubuntu1
zlib1g 1:1.2.8.
EcryptfsInUse: Yes
InstallationDate: Installed on 2012-07-25 (1191 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
SourcePackage: file
UpgradeStatus: Upgraded to wily on 2015-10-22 (7 days ago)
Changed in file (Ubuntu): | |
importance: | Undecided → Medium |
objdump -h core shows this:
core: file format elf64-x86-64
Sections:
CONTENTS, READONLY
CONTENTS
CONTENTS .siginfo/ 22412 00000080 0000000000000000 0000000000000000 0000679c 2**2
CONTENTS .siginfo 00000080 0000000000000000 0000000000000000 0000679c 2**2
CONTENTS
CONTENTS .file/22412 00007380 0000000000000000 0000000000000000 00006974 2**2
CONTENTS .file 00007380 0000000000000000 0000000000000000 00006974 2**2
CONTENTS
CONTENTS
CONTENTS
CONTENTS
CONTENTS
CONTENTS, ALLOC, LOAD, READONLY, CODE
ALLOC, READONLY, CODE
CONTENTS, ALLOC, LOAD, READONLY
CONTENTS, ALLOC, LOAD, READONLY
CONTENTS, ALLOC, LOAD, READONLY, CODE
CONTENTS, ALLOC, LOAD, READONLY, CODE
Idx Name Size VMA LMA File off Algn
0 note0 00007cd4 0000000000000000 0000000000000000 00006588 2**0
1 .reg/22412 000000d8 0000000000000000 0000000000000000 0000660c 2**2
2 .reg 000000d8 0000000000000000 0000000000000000 0000660c 2**2
3 .note.linuxcore
4 .note.linuxcore
5 .auxv 00000130 0000000000000000 0000000000000000 00006830 2**3
6 .note.linuxcore
7 .note.linuxcore
8 .reg2/22412 00000200 0000000000000000 0000000000000000 0000dd08 2**2
9 .reg2 00000200 0000000000000000 0000000000000000 0000dd08 2**2
10 .reg-xstate/22412 00000340 0000000000000000 0000000000000000 0000df1c 2**2
11 .reg-xstate 00000340 0000000000000000 0000000000000000 0000df1c 2**2
12 load1a 00001000 0000000000400000 0000000000000000 0000f000 2**12
13 load1b 00000000 0000000000401000 0000000000001000 00010000 2**12
14 load2 00001000 00000000008b8000 0000000000000000 00010000 2**12
...
577 load460 00002000 00007ffef5d89000 0000000000000000 42581000 2**12
578 load461 00002000 00007ffef5d8b000 0000000000000000 42583000 2**12
579 load462 00001000 ffffffffff600000 0000000000000000 42585000 2**12