[augeas-devel] [Augeas] #168: SIGSEGV in aug_match

Augeas trac at fedorahosted.org
Sun Dec 19 18:04:55 UTC 2010


#168: SIGSEGV in aug_match
----------------------+-----------------------------------------------------
 Reporter:  deepunix  |       Owner:  lutter
     Type:  defect    |      Status:  new   
 Priority:  major     |   Milestone:  next  
Component:  Augeas    |     Version:  0.7.0 
 Keywords:            |  
----------------------+-----------------------------------------------------
 Hi.

 This is always reproducible:
 {{{
 (gdb) run
 Starting program: /usr/bin/augtool -r .
 augtool> defvar ac /files/etc/hosts
 augtool> match $ac/self::*[(#comment =~ regexp('== PUPPET MODS.*')) and
 (#comment[. =~ regexp('.*modrev: ${rev}')])]
 Program received signal SIGSEGV, Segmentation fault.
 0x00007fe49b39e9d1 in ?? () from /usr/lib/libaugeas.so.0
 (gdb) bt
 #0  0x00007fe49b39e9d1 in ?? () from /usr/lib/libaugeas.so.0
 #1  0x00007fe49b39ed0c in ?? () from /usr/lib/libaugeas.so.0
 #2  0x00007fe49b39d1a9 in aug_match () from /usr/lib/libaugeas.so.0
 #3  0x00000000004023ee in cmd_match ()
 #4  0x000000000040310b in run_command ()
 #5  0x000000000040338b in main ()

 $ augtool  --version
 augtool 0.7.1 <http://augeas.net/>
 }}}

 Didn't have time to compile it with debug symbols. But if you can't
 reproduce, tell me.

 Thanks.

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




More information about the augeas-devel mailing list