[augeas-devel] [Augeas] #183: Augeas core dumps when adding a value-less node after a #comment node in shellvars.aug and missing file

Augeas trac at fedorahosted.org
Mon Feb 28 11:08:25 UTC 2011


#183: Augeas core dumps when adding a value-less node after a #comment node in
shellvars.aug and missing file
--------------------------------------+-------------------------------------
 Reporter:  raphink                   |       Owner:  lutter
     Type:  defect                    |      Status:  new   
 Priority:  major                     |   Milestone:  next  
Component:  Augeas                    |     Version:  devel 
 Keywords:  core-dump, shellvars.aug  |  
--------------------------------------+-------------------------------------
 Now that is a very specific bug, but I could only reproduce it with these
 conditions:

 {{{
 $ mkdir -p fakeroot/etc/default
 $ augtool -r fakeroot/
 augtool> set /files/etc/default/test/#comment "test"
 augtool> clear /files/etc/default/test/key
 augtool> print /files
 /files
 /files/etc
 /files/etc/default
 /files/etc/default/test
 /files/etc/default/test/#comment = "test"
 /files/etc/default/test/key
 augtool> save
 augtool: put.c:682: create_union: Assertion `0' failed.
 Abandon (core dumped)
 }}}

-- 
Ticket URL: <https://fedorahosted.org/augeas/ticket/183>
Augeas <http://augeas.net/>
a configuration API




More information about the augeas-devel mailing list