[augeas-devel] [Augeas] #165: augeas-libs crash on RHEL6 / PPC64
Augeas
trac at fedorahosted.org
Mon Nov 29 19:22:58 UTC 2010
#165: augeas-libs crash on RHEL6 / PPC64
-----------------------+----------------------------------------------------
Reporter: caioromao | Owner: lutter
Type: defect | Status: new
Priority: major | Milestone: next
Component: Augeas | Version: 0.7.0
Keywords: ppc, rhel |
-----------------------+----------------------------------------------------
Hi there,
On RHEL 6, default instalation on a ppc64 lpar:
I've installed augeas-libs (the shipped one, 0.7.2; And a custom-built one
based on fedora's src.rpm, v. 0.7.4). Using python-augeas (either the last
release, 0.3.0, or the version from git HEAD) gives me a {{{segfault}}}
{{{
import augeas
ag = augeas.Augeas()
ag.match('/files/etc/samba/smb.conf')
}}}
This already brings python's REPL down. Examining the coredump through gdb
we can see that the issue is on {{{api_entry}}} while incrementing the
API-access-counter:
{{{
#0 api_entry (aug=0x35ef6e0) at augeas.c:322
322 ((struct augeas *) aug)->api_entries += 1;
Missing separate debuginfos, use: debuginfo-install
python-2.6.5-3.el6.ppc64
(gdb) bt
#0 api_entry (aug=0x35ef6e0) at augeas.c:322
#1 0x00000fff9c531a24 in aug_match (aug=0x35ef6e0, pathin=0xfff9c6bb90c
"/files/etc/samba/smb.conf/*", matches=0xfffa2e7db50) at augeas.c:1031
}}}
The {{{aug}}} struct in unaccessible from the frame.
While using {{{libaugeas0}}} on a SLES11 (version 0.5) system the provided
snippet works properly.
--
Ticket URL: <https://fedorahosted.org/augeas/ticket/165>
Augeas <http://augeas.net/>
a configuration API
More information about the augeas-devel
mailing list