I don't understand it completely, but I have a theory.

Can you try an experiment for me?

In imagecache.cpp, line 2113, you'll see ImageCache::check:max_mem().
Please add the following at the very start of the function body, immediately 
BEFORE the DASSERT of line 2113:

#ifndef NDEBUG
    if (m_mem_used >= (long long)m_max_memory_bytes*10) {
        std::cout << "Huh? m_mem_used=" << m_mem_used
                  << " max_mememory_bytes=" << m_max_memory_bytes << "\n";
        std::cout << " 10*max_mememory_bytes=" << (long 
long)m_max_memory_bytes*10 << "\n";
        std::cout << "Size of long long is " << sizeof(long long) << "\n";
        std::cout << "Size of atomic_ll is " << sizeof(atomic_ll) << "\n";
    }
#endif

And then let's try again and see what prints. 



> On Jan 13, 2016, at 1:25 AM, Matteo F. Vescovi <[email protected]> wrote:
> 
> Hi!
> 
> On Tue, Jan 12, 2016 at 9:26 AM Matteo F. Vescovi <[email protected] 
> <mailto:[email protected]>> wrote:
> I guess I'm gonna try it later today (CET), since I'm at work place now.
> Feel free to have some sleep now ;-)
> I'll let you know if it works when you wake up.
> 
> So, it builds... almost.
> 
> It fails on the final stage, while creating the images, it seems.
> 
> Please a look at [1] and tell me if you see something suspicious there.
> 
> Cheers.
> 
> mfv
> 
> 
> [1] 
> http://debomatic-i386.debian.net/distribution#experimental/openimageio/1.6.9~dfsg0-2/buildlog
>  
> <http://debomatic-i386.debian.net/distribution#experimental/openimageio/1.6.9~dfsg0-2/buildlog>
> -- 
> Matteo F. Vescovi
> 
> _______________________________________________
> Oiio-dev mailing list
> [email protected]
> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

--
Larry Gritz
[email protected]


_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to