FS#66552 - [inkscape] 1.0-2 powerpencil crashes with Release build None (asserts)

Attached to Project: Arch Linux
Opened by Nathan Lee (nathanal) - Tuesday, 05 May 2020, 17:42 GMT
Last edited by Gaetan Bisson (vesath) - Wednesday, 06 May 2020, 06:08 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Inkscape crashes with snapping/powerpencil usage due to asserts going off. This is due to asserts failing.

I think the reason None is used is https://wiki.archlinux.org/index.php/CMake_package_guidelines#CMake_can_automatically_override_the_default_compiler_optimization_flag

It'd be good to use the Release build or at least -DNDEBUG
as Inkscape developers expect asserts to be ignored in releases.

Additional info:
* inkscape 1.0-2 (Inkscape 1.0 (4035a4fb49, 2020-05-01))
* Not relevant but examples of crashes: https://gitlab.com/inkscape/inbox/-/issues/2418 https://gitlab.com/inkscape/inkscape/-/issues/197 https://gitlab.com/inkscape/inkscape/-/issues/194

Steps to reproduce:
1. Run Inkscape
2. Switch to pencil tool and enable pressure sensitivity (one of the buttons in the toolbar)
3. Draw, crash due to asserts.

See https://gitlab.com/inkscape/inbox/-/issues/2418 (b
This task depends upon

Closed by  Gaetan Bisson (vesath)
Wednesday, 06 May 2020, 06:08 GMT
Reason for closing:  Fixed
Additional comments about closing:  inkscape-1.0-3
Comment by Gaetan Bisson (vesath) - Tuesday, 05 May 2020, 21:25 GMT
Could you please confirm that inkscape-1.0-3 fixes this issue?
Comment by Nathan Lee (nathanal) - Wednesday, 06 May 2020, 03:07 GMT
Confirmed it fixes it, thanks for the fast response!

Loading...