#123: unref of static value causes segfault
-------------------------+--------------------------------------------------
  Reporter:  fgiraldeau  |       Owner:  lutter
      Type:  defect      |      Status:  new   
  Priority:  minor       |   Milestone:  next  
 Component:  Augeas      |     Version:  0.7.0 
Resolution:              |    Keywords:        
-------------------------+--------------------------------------------------
Changes (by fgiraldeau):

  * priority:  major => minor

Comment:

 Strange... This is not an important bug, because it happens only when
 there is an pretty obvious error that is unlikely to pass a review. We may
 even close the issue. But there is something that I don't catch ;)

 I did recompiled without without debug, just in case, same segfault. I'm
 building on Ubuntu, maybe it happens because of some fancy memory
 protection? I attached two small programs that can reproduce the problem
 outside augeas. The only difference is the const modifier.

 main1.c : pass
 main2.c : segfault

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

_______________________________________________
augeas-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/augeas-devel

Reply via email to