[issue28337] Segfault in _struct.unpack_iterator
Masayuki Yamamoto
report at bugs.python.org
Sun Oct 2 05:17:09 EDT 2016
New submission from Masayuki Yamamoto:
After #21224 was applied into default branch, the _struct.unpack_iterator has crashed by segfault.
reproduce segfault:
$ uname -a
Linux masayuki-P35-DS3 4.4.0-38-generic #57-Ubuntu SMP Tue Sep 6 15:41:41 UTC 2016 i686 i686 i686 GNU/Linux
$ hg update -C -r "branch(default)"
$ ./configure --prefix=/opt/py35 --without-threads --with-system-ffi --with-system-expat
$ make
(build succeed)
$ ./python
Python 3.7.0a0 (default:6f299f7d6643, Oct 2 2016, 17:50:08)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import struct
>>> it = struct.iter_unpack('b', b'123')
>>> type(it)
(segfault happens)
----------
components: Extension Modules
messages: 277867
nosy: mark.dickinson, masamoto, meador.inge, zach.ware
priority: normal
severity: normal
status: open
title: Segfault in _struct.unpack_iterator
type: crash
versions: Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28337>
_______________________________________
More information about the Python-bugs-list
mailing list