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

QGIS 2.18.3 crashes on exit #24076

Closed
qgib opened this issue Feb 7, 2017 · 12 comments
Closed

QGIS 2.18.3 crashes on exit #24076

qgib opened this issue Feb 7, 2017 · 12 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!

Comments

@qgib
Copy link
Contributor

qgib commented Feb 7, 2017

Author Name: Philip Tait (Philip Tait)
Original Redmine Issue: 16165
Affected QGIS version: 2.18.3
Redmine category:unknown


I've recently updated from 2.16 to 2.18.3 and now every time I close the software a minidump is written. This happens whether I have a project open or if I just open and then close QGIS.
I can't seem to find any issues with my pc; other softwares work fine, and I can't find anyone else with the same issue. I've included the minidump file as an attachment in case that helps, I don't know how to open it myself.


@qgib
Copy link
Contributor Author

qgib commented Feb 7, 2017

Author Name: Philip Tait (Philip Tait)


Here's attached file - zipped.


  • 10717 was configured as qgis-20170208-081559-2176-3720-77b8c3d.zip

@qgib
Copy link
Contributor Author

qgib commented Feb 7, 2017

Author Name: Jürgen Fischer (@jef-n)


  • tracker_id was changed from 3 to 2
  • project_id was changed from 18 to 17

@qgib
Copy link
Contributor Author

qgib commented Feb 7, 2017

Author Name: Jürgen Fischer (@jef-n)


  • tracker_id was changed from 2 to 1
  • version was configured as 2.18.3
  • crashes_corrupts_data was configured as 0

@qgib
Copy link
Contributor Author

qgib commented Feb 13, 2017

Author Name: Martin Bain (Martin Bain)


Sorry for the noise if this is unrelated but I had the same issue with QGIS 2.16 (on Windows 7) it would reliably crash on every exit.

The problem went away when I deleted the HKEY_CURRENT_USER\Software\QGIS branch from the registry.

This fixed the issue but was a bit heavy handed as I lost a lot of custom settings. I exported the branch from the registry before I deleted it. Merging it back into the registry caused the problem to reappear. I tried deleting a few of the more complex looking sub branches but didn’t find the registry value causing the crash. Finally I deleted the whole HKEY_CURRENT_USER\Software\QGIS branch again, then started QGIS and with GIS running I merged the branch back into the registry, I then exited QGIS without getting a crash! I no longer get a crash on exit and I retained almost all of my settings - active plugins, recently used paths, expressions etc. I lost a couple of things that must be saved on exit such as the layout of the layers panel and the browser panel, but all good.

@qgib
Copy link
Contributor Author

qgib commented Feb 14, 2017

Author Name: Philip Tait (Philip Tait)


Hi Martin Bain,

I gave your suggestion a try and I'm afraid it made no difference. I exported and deleted the QGIS folder from regedit and then opened QGIS. On closing it straight away it did not crash, which I thought was progress. But when I tried again after opening a project and it just crashed straight away. Thanks for the suggestion.

@qgib
Copy link
Contributor Author

qgib commented Mar 7, 2017

Author Name: Giovanni Manghi (@gioman)


(very) likely depending on a 3rd party plugins: there are a few that are known to make qgis crash on exit. Please try purging your .qgis2 folder and restart qgis. Reopen if the issue still persist after a full system cleaning.


  • status_id was changed from Open to Closed
  • resolution was changed from to not reproducable

@qgib
Copy link
Contributor Author

qgib commented Mar 9, 2017

Author Name: Jeff Moyen (Jeff Moyen)


I can confirm the behaviour. Closing QGIS, even without doing anything else, results in a crash.

In fact, there are two types of crash:

  1. "minidump written"
  2. QGIS turns pale and a message saying "qgis-bin.exe a cessé de fonctionner; windows recherche une solution" appears. While the message is up, an xml file appears in my temp folder (where the minidumps are; is is called e.g. WERB96C.tmp.WERInternalMetadata.xml), but when the message is closed the xml disappears.

The two behaviour seem to occur more or less randomly.

I disabled all the plugins (even core), one by one : same result, even on a blank QGIS.

On the other hand deleting the .qgis2 folder cures the problems (it also deletes interesting stuff on the other hand, alas).

I was in the process of investigating what part of .qgis2 is the culprit, when I noticed that 2.18.4 was ready.
Alas -- the same symptoms are still present !

So, from this point onwards, the discussion is based on 2.18.4

I then went into .qgis2 and removed one after the other evry individual folder, and sub-folder. In the end,it turned out that the problemm was located in .qgis2/python/plugins/GarminCustomMap : removing this folder cured the problem.

Interestingly, it is not enough to desactivate it (from "manage and install plugin"), the problem is solved by desintalling (actually deleting) the plugin.

Plugin team is being informed.

@qgib
Copy link
Contributor Author

qgib commented Mar 9, 2017

Author Name: Jeff Moyen (Jeff Moyen)


PS- already reported in the plugin page: #11901

@qgib
Copy link
Contributor Author

qgib commented Mar 9, 2017

Author Name: Giovanni Manghi (@gioman)


I then went into .qgis2 and removed one after the other evry individual folder, and sub-folder. In the end,it turned out that the problemm was located in .qgis2/python/plugins/GarminCustomMap : removing this folder cured the problem.

it is years now that that plugin causes the crash on exit even if disabled.

@qgib
Copy link
Contributor Author

qgib commented Mar 9, 2017

Author Name: Philip Tait (Philip Tait)


So I've managed to fix this issue. Turns out it was a plugin issue, specifically "MetaSearch Catalogue Client" appeared to be corrupt.

What I actually did was uninstall all plugins that I could, which first identified Meta.. as the one corrupt. I then tried reinstalling, but then that appeared to have issues so I uninstalled and re installed the plugin and everything works fine. I have not reinstalled the other plugins I removed so it could be one of those may reintroduce the issue. But at the moment everything is working fine. Thanks for all the suggestions and help on this matter

@qgib
Copy link
Contributor Author

qgib commented Sep 22, 2017

Author Name: Jürgen Fischer (@jef-n)


  • category_id was configured as Unknown

@qgib
Copy link
Contributor Author

qgib commented Oct 18, 2017

Author Name: ololomp iiiii (ololomp iiiii)


I used to have same problem until deinstallation of "Semi-automation classaification" plugin. It crashed QGIS on closing not only but also on pressing checkbox in Plugins window. Deleted plugin manually through Windows Explorer

@qgib qgib added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label May 25, 2019
@qgib qgib closed this as completed May 25, 2019
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!
Projects
None yet
Development

No branches or pull requests

1 participant