A 10000x10000 array reproduces the error:

milkyway /data/glimpseii $ gdb /usr/local/python/bin/python
GNU gdb Red Hat Linux (
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu"...Using host
libthread_db library "/lib64/tls/libthread_db.so.1".

(gdb) run
Starting program: /usr/local/python/bin/python
[Thread debugging using libthread_db enabled]
[New Thread 182900715072 (LWP 19947)]
Python 2.5 (r25:51908, Dec 22 2006, 16:08:43)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from pylab import *
>>> x=rand(10000,10000)
>>> imshow(x)
<matplotlib.image.AxesImage object at 0x2a9f532390>
>>> show()

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 182900715072 (LWP 19947)]
0x0000002a9eac7ab5 in _image_module::fromarray (this=Variable "this"
is not available.
) at src/image.cpp:872
872     src/image.cpp: No such file or directory.
        in src/image.cpp
Current language:  auto; currently c++

> Could you try and create an image using random data that is the same
> dimensions and datatype as the fits data you are using htat replicates the
> segfault, so we can try and reproduce the error as well as add it to our
> test suite?
> Thanks

Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing 
server and web deployment.
Matplotlib-users mailing list

Reply via email to