Open CoryAlbrecht opened 8 months ago
Fatal: ASSERT: "pts.size() == sm.size()" in file ./src/app/qgsmaptoolreshape.cpp, line 217
@CoryAlbrecht, I guess the crash should occur only using a debug build with assertions turned on.
@lbartoletti, may you please have a look at this? The Q_ASSERT
has been introduced with 2ee176b717f7b6c7eea1b1f1b627ed6816eec68e (https://github.com/qgis/QGIS/pull/31035).
Also happens to me in 3.34.2
@CoryAlbrecht, it would be useful if you provide a sample layer and exact steps that lead to the crash. The issue doesn't occur on my Windows system using the latest QGIS 3.35.0-Master MinGW64 build at cbc17eacb33dbbb07f3feb2892da3579e68d031d (with assertions turned off) using a generic polygon memory layer.
PostgreSQL 14.8 with PostGIS 3.3.1
/usr/local/pgsql-14/pg_dump --file "/var/lib/pgadmin/storage/pgadmin4_cory.albrecht.name/bop.tar" --host "pg1.db.cory.albrecht.name" --port "5432" --username "cory" --no-password --role "maps" --format=t --blobs --section=pre-data --section=data --section=post-data --create --clean --if-exists --disable-dollar-quoting --verbose --quote-all-identifiers --schema "bop" --schema "bop" "Alternate History"
The issue happens randomly. Fixing features with various processing tools makes no difference.
@lbartoletti, may you please have a look at this? The
Q_ASSERT
has been introduced with 2ee176b (#31035).
indeed.
@CoryAlbrecht could you test crashes with previous versions?
Any progress on this? Am experiencing periodic hard-crashes on 3.38 on Mac (installed from conda-forge). It is more likely to occur when I've tried a reshape where the outcome is a bit ambiguous (either affecting multiple polys or it's not immediately obvious which parts of a complex poly to fill or cut).
What is the bug or the crash?
QGIS crashes when right-clicking to finish use of reshape tool.
Console output from the start of the application:
Steps to reproduce the issue
Versions
QGIS version 3.35.0-Master QGIS code revision ca292a4ae13 Qt version 5.15.3 Python version 3.10.12 GDAL/OGR version 3.4.1 PROJ version 8.2.1 EPSG Registry database version v10.041 (2021-12-03) GEOS version 3.10.2-CAPI-1.16.0 SQLite version 3.37.2 PDAL version 2.3.0 PostgreSQL client version 14.10 (Ubuntu 14.10-0ubuntu0.22.04.1) SpatiaLite version 5.0.1 QWT version 6.1.4 QScintilla2 version 2.11.6 OS version Ubuntu 22.04.3 LTS
This copy of QGIS writes debugging output.
Active Python plugins quick_map_services 0.19.34 buffer_without_overlaps 0.2 splitmultipart 1.0.0 debug_vs 0.8 IPyConsole version 2.0 naficp 1.0 db-style-manager 0.8 GroupStats 2.2.7 QuickOSM 2.2.3 MetaSearch 0.3.6 db_manager 0.1.20 grassprovider 2.12.99 processing 2.12.99
Supported QGIS version
New profile
Additional context
No response