Thank you for reporting this, it should be fixed now in the following commit:

commit 0ae79c07257923457914f5e63e19355d7772c624
Author: Roman Lebedev <lebedev...@gmail.com>
Date:   Mon Jun 6 21:56:34 2016 +0300

    Generate-cache: comparing signed and unsigned integers is bad

    Fixes a bug introduced in previous commit.
    min_mip is dt_mipmap_size_t, which is unsigned,
    and k is signed. So when k becomes -1, it is
    4294967295, which is bigger than any maximal
    mipmap size (7), so we have issues...


Roman.

On Mon, Jun 6, 2016 at 9:07 PM, Wolfgang Goetz <wolfgang.zt...@web.de> wrote:
> Hi,
>
> actual git build has problems with darktable-generate-cache:
>
> strace -f -o dtgenc.str /usr/bin/darktable-generate-cache
> creating complete lighttable thumbnail cache
> creating cache directories
> creating cache directory 
> '/home/goetz/.cache/darktable/mipmaps-a4cd72ccd971fe7e3411548419df6506c774f32f.d/0'
> creating cache directory 
> '/home/goetz/.cache/darktable/mipmaps-a4cd72ccd971fe7e3411548419df6506c774f32f.d/1'
> creating cache directory 
> '/home/goetz/.cache/darktable/mipmaps-a4cd72ccd971fe7e3411548419df6506c774f32f.d/2'
> [..consuming 100% cpu, manually ^c after a while...]
>
>
> from above strace:
> 4407 
> access("/home/goetz/.cache/darktable/mipmaps-a4cd72ccd971fe7e3411548419df6506c774f32f.d/-69735/1.jpg",R_OK)
>  = -1 ENOENT (No such file or directory)
>
>
>
>
>
>
> check: older one is ok:
> commit 023110ecf102f37fe3e82a692a81e3478dc5995b
> Author: johannes hanika <hana...@gmail.com>
> Date:   Mon May 16 20:39:38 2016 +0200
>
>
> /opt/darktable/bin/darktable-generate-cache
> ...
> image 52803/52805 (100,00%)
> image 52804/52805 (100,00%)
> image 52805/52805 (100,00%)
> done
>
>
>
>
>
>
> kind regards
> Wolfgang
___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org

Reply via email to