[Image-SIG] Coredump of PIL 1.1.2

Heiko Wundram heikowu@ceosg.de
Sat, 14 Jul 2001 23:02:38 +0200


Hello List!

I know I'm not subscribed... But I'll do that some time later. ;)

Well, I recently installed PIL 1.1.2 on Python 2.1 on my dedicated Server (an 
i386 running Linux 2.4 on an altered RedHat 7.0 installation), and when I try 
to run the following snippet of code, I get a coredump while trying to create 
the thumbnail for the picture.

self.mutex.acquireShared()
im = Image.open(x)
im.thumbnail(self.size) <--- Coredump while in this function...
self.mutex.acquireExclusive() <--- Not relevant ;) At least I guess so...
im.save(outfile,"JPEG")
self.mutex.free()

Read-Write Permissions, etc. are set correctly!

I wrote the code on a box with almost equal hardware, but with my selfcreated 
Linux-Distro, and here it runs, even for the same images...! Dunno what I do 
wrong!

btw. the mutex object above tries to keep several concurrent CGIs out of each 
others "critical" part. Shouldn't have to do anything with the error I am 
experiencing.

Anyone had similar problems, and knows a fix? I'll try and download PIL 1.1.1 
now, maybe thatone doesn't have the problem?! 

-- 
Yours sincerely,

	Heiko Wundram