[QGIS-trac] Re: [Quantum GIS] #1485: Running on Intrepid 64, version 1.0.0 (stable), crashes when playing with symbology

Quantum GIS qgis at qgis.org
Fri Mar 27 05:24:59 EDT 2009


#1485: Running on Intrepid 64, version 1.0.0 (stable), crashes when playing with
symbology
--------------------------------------------------------------+-------------
        Reporter:  FiReSTaRT                                  |         Owner:  nobody                      
            Type:  bug                                        |        Status:  reopened                    
        Priority:  critical: causes crash or data corruption  |     Milestone:  Version 1.0.2               
       Component:  Symbology                                  |       Version:  HEAD                        
      Resolution:                                             |      Keywords:  symbology classify graduated
Platform_version:  Ubuntu Intrepid 8.10                       |      Platform:  Linux                       
        Must_fix:  Yes                                        |   Status_info:  0                           
--------------------------------------------------------------+-------------
Changes (by dolf):

  * status:  closed => reopened
  * resolution:  fixed =>

Comment:

 I already had the above version of libgdal installed on Ubuntu Intrepid
 Ibex but downloaded and installed the above version just to be safe. The
 problem still exists with me. When classifying using unique values there
 is no problem, but when using a graduated color, qgis crashes.

 I was classifying the counties of california with the attached dataset.
 I am running the following system:

 Ubuntu Intrepid Ibex 8.10 with 2.6.27-11-generic #1 SMP x86_64 GNU/Linux
 {{{
 libgdal1-1.5.0                1.5.4-2~intrepid3    Geospatial Data
 Abstraction Library
 libgdal1-1.5.0-grass          1.5.2-1              GRASS extension for the
 Geospatial Data Abstraction Library
 gdal-bin                      1.5.4-2~intrepid3    Geospatial Data
 Abstraction Library - Utility programs
 qgis                          1.0.1-1~intrepid1    Geographic Information
 System (GIS)
 qgis-common                   1.0.1-1~intrepid1    Quantum GIS -
 architecture-independent data
 qgis-plugin-grass             1.0.1-1~intrepid1    GRASS plugin for
 Quantum GIS
 qgis-plugin-grass-common      1.0.1-1~intrepid1    GRASS plugin for
 Quantum GIS - architecture-independent data
 grass                         6.2.3-2.1            Geographic Resources
 Analysis Support System
 }}}
 The following is the dump:

 {{{
 Python support ENABLED :-)
 *** buffer overflow detected ***: /usr/bin/qgis.bin terminated
 ======= Backtrace: =========
 /lib/libc.so.6(__fortify_fail+0x37)[0x7fb3188bf887]
 /lib/libc.so.6[0x7fb3188bd750]
 /lib/libc.so.6[0x7fb3188bcd8b]
 /lib/libc.so.6(__snprintf_chk+0x7b)[0x7fb3188bcc5b]
 /usr/lib/libgdal1.5.0.so.1(_ZN10OGRFeature16GetFieldAsStringEi+0x346)[0x7fb319937566]
 /usr/lib/libgdal1.5.0.so.1(_ZN21OGRGenSQLResultsLayer14PrepareSummaryEv+0x111)[0x7fb3198b2931]
 /usr/lib/libgdal1.5.0.so.1(_ZN21OGRGenSQLResultsLayer10GetFeatureEl+0xbd)[0x7fb3198b2bdd]
 /usr/lib/qgis/libogrprovider.so(_ZN14QgsOgrProvider12minimumValueEi+0x4ea)[0x7fb304cf78ba]
 /usr/bin/qgis.bin(_ZN24QgsGraduatedSymbolDialog20adjustClassificationEv+0x17ff)[0x4cdaef]
 /usr/bin/qgis.bin(_ZN24QgsGraduatedSymbolDialog11qt_metacallEN11QMetaObject4CallEiPPv+0xc0)[0x5d28c0]
 /usr/lib/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectiiPPv+0x244)[0x7fb31ba09134]
 /usr/lib/libQtGui.so.4(_ZN15QAbstractButton7clickedEb+0x37)[0x7fb31b49d797]
 /usr/lib/libQtGui.so.4[0x7fb31b2218db]
 /usr/lib/libQtGui.so.4[0x7fb31b2234a2]
 /usr/lib/libQtGui.so.4(_ZN15QAbstractButton17mouseReleaseEventEP11QMouseEvent+0x85)[0x7fb31b2236f5]
 /usr/lib/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0x9b9)[0x7fb31af69329]
 /usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xbd)[0x7fb31af16c3d]
 /usr/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x90a)[0x7fb31af1f22a]
 /usr/lib/libqgis_core.so.1.0(_ZN14QgsApplication6notifyEP7QObjectP6QEvent+0x18)[0x7fb31bd42a08]
 /usr/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0xd1)[0x7fb31b9f4d61]
 /usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_E+0x108)[0x7fb31af1e5c8]
 /usr/lib/libQtGui.so.4[0x7fb31af82be9]
 /usr/lib/libQtGui.so.4(_ZN12QApplication15x11ProcessEventEP7_XEvent+0x8c7)[0x7fb31af81607]
 /usr/lib/libQtGui.so.4[0x7fb31afa92c4]
 /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x23b)[0x7fb317aeed5b]
 /usr/lib/libglib-2.0.so.0[0x7fb317af252d]
 /usr/lib/libglib-2.0.so.0(g_main_context_iteration+0x6b)[0x7fb317af26eb]
 /usr/lib/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x4f)[0x7fb31ba1d15f]
 /usr/lib/libQtGui.so.4[0x7fb31afa8a6f]
 /usr/lib/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x32)[0x7fb31b9f3682]
 /usr/lib/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xcd)[0x7fb31b9f380d]
 /usr/lib/libQtGui.so.4(_ZN7QDialog4execEv+0xc5)[0x7fb31b330065]
 /usr/bin/qgis.bin(_ZN9QgsLegend25legendLayerShowPropertiesEv+0x11a)[0x59fa9a]
 /usr/lib/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0x80c)[0x7fb31af6917c]
 /usr/lib/libQtGui.so.4(_ZN17QAbstractItemView13viewportEventEP6QEvent+0x3ed)[0x7fb31b38e8fd]
 /usr/lib/libQtGui.so.4(_ZN9QTreeView13viewportEventEP6QEvent+0x250)[0x7fb31b3c3530]
 /usr/lib/libQtCore.so.4(_ZN23QCoreApplicationPrivate29sendThroughObjectEventFiltersEP7QObjectP6QEvent+0x88)[0x7fb31b9f4038]
 /usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x8c)[0x7fb31af16c0c]
 /usr/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x90a)[0x7fb31af1f22a]
 /usr/lib/libqgis_core.so.1.0(_ZN14QgsApplication6notifyEP7QObjectP6QEvent+0x18)[0x7fb31bd42a08]
 /usr/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0xd1)[0x7fb31b9f4d61]
 /usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_E+0x108)[0x7fb31af1e5c8]
 /usr/lib/libQtGui.so.4[0x7fb31af82be9]
 /usr/lib/libQtGui.so.4(_ZN12QApplication15x11ProcessEventEP7_XEvent+0x8c7)[0x7fb31af81607]
 /usr/lib/libQtGui.so.4[0x7fb31afa92c4]
 /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x23b)[0x7fb317aeed5b]
 /usr/lib/libglib-2.0.so.0[0x7fb317af252d]
 /usr/lib/libglib-2.0.so.0(g_main_context_iteration+0x6b)[0x7fb317af26eb]
 /usr/lib/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x4f)[0x7fb31ba1d15f]
 /usr/lib/libQtGui.so.4[0x7fb31afa8a6f]
 /usr/lib/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x32)[0x7fb31b9f3682]
 /usr/lib/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xcd)[0x7fb31b9f380d]
 /usr/lib/libQtCore.so.4(_ZN16QCoreApplication4execEv+0xbd)[0x7fb31b9f5cbd]
 /usr/bin/qgis.bin(main+0x1ba8)[0x46d448]
 /lib/libc.so.6(__libc_start_main+0xe6)[0x7fb3187de466]
 /usr/bin/qgis.bin[0x46b3e9]
 ======= Memory map: ========
 00400000-00641000 r-xp 00000000 08:02 582425
 /usr/bin/qgis.bin
 00840000-00841000 r--p 00240000 08:02 582425
 /usr/bin/qgis.bin
 00841000-00847000 rw-p 00241000 08:02 582425
 /usr/bin/qgis.bin
 00847000-00848000 rw-p 00847000 00:00 0
 01524000-027e6000 rw-p 01524000 00:00 0
 [heap]
 402d1000-402d2000 ---p 402d1000 00:00 0
 402d2000-40ad2000 rw-p 402d2000 00:00 0
 40ad2000-40ad3000 ---p 40ad2000 00:00 0
 40ad3000-412d3000 rw-p 40ad3000 00:00 0
 4191d000-4191e000 ---p 4191d000 00:00 0
 4191e000-4211e000 rw-p 4191e000 00:00 0
 7fb3012a6000-7fb3012ae000 r-xp 00000000 08:02 1441882
 /usr/lib/gdal15plugins/gdal_GRASS.so
 7fb3012ae000-7fb3014ae000 ---p 00008000 08:02 1441882
 /usr/lib/gdal15plugins/gdal_GRASS.so
 7fb3014ae000-7fb3014af000 r--p 00008000 08:02 1441882
 /usr/lib/gdal15plugins/gdal_GRASS.so
 7fb3014af000-7fb3014b0000 rw-p 00009000 08:02 1441882
 /usr/lib/gdal15plugins/gdal_GRASS.so
 7fb3014b0000-7fb301528000 r-xp 00000000 08:02 1098047
 /usr/lib/python2.5/site-packages/qgis/gui.so
 7fb301528000-7fb301728000 ---p 00078000 08:02 1098047
 /usr/lib/python2.5/site-packages/qgis/gui.so
 7fb301728000-7fb30172b000 r--p 00078000 08:02 1098047
 /usr/lib/python2.5/site-packages/qgis/gui.so
 7fb30172b000-7fb301736000 rw-p 0007b000 08:02 1098047
 /usr/lib/python2.5/site-packages/qgis/gui.so
 7fb301736000-7fb301774000 r-xp 00000000 08:02 1262013
 /usr/lib/python2.5/site-packages/PyQt4/QtXml.so
 7fb301774000-7fb301973000 ---p 0003e000 08:02 1262013
 /usr/lib/python2.5/site-packages/PyQt4/QtXml.so
 7fb301973000-7fb301975000 r--p 0003d000 08:02 1262013
 /usr/lib/python2.5/site-packages/PyQt4/QtXml.so
 7fb301975000-7fb30197c000 rw-p 0003f000 08:02 1262013
 /usr/lib/python2.5/site-packages/PyQt4/QtXml.so
 7fb30197c000-7fb301a29000 r-xp 00000000 08:02 950293
 /usr/lib/python2.5/site-packages/qgis/core.so
 7fb301a29000-7fb301c28000 ---p 000ad000 08:02 950293
 /usr/lib/python2.5/site-packages/qgis/core.so
 7fb301c28000-7fb301c2c000 r--p 000ac000 08:02 950293
 /usr/lib/python2.5/site-packages/qgis/core.so
 7fb301c2c000-7fb301c40000 rw-p 000b0000 0Aborted
 }}}

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