QgsHistoryProviderRegistry signals crash when receivers are connected #58012
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Crash/Data Corruption
PyQGIS
Related to the PyQGIS API
What is the bug or the crash?
If a receiver function is connected to
QgsHistoryProviderRegistry
either for theentryAdded
orentryUpdated
signals, when the next entry is added/updated via running a processing algorithm QGIS hangs than crashes.Tested with functions that use the entries as well very simple (
print("entry added")
) functions, the crash happens every time.Crash report:
Report Details
Python Stack Trace
Stack Trace
QGIS Info
QGIS Version: 3.34.6-Prizren
QGIS code revision: 623828f
Compiled against Qt: 5.15.13
Running against Qt: 5.15.13
Compiled against GDAL: 3.8.5
Running against GDAL: 3.8.5
System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.22631
Steps to reproduce the issue
I used
native:geometrybyexpression
with a polygon geojson file input and the following expression as a test subject, but it happens with any other algorithm as well.'EXPRESSION':'point_n($geometry,num_points($geometry))'
Versions
<style type="text/css"> p, li { white-space: pre-wrap; } </style>Active Python plugins
example_plugin
0.1
pluginbuilder3
3.2.1
plugin_reloader
0.9.3
QuickOSM
2.2.3
db_manager
0.1.20
grassprovider
2.12.99
MetaSearch
0.3.6
processing
2.12.99
Supported QGIS version
New profile
Additional context
No response
The text was updated successfully, but these errors were encountered: