pix_image crashing with "bad" files (was Re: [GEM-dev] new win32 build)

IOhannes m zmoelnig zmoelnig at iem.at
Thu May 4 13:37:20 CEST 2006


cyrille henry wrote:

> i just found that pd crash when i try to load bad file with pix_image, 
> after loading a valid file.
> 
> "bad files" mean :
> files that does not exist
> files that are not jpeg or tiff
> 

i just got the same behaviour with the most recent libstdc++: raising 
exceptions results in a crash!
(which is normal if you don't catch the exception; however with certain 
combinations of compiler++/libstdc++ it also crashes when the exception 
ought to be caught)

now the ImageMagick code does throw an exception when the image-loading 
fails, but it is usually caught. so this might explain what happened to you.

this is all related to my recent upgrade to debian/sid; (the crashes 
occur when libstdc++6-4.1.0-1+b1 is installed but not with 
libstdc++6-4.0.2-9)

other objects involved are e.g. [pix_freeframe] when no (valid) 
freeframe-plugin is given as argument.


mfg.asd.r
IOhannes




More information about the GEM-dev mailing list