qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.62k stars 3.01k forks source link

Crash while identifying element #59336

Open DavidMcVicar opened 1 week ago

DavidMcVicar commented 1 week ago

What is the bug or the crash?

It looks like it has to do with mesh layers.

Steps to reproduce the issue

User Feedback

Clicked on an element to identify it

Report Details

Python Stack Trace

Windows fatal exception: access violation

Current thread 0x00002eb4 (most recent call first):
  <no Python frame>

Stack Trace


QgsMeshSpatialIndex::intersects :
QgsTriangularMesh::edgeIndexesForRectangle :
QgsMeshLayer::closestEdge :
QgsMeshLayer::snapOnElement :
QgsMapToolIdentify::identifyMeshLayer :
QgsMapToolIdentify::identifyMeshLayer :
QgsMapToolIdentify::identifyLayer :
QgsMapToolIdentify::identify :
QgsMapToolIdentifyAction::identifyFromGeometry :
QObject::qt_static_metacall :
QList<QgsGeorefDataPoint * __ptr64>::fromVector :
QgsMapToolSelect::setSelectionMode :
QgsMapToolSelect::setSelectionMode :
QgsMapToolIdentifyAction::canvasReleaseEvent :
QgsMapCanvas::mouseReleaseEvent :
QWidget::event :
QFrame::event :
QGraphicsView::viewportEvent :
QCoreApplicationPrivate::sendThroughObjectEventFilters :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QApplicationPrivate::sendMouseEvent :
QSizePolicy::QSizePolicy :
QSizePolicy::QSizePolicy :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QGuiApplicationPrivate::processMouseEvent :
QWindowSystemInterface::sendWindowSystemEvents :
QEventDispatcherWin32::processEvents :
qt_plugin_query_metadata :
QEventLoop::exec :
QCoreApplication::exec :
main :
BaseThreadInitThunk :
RtlUserThreadStart :

QGIS Info QGIS Version: 3.40.0-Bratislava QGIS code revision: b56115d874 Compiled against Qt: 5.15.13 Running against Qt: 5.15.13 Compiled against GDAL: 3.9.3 Running against GDAL: 3.9.3

System Info CPU Type: x86_64 Kernel Type: winnt Kernel Version: 10.0.22631

Versions

QGIS version3.40.0-Bratislava
QGIS code revisionb56115d874
 
Libraries
Qt version5.15.13
Python version3.12.7
GDAL/OGR version3.9.3
PROJ version9.5.0
EPSG Registry database versionv11.016 (2024-08-31)
GEOS version3.13.0-CAPI-1.19.0
SQLite version3.46.1
PDAL version2.8.1
PostgreSQL client versionunknown
SpatiaLite version5.1.0
QWT version6.3.0
QScintilla2 version2.14.1
OS versionWindows 11 Version 2009
 
Active Python plugins
dimensioning0.2
profiletool4.2.6
ProjectPackager0.7.4
qfieldsyncv4.11.0
quick_map_services0.19.34
db_manager0.1.20
processing2.12.99

Supported QGIS version

New profile

Additional context

The bug is specific to this particular project. If I open a different project everything works fine

Djedouas commented 1 week ago

The bug is specific to this particular project. If I open a different project everything works fine

Hi, could you provide a zip file of this specific project please? Thanks.

DavidMcVicar commented 1 week ago

Hello Jacky

Thank you very much for the quick response. I have zipped up my project, it a bit on the large size.

Respectfully

David

[https://res.public.onecdn.static.microsoft/assets/mail/file-icon/png/zip_16x16.png]Infrastructure.ziphttps://manitoubeach-my.sharepoint.com/:u:/g/personal/planning_manitoubeach_ca/EavaVzhEP7NGhWTRAWisDmwBV6cdmcWSt3oHYBRQmobHyg


From: Jacky Volpes @.> Sent: Tuesday, November 5, 2024 11:37 AM To: qgis/QGIS @.> Cc: David @.>; Author @.> Subject: Re: [qgis/QGIS] Crash while identifying element (Issue #59336)

The bug is specific to this particular project. If I open a different project everything works fine

Hi, could you provide a zip file of this specific project please? Thanks.

— Reply to this email directly, view it on GitHubhttps://github.com/qgis/QGIS/issues/59336#issuecomment-2457792219, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BMV7XLC7WRXEAA6Q2CK4WITZ7D64RAVCNFSM6AAAAABRG7ZDT2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJXG44TEMRRHE. You are receiving this because you authored the thread.

Djedouas commented 1 week ago

Hi, please prefer to comment directly on GitHub, the attachments don't follow by email.

If it is too large, you can host the file on a third platform and paste the link here :)

DavidMcVicar commented 1 week ago

A link to the project file: with proper permisions https://manitoubeach-my.sharepoint.com/:f:/g/personal/planning_manitoubeach_ca/EgS_HPL4dxBApcvEaYOXoDUB_E7sHss5DFIet4tuODC0aw?e=Xglcx8

DavidMcVicar commented 1 week ago

Hi Again

The following link should work for everyone.

​[https://res.cdn.office.net/assets/mail/file-icon/png/folder_16x16.png]Infrastructurehttps://manitoubeach-my.sharepoint.com/:f:/g/personal/planning_manitoubeach_ca/EgS_HPL4dxBApcvEaYOXoDUB_E7sHss5DFIet4tuODC0aw?e=Xglcx8


From: Jacky Volpes @.> Sent: Tuesday, November 5, 2024 11:56 AM To: qgis/QGIS @.> Cc: David @.>; Author @.> Subject: Re: [qgis/QGIS] Crash while identifying element (Issue #59336)

Hi, please prefer to comment directly on GitHub, the attachments don't follow by email.

If it is too large, you can host the file on a third platform and paste the link here :)

— Reply to this email directly, view it on GitHubhttps://github.com/qgis/QGIS/issues/59336#issuecomment-2457828977, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BMV7XLFANU2HEE7KPGWGLSDZ7EBERAVCNFSM6AAAAABRG7ZDT2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJXHAZDQOJXG4. You are receiving this because you authored the thread.