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,uCRi)
[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.
0x76e2e8e5 in raise () from /lib64/libc.so.6
(gdb) bt
#0 0x76e2e8e5 in raise () from /lib64/libc.so.6
#1 0x76e300c5 in abort () from /lib64/libc.so.6
#2 0x77b2823e in Py_FatalError () from /usr/lib64/libpython2.6.so.1.0
#3 0x77ab3175 in PyCFunction_NewEx () from
/usr/lib64/libpython2.6.so.1.0
#4 0x77b24b18 in Py_InitModule4_64 () from
/usr/lib64/libpython2.6.so.1.0
#5 0x70b66abe in initsyslog () from
/usr/lib64/python2.6/lib-dynload/syslog.so
#6 0x77b21865 in _PyImport_LoadDynamicModule () from
/usr/lib64/libpython2.6.so.1.0
#7 0x77b1f8a5 in ?? () from /usr/lib64/libpython2.6.so.1.0
#8 0x77b1fb24 in ?? () from /usr/lib64/libpython2.6.so.1.0
#9 0x77b2017d in ?? () from /usr/lib64/libpython2.6.so.1.0
#10 0x77b20ee4 in PyImport_ImportModuleLevel () from
/usr/lib64/libpython2.6.so.1.0
#11 0x77b0671f in ?? () from /usr/lib64/libpython2.6.so.1.0
#12 0x77a7ac63 in PyObject_Call () from /usr/lib64/libpython2.6.so.1.0
#13 0x77b06c93 in PyEval_CallObjectWithKeywords () from
/usr/lib64/libpython2.6.so.1.0
#14 0x77b0a33f in PyEval_EvalFrameEx () from
/usr/lib64/libpython2.6.so.1.0
#15 0x77b0db8f in PyEval_EvalFrameEx () from
/usr/lib64/libpython2.6.so.1.0
#16 0x77b0e657 in PyEval_EvalCodeEx () from
/usr/lib64/libpython2.6.so.1.0
#17 0x77aa1cb0 in ?? () from /usr/lib64/libpython2.6.so.1.0
#18 0x77a7ac63 in PyObject_Call () from /usr/lib64/libpython2.6.so.1.0
#19 0x77b06c93 in PyEval_CallObjectWithKeywords () from
/usr/lib64/libpython2.6.so.1.0
#20 0x77b29cc2 in PyErr_PrintEx () from /usr/lib64/libpython2.6.so.1.0
#21 0x77b2a287 in PyRun_SimpleFileExFlags () from
/usr/lib64/libpython2.6.so.1.0
#22 0x77b368a2 in Py_Main () from /usr/lib64/libpython2.6.so.1.0
#23 0x76e1acdd in __libc_start_main () from /lib64/libc.so.6
#24 0x00400649 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 rep...@bugs.python.org
http://bugs.python.org/issue19879
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com