This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author masamoto
Recipients mark.dickinson, masamoto, meador.inge, zach.ware
Date 2016-10-02.09:17:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1475399829.48.0.464642269918.issue28337@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2016-10-02 09:17:09masamotosetrecipients: + masamoto, mark.dickinson, meador.inge, zach.ware
2016-10-02 09:17:09masamotosetmessageid: <1475399829.48.0.464642269918.issue28337@psf.upfronthosting.co.za>
2016-10-02 09:17:09masamotolinkissue28337 messages
2016-10-02 09:17:09masamotocreate