[QGIS-trac] Re: [Quantum GIS] #2884: crash when resizing vertically the overview window

Quantum GIS qgis at qgis.org
Sun Sep 19 12:32:18 EDT 2010


#2884: crash when resizing vertically the overview window
---------------------------------------------------------+------------------
   Reporter:  lutra                                      |              Owner:  nobody       
       Type:  bug                                        |             Status:  new          
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.6.0
  Component:  GUI                                        |            Version:  Trunk        
   Keywords:                                             |   Platform_version:               
   Platform:  Debian                                     |           Must_fix:  Yes          
Status_info:  0                                          |  
---------------------------------------------------------+------------------

Comment(by trapanator):

 Confirmed the bug here (Archlinux, QT 4.6.3, KDE 4.5.1). I've compiled
 QGIS with debugging options on, here's the backtrace of the segmentation
 fault:


 {{{
 Debug: /usr/local/src/qgis_unstable/src/core/qgsmaprenderer.cpp: 224:
 (render) ========== Rendering ==========
 Warning: QPainter::end: Painter not active, aborted
 Debug: /usr/local/src/qgis_unstable/src/gui/qgsmapoverviewcanvas.cpp: 162:
 (drawExtentRect) panning: extent to widget: [0,23] [251x129]
 Warning: QPixmap::operator=: Cannot assign to pixmap during painting
 Debug: /usr/local/src/qgis_unstable/src/core/qgsmaprenderer.cpp: 195:
 (adjustExtentToSize) Map units per pixel (x,y) : 5041.32, 4900.5

 Debug: /usr/local/src/qgis_unstable/src/core/qgsmaprenderer.cpp: 196:
 (adjustExtentToSize) Pixmap dimensions (x,y) : 250, 179

 Debug: /usr/local/src/qgis_unstable/src/core/qgsmaprenderer.cpp: 197:
 (adjustExtentToSize) Extent dimensions (x,y) : 1.26033e+06, 877190

 Debug: /usr/local/src/qgis_unstable/src/core/qgsmaprenderer.cpp: 198:
 (adjustExtentToSize) -594174.7892561983317137,-453595.0413223140058108 :
 666155.7892561983317137,423595.0413223140058108
 Debug: /usr/local/src/qgis_unstable/src/core/qgsscalecalculator.cpp: 139:
 (calculateGeographicDistance) Distance across map extent (m): 4.68037e+10
 Debug: /usr/local/src/qgis_unstable/src/core/qgsscalecalculator.cpp: 90:
 (calculate) Using conversionFactor of 39.3701
 Debug: /usr/local/src/qgis_unstable/src/core/qgsmaprenderer.cpp: 209:
 (adjustExtentToSize) Scale (assuming meters as map units) = 1:7.07584e+11
 Warning: QPainter::begin: A paint device can only be painted by one
 painter at a time.
 Debug: /usr/local/src/qgis_unstable/src/core/qgsmaprenderer.cpp: 224:
 (render) ========== Rendering ==========
 Warning: QPainter::end: Painter not active, aborted
 Debug: /usr/local/src/qgis_unstable/src/gui/qgsmapoverviewcanvas.cpp: 162:
 (drawExtentRect) panning: extent to widget: [0,26] [251x128]
 Warning: QPixmap::operator=: Cannot assign to pixmap during painting
 Debug: /usr/local/src/qgis_unstable/src/core/qgsmaprenderer.cpp: 195:
 (adjustExtentToSize) Map units per pixel (x,y) : 5041.32, 4851.6

 Debug: /usr/local/src/qgis_unstable/src/core/qgsmaprenderer.cpp: 196:
 (adjustExtentToSize) Pixmap dimensions (x,y) : 250, 186

 Debug: /usr/local/src/qgis_unstable/src/core/qgsmaprenderer.cpp: 197:
 (adjustExtentToSize) Extent dimensions (x,y) : 1.26033e+06, 902397

 Debug: /usr/local/src/qgis_unstable/src/core/qgsmaprenderer.cpp: 198:
 (adjustExtentToSize) -594174.7892561983317137,-466198.3471074380213395 :
 666155.7892561983317137,436198.3471074380213395
 Debug: /usr/local/src/qgis_unstable/src/core/qgsscalecalculator.cpp: 139:
 (calculateGeographicDistance) Distance across map extent (m): 4.68037e+10
 Debug: /usr/local/src/qgis_unstable/src/core/qgsscalecalculator.cpp: 90:
 (calculate) Using conversionFactor of 39.3701
 Debug: /usr/local/src/qgis_unstable/src/core/qgsmaprenderer.cpp: 209:
 (adjustExtentToSize) Scale (assuming meters as map units) = 1:7.07584e+11
 Warning: QPainter::begin: A paint device can only be painted by one
 painter at a time.
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/2884#comment:5>
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