Project

General

Profile

Bug #11511

assertion failure when starting a path in a drawn mask

Added by Matthieu Moy 4 months ago. Updated 2 months ago.

Status:
Fixed
Priority:
Low
Assignee:
-
Category:
Darkroom
Target version:
Start date:
02/17/2017
Due date:
% Done:

100%

Affected Version:
git master branch
System:
Debian
bitness:
64-bit
hardware architecture:
amd64/x86

Description

I get a crash whenever I click the "add path" button in the "drawn mask" section of a module:

darktable: .../darktable-dev/src/develop/masks.h:324: dt_masks_dynbuf_init: Assertion `size > 0' failed.
zsh: abort      darktable-dev

This bisects to:

commit e86afe15a282bdc561eda49e55458220590d1a66 (refs/bisect/bad)
Author: Ulrich Pegelow <ulrich.pegelow@tongareva.de>
Date:   Thu Jan 5 19:53:43 2017 +0100

    masks: fix for #11429

    use auto-growing buffer instead of relying on any pre-calculated fixed size

The assertion failure is this one: https://github.com/darktable-org/darktable/blob/e86afe15a282bdc561eda49e55458220590d1a66/src/develop/masks.h#L324

History

#1 Updated by Antonio Ospite 4 months ago

Hi, I also see this crash in 2.2.3, maybe the bug priority should be raised.

Thanks,
Antonio

#3 Updated by Ulrich Pegelow 4 months ago

  • % Done changed from 0 to 100
  • Status changed from New to Fixed

Is fixed in master and in the 2.2.x branch.

#4 Updated by Roman Lebedev 2 months ago

  • Target version set to 2.4.0

Also available in: Atom PDF