[SciPy-User] fromimage/imread segfaults on my images

Daniel Lenski dlenski@gmail....
Mon Mar 8 09:31:18 CST 2010


On Mon, 08 Mar 2010 15:09:37 +0000, Daniel Lenski wrote:

> I ran strace, and there's an attempt to mmap() a region as large as the
> image, one byte per pixel, immediately before the segfault:
> 
>   mmap(NULL, 21463040, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
>        -1, 0) = 0x7f278b5be000

Just to clarify... this system is running Linux 2.6, amd64 build, and has 
4gb of RAM.  So there's no reason why a 21 MB mmap would fail, normally.

Dan



More information about the SciPy-User mailing list