Date: Thu, 26 Jun 2008 02:51:42 +0530 From: wahjava.ml@gmail.com (Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IA==?= =?utf-8?B?4KS24KWB4KSV4KWN4KSy?=) To: freebsd-gnome@freebsd.org Subject: devel/py-gobject: segfaulting on gobject.markup_escape_text() Message-ID: <86hcbhcis9.fsf@chateau.d.lf>
next in thread | raw e-mail | index | archive | help
--=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, I'm running FreeBSD 7.0-RELEASE-p1 (amd64). I'm trying to port a software which depends on devel/py-gobject. Following is what I'm experiencing: =2D---8<----8<---- abbe [~] chateau% python Python 2.5.2 (r252:60911, Jun 26 2008, 02:18:20)=20 [GCC 4.2.1 20070719 [FreeBSD]] on freebsd7 Type "help", "copyright", "credits" or "license" for more information. >>> import gobject >>> print gobject.markup_escape_text("<b>Hi</b>") zsh: segmentation fault (core dumped) python abbe [~] chateau% gdb `which python` GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... (gdb) core-file python.core=20 Core was generated by `python'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libutil.so.7...done. Loaded symbols for /lib/libutil.so.7 Reading symbols from /lib/libm.so.5...done. Loaded symbols for /lib/libm.so.5 Reading symbols from /lib/libthr.so.3...done. Loaded symbols for /lib/libthr.so.3 Reading symbols from /lib/libc.so.7...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /usr/local/lib/python2.5/lib-dynload/readline.so...don= e. Loaded symbols for /usr/local/lib/python2.5/lib-dynload/readline.so Reading symbols from /lib/libreadline.so.7...done. Loaded symbols for /lib/libreadline.so.7 Reading symbols from /lib/libncurses.so.7...done. Loaded symbols for /lib/libncurses.so.7 Reading symbols from /usr/local/lib/python2.5/site-packages/gtk-2.0/gobject= /_gobject.so...done. Loaded symbols for /usr/local/lib/python2.5/site-packages/gtk-2.0/gobject/_= gobject.so Reading symbols from /usr/local/lib/libgobject-2.0.so.0...done. Loaded symbols for /usr/local/lib/libgobject-2.0.so.0 Reading symbols from /usr/local/lib/libgthread-2.0.so.0...done. Loaded symbols for /usr/local/lib/libgthread-2.0.so.0 Reading symbols from /usr/local/lib/libglib-2.0.so.0...done. Loaded symbols for /usr/local/lib/libglib-2.0.so.0 Reading symbols from /usr/local/lib/libiconv.so.3...done. Loaded symbols for /usr/local/lib/libiconv.so.3 Reading symbols from /usr/local/lib/libintl.so.8...done. Loaded symbols for /usr/local/lib/libintl.so.8 Reading symbols from /usr/local/lib/libicui18n.so.38...done. Loaded symbols for /usr/local/lib/libicui18n.so.38 Reading symbols from /usr/local/lib/libpcre.so.0...done. Loaded symbols for /usr/local/lib/libpcre.so.0 Reading symbols from /usr/local/lib/libicuuc.so.38...done. Loaded symbols for /usr/local/lib/libicuuc.so.38 Reading symbols from /usr/local/lib/libicudata.so.38...done. Loaded symbols for /usr/local/lib/libicudata.so.38 Reading symbols from /usr/lib/libstdc++.so.6...done. Loaded symbols for /usr/lib/libstdc++.so.6 Reading symbols from /lib/libgcc_s.so.1...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x000000080166a637 in append_escaped_text (str=3D0x800dd6e80, text=3D0x= 800000000 <Address 0x800000000 out of bounds>, length=3D9) at gmarkup.c:1952 1952 gmarkup.c: No such file or directory. in gmarkup.c [New Thread 0x800d01120 (LWP 100214)] (gdb) bt #0 0x000000080166a637 in append_escaped_text (str=3D0x800dd6e80, text=3D0x= 800000000 <Address 0x800000000 out of bounds>, length=3D9) at gmarkup.c:1952 #1 0x000000080166a80d in IA__g_markup_escape_text (text=3D0x800000000 <Add= ress 0x800000000 out of bounds>, length=3D9) at gmarkup.c:2022 #2 0x00000008012b4277 in ?? () from /usr/local/lib/python2.5/site-packages= /gtk-2.0/gobject/_gobject.so #3 0x00000000004f0ff8 in PyCFunction_Call (func=3D0x800e3ae60, arg=3D0x800= d47810, kw=3D0x0) at ./../Objects/methodobject.c:77 #4 0x00000000004953bd in call_function (pp_stack=3D0x7fffffffe238, oparg= =3D1) at ./../Python/ceval.c:3573 #5 0x0000000000491a09 in PyEval_EvalFrameEx (f=3D0x800de9a10, throwflag=3D= 0) at ./../Python/ceval.c:2272 #6 0x0000000000493794 in PyEval_EvalCodeEx (co=3D0x800e27300, globals=3D0x= 800d97b80, locals=3D0x800d97b80, args=3D0x0, argcount=3D0, kws=3D0x0, kwcou= nt=3D0, defs=3D0x0, defcount=3D0,=20 closure=3D0x0) at ./../Python/ceval.c:2836 #7 0x000000000048bb75 in PyEval_EvalCode (co=3D0x800e27300, globals=3D0x80= 0d97b80, locals=3D0x800d97b80) at ./../Python/ceval.c:494 #8 0x00000000004bcfa6 in run_mod (mod=3D0x800ef7170, filename=3D0x505d4f "= <stdin>", globals=3D0x800d97b80, locals=3D0x800d97b80, flags=3D0x7fffffffe7= 70, arena=3D0x800d09640) at ./../Python/pythonrun.c:1273 #9 0x00000000004bbb6a in PyRun_InteractiveOneFlags (fp=3D0x800c80c20, file= name=3D0x505d4f "<stdin>", flags=3D0x7fffffffe770) at ./../Python/pythonrun= .c:792 #10 0x00000000004bb892 in PyRun_InteractiveLoopFlags (fp=3D0x800c80c20, fil= ename=3D0x505d4f "<stdin>", flags=3D0x7fffffffe770) at ./../Python/pythonru= n.c:723 #11 0x00000000004bb751 in PyRun_AnyFileExFlags (fp=3D0x800c80c20, filename= =3D0x505d4f "<stdin>", closeit=3D0, flags=3D0x7fffffffe770) at ./../Python/= pythonrun.c:692 #12 0x00000000004127e0 in Py_Main (argc=3D1, argv=3D0x7fffffffe860) at ./..= /Modules/main.c:523 #13 0x0000000000411942 in main (argc=3D1, argv=3D0x7fffffffe860) at ./../Mo= dules/python.c:23 =2D--->8---->8---- Can anyone try reproducing this by executing following on their shell: =2D--->8---->8---- abbe [~] chateau% printf "import gobject\nprint gobject.markup_escape_text(= '<b>Hi</b>')\n" |python =2D---8<----8<---- TIA =2D-=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 --- -- --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkhitusACgkQHy+EEHYuXnTnrwCggK2obkCRyUQZKVYiq3z/pZem i6AAnRvXoT/2/BSUsDANWcE2nk+YDPmV =x5Gz -----END PGP SIGNATURE----- --=-=-=--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86hcbhcis9.fsf>