Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jun 2008 08:04:30 +0530
From:      =?utf-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksg==?= Ashish Shukla <wahjava.ml@gmail.com>
To:        freebsd-gnome@freebsd.org
Subject:   Re: devel/py-gobject: segfaulting on gobject.markup_escape_text()
Message-ID:  <20080626023430.GA9249@chateau.d.lf>
In-Reply-To: <op.udbz4kkr9aq2h7@mezz.mezzweb.com>
References:  <86hcbhcis9.fsf@chateau.d.lf> <op.udbz4kkr9aq2h7@mezz.mezzweb.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
,--[ On Wed, Jun 25, 2008 at 08:08:34PM -0500, Jeremy Messenger wrote:
| On Wed, 25 Jun 2008 16:21:42 -0500, Ashish Shukla "आशीष शुक्ल"  
| <wahjava.ml@gmail.com> wrote:

[snip]
 
| > #2  0x00000008012b4277 in ?? () from
| > /usr/local/lib/python2.5/site-packages/gtk-2.0/gobject/_gobject.so
| 
| I am not expert at backtrace read. Can you reinstall py-gobject with debug  
| 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
from _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[] = { "text", NULL };
    char *text_in, *text_out;
    int text_size;
    PyObject *retval;

    if (!PyArg_ParseTupleAndKeywords(args, kwargs,
                                     "s#:gobject.markup_escape_text", kwlist,
                                     &text_in, &text_size))
        return NULL;

    text_out = g_markup_escape_text(text_in, text_size);
    retval = 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
-- 
Ashish Shukla आशीष शुक्ल                      http://wahjava.wordpress.com/
·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkhjADUACgkQHy+EEHYuXnRf7ACgy26D8MK+Wdpqyd89m9Gf1L6S
nzIAoOLulYEBgrYbAvls3efYqSWDETxG
=fBH3
-----END PGP SIGNATURE-----
home | help

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