[augeas-devel] [Augeas] #149: Segfault when editing php.ini on fedora 14

c. puchol cpg at rocketmail.com
Sat Nov 6 06:30:44 UTC 2010


the fedorahosted.org is not letting me reset my password - no password reset 
email ever 

arrives. the devel list rejected my email ...  could anyone ack the receipt of 
this email and attach the trace to the bug?

also - wtf?? - the track is listing my email in the cc _in plain text_!!?!??!
let's prevent stuff from real users and make it easy on spammers!!


anyway ... i just installed f14 32b on vmware fusion, clean, and here is the 
trace to the core dump.

(gdb) file /usr/bin/augtool
Reading symbols from /usr/bin/augtool...Reading symbols from 
/usr/lib/debug/usr/bin/augtool.debug...done.
done.
(gdb) run
Starting program: /usr/bin/augtool 
augtool> set /files/etc/php.ini/Date/date.timezone "America/Los_Angeles"
augtool> save

Program received signal SIGSEGV, Segmentation fault.
dict_pos (key=0x97a1838 "PHP", dict=<value optimized out>) at ast.c:132
132             int cmp = strcmp(dict->nodes[m]->key, key);
Missing separate debuginfos, use: debuginfo-install libgcc-4.5.1-4.fc14.i686 
ncurses-libs-5.7-8.20100703.fc14.i686
(gdb) where
#0  dict_pos (key=0x97a1838 "PHP", dict=<value optimized out>) at ast.c:132
#1  0x00152bcc in dict_lookup (key=0x97a1838 "PHP", dict=0x9786560, 
skel=0xbffff35c, 

    subdict=0xbffff358) at ast.c:204
#2  0x001566cf in put_subtree (state=0xbffff348, lens=<value optimized out>) at 
put.c:449
#3  0x00156238 in put_lens (lens=<value optimized out>, state=<value optimized 
out>)
    at put.c:624
#4  0x001562a0 in put_quant_star (lens=<value optimized out>, state=<value 
optimized out>)
    at put.c:544
#5  put_lens (lens=<value optimized out>, state=<value optimized out>) at 
put.c:627
#6  0x00156433 in put_concat (lens=<value optimized out>, state=<value optimized 
out>)
    at put.c:504
#7  put_lens (lens=<value optimized out>, state=<value optimized out>) at 
put.c:618
#8  0x00156c8d in lns_put (out=0x93f3628, lens=0x98b6c50, tree=0x9413140, 
    text=0x930fd08 "[PHP]\n\n", ';' <repeats 19 times>, "\n; About php.ini   
;\n", ';' <repeats 19 times>, "\n; PHP's initialization file, generally called 
php.ini, is responsible for\n; configuring many of the aspects of PHP's 
behavior.\n\n; PHP"..., err=0xbffff3ec) at put.c:787
#9  0x00151ef9 in transform_save (aug=0x804f860, xfm=0x98d8870, 
    path=0x979e8c8 "/files/etc/php.ini", tree=0x978f8a8) at transform.c:940
#10 0x00136136 in tree_save (aug=0x804f860, tree=<value optimized out>, 
    path=0x97937d8 "/files/etc") at augeas.c:1117
#11 0x00136231 in tree_save (aug=0x804f860, tree=<value optimized out>, 
path=0x162fdd "/files")
    at augeas.c:1121
#12 0x00137850 in aug_save (aug=0x804f860) at augeas.c:1216
#13 0x080498dd in cmd_save (cmd=0xbffff5ec) at augtool.c:774
#14 0x0804aafb in run_command (line=0x943c460 "save") at augtool.c:1102
#15 0x0804aef2 in main_loop (argc=1, argv=0xbffff7e4) at augtool.c:1135
---Type <return> to continue, or q <return> to quit---
#16 main (argc=1, argv=0xbffff7e4) at augtool.c:1188
(gdb) 



----- Original Message ----
From: Augeas <trac at fedorahosted.org>
Cc: augeas-devel at redhat.com
Sent: Fri, November 5, 2010 6:10:27 AM
Subject: Re: [Augeas] #149: Segfault when editing php.ini on fedora 14

#149: Segfault when editing php.ini on fedora 14
-------------------------+--------------------------------------------------
  Reporter:  fgiraldeau  |       Owner:  lutter
      Type:  defect      |      Status:  new  
  Priority:  major       |   Milestone:  next  
Component:  Augeas      |     Version:  0.7.0 
Resolution:              |    Keywords:        
-------------------------+--------------------------------------------------
Comment (by fgiraldeau):

I installed fedora 14, and the test case is working correctly. There is
something else that may affect this bug. More information is needed, for
example the core dump would be useful.

-- 
Ticket URL: <https://fedorahosted.org/augeas/ticket/149#comment:1>
Augeas <http://augeas.net/>
a configuration API


      




More information about the augeas-devel mailing list