Open arielsbecker opened 4 days ago
Adding this as it might be helpful.
Console output:
QGIS died on signal 11Extra Info File: /tmp/qgis-crash-info-90541
Could not attach to process. If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf
ptrace: Operation not permitted.
No thread selected
No stack.
gdb returned 256
Aborted (core dumped)
That qgis-crash-info-90541 file isn't of much help, but I'm pasting here its contents anyway.
/dev/cpp/QGIS/build-master$ cat /tmp/qgis-crash-info-90541
90541
0
/tmp/qgis-python-crash-info-90541
./output/bin/qgis "/home/ariel/Documents/Projects/SIG/SIG personal/sig-personal.qgs"
QGIS Version: 3.34.13-Prizren
QGIS code branch: Release 3.34
Compiled against Qt: 5.15.3
Running against Qt: 5.15.3
Compiled against GDAL: 3.4.1
Running against GDAL: 3.4.1
Update: I think it crashes due to the fact I compiled without Python support.
However, now that I'm trying to ccmake with DWITH_PY_COMPILE = ON, I'm experiencing the same as reported in #35440 (WITH_PY_COMPILE option is broken).
Here's the last output of ccmake:
CMake Error at python/CMakeLists.txt:38 (add_custom_command):
No TARGET 'pyutils' has been created in this directory.
Call Stack (most recent call first):
python/processing/CMakeLists.txt:22 (PY_COMPILE)
WITH_BINDINGS ?
What is the bug or the crash?
User Feedback
I have a custom QT form in place for a vector layer. It's loaded from a .ui file. It also has a .py code associated.
On QGIS 3.22 it worked just fine.
I compiled this new version (3.34.13-Prizren) following the instructions on the INSTALL.md file. Everything else seems to work fine. It is only custom Python code that fails this way.
Report Details
Python Stack Trace
Stack Trace No stack trace is available.
QGIS Info QGIS Version: 3.34.13-Prizren QGIS code branch: Release 3.34 Compiled against Qt: 5.15.3 Running against Qt: 5.15.3 Compiled against GDAL: 3.4.1 Running against GDAL: 3.4.1
System Info CPU Type: x86_64 Kernel Type: linux Kernel Version: 6.8.0-49-generic
Steps to reproduce the issue
Add this sample vector layer. It's EPSG:4326.
{ "type": "FeatureCollection", "name": "conurbaguessr", "features": [ { "type": "Feature", "properties": { "categoryColor": "#FF0000", "categoryId": 1, "categoryName": "Rotondas", "createdAt": "2024-11-22T23:06:08", "description": "Rotonda de Alpargatas", "id": 1 }, "geometry": { "type": "Point", "coordinates": [ -58.189191888998657, -34.840859582770449 ] } }, { "type": "Feature", "properties": { "categoryColor": "#FFFF00", "categoryId": 3, "categoryName": "Puentes", "createdAt": "2024-11-22T23:06:08", "description": "Puente 12", "id": 2 }, "geometry": { "type": "Point", "coordinates": [ -58.513435744846767, -34.722463364053183 ] } }, { "type": "Feature", "properties": { "categoryColor": "#0000FF", "categoryId": 2, "categoryName": "Cruces", "createdAt": "2024-11-22T23:06:08", "description": "Cruce de Varela", "id": 3 }, "geometry": { "type": "Point", "coordinates": [ -58.260453305725385, -34.782107900845403 ] } }, { "type": "Feature", "properties": { "categoryColor": "#0000FF", "categoryId": 2, "categoryName": "Cruces", "createdAt": "2024-11-22T23:06:08", "description": "Cruce de Castelar", "id": 4 }, "geometry": { "type": "Point", "coordinates": [ -58.748751983872666, -34.584687891203686 ] } }, { "type": "Feature", "properties": { "categoryColor": "#FFFF00", "categoryId": 3, "categoryName": "Puentes", "createdAt": "2024-11-22T23:06:08", "description": "Puente Alsina", "id": 5 }, "geometry": { "type": "Point", "coordinates": [ -58.416692175731029, -34.65961634454046 ] } } ] }
Use this custom QT form (minified here so it doesn't occupy the entire screen).
Now associate this Python code
Open the vector layer in edit mode. Try to identify a feature, or create a new one. Either way, it crashes. On 3.22 it works perfectly fine.
Versions
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
QGIS version | 3.34.13-Prizren | QGIS code branch | Release 3.34 -- | -- | -- | -- 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.13 (Ubuntu 14.13-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 | | | Active Python plugins digitizr | 1.2.0 grassprovider | 2.12.99 MetaSearch | 0.3.6 db_manager | 0.1.20 processing | 2.12.99 QGIS version 3.34.13-Prizren QGIS code branch [Release 3.34](https://github.com/qgis/QGIS/tree/release-3_34) 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.13 (Ubuntu 14.13-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 Active Python plugins digitizr 1.2.0 grassprovider 2.12.99 MetaSearch 0.3.6 db_manager 0.1.20 processing 2.12.99 ### Supported QGIS version - [X] I'm running a supported QGIS version according to [the roadmap](https://www.qgis.org/en/site/getinvolved/development/roadmap.html#release-schedule). ### New profile - [X] I tried with a new [QGIS profile](https://docs.qgis.org/latest/en/docs/user_manual/introduction/qgis_configuration.html#working-with-user-profiles) ### Additional context My QGIS installation is compiled from source. No errors were found during compilation.