On Wed, Apr 17, 2013 at 12:32 AM, Stéfan van der Walt <stefan@sun.ac.za>wrote:
Can you give us a gdb traceback perhaps?
Um, I don't really get one, perhaps cos my Python is not configured properly? Here's the gdb output: In [7]: fr.write_multipage(im, 'image.tif') Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x000000000eb74970 0x0000000107ca8786 in FreeImage_AppendPage () (I've trimmed the start because it's littered with tons of "no debug data for file blah" statements.) Here's all I need to reproduce it: import numpy as npfrom skimage.io._plugins import freeimage_plugin as fr im0 = np.zeros((500, 500, 500), uint8) fr.write_multipage(im0, 'im.tif') Example in iPython: ~ $ ipython --pylab Welcome to pylab, a matplotlib-based Python environment [backend: MacOSX]. For more information, type 'help(pylab)'. In [1]: from skimage.io._plugins import freeimage_plugin as fr In [2]: im0 = np.zeros((500, 500, 500), uint8) In [3]: fr.write_multipage(im0, 'im0.tif') Segmentation fault: 11 Let me know if you get the same result...
participants (1)
-
Juan Nunez-Iglesias