[augeas-devel] [Augeas] #123: unref of static value causes segfault
Augeas
trac at fedorahosted.org
Tue Jun 22 20:11:26 UTC 2010
#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
More information about the augeas-devel
mailing list