On Tue, 30 Dec 2003 13:42:16 +0000 Simon Wistow <[EMAIL PROTECTED]> babbled:

> 
> I'm hoping to use Imlib2 in a project at work but we make extensive use 
> of 32 Bit TIFFs. However, using any of the test_32bit*.tif files in here
> 
>       http://www.thegestalt.org/simon/tiffs/
> 
> with the example imlib2_convert program gives ...

aaah. found it. the segv is thanks to me  not handling the error message things
properly in libtiff - but libtiff doesnt want to load the images at all. it's
not having a bar of it. if i call
   if (!TIFFRGBAImageOK(tif, txt))
     {
        TIFFClose(tif);
        return 0;
     }
it errors out. libtiif is saying th eimage is not ok :( i guess libtiff just
doesnt like it, or i need to updeate libtiff (i've got 3.5.7 too), or theres
soem magic i need to do to make it be happy with this file! :) so in the end its
libtiff here :) i've fixed my error handlign and now imlib2 wont segv, but it
still wont load it thanks to libtiff erroring out.

> (gdb) set args test_32bit_NONE_image.tif out_test_32bit_NONE_image.tif
> (gdb) run
> Starting program: 
> imlib2_convert 
> test_32bit_NONE_image.tif out_test_32bit_NONE_image.tif
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x4016f07a in mempcpy () from /lib/libc.so.6
> (gdb) bt
> #0  0x4016f07a in mempcpy () from /lib/libc.so.6
> #1  0x40163de6 in _IO_default_xsputn_internal () from /lib/libc.so.6
> #2  0x4013c75f in vfprintf () from /lib/libc.so.6
> #3  0x401591ac in vsprintf () from /lib/libc.so.6
> #4  0x401468dd in sprintf () from /lib/libc.so.6
> (gdb) quit
> 
> Is this a problem with the Imlib TIFF loader or with libtiff itself?
> 
> [EMAIL PROTECTED] tiffs $ uname -a
> Linux kanga.astray.com 2.4.19-gentoo-r10 #6 Wed May 7 20:56:57 BST 2003 
> i686 Celeron (Coppermine) GenuineIntel GNU/Linux
> 
> [EMAIL PROTECTED] tiffs $ imlib2-config  --version
> 1.1.0
> [EMAIL PROTECTED] tiffs $ ls /usr/lib/*tiff.so* 
> /usr/lib/libimlib-tiff.so  
> /usr/lib/libtiff.so  
> /usr/lib/libtiff.so.3  
> /usr/lib/libtiff.so.3.5.7
> 
> 
> 
> I'm also wondering if anybody happens to have written loaders for these 
> formats? I suspect not since they're fairly specialised but I figured it 
> was worth asking
> 
>       OpenEXR
>       Cineon / DPX
> 
> Cheers,
> 
> Simon
> 
> 
> -- 
> i try not to let pedantry get in the way of a glib remark
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
> Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> _______________________________________________
> enlightenment-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
熊耳 - 車君                         [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to