[New-bugs-announce] [issue19879] PyCFunction_NewEx() SIGABRT

Matthew Bergin report at bugs.python.org
Tue Dec 3 19:54:52 CET 2013


New submission from Matthew Bergin:

[level@<removed> fuzz]# cat PyCFunction.py
#
# PyCFunction_NewEx crach poc (sigabrt)
#
import imageop
imageop.rgb82rgb(u"%J8CBej >uFBi-",True,8.36)
imageop.grey2grey(None,5,u"CRi")
[level@<removed> fuzz]# gdb --args python PyCFunction.py
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6_4.1)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/python...(no debugging symbols found)...done.
Missing separate debuginfos, use: debuginfo-install python-2.6.6-37.el6_4.i686 python-2.6.6-37.el6_4.x86_64
(gdb) r
Starting program: /usr/bin/python PyCFunction.py
[Thread debugging using libthread_db enabled]
PyCFunction.py:5: DeprecationWarning: integer argument expected, got float
  imageop.rgb82rgb(u"%J8CBej >uFBi-",True,8.36)
Fatal Python error: GC object already tracked

Program received signal SIGABRT, Aborted.
0x00007ffff6e2e8e5 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff6e2e8e5 in raise () from /lib64/libc.so.6
#1  0x00007ffff6e300c5 in abort () from /lib64/libc.so.6
#2  0x00007ffff7b2823e in Py_FatalError () from /usr/lib64/libpython2.6.so.1.0
#3  0x00007ffff7ab3175 in PyCFunction_NewEx () from /usr/lib64/libpython2.6.so.1.0
#4  0x00007ffff7b24b18 in Py_InitModule4_64 () from /usr/lib64/libpython2.6.so.1.0
#5  0x00007ffff0b66abe in initsyslog () from /usr/lib64/python2.6/lib-dynload/syslog.so
#6  0x00007ffff7b21865 in _PyImport_LoadDynamicModule () from /usr/lib64/libpython2.6.so.1.0
#7  0x00007ffff7b1f8a5 in ?? () from /usr/lib64/libpython2.6.so.1.0
#8  0x00007ffff7b1fb24 in ?? () from /usr/lib64/libpython2.6.so.1.0
#9  0x00007ffff7b2017d in ?? () from /usr/lib64/libpython2.6.so.1.0
#10 0x00007ffff7b20ee4 in PyImport_ImportModuleLevel () from /usr/lib64/libpython2.6.so.1.0
#11 0x00007ffff7b0671f in ?? () from /usr/lib64/libpython2.6.so.1.0
#12 0x00007ffff7a7ac63 in PyObject_Call () from /usr/lib64/libpython2.6.so.1.0
#13 0x00007ffff7b06c93 in PyEval_CallObjectWithKeywords () from /usr/lib64/libpython2.6.so.1.0
#14 0x00007ffff7b0a33f in PyEval_EvalFrameEx () from /usr/lib64/libpython2.6.so.1.0
#15 0x00007ffff7b0db8f in PyEval_EvalFrameEx () from /usr/lib64/libpython2.6.so.1.0
#16 0x00007ffff7b0e657 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.6.so.1.0
#17 0x00007ffff7aa1cb0 in ?? () from /usr/lib64/libpython2.6.so.1.0
#18 0x00007ffff7a7ac63 in PyObject_Call () from /usr/lib64/libpython2.6.so.1.0
#19 0x00007ffff7b06c93 in PyEval_CallObjectWithKeywords () from /usr/lib64/libpython2.6.so.1.0
#20 0x00007ffff7b29cc2 in PyErr_PrintEx () from /usr/lib64/libpython2.6.so.1.0
#21 0x00007ffff7b2a287 in PyRun_SimpleFileExFlags () from /usr/lib64/libpython2.6.so.1.0
#22 0x00007ffff7b368a2 in Py_Main () from /usr/lib64/libpython2.6.so.1.0
#23 0x00007ffff6e1acdd in __libc_start_main () from /lib64/libc.so.6
#24 0x0000000000400649 in _start ()
(gdb) q

----------
components: Interpreter Core
messages: 205138
nosy: Level
priority: normal
severity: normal
status: open
title: PyCFunction_NewEx() SIGABRT
type: crash
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19879>
_______________________________________


More information about the New-bugs-announce mailing list