segfault using shutil.make_archive

Tim jtim.arnold at gmail.com
Thu Oct 6 12:46:45 EDT 2016


I need to zip up a directory that's about 400mb.
I'm using shutil.make_archive and I'm getting this response:

    Segmentation fault: 11 (core dumped)

The code is straightforward (and works on other, smaller dirs):

    shutil.make_archive(os.path.join(zip_dir, zname), 'zip', tgt_dir)

I guess I could drop the convenience of make_archive and use zipfile but that seems to be exactly what make_archive does.

I'm on FreeBSD, python2.7.

Anyone seen this before?

thanks,
--tim





More information about the Python-list mailing list