Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 324555 - dev-lang/python-2.7.1: Segmentation fault in _ctypes
Summary: dev-lang/python-2.7.1: Segmentation fault in _ctypes
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-18 07:01 UTC by Justin Lecher (RETIRED)
Modified: 2011-06-27 09:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge.info (emerge.info,17.49 KB, text/plain)
2010-06-18 07:02 UTC, Justin Lecher (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Lecher (RETIRED) gentoo-dev 2010-06-18 07:01:27 UTC
Steps to reproduce:

emerge media-libs/memphis
checkout git://gitorious.org/pymemphis/mainline.git
cd into project
python2.6 /usr/lib64/python2.6/site-packages/gtk-2.0/codegen/defsgen.py -m memphis -s memphis/memphis-base -l libmemphis-0.2.so /usr/include/libmemphis-0.2/memphis/*.h


Program received signal SIGSEGV, Segmentation fault.
z_get (ptr=0x14, size=8) at /var/tmp/portage/dev-lang/python-2.6.5-r2/work/Python-2.6.5/Modules/_ctypes/cfield.c:1391
1391	/var/tmp/portage/dev-lang/python-2.6.5-r2/work/Python-2.6.5/Modules/_ctypes/cfield.c: No such file or directory.
	in /var/tmp/portage/dev-lang/python-2.6.5-r2/work/Python-2.6.5/Modules/_ctypes/cfield.c
(gdb) bt
#0  z_get (ptr=0x14, size=8) at /var/tmp/portage/dev-lang/python-2.6.5-r2/work/Python-2.6.5/Modules/_ctypes/cfield.c:1391
#1  0x00002aaaaad5538b in PyObject_GenericGetAttr (obj=0x2aaaac257b00, name=0x2aaaac27e378) at Objects/object.c:1424
#2  0x00002aaaaadb12ee in PyEval_EvalFrameEx (f=0x79e6e0, throwflag=<value optimized out>) at Python/ceval.c:2082
#3  0x00002aaaaadb543f in PyEval_EvalCodeEx (co=0x2aaaabdaf738, globals=<value optimized out>, locals=<value optimized out>, args=0x2, argcount=8, kws=<value optimized out>, kwcount=0, defs=0x2aaaac279128, defcount=1, closure=0x0) at Python/ceval.c:3000
#4  0x00002aaaaadb3810 in fast_function (f=0x77a570, throwflag=<value optimized out>) at Python/ceval.c:3846
#5  call_function (f=0x77a570, throwflag=<value optimized out>) at Python/ceval.c:3771
#6  PyEval_EvalFrameEx (f=0x77a570, throwflag=<value optimized out>) at Python/ceval.c:2412
#7  0x00002aaaaadb48d1 in fast_function (f=0x6e6140, throwflag=<value optimized out>) at Python/ceval.c:3836
#8  call_function (f=0x6e6140, throwflag=<value optimized out>) at Python/ceval.c:3771
#9  PyEval_EvalFrameEx (f=0x6e6140, throwflag=<value optimized out>) at Python/ceval.c:2412
#10 0x00002aaaaadb543f in PyEval_EvalCodeEx (co=0x2aaaabdbd120, globals=<value optimized out>, locals=<value optimized out>, args=0x0, argcount=8, kws=<value optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:3000
#11 0x00002aaaaadb5512 in PyEval_EvalCode (co=0x14, globals=0x8, locals=0x2aaaac6b72a0) at Python/ceval.c:541
#12 0x00002aaaaadd4f20 in run_mod (fp=0x68e630, filename=<value optimized out>, start=<value optimized out>, globals=<value optimized out>, locals=0x63d080, closeit=1, flags=0x7fffffffc720) at Python/pythonrun.c:1345
#13 PyRun_FileExFlags (fp=0x68e630, filename=<value optimized out>, start=<value optimized out>, globals=<value optimized out>, locals=0x63d080, closeit=1, flags=0x7fffffffc720) at Python/pythonrun.c:1331
#14 0x00002aaaaadd50dc in PyRun_SimpleFileExFlags (fp=<value optimized out>, filename=0x7fffffffcf84 "/usr/lib64/python2.6/site-packages/gtk-2.0/codegen/defsgen.py", closeit=1, flags=0x7fffffffc720) at Python/pythonrun.c:941
#15 0x00002aaaaade0d07 in Py_Main (argc=-1412345712, argv=<value optimized out>) at Modules/main.c:584
#16 0x00002aaaab976bbd in __libc_start_main () from /lib/libc.so.6
#17 0x0000000000400819 in _start ()
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2010-06-18 07:02:23 UTC
Created attachment 235813 [details]
emerge.info

emerge info
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-01-18 14:41:04 UTC
Does this problem occurs with newer Python versions?
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2011-01-18 15:08:32 UTC
py2.6.6-r1 and py2.7.1 show this also.
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-01-18 15:35:35 UTC
Please report this problem to upstream.
http://bugs.python.org/
Comment 5 Dirkjan Ochtman (RETIRED) gentoo-dev 2011-06-27 09:33:16 UTC
Since there's nothing new here, resolving as UPSTREAM.