Logo by kr0mat1k - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Follow us on Twitter
 
*
Welcome, Guest. Please login or register. April 25, 2024, 07:01:48 PM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: [1]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: 2.09-2 "zlib cannot deal with buffers..  (Read 1932 times)
0 Members and 1 Guest are viewing this topic.
smurfboard
Forums Newbie
*
Posts: 3


« on: November 01, 2016, 06:20:09 PM »

program is crashing when trying to write 16bit tiff files, message: "zlib cannot deal with buffers this size" , image size is 16000x28000 pixels, i have 32gb memory.
Logged
zebastian
Conqueror
*******
Posts: 121



« Reply #1 on: November 01, 2016, 07:18:45 PM »

The problem is inside of the tiff library, see also implementation here: https://trac.osgeo.org/gdal/browser/trunk/gdal/frmts/gtiff/libtiff/tif_zip.c?rev=12608
and look for your error "zlib cannot deal with buffers this size".
We will investigate if there is some way around this.
This issue is now tracked in github: https://github.com/buddhi1980/mandelbulber2/issues/148

Thanks for reporting  smiley
Logged
Buddhi
Fractal Iambus
***
Posts: 895



WWW
« Reply #2 on: November 01, 2016, 08:59:24 PM »

It's probably limitation of tiff format. I found the information that tiff format is adressed internally using 32-bit variables. It means that the TIFF file cannot be bigger than 4GB (or 2GB if there are used signed integers). This is something which I can't fix.
http://www.awaresystems.be/imaging/tiff/faq.html#q8

I have just rendered image at the same size, and I see that even PNG format have some issue (about 15% of bottom part of the image is corrupted). I need to check if there is any limitation in our code (I have to be sure that only 64-bit integers are used for image buffer size calculation) or it is a limitation of PNG format.

I was not able to check it before, because just for 3 weeks I have enough memory in my PC to do this kind of trials.
Logged

Buddhi
Fractal Iambus
***
Posts: 895



WWW
« Reply #3 on: November 01, 2016, 09:40:42 PM »

I have a very good information. There was a bug in our code which limited image size to 2GB (in one place there was result calculated as a integer instead of long integer). I have just tested that and see that it woks properly for 16-bit TIFF and PNG
This week I will release 2.09-3 which will have fix for this problem. Thank you smurfboard for reporting this. Without your trial I wouldn't know about this issue.
Logged

zebastian
Conqueror
*******
Posts: 121



« Reply #4 on: November 01, 2016, 10:33:47 PM »

Good catch, krzysztof! thanks for the fix grin

I am glad the problem is fixable in our code.
Logged
Buddhi
Fractal Iambus
***
Posts: 895



WWW
« Reply #5 on: November 04, 2016, 06:52:51 PM »

Buf fix is released: http://www.fractalforums.com/releases-b233/mandelbulber-v2-2-09/msg97052/#msg97052
Logged

cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #6 on: November 04, 2016, 07:18:20 PM »


hehe, i hope the buffix contains the bugfix cheesy sry had to
Logged

---

divide and conquer - iterate and rule - chaos is No random!
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Is this a good deal for a Mac Pro ? Non-Fractal related Chit-Chat David Makin 6 2694 Last post October 05, 2010, 03:57:27 AM
by David Makin
how to deal with wrong slogan logos ? Discuss Fractal Forums cKleinhuis 9 2118 Last post November 28, 2010, 05:13:04 AM
by The Rev
Mandelbulb buffers Mandelbulb 3d paragon5 2 1035 Last post May 15, 2011, 07:07:40 PM
by paragon5
Are all "particles/quarks/universe" fractals of "Extended Periodic Table(s)"? (new) Theories & Research sunshaker 4 2305 Last post January 15, 2016, 10:28:02 PM
by M Benesi
How to deal with the current youtube situation? Art Discussions TheRedshiftRider 5 3598 Last post June 16, 2016, 01:12:22 PM
by Caleidoscope

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.304 seconds with 26 queries. (Pretty URLs adds 0.033s, 2q)