Messages in this thread | | | Date | Mon, 12 Mar 2012 15:21:02 -0700 | From | "H. Peter Anvin" <> | Subject | Re: Extending coredump note section to contain filenames |
| |
On 03/12/2012 09:53 AM, Jan Kratochvil wrote: > >> Why we don't save library names in coredump? > > Because they are useless. If you have a filename there how to find which > content it should match? Even if you verify the file is still there with the > same content there is a race it can no longer be true when you read the core > file 5 seconds later. > > The build-id mapping server above always works and without races. >
It seems to me that there would be value in having *both*.
In particular, for libraries which aren't installed in standard system directories (because they are test versions or mapped with dlopen()) it would be good to have a hint of where to find them. The build-id can then tell you if you have the right version.
-hpa
| |