[Python-Dev] segfault in struct module

Jean-Paul Calderone exarkun at divmod.com
Tue Jun 10 18:04:03 CEST 2008


    exarkun at charm:~$ ~/Projects/python/trunk/python
    Python 2.6a3+ (trunk:63964, Jun  5 2008, 16:49:12)
    [GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import struct
    >>> struct.pack("357913941c", 'a')
    Segmentation fault
    exarkun at charm:~$

The unit test for exactly this case was deleted in r60892.  I would like to
suggest that just deleting unit tests isn't a very good idea.

Jean-Paul


More information about the Python-Dev mailing list