[augeas-devel] 518 segfaults on multiple init()/close()

David Lutterkort dlutter at redhat.com
Thu Jun 12 20:30:08 UTC 2008


On Thu, 2008-06-12 at 15:55 +0200, Harald Hoyer wrote:
> $ gcc -o mopen -laugeas mopen.c
> $ ./mopen
> 0
> 1
> 2
> Segmentation fault (core dumped)

That turned out to be a really dumb atttempt at caching a frequently
used regexp. I just sent out a patch that addresses that. Strangely
though, for me mopen collapsed after printing '0 1', i.e. the second
time through, not the third time through.

David





More information about the augeas-devel mailing list