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 = dt_masks_dynbuf_init(MAX(10 * nb, 100), "path intersections");

If this works it implies that this code is called with nb == 0, meaning a path with no nodes. Which is strange.

Ulrich

Am 16.02.2017 um 00:11 schrieb 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, 
line 324.
Abort trap (core dumped)

'add circle' and 'add ellipse' in the same tool work without any problems.

darktable version: 2.2.3 (binary package from FreeBSD repo)
OS: FreeBSD 11-STABLE amd64

kind regards
Michael Figiel

___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to [email protected]

Reply via email to