Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.40.0 crash to quit qgis #59665

Closed
1 of 2 tasks
Geoscope19 opened this issue Nov 29, 2024 · 8 comments
Closed
1 of 2 tasks

3.40.0 crash to quit qgis #59665

Geoscope19 opened this issue Nov 29, 2024 · 8 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption Feedback Waiting on the submitter for answers stale Uh oh! Seems this work is abandoned, and the PR is about to close.

Comments

@Geoscope19
Copy link

What is the bug or the crash?

hello, very regularly qgis crash when closing a project (ctrl+Q). I copy below the crash report

Steps to reproduce the issue

The bug occurs when closing a project, whether it is registered or not

Versions

Version de QGIS3.40.0-Bratislava
Révision du codeb56115d874
 
Libraries
Version de Qt5.15.13
Version de Python3.12.7
Version de GDAL/OGR3.9.3
Version de Proj9.5.0
Version de la base de données du registre EPSGv11.016 (2024-08-31)
Version de GEOS3.13.0-CAPI-1.19.0
Version de SQLite3.46.1
Version de PDAL2.8.1
Version du client PostgreSQLunknown
Version de SpatiaLite5.1.0
Version de QWT6.3.0
Version de QScintilla22.14.1
Version de l'OSWindows 10 Version 2009
 
Extensions Python actives
cadastre1.20.0
cigeoe_converge_lines1.0.0
citydb-tools0.8.9
GeometryShapes0.7
ImportPhotos3.0.6
iso4app1.5
isochrones0.1.2
On-the-Fly-Shortest-Path1.3.1
OSMDownloader1.0.3
osmpoly_export0.6
outils_GPU1.3.1
qgis_resource_sharing1.0.0
QuickOSM2.2.3
search_and_replace_in_projects1.3
db_manager0.1.20
processing2.12.99

Supported QGIS version

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

New profile

Additional context

Windows crash info :

Report Details

Python Stack Trace

Windows fatal exception: access violation

Current thread 0x00003a0c (most recent call first):
  File "C:\Users/-/AppData/Roaming/QGIS/QGIS3\profiles\EH/python/plugins\cadastre\dialogs\dialog_common.py", line 58 in updateLog
    qApp.processEvents()
  File "C:\Users/-/AppData/Roaming/QGIS/QGIS3\profiles\EH/python/plugins\cadastre\dialogs\search_dialog.py", line 411 in checkMajicContent
    self.qc.updateLog(
  File "C:\Users/-/AppData/Roaming/QGIS/QGIS3\profiles\EH/python/plugins\cadastre\cadastre_menu.py", line 467 in on_new_project_created
    self.cadastre_search_dialog.checkMajicContent()

Stack Trace


QgsFields::QgsFields :
QgsSymbolRenderContext::fields :
QgsAttributeTableModel::prefetchSortData :
QgsAttributeTableModel::setRequest :
QgsDualView::extentChanged :
QObject::qt_static_metacall :
QgsMapCanvas::resizeEvent :
QWidget::event :
QFrame::event :
QGraphicsView::viewportEvent :
QCoreApplicationPrivate::sendThroughObjectEventFilters :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QWidgetPrivate::setGeometry_sys :
QWidget::setGeometry :
QAbstractScrollAreaPrivate::layoutChildren_helper :
QAbstractScrollAreaPrivate::_q_showOrHideScrollBars :
QAbstractScrollArea::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QWidgetPrivate::setGeometry_sys :
QWidget::setGeometry :
QLayoutPrivate::doResize :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QWidgetPrivate::setGeometry_sys :
QWidget::setGeometry :
QWidgetItem::setGeometry :
QGridLayout::count :
QGridLayout::setGeometry :
QLayoutPrivate::doResize :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QWidgetPrivate::setGeometry_sys :
QWidget::setGeometry :
QWidget::qt_static_metacall :
QWidget::qt_metacall :
QPropertyAnimation::updateCurrentValue :
QVariantAnimation::qt_metacast :
QPropertyAnimation::updateState :
QUnifiedTimer::setSlowdownFactor :
QFocusFrame::tr :
QDockWidgetLayout::wmSupportsNativeWindowDeco :
QTabBarPrivate::~QTabBarPrivate :
QTabBarPrivate::isAnimated :
QLayoutPrivate::doResize :
QLayout::activate :
QWidgetPrivate::setVisible :
QWidget::setVisible :
QToolBar::widgetForAction :
QToolBar::widgetForAction :
QLayoutPrivate::doResize :
QLayout::activate :
QWidgetPrivate::setVisible :
QWidget::setVisible :
QToolBar::widgetForAction :
QToolBar::widgetForAction :
QLayoutPrivate::doResize :
QLayout::activate :
QWidgetPrivate::setVisible :
QWidget::setVisible :
QToolBar::widgetForAction :
QToolBar::widgetForAction :
QLayoutPrivate::doResize :
QLayout::activate :
QLayout::widgetEvent :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QWidgetPrivate::setGeometry_sys :
QWidget::setGeometry :
QWidget::qt_static_metacall :
QWidget::qt_metacall :
QToolBar::qt_metacall :
QPropertyAnimation::updateCurrentValue :
QVariantAnimation::qt_metacast :
QPropertyAnimation::updateState :
QUnifiedTimer::setSlowdownFactor :
QFocusFrame::tr :
QToolBar::widgetForAction :
QTabBarPrivate::~QTabBarPrivate :
QTabBarPrivate::isAnimated :
QLayoutPrivate::doResize :
QLayout::activate :
QWidgetPrivate::setVisible :
QWidget::setVisible :
QgisApp::canvasRefreshStarted :
QObject::qt_static_metacall :
QgsMapCanvas::refreshMap :
QObject::qt_static_metacall :
QTimer::timerEvent :
QObject::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QEventDispatcherWin32Private::sendTimerEvent :
QEventDispatcherWin32::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QCoreApplicationPrivate::sendPostedEvents :
qt_plugin_query_metadata :
QEventDispatcherWin32::processEvents :
qt_plugin_query_metadata :
PyInit_QtCore :
PyLong_FromString :
PyObject_Vectorcall :
PyObject_Vectorcall :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyArg_CheckPositional :
PyObject_Call :
PyObject_Call :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
QObject::qt_static_metacall :
QObject::qt_static_metacall :
QgisApp::fileNew :
QgisApp::fileClose :
QObject::qt_static_metacall :
QAction::activate :
QAction::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QShortcutMap::dispatchEvent :
QShortcutMap::tryShortcut :
QWindowSystemInterface::handleShortcutEvent :
QGuiApplicationPrivate::processKeyEvent :
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: b56115d
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.19045

@Geoscope19 Geoscope19 added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Nov 29, 2024
@agiudiceandrea
Copy link
Contributor

@Geoscope19 it looks like the issue is triggered by the external third-party plugin "cadastre" installed in your QGIS's user profile folder. Does the issue occur also using a new QGIS user profile or after disinstalling / disabling the "cadastre" plugin?

@agiudiceandrea agiudiceandrea added the Feedback Waiting on the submitter for answers label Nov 29, 2024
Copy link

The QGIS project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale".
If you would like to continue with this issue, please provide any missing information or answer any open questions. If you could resolve the issue yourself meanwhile, please leave a note for future readers with the same problem and close the issue.
In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this issue.
If there is no further activity on this issue, it will be closed in a week.

@github-actions github-actions bot added the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Dec 14, 2024
@Geoscope19
Copy link
Author

«Geoscope19, il semble que le problème soit déclenché par le plugin tiers externe "cadastre" installé dans le dossier de profil utilisateur de votre QGIS. Le problème se pose-t-il également à l'aide d'un nouveau profil utilisateur QGIS ou après la désinstallation/désactivation du plugin "cadastre"?

Le projet QGIS apprécie hautement votre rapport et aimerait qu'il soit pris en compte. Toutefois, ce problème a été laissé en mode retour d'information pendant les 14 derniers jours et est automatiquement marqué comme "conte". Si vous souhaitez poursuivre cette question, veuillez fournir toute information manquante ou répondre à toute question ouverte. Si vous pouviez résoudre le problème vous-même, laissez une note pour les futurs lecteurs ayant le même problème et de clore la question. Au cas où vous auriez une incertitude, s'il vous plaît, laissez un commentaire et nous serons heureux de vous aider à poursuivre sur cette question. S'il n'y a pas d'autre activité sur cette question, elle sera fermée dans une semaine.

Sorry, I did not see the mail in return of my post. I test the problem next week.

@github-actions github-actions bot removed the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Dec 14, 2024
@Geoscope19
Copy link
Author

@Geoscope19 it looks like the issue is triggered by the external third-party plugin "cadastre" installed in your QGIS's user profile folder. Does the issue occur also using a new QGIS user profile or after disinstalling / disabling the "cadastre" plugin?

Hello, the problem reoccurs when the cadastre plugin is disabled.
Meanwhile, I reinstalled qgis by using the OSGeo4W install method: I installed the 2 versions (3.34 LTR and 3.40) for the announced stability of the first and test the evolutions of the second. By this method, I have the impression that they are both much more unstable. It is perhaps only an impression, and I do not master the possibilities of regular updates by this method (I do not master neither English nor computer development!)
I will test with a new profile and come back to you.
Incidentally, as reported by a user on another issue, I also have 1 to 2 empty windows that open when I move a window (attributes for example) to make it floating, or as soon as Qgis opens.

Texte en français :
Bonjour, le problème se reproduit lorsque le plugin cadastre est désactivé.
Entre temps, j'ai réinstallé qgis en passant par la méthode OSGeo4W installer : j'ai installé les 2 versions (3.34 LTR et 3.40) pour la stabilité annoncée de la première et tester les évolutions de la seconde. Par cette méthode, j'ai l'impression qu'elles sont l'une comme l'autre beaucoup plus instables. C'est peut-être qu'une impression, et je ne maitrise pas bien les possibilités de mises à jour plus régulière par cette méthode (je ne maitrise ni l'anglais ni le développement informatique !)
Je vais tester avec un nouveau profil et reviens vers vous.
Accessoirement, comme signalé par un utilisateur sur une autre issue, j'ai également 1 à 2 fenêtres vides qui s'ouvrent quand je déplace une fenêtre (attributs par exemple) pour la rendre flottante, ou dès l'ouverture de Qgis.

@Geoscope19
Copy link
Author

Geoscope19 commented Dec 19, 2024

Difficult to test with a new profile
By changing user profile, Qgis no longer finds the paths to open my project files.
As pointed out a while ago, to correct the paths to the files concerned, Qgis considers the file geometries as those of the first file whose source is corrected: if it is a polygon geometry, All other files in the same folder are updated as polygons, even if they are points and polylines (see screenshots below).
video : https://geoscope.fr/nextcloud/index.php/s/b2rirRxdpTXcQTT

En français directement :
Difficile de tester avec un nouveau profil
En changeant de profil utilisateur, Qgis ne retrouve plus les chemins pour ouvrir les fichiers de mes projets.
Comme signalé il y a quelques temps, pour corriger les chemins vers les fichiers concernés, Qgis considère les géométries des fichiers comme étant celles du premier fichier dont la source est corrigée : si c'est une géométrie de polygone, tous les autres fichiers situés dans le même dossier sont actualisés en considérant que ce sont des polygones, même s'il s'agit de points et de polylignes (voir captures d’écran ci-dessous).

capture 1
capture 2
capture 4
capture 3

@agiudiceandrea
Copy link
Contributor

agiudiceandrea commented Dec 19, 2024

@Geoscope19, this issue report is about a crash occurring when closing a project. The error message says that the issue is due to the "cadastre" plugin: please specify if such issue still occurs using a new QGIS user profile without any external third-party plugin installed or using the old QGIS user profile after uninstalling the "cadastre" plugin.

For other issues, please open different issue reports if not already reported.

Copy link

github-actions bot commented Jan 3, 2025

The QGIS project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale".
If you would like to continue with this issue, please provide any missing information or answer any open questions. If you could resolve the issue yourself meanwhile, please leave a note for future readers with the same problem and close the issue.
In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this issue.
If there is no further activity on this issue, it will be closed in a week.

@github-actions github-actions bot added the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Jan 3, 2025
Copy link

github-actions bot commented Feb 1, 2025

While we hate to see this happen, this issue has been automatically closed because it has not had any activity in the last 42 days despite being marked as feedback. If this issue should be reconsidered, please follow the guidelines in the previous comment and reopen this issue.
Or, if you have any further questions, there are also further support channels that can help you.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption Feedback Waiting on the submitter for answers stale Uh oh! Seems this work is abandoned, and the PR is about to close.
Projects
None yet
Development

No branches or pull requests

3 participants