devel/py-gobject: segfaulting on gobject.markup_escape_text()
Ashish Shukla आशीष शुक्ल
wahjava.ml at gmail.com
Wed Jun 25 21:48:37 UTC 2008
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:
----8<----8<----
abbe [~] chateau% python
Python 2.5.2 (r252:60911, Jun 26 2008, 02:18: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 conditions.
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
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...done.
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=0x800dd6e80, text=0x800000000 <Address 0x800000000 out of bounds>, length=9) 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=0x800dd6e80, text=0x800000000 <Address 0x800000000 out of bounds>, length=9) at gmarkup.c:1952
#1 0x000000080166a80d in IA__g_markup_escape_text (text=0x800000000 <Address 0x800000000 out of bounds>, length=9) 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=0x800e3ae60, arg=0x800d47810, kw=0x0) at ./../Objects/methodobject.c:77
#4 0x00000000004953bd in call_function (pp_stack=0x7fffffffe238, oparg=1) at ./../Python/ceval.c:3573
#5 0x0000000000491a09 in PyEval_EvalFrameEx (f=0x800de9a10, throwflag=0) at ./../Python/ceval.c:2272
#6 0x0000000000493794 in PyEval_EvalCodeEx (co=0x800e27300, globals=0x800d97b80, locals=0x800d97b80, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0,
closure=0x0) at ./../Python/ceval.c:2836
#7 0x000000000048bb75 in PyEval_EvalCode (co=0x800e27300, globals=0x800d97b80, locals=0x800d97b80) at ./../Python/ceval.c:494
#8 0x00000000004bcfa6 in run_mod (mod=0x800ef7170, filename=0x505d4f "<stdin>", globals=0x800d97b80, locals=0x800d97b80, flags=0x7fffffffe770, arena=0x800d09640)
at ./../Python/pythonrun.c:1273
#9 0x00000000004bbb6a in PyRun_InteractiveOneFlags (fp=0x800c80c20, filename=0x505d4f "<stdin>", flags=0x7fffffffe770) at ./../Python/pythonrun.c:792
#10 0x00000000004bb892 in PyRun_InteractiveLoopFlags (fp=0x800c80c20, filename=0x505d4f "<stdin>", flags=0x7fffffffe770) at ./../Python/pythonrun.c:723
#11 0x00000000004bb751 in PyRun_AnyFileExFlags (fp=0x800c80c20, filename=0x505d4f "<stdin>", closeit=0, flags=0x7fffffffe770) at ./../Python/pythonrun.c:692
#12 0x00000000004127e0 in Py_Main (argc=1, argv=0x7fffffffe860) at ./../Modules/main.c:523
#13 0x0000000000411942 in main (argc=1, argv=0x7fffffffe860) at ./../Modules/python.c:23
---->8---->8----
Can anyone try reproducing this by executing following on their shell:
---->8---->8----
abbe [~] chateau% printf "import gobject\nprint gobject.markup_escape_text('<b>Hi</b>')\n" |python
----8<----8<----
TIA
--
Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/
·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20080625/490729d7/attachment.pgp
More information about the freebsd-gnome
mailing list