[pygtk] gnome.config seg fault

Balki balki@kinematics.demon.co.uk
Thu, 8 Jun 2000 14:13:37 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_0033_01BFD153.BD319FE0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

After upgrading to the latest gnome-libs rpm (version 1.2.0 from helixcode)
gnome.config appears to be broken.
Performing a "gnome.config.section_contents" on any file in the .gnome
directory results in a segmentation fault.
This did not occur in gnome-libs v1.0.61, I have tried v1.2.0 and v1.2.1 -
both exhibit the bug.
Please see testgc.py for an example.

I am using Mandrake v7.0, python 1.5.2, gnome-python 1.0.53 (inc pygtk
0.6.6, etc)
Recompiling gnome-python against the new gnome-libs did not solve the
problem.

Any clues anybody?

Cheers,
Andy

------=_NextPart_000_0033_01BFD153.BD319FE0
Content-Type: application/octet-stream;
	name="TESTGC.PY"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="TESTGC.PY"

#! /usr/bin/env python=0A=
#test program to show seg fault in gnome.config=0A=
#works with gnome-libs 1.0.61,=0A=
#fails with gnome-libs 1.2.0 and 1.2.1=0A=
=0A=
import gnome.config=0A=
=0A=
dic_section=3Dgnome.config.section_contents( 'editor/Editor')=0A=
=0A=
print dic_section=0A=

------=_NextPart_000_0033_01BFD153.BD319FE0--