15.04: incomplete debug symbols package - please disable CONFIG_DEBUG_INFO_SPLIT or package the .dwo files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
High
|
Andy Whitcroft |
Bug Description
The kernel option CONFIG_
It moves debuginfo to .dwo files, using gcc -split-dwarf.
The kernel packaging received no updates to include the .dwo files, AFAICT.
This results in gdb/crash not unable to find/read the kernel debug symbols, because the .dwo files are not present.
Possible solutions include:
1) Disable CONFIG_
2) Update the packaging to include .dwo files.
Options #1 (patch attached) tested, and it worked.
Before:
----------
# grep CONFIG_
CONFIG_
gdb:
(gdb) symbol-file /usr/lib/
Reading symbols from /usr/lib/
warning: Could not find DWO CU arch/powerpc/
<and many other .dwo files>
crash:
gdb called without error_hook: Dwarf Error: CU at offset 0x24c references unknown DWO with ID 51757104ad7ccc06 [in module /usr/lib/
Dwarf Error: CU at offset 0x24c references unknown DWO with ID 51757104ad7ccc06 [in module /usr/lib/
crash: /usr/lib/
After:
--------
# grep CONFIG_
# CONFIG_
gdb:
(gdb) symbol-file /usr/lib/
Reading symbols from /usr/lib/
crash:
# crash /usr/lib/
<...>
KERNEL: /usr/lib/
DUMPFILE: /var/crash/
<...>
crash>
tags: | added: patch |
Changed in linux (Ubuntu): | |
importance: | Undecided → High |
assignee: | nobody → Andy Whitcroft (apw) |
milestone: | none → ubuntu-15.01 |
status: | Confirmed → Fix Committed |
I have turned this option off in the immediate term. I have also filed Bug: #1413664 to investigate fixing this properly.