[QGIS-trac] Re: [Quantum GIS] #3839: qgis trunk crashes when saving project or clicking "OK" in the "new shape" dialog

Quantum GIS qgis at qgis.org
Tue May 24 19:31:28 EDT 2011


#3839: qgis trunk crashes when saving project or clicking "OK" in the "new shape"
dialog
---------------------------------------------------------+------------------
   Reporter:  lutra                                      |              Owner:  rblazek      
       Type:  bug                                        |             Status:  new          
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.7.0
  Component:  Build/Install                              |            Version:  Trunk        
   Keywords:                                             |   Platform_version:               
   Platform:  All                                        |           Must_fix:  Yes          
Status_info:  0                                          |  
---------------------------------------------------------+------------------

Comment(by brushtyler):

 It occurs closing non-native file dialogs (look at the difference between
 Save project and SaveAs project dialogs), either by pressing ok or cancel
 buttons.

 Adding a check to exclude QFileDialog instances (as done for not QDialog
 instances) doesn't work as expected. In fact the problem is at line 841
 trying to cast QObject to QWidget because the object was deleted yet
 before the preNotify was called.

 I've attached a backtrace.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/3839#comment:2>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS supporting GDAL/OGR, PostGIS, and GRASS formats, and Web Services


More information about the QGIS-trac mailing list