problems saving as pdf in Snow Leopard using python 2.7.1 from python.org

Hi, I am running matplotlib 1.0.0 on python 2.7.1 (r271:86882M, Nov 30
2010, 09:39:13) in snow leopard from python.org and I have come across
a problem saving pdf files.

Trying the simple script:

import matplotlib.pyplot as pt
pt.plot([1, 2, 3])
pt.savefig("figure.pdf")

Causes a bus error and a python crash.

There is a previous thread in the list that suggests that the problem
is not matplotlib related. However, that thread refers to EPD, which
is not my case. The apparent solution in that thread was deleting
DYLD_LIBRARY_PATH from .profile (don't understand why), but I don't
have such environment variable defined.

Has anyone come across anything like that?

Many thanks!

Angel