[QGIS-trac] Re: [Quantum GIS] #1420: random freezes when bulit with debug

Quantum GIS qgis at qgis.org
Tue Nov 25 12:26:04 EST 2008


#1420: random freezes when bulit with debug
--------------------------------------------------------------+-------------
        Reporter:  msieczka                                   |         Owner:  nobody       
            Type:  bug                                        |        Status:  new          
        Priority:  critical: causes crash or data corruption  |     Milestone:  Version 1.0.0
       Component:  GUI                                        |       Version:  HEAD         
      Resolution:                                             |      Keywords:               
Platform_version:                                             |      Platform:  Linux        
        Must_fix:  Yes                                        |   Status_info:  0            
--------------------------------------------------------------+-------------
Comment (by msieczka):

 And here's a somewhat different bt when Gnome remains responsible and only
 QGIS alone freezes:

 {{{
 0x00007fd7eeec4a2b in write () from /lib/libc.so.6
 (gdb) bt
 #0  0x00007fd7eeec4a2b in write () from /lib/libc.so.6
 #1  0x00007fd7eee7290a in _IO_file_write () from /lib/libc.so.6
 #2  0x00007fd7eee7256a in ?? () from /lib/libc.so.6
 #3  0x00007fd7eee7284e in _IO_file_xsputn () from /lib/libc.so.6
 #4  0x00007fd7eee4bc0a in ?? () from /lib/libc.so.6
 #5  0x00007fd7eee47436 in vfprintf () from /lib/libc.so.6
 #6  0x00007fd7eee50c08 in fprintf () from /lib/libc.so.6
 #7  0x00000000004b270e in myMessageOutput (type=QtDebugMsg,
     msg=0x7ffffb161aa0 "/home/shoofi/src/straight/qgis-
 trunk/src/providers/grass/qgsgrassprovider.cpp: 717: (loadAttributes) No
 field info -> no attribute table") at /home/shoofi/src/straight/qgis-
 trunk/src/app/main.cpp:210
 #8  0x00007fd7f23ff543 in qt_message_output () from
 /usr/lib/libQtCore.so.4
 #9  0x00007fd7f23ff9e4 in qDebug () from /usr/lib/libQtCore.so.4
 #10 0x00007fd7f28fd7e1 in QgsLogger::debug (msg=@0x7ffffb163da0,
 debuglevel=1,
     file=0x7fd7e1e8f1f8 "/home/shoofi/src/straight/qgis-
 trunk/src/providers/grass/qgsgrassprovider.cpp", function=0x7fd7e1e90155
 "loadAttributes", line=717)
     at /home/shoofi/src/straight/qgis-trunk/src/core/qgslogger.cpp:51
 #11 0x00007fd7e1e74f02 in QgsGrassProvider::loadAttributes (
     layer=@0x7ffffb1642a0)
     at /home/shoofi/src/straight/qgis-
 trunk/src/providers/grass/qgsgrassprovider.cpp:717
 #12 0x00007fd7e1e772ca in QgsGrassProvider::loadLayerSourcesFromMap (
     layer=@0x7ffffb1642a0)
     at /home/shoofi/src/straight/qgis-
 trunk/src/providers/grass/qgsgrassprovider.cpp:695
 #13 0x00007fd7e1e7a1db in QgsGrassProvider::openLayer (gisdbase=
       {static null = {<No data fields>}, static shared_null = {ref =
 {_q_value = 4451}, alloc = 0, size = 0, data = 0x9406da, clean = 0,
 simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved =
 0, array = {0}}, static shared_empty = {ref = {_q_value = 21}, alloc = 0,
 size = 0, data = 0x7fd7f27d5cfa, clean = 0, simpletext = 0, righttoleft =
 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d =
 0x7ffffb1648e0, static codecForCStrings = 0x0},
     location=
       {static null = {<No data fields>}, static shared_null = {ref =
 {_q_value = 4451}, alloc = 0, size = 0, data = 0x9406da, clean = 0,
 simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved =
 0, array = {0}}, static shared_empty = {ref = {_q_value = 21}, alloc = 0,
 size = 0, data = 0x7fd7f27d5cfa, clean = 0, simpletext = 0, righttoleft =
 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d =
 0x7ffffb1648d0, static codecForCStrings = 0x0}, mapset=
       {static null = {<No data fields>}, static shared_null = {ref =
 {_q_value = 4451}, alloc = 0, size = 0, data = 0x9406da, clean = 0,
 simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved =
 0, array = {0}}, static shared_empty = {ref = {_q_value = 21}, alloc = 0,
 size = 0, data = 0x7fd7f27d5cfa, clean = 0, simpletext = 0, righttoleft =
 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d =
 0x7ffffb1648c0, static codecForCStrings = 0x0},
     mapName=

       {static null = {<No data fields>}, static shared_null = {ref =
 {_q_value = 4451}, alloc = 0, size = 0, data = 0x9406da, clean = 0,
 simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved =
 0, array = {0}}, static shared_empty = {ref = {_q_value = 21}, alloc = 0,
 size = 0, data = 0x7fd7f27d5cfa, clean = 0, simpletext = 0, righttoleft =
 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d =
 0x7ffffb1648b0, static codecForCStrings = 0x0},
     field=1)
     at /home/shoofi/src/straight/qgis-
 trunk/src/providers/grass/qgsgrassprovider.cpp:664
 #14 0x00007fd7e1e7d8e6 in QgsGrassProvider (this=0x2c49340, uri=
       {static null = {<No data fields>}, static shared_null = {ref =
 {_q_value = 4451}, alloc = 0, size = 0, data = 0x9406da, clean = 0,
 simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved =
 0, array = {0}}, static shared_empty = {ref = {_q_value = 21}, alloc = 0,
 size = 0, data = 0x7fd7f27d5cfa, clean = 0, simpletext = 0, righttoleft =
 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d =
 0x7ffffb164a40, static codecForCStrings = 0x0})
     at /home/shoofi/src/straight/qgis-
 trunk/src/providers/grass/qgsgrassprovider.cpp:166
 #15 0x00007fd7dfbf0063 in classFactory (uri=0x2c1aab0)
     at /home/shoofi/src/straight/qgis-
 trunk/src/providers/grass/provider.cpp:46
 #16 0x00007fd7f292584f in QgsProviderRegistry::getProvider
 (this=0x1fe4bf0,
     providerKey=@0x2c1ab00, dataSource=@0x2c1aab0)
     at /home/shoofi/src/straight/qgis-
 trunk/src/core/qgsproviderregistry.cpp:362
 #17 0x00007fd7f294d13d in QgsVectorLayer::setDataProvider (this=0x2c1aa70,
     provider=@0x2c1ab00)
     at /home/shoofi/src/straight/qgis-
 trunk/src/core/qgsvectorlayer.cpp:2151
 #18 0x00007fd7f294dfca in QgsVectorLayer::readXml (this=0x2c1aa70,
     layer_node=@0x7ffffb165700)
     at /home/shoofi/src/straight/qgis-
 trunk/src/core/qgsvectorlayer.cpp:2041
 #19 0x00007fd7f29032de in QgsMapLayer::readXML (this=0x2c1aa70,
     layer_node=@0x7ffffb165700)
     at /home/shoofi/src/straight/qgis-trunk/src/core/qgsmaplayer.cpp:171
 #20 0x00007fd7f2912d51 in _getMapLayers (doc=@0x1fe4410)
     at /home/shoofi/src/straight/qgis-trunk/src/core/qgsproject.cpp:706
 #21 0x00007fd7f29160d1 in QgsProject::read (this=0x1fd1510)
     at /home/shoofi/src/straight/qgis-trunk/src/core/qgsproject.cpp:832
 #22 0x00007fd7f2916561 in QgsProject::read (this=0x1fd1510,
     file=@0x7ffffb165e00)
     at /home/shoofi/src/straight/qgis-trunk/src/core/qgsproject.cpp:736
 #23 0x00000000004e4a2f in QgisApp::addProject (this=0x1f9b310,
 projectFile=
       {static null = {<No data fields>}, static shared_null = {ref =
 {_q_value = 4451}, alloc = 0, size = 0, data = 0x9406da, clean = 0,
 simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved =
 0, array = {0}}, static shared_empty = {ref = {_q_value = 21}, alloc = 0,
 size = 0, data = 0x7fd7f27d5cfa, clean = 0, simpletext = 0, righttoleft =
 0, asciiCache = 0, capacity = 0, reserved
  = 0, array = {0}}, d = 0x7ffffb166010, static codecForCStrings = 0x0})
     at /home/shoofi/src/straight/qgis-trunk/src/app/qgisapp.cpp:2893
 #24 0x00000000004e5863 in QgisApp::openProject (this=0x1f9b310,
     fileName=@0x9408b0)
     at /home/shoofi/src/straight/qgis-trunk/src/app/qgisapp.cpp:3159
 #25 0x00000000004b4ce6 in main (argc=2, argv=0x7ffffb166a28)
     at /home/shoofi/src/straight/qgis-trunk/src/app/main.cpp:581

 }}}

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