Skip to content

Adding a new feature through attribute table on an empty layer crashes QGIS #65025

@ViperMiniQ

Description

@ViperMiniQ

What is the bug or the crash?

Trying to add a new feature by opening attribute table crashes QGIS as soon as you press the Add feature button.

Steps to reproduce the issue

1.) Create a temporary vector layer with no fields.
2.) Open attribute table.
3.) Click on Add feature button and observe crash.

Versions

QGIS version3.99.0-Master
QGIS code revision825888e6fa3
 
Libraries
Qt version6.10.1
Python version3.14.2
GDAL version3.11.5 — Eganville
PROJ version9.6.2
EPSG Registry database versionv12.013 (2025-05-26)
GEOS version3.14.1-CAPI-1.20.5
SFCGAL versionNo support
GeographicLib versionNo support
SQLite version3.50.2
PDAL version2.9.3
PostgreSQL client version18.1
SpatiaLite version5.1.0
QWT version6.2.0
QScintilla2 version2.14.1
OS versionFedora Linux 43 (KDE Plasma Desktop Edition)
This copy of QGIS writes debugging output.
 
Active Python plugins
MetaSearch0.3.6
db_manager0.1.20
grassprovider2.12.99
processing2.12.99

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions