[QGIS-trac] Re: [Quantum GIS] #1479: map composer: adding scalebar when view is added crashes qgis

Quantum GIS qgis at qgis.org
Sun Feb 8 06:28:35 EST 2009


#1479: map composer: adding scalebar when view is added crashes qgis
--------------------------------------------------------------+-------------
        Reporter:  alicebtoklas                               |         Owner:  nobody       
            Type:  bug                                        |        Status:  reopened     
        Priority:  critical: causes crash or data corruption  |     Milestone:  Version 1.0.1
       Component:  Printing                                   |       Version:  1.0.0        
      Resolution:                                             |      Keywords:               
Platform_version:                                             |      Platform:  Debian       
        Must_fix:  Yes                                        |   Status_info:  0            
--------------------------------------------------------------+-------------
Comment (by mlennert):

 Replying to [comment:12 mlennert]:
 > Replying to [comment:11 mhugent]:
 > > To help trace down the problem, you could paste a debugger backtrace.
 Just run gdb with qgis:
 > > run 'gdb qgis' in a terminal
 > > and after the crash, type 'backtrace' and paste the output here.
 > >
 > > If you have a qgis compiled with debugging output enabled, the output
 will be even better, containing line numbers of the relevant source files.
 >
 > Ok, I'll try this as well, but the fact that it works in trunk is
 already a hint. I hope it's just something that needs to be backported.


 Ok, here's the debug message:

 Debug: /home/mlennert/SRC/QGIS/Version-
 1_0/src/core/composer/qgscomposeritem.cpp: 84: (setSelected) entered.
 Fatal: ASSERT failure in QList<T>::at: "index out of range", file
 /usr/include/qt4/QtCore/qlist.h, line 387

 And I'll attach the backtrace of gdb.

 Moritz

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