Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jun 2008 20:49:30 +0530
From:      wahjava.ml@gmail.com (Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IA==?= =?utf-8?B?4KS24KWB4KSV4KWN4KSy?=)
To:        freebsd-gnome@freebsd.org
Subject:   Re: devel/py-gobject: segfaulting on gobject.markup_escape_text()
Message-ID:  <861w2g6zgd.fsf@chateau.d.lf>
In-Reply-To: <86y74p5gf2.fsf@chateau.d.lf> ("Ashish Shukla =?utf-8?B?4KSG?= =?utf-8?B?4KS24KWA4KS3IOCktuClgeCkleCljeCksiIncw==?= message of "Sun, 29 Jun 2008 04:13:45 %2B0530")
References:  <86hcbhcis9.fsf@chateau.d.lf> <op.udbz4kkr9aq2h7@mezz.mezzweb.com> <20080626023430.GA9249@chateau.d.lf> <1214677587.86194.10.camel@shumai.marcuscom.com> <863amx6xnr.fsf@chateau.d.lf> <1214689792.86194.14.camel@shumai.marcuscom.com> <86y74p5gf2.fsf@chateau.d.lf>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

,--- Ashish Shukla =E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7 =E0=A4=B6=E0=A5=81=
=E0=A4=95=E0=A5=8D=E0=A4=B2 writes:

| Reported as bug# 540696[1] in GNOME Bugzilla.

| Reference:
| [1] http://bugzilla.gnome.org/show_bug.cgi?id=3D540696

The bug is now fixed in the trunk. Following is the associated patch
for FreeBSD port devel/py-gobject, which works for me.

=2D--->8---->8----
diff -urN /usr/ports/devel/py-gobject/files/patch-gobject_gobjectmodule.c p=
y-gobject/files/patch-gobject_gobjectmodule.c
=2D-- /usr/ports/devel/py-gobject/files/patch-gobject_gobjectmodule.c     1=
970-01-01 05:30:00.000000000 +0530
+++ py-gobject/files/patch-gobject_gobjectmodule.c      2008-06-29 20:20:05=
.000000000 +0530
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- gobject/gobjectmodule.c.orig
++++ gobject/gobjectmodule.c
+@@ -2564,7 +2564,7 @@
+ {
+     static char *kwlist[] =3D { "text", NULL };
+     char *text_in, *text_out;
+-    int text_size;
++    Py_ssize_t text_size;
+     PyObject *retval;
+=20
+     if (!PyArg_ParseTupleAndKeywords(args, kwargs,
=2D---8<----8<----

HTH
=2D-=20
=C2=B7-- =C2=B7- =C2=B7=C2=B7=C2=B7=C2=B7 =C2=B7--- =C2=B7- =C2=B7=C2=B7=C2=
=B7- =C2=B7- =C2=B7--=C2=B7-=C2=B7 --=C2=B7 -- =C2=B7- =C2=B7=C2=B7 =C2=B7-=
=C2=B7=C2=B7 =C2=B7-=C2=B7-=C2=B7- -=C2=B7-=C2=B7 --- --

--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkhnqAIACgkQHy+EEHYuXnRrJwCdEyQKz3OSX+GfRGAo98Nb4ICP
0i8AmwbW/Wi9IGkJp1nNHeZb0qHQ+/zG
=DoKj
-----END PGP SIGNATURE-----
--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?861w2g6zgd.fsf>