Hi!
On 2016-01-13 at 18:29 (CET), Larry Gritz wrote:
> 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.
http://debomatic-i386.debian.net/distribution#experimental/openimageio/1.6.9~dfsg0-2/buildlog
Thanks for your effort in fixing this.
Cheers.
--
Matteo F. Vescovi
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org