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

Minidump on closing QGIS 2.4 #19139

Closed
qgib opened this issue Jun 30, 2014 · 24 comments
Closed

Minidump on closing QGIS 2.4 #19139

qgib opened this issue Jun 30, 2014 · 24 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Build/Install Related to compiling or installing QGIS Crash/Data Corruption High Priority

Comments

@qgib
Copy link
Contributor

qgib commented Jun 30, 2014

Author Name: Micha Silver (@micha-silver)
Original Redmine Issue: 10756
Affected QGIS version: 2.4.0
Redmine category:build/install


Using Win7 64bit, and the OSGeo4W64 installer, at every shutdown of QGIS a minidump file is written. This happens regardless of what layers are loaded, and regardless of whether the project is saved or not.
I have done a total reinstall (after cleaning registry, .qgis2, etc) of the +OSGeo4W 64bit+ installer.
I also tried qgis --noplugins. Same behavior.
Thanks,
Micha


@qgib
Copy link
Contributor Author

qgib commented Jun 30, 2014

Author Name: Giovanni Manghi (@gioman)


  • crashes_corrupts_data was changed from 0 to 1
  • priority_id was changed from Normal to High

@qgib
Copy link
Contributor Author

qgib commented Jul 2, 2014

Author Name: Miroslav Umlauf (@mirouml)


Same here, affected both 2.4 and 2.5 Master. All it takes is open and close QGIS and it come up with crash. Both through closing window and through Project menu/Exit.

@qgib
Copy link
Contributor Author

qgib commented Jul 2, 2014

Author Name: Giovanni Manghi (@gioman)


Please try removing/disabling all installed pluguins, restart QGIS and try again.


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Jul 3, 2014

Author Name: Micha Silver (@micha-silver)


I tried with all plugins disabled (I did not try to uninstall them), and the problem still recurs. Open QGIS 2.4, 64bit on Win 7 Pro, add a shapefile, close, click discard, and it creates a minidump.

@qgib
Copy link
Contributor Author

qgib commented Jul 3, 2014

Author Name: Giovanni Manghi (@gioman)


Micha Silver wrote:

I tried with all plugins disabled (I did not try to uninstall them), and the problem still recurs. Open QGIS 2.4, 64bit on Win 7 Pro, add a shapefile, close, click discard, and it creates a minidump.

ok, but of course this seems a local issue, as it does not happen in other installations (I just gave a training course with 15 trainees and no such issue). So I'm just trying to find what can be the cause in your cases. Obviously trying on another machine and/or purging .qgis2 would help the troubleshooting.

@qgib
Copy link
Contributor Author

qgib commented Jul 3, 2014

Author Name: Micha Silver (@micha-silver)


I found this on two machines (both Win7 Pro 64) and note that Miroslav, above, also reports the same issue. Any ideas what else to look into?

@qgib
Copy link
Contributor Author

qgib commented Jul 3, 2014

Author Name: Diogo Vasconcelos (Diogo Vasconcelos)


Same here. Win7 64 bit & QGIS 2.4

@qgib
Copy link
Contributor Author

qgib commented Jul 5, 2014

Author Name: Micha Silver (@micha-silver)


I'm pretty sure I found the problem: It's the LecoS plugin. And it seems that it's not enough to disable the plugin, it must be uninstalled.

I did a clean install on another Win7 Pro machine, and then started adding plugins one by one, and closing QGIS each time. When I got to the LecoS plugin the problem reappeared. I went back to the first machine, removed the plugin, and the prob went away.

I'll mark this issue "UP/Downstream".
I've reported the issue on the LecoS issue tracker page.#10823

Regards,
Micha


  • resolution was changed from to up/downstream

@qgib
Copy link
Contributor Author

qgib commented Jul 7, 2014

Author Name: Giovanni Manghi (@gioman)


  • status_id was changed from Feedback to Closed

@qgib
Copy link
Contributor Author

qgib commented Sep 9, 2014

Author Name: Paulo Cardoso (Paulo Cardoso)


Closed?
The same error here. LecoS plugin is not installed. Procedure: Open QGIS, disable all plugins. Close QGIS. Get Minidump crash.
Windows 7 x64 Ultimate
Service pack 1
QGIS 2.4


  • 7807 was configured as qgis-20140909-214202-3324-4652-8fdd08a.7z

@qgib
Copy link
Contributor Author

qgib commented Sep 9, 2014

Author Name: Miroslav Umlauf (@mirouml)


In my case it was some different plugin, unfortunately I am not able to track which one - I had too many of them and don't remember all of them. Anyway uninstalling plugins helped.

@qgib
Copy link
Contributor Author

qgib commented Oct 18, 2014

Author Name: leolami - (leolami -)


I confirm the problem in several Windows pc with different Windows versions.
In several cases the crash occurred when saving project and the project file was corrupt and no longer usable.

Regards
Leonardo Lami

@qgib
Copy link
Contributor Author

qgib commented Oct 19, 2014

Author Name: Giovanni Manghi (@gioman)


leolami - wrote:

I confirm the problem in several Windows pc with different Windows versions.
In several cases the crash occurred when saving project and the project file was corrupt and no longer usable.

Regards
Leonardo Lami

try deleting the .qgis2 folder, I have seen this a lot and doing it usually solves. If you have important configurations you may want to backup first that folder.

@qgib
Copy link
Contributor Author

qgib commented Oct 24, 2014

Author Name: leolami - (leolami -)


I noticed this bug in a course with 10 pcs in qgis which had been installed for the first time.

So I think that there are problems related to the .qgis2 folder.

Can I make some test to reproduce or log the crasch?

@qgib
Copy link
Contributor Author

qgib commented Oct 24, 2014

Author Name: Giovanni Manghi (@gioman)


leolami - wrote:

I noticed this bug in a course with 10 pcs in qgis which had been installed for the first time.

So I think that there are problems related to the .qgis2 folder.

Can I make some test to reproduce or log the crasch?

so do you confirm that deleting the .qgis2 folder solved?

@qgib
Copy link
Contributor Author

qgib commented Nov 3, 2015

Author Name: Bas wein (Bas wein)


Micha Silver wrote:

I'm pretty sure I found the problem: It's the LecoS plugin. And it seems that it's not enough to disable the plugin, it must be uninstalled.

I did a clean install on another Win7 Pro machine, and then started adding plugins one by one, and closing QGIS each time. When I got to the LecoS plugin the problem reappeared. I went back to the first machine, removed the plugin, and the prob went away.

I'll mark this issue "UP/Downstream".
I've reported the issue on the LecoS issue tracker page.#10823

Uninstalling the LecoS plugin worked for me. I uninstalled the plugin and closed QGIS- It gave me a minidump. Restarted QGIS and did some edits, saved, closed program- no minidump.
-Bas

@qgib
Copy link
Contributor Author

qgib commented Dec 17, 2015

Author Name: mr warw (mr warw)


RE: LecoS - Landscape Ecology Statistics removal fixing program crashing on exit.
I have never used LecoS Plugin and it does not appear to be installed on my system. Yet every version of QGIS has crashed and does a minidmp whenever and however I leave the program. Other than crashing when exiting with all installations of QGIS 2.8 thru 2.12 the program has worked fine.
Attached latest .dmp


  • status_id was changed from Closed to Reopened

@qgib
Copy link
Contributor Author

qgib commented Dec 28, 2015

Author Name: Leonard Kong (Leonard Kong)


Hi:
I'm working on a plugin and am experiencing the exact same issue. I have traced it down to a gdal call in the my python code to:
ds.GetRasterBand(1).ReadAsArray(xOffset, yOffset, 1, 1)
When the python code is running, it returns the correct value and I can even take the values and create a csv output file. If I then exit QGIS, I get the mini dump crash. My code opens a line shapefile and extracts the elevations from the start and end points of each line in the shape file. I have tested it down to the point where the shapefile isn't even used, if I just call the ReadAsArray() function once, with coordinates in the raster, then close QGIS, I get the mini crash dump. I've looked, there are not warnings or errors thrown during execution. This is a blocking bug that has caused me to cease development.

@qgib
Copy link
Contributor Author

qgib commented Dec 28, 2015

Author Name: Giovanni Manghi (@gioman)


Leonard Kong wrote:

Hi:
I'm working on a plugin and am experiencing the exact same issue. I have traced it down to a gdal call in the my python code to:
ds.GetRasterBand(1).ReadAsArray(xOffset, yOffset, 1, 1)
When the python code is running, it returns the correct value and I can even take the values and create a csv output file. If I then exit QGIS, I get the mini dump crash. My code opens a line shapefile and extracts the elevations from the start and end points of each line in the shape file. I have tested it down to the point where the shapefile isn't even used, if I just call the ReadAsArray() function once, with coordinates in the raster, then close QGIS, I get the mini crash dump.

Hi Leonard, is this the same as #21131 ?

This is a blocking bug that has caused me to cease development.

please raise this issue on the developers mailing list.

@qgib
Copy link
Contributor Author

qgib commented Dec 28, 2015

Author Name: Giovanni Manghi (@gioman)


  • status_id was changed from Reopened to Feedback
  • resolution was changed from up/downstream to

@qgib
Copy link
Contributor Author

qgib commented Mar 11, 2016

Author Name: magerlin - (magerlin -)


I am experiencing the same issue with the newly installed version 2.14.

If I just open it and closes it again without doing anything at all it get a dump file.

@qgib
Copy link
Contributor Author

qgib commented Mar 12, 2016

Author Name: Anita Graser (@anitagraser)


Can't reproduce on Win8 64 bit with nightly from OSGeo4W

@qgib
Copy link
Contributor Author

qgib commented May 23, 2016

Author Name: Giovanni Manghi (@gioman)


Anita Graser wrote:

Can't reproduce on Win8 64 bit with nightly from OSGeo4W

I see this issue from time to time and this usually has two causes:

  • a 3rd party plugin that cause to crash, sometimes even if not activated, this is the case for exemple of Lecos and Garmin Custom Map

  • a .qgis2 folder containing for some reason obsolete/corrupted configurations

removing the offending plugin and/or the .qgis2 folder it usually solves the issue.

Please reopen if anyone will find a different, replicable cause for this crashes on exit.


  • resolution was changed from to worksforme
  • status_id was changed from Feedback to Closed

@qgib
Copy link
Contributor Author

qgib commented Aug 1, 2016

Author Name: tracy love (tracy love)


i realize this is a closed ticket but i am new here so i am hesitant to open a new ticket or feature request.

i have had this issue for almost a year and on multiple machines, win7 and win10. i always used OSGEO4w and cleaning out .qgis, registry, all other installed parts, did nothing, as soon as i reinstalled it was back. i tried everything i could find online googleing "qgis minidump exit" recently i accidentally discovered that the contents of this file

C:\OSGeo4W\bin\qt.conf

did not match the exact case of what was on the filesystem.
my osgeo install is at C:\OSGeo4W. and the file qt.conf contained;
[paths]
prefix=c:/osgeo4w/apps/qt4
binaries=c:/osgeo4w/bin
libraries=c:/osgeo4w/lib
translations=c:/osgeo4w/apps/qt4/translations
headers=c:/osgeo4w/include/qt4

when i rewrote the lines to
[Paths]
Prefix=C:/OSGeo4W/apps/qt4
Binaries=C:/OSGeo4W/bin
Libraries=C:/OSGeo4W/lib
Translations=C:/OSGeo4W/apps/qt4/translations
Headers=C:/OSGeo4W/include/qt4

the minidumping crashing went away

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Build/Install Related to compiling or installing QGIS Crash/Data Corruption labels 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! Build/Install Related to compiling or installing QGIS Crash/Data Corruption High Priority
Projects
None yet
Development

No branches or pull requests

1 participant