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

Quantum GIS qgis at qgis.org
Tue Jul 13 15:42:01 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.5.0
  Component:  Build/Install                              |            Version:  Trunk        
   Keywords:                                             |   Platform_version:               
   Platform:  Debian                                     |           Must_fix:  Yes          
Status_info:  0                                          |  
---------------------------------------------------------+------------------
 Ok, this may be related to other tickets about crashes when resizing the
 overview window. In this case I'm experiencing the crash while resizing it
 vertically, not horizontally.

 I'm under a fresh installation of Ubuntu 10,04 and a fresh installation of
 qgis trunk.

 This is the message:


 {{{
 Warning: QPixmap::operator=: Cannot assign to pixmap during painting
 Warning: QPainter::begin: A paint device can only be painted by one
 painter at a time.
 Warning: QPainter::end: Painter not active, aborted
 Warning: QPixmap::operator=: Cannot assign to pixmap during painting
 Warning: QPainter::begin: A paint device can only be painted by one
 painter at a time.
 Warning: QPainter::end: Painter not active, aborted
 Warning: QPixmap::operator=: Cannot assign to pixmap during painting
 Warning: QPainter::begin: A paint device can only be painted by one
 painter at a time.
 Warning: QPainter::end: Painter not active, aborted
 Segmentation fault
 }}}


 and this are the steps to replicate:

 *) open a new project
 *) add the "rede viaria layer" from this wfs server
 http://mapas.igeo.pt/wfs/sc500k.1
 *) set project CRS to epsg 3763
 *) right click on the layer and select "show in overview"
 *) right click on empty spot in the toolbars and activate the overview
 window
 *) in my case the overview window will show above the TOC window and with
 a very little height
 *) drag and drop the overview window under the TOC
 *) resize vertically the overview window -> qgis will crash with the above
 message or with just "seg fault"


 not tested under windows.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2884>
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