[augeas-devel] Fix segfault with bug_on

David Lutterkort lutter at redhat.com
Tue Jan 10 00:22:26 UTC 2012


On Thu, 2011-12-29 at 15:50 -0500, Francis Giraldeau wrote:
> While working on an updated square lens, the old bug_on error came back. This
> patch is some proposal to get it fixed. Adding this flag is not pretty, but it
> works.

I don't recall the details of that problem - what exactly in bug_on is
causing segfaults ? There shouldn't be a need for the is_static flag,
since setting the ref count to REF_MAX should pin the object in memory
already.

David





More information about the augeas-devel mailing list