lkml.org 
[lkml]   [2012]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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



\
 
 \ /
  Last update: 2012-03-12 23:23    [W:0.081 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site