Re: [darktable-dev] darktable 2.2.3 crashes on selection of add path

2017-02-17 Thread Ulrich Pegelow
Am 17.02.2017 um 16:07 schrieb Michael Figiel: Hi, now I've got two binaries: one crashes and one doesn't. Both are without the fix, build with pristine 2.2.3 sources: the not-crashing is build as RelWithDebInfo, the crashing as Release I would have expected it the other way round, but OK.

Re: [darktable-dev] darktable 2.2.3 crashes on selection of add path

2017-02-17 Thread Michael Figiel
Hi, now I've got two binaries: one crashes and one doesn't. Both are without the fix, build with pristine 2.2.3 sources: the not-crashing is build as RelWithDebInfo, the crashing as Release Btw. the compiler is llvm: # clang -v FreeBSD clang version 3.9.1 (tags/RELEASE_391/final 289601) (based

Re: [darktable-dev] darktable 2.2.3 crashes on selection of add path

2017-02-16 Thread Ulrich Pegelow
Am 16.02.2017 um 10:17 schrieb Michael Figiel: If this works it implies that this code is called with nb == 0, meaning a path with no nodes. Which is strange. I've rebuilt darktable with the line patched and the problem went away, the paths are usable. Thank you! To be sure, I built dt without

Re: [darktable-dev] darktable 2.2.3 crashes on selection of add path

2017-02-15 Thread Ulrich Pegelow
Hi, I can't reproduce here but judging from your description I assume that the issue gets triggered in path.c line 529. If you can compile from source you might try to replace intersections = dt_masks_dynbuf_init(10 * nb, "path intersections"); by intersections =

[darktable-dev] darktable 2.2.3 crashes on selection of add path

2017-02-15 Thread Michael Figiel
Hello, darktable reproducible crashes if I try to select 'add path' in any tool (e.g. in 'spot removal' or in monochrome->blending->'drawn mask'): Assertion failed: (size > 0), function dt_masks_dynbuf_init, file /wrkdirs/usr/ports/graphics/darktable/work/darktable-2.2.3/src/develop/masks.h,