From owner-freebsd-gnome@FreeBSD.ORG Thu Jun 26 02:34:14 2008 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 356791065673 for ; Thu, 26 Jun 2008 02:34:14 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.188]) by mx1.freebsd.org (Postfix) with ESMTP id 974568FC21 for ; Thu, 26 Jun 2008 02:34:13 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: by ti-out-0910.google.com with SMTP id d27so1749871tid.3 for ; Wed, 25 Jun 2008 19:34:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:x-face:x-attribution:x-os:x-os-version :x-os-architecture:x-uptime:face:organization:pgp:x-pgp:x-pgp-fp :user-agent:sender; bh=Ej8aSYYIr3N7eA9LvJUUNjgjoIzlJpCX4lWP5ynJBFQ=; b=ArEA0Eu5Nm3MiWTrtvVASOI9fWH+ze2ip+PXS85ferjH/R3eTika7WVAjpZdkVSrR8 zVQPS7ff97IQhCk8gXeSMaK+irq1QCkv45eA+jIYgXtedBWRBCKsGzY1Z619xcIBVksQ 4encelcxYhMcPWuxuQE/DCIJB1+ADTt2bzAjs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:x-face:x-attribution :x-os:x-os-version:x-os-architecture:x-uptime:face:organization:pgp :x-pgp:x-pgp-fp:user-agent:sender; b=Id10De8vd01mmZWGHeOxJJMAiNFAn6HaH4Brr5cKEZqcMyH7l92q3xpIX0yWoXuljx /mthh/y6wSbE2mOVr2w+gtdRQGsecAYGGTf57Jtz+brSVEKsUjxRTrTjleZ2MlTrm/y0 9D6gUmIfVA86vDSariJb6lwX6RHYCEpI8HAVA= Received: by 10.110.109.12 with SMTP id h12mr9066407tic.51.1214447652292; Wed, 25 Jun 2008 19:34:12 -0700 (PDT) Received: from chateau.d.lf ( [122.162.237.5]) by mx.google.com with ESMTPS id 22sm17070980tim.10.2008.06.25.19.34.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 25 Jun 2008 19:34:11 -0700 (PDT) Date: Thu, 26 Jun 2008 08:04:30 +0530 From: =?utf-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksg==?= Ashish Shukla To: freebsd-gnome@freebsd.org Message-ID: <20080626023430.GA9249@chateau.d.lf> References: <86hcbhcis9.fsf@chateau.d.lf> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tThc/1wpZn/ma/RB" Content-Disposition: inline In-Reply-To: X-Face: "\:nMpJ)EA!j>2nEu-[(+&o:N+CtL^AS\,Jv*LO5qBr#W2.\=d Subject: Re: devel/py-gobject: segfaulting on gobject.markup_escape_text() X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 02:34:14 -0000 --tThc/1wpZn/ma/RB Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable ,--[ On Wed, Jun 25, 2008 at 08:08:34PM -0500, Jeremy Messenger wrote: | On Wed, 25 Jun 2008 16:21:42 -0500, 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" =20 | wrote: [snip] =20 | > #2 0x00000008012b4277 in ?? () from | > /usr/local/lib/python2.5/site-packages/gtk-2.0/gobject/_gobject.so |=20 | I am not expert at backtrace read. Can you reinstall py-gobject with debu= g =20 | symbol? It will be easier for expert backtraces read to pick up. I'd already built that package with symbols, but its confusing why symbols =66rom _gobject.so aren't showing up, even 'file _gobject.so' its not stripped :( . Anyways, it segfaults in pyg_markup_escape_text() in gobject/gobjectmodule.c, in the line containing invocation of g_markup_escape_text(). ---->8----->8---- static PyObject * pyg_markup_escape_text(PyObject *unused, PyObject *args, PyObject *kwargs) { static char *kwlist[] =3D { "text", NULL }; char *text_in, *text_out; int text_size; PyObject *retval; if (!PyArg_ParseTupleAndKeywords(args, kwargs, "s#:gobject.markup_escape_text", kwlis= t, &text_in, &text_size)) return NULL; text_out =3D g_markup_escape_text(text_in, text_size); retval =3D PyString_FromString(text_out); g_free(text_out); return retval; } ---->8---->8---- The value of text_in which is passed to g_markup_escape_text() is not proper. If any more details are requested, please mention. Thanks --=20 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 http://wahjava.wordpress.com/ =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 --- -- --tThc/1wpZn/ma/RB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkhjADUACgkQHy+EEHYuXnRf7ACgy26D8MK+Wdpqyd89m9Gf1L6S nzIAoOLulYEBgrYbAvls3efYqSWDETxG =fBH3 -----END PGP SIGNATURE----- --tThc/1wpZn/ma/RB--