[OE-core] [PATCH 0/2 RFC] workaround for debugedit segv

Richard Purdie richard.purdie at linuxfoundation.org
Mon Mar 25 17:47:52 UTC 2013


On Mon, 2013-03-25 at 12:19 -0500, Mark Hatle wrote:
> [ YOCTO #4089 ]
> 
> This is an attempt at a workaround for the debugedit segv.
> 
> The problem is that during the creation of the build-id hash, the
> system iterates over the various ELF sections passing a point to the
> loaded data and size of each section to a hash function.
> 
> When it gets to the hash for the .plt and .bss section, the size is
> non-zero, while the data is point to 0.  This immediately causes a
> segfault on access of data at address 0.
> 
> See the bug and patch comments for more diagnostic information.

I really want to figure out how widespread issues are so I merged the
workaround and my version of the error handling patch so we start seeing
where the remaining problems are (if any).

I'm hoping to test this out on the autobuilder, see how we stand.

If further improvements are found to the workaround we can merge those
on top of the existing tree.

Cheers,

Richard







More information about the Openembedded-core mailing list