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.29k stars 2.96k forks source link

QGIS crashes when exiting the program #25890

Closed qgib closed 5 years ago

qgib commented 6 years ago

Author Name: Stephen Eastmead (@spe-ny) Original Redmine Issue: 17994 Affected QGIS version: 2.18.16 Redmine category:rasters


I have had this problem along time. I have tried all the solutions I could find when searching the problem. I have since bought Revo Uninstaller Pro 3.2.0 and extensively eliminated all past installations of QGIS as far as REVO can find. I then installed 2.18.16 and the minidump still occurred. I used REVO to remove 2.18.16 and installed 2.14.22 which appeared not to cause the minidump when I process Raster data as I will describe shortly. I then uninstalled 2.14.22 with REVO back to a clean install situation and installed 2.18.16 again. The minidump came back. From the clean install of 2.18.16 I first configured my CRS to OSGB 27700, then created the first project file naming and saving it. Then exited QGIS when no minidump occured. I opened QGIS 2.18.16 and open the empty project and under Raster>Miscellaneous>Build Virtual Raster loaded a single LIDAR .asc tile to create a DEM. Then saved the project and exited QGIS which caused the minidump to C: I reopened QGIS and the same project, saved the project without doing anything, exited QGIS when no minidump occured. I opened up the QGIS and the project again, and then did Raster> Analysis> DEM selecting the DEM file and completing the Hillshade input box by accepting the default settings and giving the file a name. The Hillshade was created and the project save. I then exited QGIS and a minidump to c: occurs. Finally, I opened QGIS 2.18.16 and the project again, and did Raster> Analysis> DEM selecting the DEM file and completing the Hillshade input box by editing the hisshade parameters to 300 and 45 degrees and saving the file with a new name. The Hillshade was produced correctly. This time I didnt save the project and exited, confirming the last operation can be discarded, which resulted in a minidump to C: All files are available e.g. asc and dmp files


qgib commented 6 years ago

Author Name: Giovanni Manghi (@gioman)


try (backup and) delete the ~/.qgis2 folder, then restart qgis and see of the problem persists.


qgib commented 6 years ago

Author Name: Stephen Eastmead (@spe-ny)


I deleted the .qgis2 folder and retested the issue. No change - the crashes still happen as described. I had previously also done this with no effect prior to submitting the issue. Thanks. Stephen

qgib commented 6 years ago

Author Name: Giovanni Manghi (@gioman)


Stephen Eastmead wrote:

I deleted the .qgis2 folder and retested the issue. No change - the crashes still happen as described. I had previously also done this with no effect prior to submitting the issue. Thanks. Stephen

add data and precise steps to allow us replicate the issue. Thanks.

qgib commented 6 years ago

Author Name: Stephen Eastmead (@spe-ny)


Process followed shown below and supporting images attached.

  1. Created a new project folder: Test1
  2. Added a single .asc Lidar tile to folder: Test1
  3. Opened QGIS 2.18.16
  4. Created new project and saved the empty project as test1.qgs
  5. Closed QGIS when it closes without any error.
  6. Open QGIS and test1.qgs project.
  7. Do: Raster > Miscellaneous > Build Virtual Raster (Catalog)... (see image Step 7)
  8. Completed the Build Virtual Raster dialogue input box selecting the .asc file and naming the output file DEM where the DEM file is saved in folder Test1 (see image Step 7 and 8)
  9. See image Step 9 showing DEM created 10 Save project and exited QGIS causing crash (see image Step 10) 11 Also supplied image of Test 1 folder contents


qgib commented 6 years ago

Author Name: Giovanni Manghi (@gioman)


  1. Added a single .asc Lidar tile to folder: Test1

can you add the data (or a sample that you know is causing the issue)? thanks.

qgib commented 6 years ago

Author Name: Stephen Eastmead (@spe-ny)


A different asc file is attached as the one I was using was greater than 5MB. This one demonstrates the error too, although I dont think that the asc file is causing it. I have also had QGIS crash by doing: Raster > Miscellaneous > Build Virtual Raster (Catalog)... but not entering anything in the input box, but closing it, then saving the project and exiting.



qgib commented 6 years ago

Author Name: Stephen Eastmead (@spe-ny)


New information: Please refer to attached image - I have drawn a red box around the problem options described next:

  1. If I open a new folder and then open QGIS and creating a new project and saving using a suitable name e.g. test2.qgs, then save the empty project and exit QGIS, then no crash occurs.

2) If I then reopen the project described in 1. above and select any of the options outlined by the red box, and as soon as the appropriate input dialogue box opens, I then close the dialogue box without entering any data, and exit QGIS then it crashes producing a minidump file.

3) If I open any of the options outside the red box options and then close and exit QGIS, then QGIS does not crash.

The issue appears to be caused when any of the options outline by the red box is opened regardless of what is subsequently entered or if nothing is then entered.



qgib commented 6 years ago

Author Name: Giovanni Manghi (@gioman)


Please test on 3.2 and report back, thanks.

qgib commented 5 years ago

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