Hi! Forgot to attach a test case. It's really simple. Install python-vipscc and run the following (and also attached) Python script:
from vipsCC import * im = VImage.VImage("thisdoesnotexist.png") print im.Xsize() When you open and use a non-existing image file, it segfaults. The expected result is a Python exception (this used to work). I'm on Debian testing i386. The backtrace goes like this: #0 0xb6bc54fd in __cxa_allocate_exception () from /usr/lib/libstdc++.so.6 #1 0xb79e50f6 in vips::verror () from /usr/lib/libvipsCC.so.15 #2 0xb79cc4cc in vips::VImage::VImage () from /usr/lib/libvipsCC.so.15 #3 0xb7a1b7e2 in ?? () from /usr/lib/python2.5/site-packages/vipsCC/vimagemodule.so #4 0x0805d447 in PyObject_Call () Ole
from vipsCC import * im = VImage.VImage("thisdoesnotexist.png") print im.Xsize()