[augeas-devel] Segfault in 0.7.0

Matthew Palmer matt at anchor.net.au
Thu Jan 28 01:35:25 UTC 2010


On Thu, Jan 28, 2010 at 12:00:38PM +1100, Matthew Palmer wrote:
> I'm getting the following backtrace after a segfault in 0.7.0:
> 
> #0  tree_replace (origin=<value optimized out>, path=<value optimized out>,
> #sub=0x0) at augeas.c:783
> #1  0x00007fc539b6a75d in transform_load (aug=0x20c7020, xfm=0x20cc3a0) at
> #transform.c:435
> #2  0x00007fc539b51c54 in aug_load (aug=0x20c7020) at augeas.c:458
> #3  0x00007fc539b52123 in aug_init (root=0x4b52c40 "", loadpath=0x49aaa20
> #"\002", flags=<value optimized out>) at augeas.c:421
> #4  0x0000000000403351 in main (argc=1, argv=0x7fff41fb0c88) at
> #augtool.c:1137

In discussions with David on IRC, he identified the cause of the problem (a
one-liner fix in tree_replace), and a patch will be in Git shortly.  For
clarity, the cause of the problem is a wonky aptpreferences lens that
doesn't like a missing or empty /etc/apt/preferences file.

- Matt




More information about the augeas-devel mailing list