matplotlib work only under root user

Hi,

I installed matplotlib and only the root user can execute a matplotlib
script without freezing the computer. Under root, everything seem
working well. As a simple user, the script freeze without displaying
anything and only a kill signal can stop the process.

I tried GTK and GTKagg backend and nothing changes. The same thing
append at a plot call in interactive mode.

Someone have an idea of what is going on ?

Thanks,

Jean-Francois Dupuis

OS : Linux 2.6.10-1.770_FC3smp

Here are some output of a simple script :

simple.py :System infos
  from pylab import *
  plot([1,2,3])
  show()

As simple user :

python simple.py --verbose-debug-annoying

matplotlib data path /usr/share/matplotlib
loaded rc file /usr/share/matplotlib/.matplotlibrc
matplotlib version 0.80
verbose.level debug-annoying
interactive is False
platform is linux2
loaded modules: ['pylab', '__future__', 'copy_reg', 'sre_compile',
'distutils', 'itertools', '_sre', 'japanese.aliases', 'site',
'__builtin__', 'datetime', 'encodings', 'encodings.encodings',
'sre_constants', 'distutils.string', 'dateutil', 'matplotlib.datetime',
'posixpath', 'matplotlib.warnings', 'encodings.codecs',
'matplotlib.sys', 'pytz.datetime', 're', 'os.path', 'pytz.sys',
'_codecs', 'distutils.sysconfig', 'encodings.exceptions', 'pytz.sets',
'stat', 'zipimport', 'string', 'warnings', 'encodings.types',
'UserDict', 'encodings.utf_8', 'matplotlib', 'japanese', 'sys',
'japanese.aliases.encodings', 'pytz.tzinfo', 'pytz', '__main__',
'matplotlib.__future__', 'codecs', 'distutils.re', 'matplotlib.pytz',
'types', 'strop', 'matplotlib.dateutil', 'matplotlib.os', 'sre',
'bisect', 'matplotlib.distutils', 'signal', 'distutils.errors',
'linecache', 'distutils.os', 'posix', 'encodings.aliases', 'sets',
'exceptions', 'sre_parse', 'pytz.bisect', 'distutils.sys', 'os']
numerix Numeric 23.1
font search path ['/usr/share/matplotlib']
trying fontname /usr/share/matplotlib/VeraIt.ttf
trying fontname /usr/share/matplotlib/cmsy10.ttf
trying fontname /usr/share/matplotlib/VeraMoBd.ttf
trying fontname /usr/share/matplotlib/VeraSe.ttf
trying fontname /usr/share/matplotlib/cmmi10.ttf
trying fontname /usr/share/matplotlib/Vera.ttf
loaded ttfcache file /gel/usr/jfdupuis/.ttffont.cache
backend GTKAgg version 2.4.0

(... process killed after a while)

As root :

# python simple.py --verbose-debug-annoying
matplotlib data path /usr/share/matplotlib
loaded rc file /usr/share/matplotlib/.matplotlibrc
matplotlib version 0.80
verbose.level debug-annoying
interactive is False
platform is linux2
loaded modules: ['pylab', '__future__', 'copy_reg', 'sre_compile',
'distutils', 'itertools', '_sre', 'japanese.aliases', 'site',
'__builtin__', 'datetime', 'encodings', 'encodings.encodings',
'sre_constants', 'distutils.string', 'dateutil', 'matplotlib.datetime',
'posixpath', 'matplotlib.warnings', 'encodings.codecs',
'matplotlib.sys', 'pytz.datetime', 're', 'os.path', 'pytz.sys',
'_codecs', 'distutils.sysconfig', 'encodings.exceptions', 'pytz.sets',
'stat', 'zipimport', 'string', 'warnings', 'encodings.types',
'UserDict', 'encodings.utf_8', 'matplotlib', 'japanese', 'sys',
'japanese.aliases.encodings', 'pytz.tzinfo', 'pytz', '__main__',
'matplotlib.__future__', 'codecs', 'distutils.re', 'matplotlib.pytz',
'types', 'strop', 'matplotlib.dateutil', 'matplotlib.os', 'sre',
'bisect', 'matplotlib.distutils', 'signal', 'distutils.errors',
'linecache', 'distutils.os', 'posix', 'encodings.aliases', 'sets',
'exceptions', 'sre_parse', 'pytz.bisect', 'distutils.sys', 'os']
numerix Numeric 23.1
font search path ['/usr/share/matplotlib']
trying fontname /usr/share/matplotlib/VeraIt.ttf
trying fontname /usr/share/matplotlib/cmsy10.ttf
trying fontname /usr/share/matplotlib/VeraMoBd.ttf
trying fontname /usr/share/matplotlib/VeraSe.ttf
trying fontname /usr/share/matplotlib/cmmi10.ttf
trying fontname /usr/share/matplotlib/Vera.ttf
loaded ttfcache file /root/.ttffont.cache
backend GTKAgg version 2.4.0
FigureCanvasAgg.draw
RendererAgg.__init__
RendererAgg._get_agg_font
        findfont failed Lucida Grande
        findfont failed Verdana
        findfont failed Geneva
        findfont failed Lucida
        findfont found Bitstream Vera Sans, normal, normal 500, normal,
10.0
findfont returning /usr/share/matplotlib/Vera.ttf
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg._get_agg_font
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg._get_agg_font
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg._get_agg_font
RendererAgg.draw_text
RendererAgg._get_agg_font