Broken "Use pressure input" in "Draw free hand lines (P)" mode

Summary:

Inkscape crashes if the "Use pressure input" is enabled while in the "Draw free hand lines" mode

Steps to reproduce:

  • Press "P" to set the "Draw free hand lines" tool
  • Enable the "Use pressure input" option that appears at the top
  • make a stroke mouse/tablet both fail always when mouse/pen is released

What happened?

Inkscape crashes with following message in terminal

inkscape: /build/inkscape-lcFFbl/inkscape-1.0/src/2geom/intersection-graph.cpp:411: Geom::PathVector Geom::PathIntersectionGraph::_getResult(bool, bool): Assertion `!result.back().empty()' failed.

Emergency save activated! Emergency save completed. Inkscape will close now.

or

inkscape: /build/inkscape-lcFFbl/inkscape-1.0/src/2geom/intersection-graph.cpp:417: Geom::PathVector Geom::PathIntersectionGraph::_getResult(bool, bool): Assertion `n_processed == size() * 2' failed. Aborted

What should have happened?

Stroke is drawn

Version Info:

Linux Debian bullseye Inkscape 1.0 (4035a4fb49, 2020-05-01) Pango version: 1.44.7