[QGIS-trac] Re: [Quantum GIS] #3286: Qgis segfaults instanciating QgsComposition from python

Quantum GIS qgis at qgis.org
Fri Dec 3 10:24:57 EST 2010


#3286: Qgis segfaults instanciating QgsComposition from python
---------------------------------------------------------+------------------
   Reporter:  elpaso                                     |              Owner:  mhugent           
       Type:  bug                                        |             Status:  new               
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.7.0     
  Component:  Python plugins and bindings                |            Version:  Trunk             
   Keywords:  QgsComposition                             |   Platform_version:  ubuntu lucid 64bit
   Platform:  Linux                                      |           Must_fix:  No                
Status_info:  0                                          |  
---------------------------------------------------------+------------------

Comment(by mhugent):

 Hm, it does not crash for me here when repeating the steps.
 Could you try to replace line 30 in qgscomposition.sip with the following:

 QgsComposition( QgsMapRenderer* mapRenderer /TransferThis/ );

 Then please recompile QGIS, repeat your script and report back if it fixed
 the crash

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