[QGIS-trac] Re: [Quantum GIS] #1945: [Vista] Qgis crashes removing GRASS raster layer from map canvas

Quantum GIS qgis at qgis.org
Sat Jan 16 08:41:45 EST 2010


#1945: [Vista] Qgis crashes removing GRASS raster layer from map canvas
--------------------------------------------------------------+-------------
        Reporter:  juanelz                                    |         Owner:  rugginoso    
            Type:  bug                                        |        Status:  new          
        Priority:  critical: causes crash or data corruption  |     Milestone:  Version 1.5.0
       Component:  GRASS                                      |       Version:  HEAD         
      Resolution:                                             |      Keywords:  GRASS rasters
Platform_version:  Vista                                      |      Platform:  Windows      
        Must_fix:  Yes                                        |   Status_info:  0            
--------------------------------------------------------------+-------------
Comment (by rblazek):

 Today I am on Vista, so I tried to do some tests, but it is all difficult
 on windows. I have installed 'Debugging Tools for Windows' and symbol
 files (.pdb) for windows. Unfortunately I have no symbol files for
 qgis/gdal, where/how can I get them?

 It is however possible to connect to running qgis process and get some
 limited call stack:

 {{{
 WARNING: Stack unwind information not available. Following frames may be
 wrong.
 ntdll!RtlTryEnterCriticalSection+0x69
 ntdll!RtlTryEnterCriticalSection+0x334
 ntdll!RtlTryEnterCriticalSection+0x56f
 kernel32!HeapFree+0x14
 MSVCR71!free+0x39
 gdal_GRASS!GDALNoDataMaskBand::operator=+0x3766
 gdal_GRASS!GDALNoDataMaskBand::operator=+0x494c
 gdal16!GDALClose+0x81
 qgis!OGREnvelope::Merge+0x4558e
 qgis_core!QgsVectorDataProvider::capabilities+0xa7750
 qgis!OGREnvelope::Merge+0x20759d
 qgis!OGREnvelope::Merge+0x207221
 qgis!OGREnvelope::Merge+0x280d93
 QtCore4!QMetaObject::activate+0x221
 QtCore4!QMetaObject::activate+0x62
 QtGui4!QAction::activate+0xae
 QtGui4!QMenu::changeEvent+0x1161
 QtGui4!QMenu::setId+0x5f5
 }}}

 It seems that the problem is in GDALNoDataMaskBand destruktor which is
 caling free on some wrong address.

 #2028 is probably the same problem (on reloading map)

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1945#comment:13>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list