Page MenuHome

Python tarfile module crashes Blender
Closed, ArchivedPublic

Description

Group: current SVN version
Resolution: Fixed
Category: Python

The following script will crash Blender:

import tarfile
print tarfile.is_tarfile("blender.html")

as will:

import tarfile
f = tarfile.open("blender.html")

Opening a valid .tar file does not crash Blender, but there is no way to test for a valid .tar file without Blender crashing, except maybe using TarFileCompat:

import tarfile
f = tarfile.TarFileCompat("test.tar.gz","r")

I have duplicated the crash in current CVS, RC1, and 2.42a, on two separate computers, both running windows. The script works fine from the python command-line interpretor.

Levi

Event Timeline

Willian Padovani Germano (ianwill) changed the task status from Unknown Status to Unknown Status.May 7 2007, 7:30 PM

This task was automatically closed as archived as part of migration, because the project or tracker this task belonged to is no longer active.