[Qgis-developer] New Vector API

Matthias Kuhn matthias.kuhn at gmx.ch
Mon Jan 7 03:42:09 PST 2013


Hi Martin,

as already mentioned by Marco, there seems to be a problem with the 
latest fix. I have multiple postgres layers and after every redraw only 
one layer (random) is drawn (sometimes not even one layer).

When I quit QGIS I get a segmentation fault in the postgres provider 
(QgsPostgresConn, member methods called on a NULL pointer), backtrace 
attached.

Regards,
Matthias


On 01/06/2013 10:01 PM, Martin Dobias wrote:
> On Thu, Jan 3, 2013 at 10:37 AM, Matthias Kuhn <matthias.kuhn at gmx.ch> wrote:
>> I've just been able to segfault:
>>
>> a = dataProvider.getFeatures( QgsFeatureRequest().setFilterFid( featureId )
>> )
>> a.rewind()
>> a.next()
> Hi Matthias
>
> I was able to replicate the problem in postgres provider - I have
> fixed the issues, please check again. By the way, funny thing is that
> rewind() call obviously never worked correctly in postgres provider
> until now (it executed "move 0" instead of "move absolute 0",
> resulting in no actual move).
>
> Please let me know if you encounter any other problems.
>
> Martin

-------------- next part --------------

Thread 1 (Thread 0x7ffff50f9880 (LWP 8014)):
#0  0x00007fffe214db8e in QgsPostgresConn::PQstatus (this=0x0) at /home/kk/dev/cpp/qgis/Quantum-GIS/src/providers/postgres/qgspostgresconn.cpp:920
No locals.
#1  0x00007fffe214c469 in QgsPostgresConn::PQexec (this=0x0, query="CLOSE qgisf0", logError=false) at /home/kk/dev/cpp/qgis/Quantum-GIS/src/providers/postgres/qgspostgresconn.cpp:748
        res = 0x5550a6
#2  0x00007fffe214ce5b in QgsPostgresConn::PQexecNR (this=0x0, query="CLOSE qgisf0", retry=true) at /home/kk/dev/cpp/qgis/Quantum-GIS/src/providers/postgres/qgspostgresconn.cpp:825
        res = {
          mRes = 0x7fffffffc4a0
        }
        errorStatus = 32767
#3  0x00007fffe214cd2b in QgsPostgresConn::closeCursor (this=0x0, cursorName="qgisf0") at /home/kk/dev/cpp/qgis/Quantum-GIS/src/providers/postgres/qgspostgresconn.cpp:811
No locals.
#4  0x00007fffe215aae2 in QgsPostgresFeatureIterator::close (this=0x4892620) at /home/kk/dev/cpp/qgis/Quantum-GIS/src/providers/postgres/qgspostgresfeatureiterator.cpp:192
No locals.
#5  0x00007fffe2159f57 in QgsPostgresFeatureIterator::~QgsPostgresFeatureIterator (this=0x4892620, __in_chrg=<optimized out>) at /home/kk/dev/cpp/qgis/Quantum-GIS/src/providers/postgres/qgspostgresfeatureiterator.cpp:69
No locals.
#6  0x00007fffe215a000 in QgsPostgresFeatureIterator::~QgsPostgresFeatureIterator (this=0x4892620, __in_chrg=<optimized out>) at /home/kk/dev/cpp/qgis/Quantum-GIS/src/providers/postgres/qgspostgresfeatureiterator.cpp:70
No locals.
#7  0x00007ffff5c88f7a in QgsAbstractFeatureIterator::deref (this=0x4892620) at /home/kk/dev/cpp/qgis/Quantum-GIS/src/core/qgsfeatureiterator.cpp:23
No locals.
#8  0x00007ffff5d372f9 in QgsFeatureIterator::~QgsFeatureIterator (this=0xb8159d8, __in_chrg=<optimized out>) at /home/kk/dev/cpp/qgis/Quantum-GIS/src/core/qgsfeatureiterator.h:95
No locals.
#9  0x00007ffff5d69903 in QgsVectorLayerFeatureIterator::~QgsVectorLayerFeatureIterator (this=0xb815940, __in_chrg=<optimized out>) at /home/kk/dev/cpp/qgis/Quantum-GIS/src/core/qgsvectorlayerfeatureiterator.cpp:48
No locals.
#10 0x00007ffff5d699d0 in QgsVectorLayerFeatureIterator::~QgsVectorLayerFeatureIterator (this=0xb815940, __in_chrg=<optimized out>) at /home/kk/dev/cpp/qgis/Quantum-GIS/src/core/qgsvectorlayerfeatureiterator.cpp:51
No locals.
#11 0x00007ffff5c88f7a in QgsAbstractFeatureIterator::deref (this=0xb815940) at /home/kk/dev/cpp/qgis/Quantum-GIS/src/core/qgsfeatureiterator.cpp:23
No locals.
#12 0x00007ffff5d372f9 in QgsFeatureIterator::~QgsFeatureIterator (this=0x48b8170, __in_chrg=<optimized out>) at /home/kk/dev/cpp/qgis/Quantum-GIS/src/core/qgsfeatureiterator.h:95
No locals.
#13 0x00007ffff5d412b3 in QgsVectorLayer::~QgsVectorLayer (this=0x48b7fb0, __in_chrg=<optimized out>) at /home/kk/dev/cpp/qgis/Quantum-GIS/src/core/qgsvectorlayer.cpp:179
No locals.
#14 0x00007ffff5d4167e in QgsVectorLayer::~QgsVectorLayer (this=0x48b7fb0, __in_chrg=<optimized out>) at /home/kk/dev/cpp/qgis/Quantum-GIS/src/core/qgsvectorlayer.cpp:204
No locals.
#15 0x00007ffff5cd5f9e in QgsMapLayerRegistry::removeMapLayers (this=0x125bc70, theLayerIds=QStringList<QString> = {...}, theEmitSignal=false) at /home/kk/dev/cpp/qgis/Quantum-GIS/src/core/qgsmaplayerregistry.cpp:116
        myId = "bodenbedeckungsflaechen_symbole20120316162620304"
        _container_ = {
          c = QStringList<QString> = {
            [0] = "bodenbedeckungsflaechen_symbole20120316162620304",
            [1] = "gebaeude20120316163628490",
            [2] = "grenzpunkte20120316164004001",
            [3] = "liegenschaften20120316163830734",
            [4] = "liegenschaften_beschriftung20120316164202086",
            [5] = "vw_manhole20120813141942568",
            [6] = "vw_network_node20121129124610435",
            [7] = "vw_network_segment20121129124546955",
            [8] = "vw_reach20120813141922936",
            [9] = "vw_special_structure20120817151756659"
          }, 
          brk = 0, 
          i = {
            i = 0xb802518
          }, 
          e = {
            i = 0xb802568
          }
        }
#16 0x00007ffff5cd6264 in QgsMapLayerRegistry::removeAllMapLayers (this=0x125bc70) at /home/kk/dev/cpp/qgis/Quantum-GIS/src/core/qgsmaplayerregistry.cpp:145
        myList = QStringList<QString> = {
          [0] = "bodenbedeckungsflaechen_symbole20120316162620304",
          [1] = "gebaeude20120316163628490",
          [2] = "grenzpunkte20120316164004001",
          [3] = "liegenschaften20120316163830734",
          [4] = "liegenschaften_beschriftung20120316164202086",
          [5] = "vw_manhole20120813141942568",
          [6] = "vw_network_node20121129124610435",
          [7] = "vw_network_segment20121129124546955",
          [8] = "vw_reach20120813141922936",
          [9] = "vw_special_structure20120817151756659"
        }
        it = {
          i = 0x4988390
        }
#17 0x000000000057cf8b in QgisApp::removeAllLayers (this=0x10043c0) at /home/kk/dev/cpp/qgis/Quantum-GIS/src/app/qgisapp.cpp:5381
No locals.
#18 0x0000000000581eca in QgisApp::closeProject (this=0x10043c0) at /home/kk/dev/cpp/qgis/Quantum-GIS/src/app/qgisapp.cpp:6198
No locals.
#19 0x000000000056edf3 in QgisApp::fileExit (this=0x10043c0) at /home/kk/dev/cpp/qgis/Quantum-GIS/src/app/qgisapp.cpp:3041
No locals.
#20 0x0000000000581f4c in QgisApp::closeEvent (this=0x10043c0, event=0x7fffffffd230) at /home/kk/dev/cpp/qgis/Quantum-GIS/src/app/qgisapp.cpp:6236
No locals.
#21 0x00000035f101a140 in QWidget::event (this=0x10043c0, event=0x7fffffffd230) at kernel/qwidget.cpp:8544
        d = 0x10040a0
#22 0x00000035f13dde1b in QMainWindow::event (this=0x10043c0, event=0x7fffffffd230) at widgets/qmainwindow.cpp:1478
        d = 0x10040a0
#23 0x0000000000559e10 in QgisApp::event (this=0x10043c0, event=0x7fffffffd230) at /home/kk/dev/cpp/qgis/Quantum-GIS/src/app/qgisapp.cpp:826
        done = false
#24 0x00000035f0fca5ac in QApplicationPrivate::notify_helper (this=this at entry=0xe1b850, receiver=receiver at entry=0x10043c0, e=e at entry=0x7fffffffd230) at kernel/qapplication.cpp:4562
        consumed = <optimized out>
#25 0x00000035f0fcea2a in QApplication::notify (this=0x7fffffffdd50, receiver=0x10043c0, e=0x7fffffffd230) at kernel/qapplication.cpp:4423
        d = 0xe1b850
        res = false
#26 0x00007ffff5c3c9ba in QgsApplication::notify (this=0x7fffffffdd50, receiver=0x10043c0, event=0x7fffffffd230) at /home/kk/dev/cpp/qgis/Quantum-GIS/src/core/qgsapplication.cpp:222
        done = true
#27 0x00000035f097799e in QCoreApplication::notifyInternal (this=0x7fffffffdd50, receiver=0x10043c0, event=0x7fffffffd230) at kernel/qcoreapplication.cpp:946
        threadData = 0xe1b7b0
        returnValue = <optimized out>
        result = false
        cbdata = {0x10043c0, 0x7fffffffd230, 0x7fffffffd1af}
        d = <optimized out>
#28 0x00000035f1013c31 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
No locals.
#29 QWidgetPrivate::close_helper (this=0x10040a0, mode=QWidgetPrivate::CloseWithSpontaneousEvent) at kernel/qwidget.cpp:7941
        e = {
          <QEvent> = {
            _vptr.QEvent = 0x35f1a63690, 
            static staticMetaObject = {
              d = {
                superdata = 0x0, 
                stringdata = 0x35f0a68f00 "QEvent", 
                data = 0x35f0a69900, 
                extradata = 0x0
              }
            }, 
            d = 0x0, 
            t = 19, 
            posted = 0, 
            spont = 1, 
            m_accept = 0, 
            reserved = 7733
          }, <No data fields>}
        parentWidget = {
          o = 0x0
        }
        that = {
          o = 0x10043c0
        }
        isMain = false
        quitOnClose = <optimized out>
#30 0x00000035f104657f in QApplication::x11ClientMessage (this=<optimized out>, w=0x10043c0, event=<optimized out>, passive_only=<optimized out>) at kernel/qapplication_x11.cpp:3174
        a = <optimized out>
        widget = 0x10043c0
#31 0x00000035f1044da2 in QApplication::x11ProcessEvent (this=0x7fffffffdd50, event=0x7fffffffd7f0) at kernel/qapplication_x11.cpp:3799
        loopLevelCounter = {
          threadData = 0xe1b7b0
        }
        widget = 0x10043c0
        keywidget = <optimized out>
        grabbed = false
        d = 0xe1b850
#32 0x00000035f106a90c in x11EventSourceDispatch (s=s at entry=0xe1f270, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
        event = {
          type = 33, 
          xany = {
            type = 33, 
            serial = 73085, 
            send_event = 1, 
            display = 0xe374f0, 
            window = 46137459
          }, 
          xkey = {
            type = 33, 
            serial = 73085, 
            send_event = 1, 
            display = 0xe374f0, 
            window = 46137459, 
            root = 296, 
            subwindow = 32, 
            time = 294, 
            x = 12038288, 
            y = 0, 
            x_root = -1786493938, 
            y_root = -1, 
            state = 34641472, 
            keycode = 0, 
            same_screen = -205012128
          }, 
          xbutton = {
            type = 33, 
            serial = 73085, 
            send_event = 1, 
            display = 0xe374f0, 
            window = 46137459, 
            root = 296, 
            subwindow = 32, 
            time = 294, 
            x = 12038288, 
            y = 0, 
            x_root = -1786493938, 
            y_root = -1, 
            state = 34641472, 
            button = 0, 
            same_screen = -205012128
          }, 
          xmotion = {
            type = 33, 
            serial = 73085, 
            send_event = 1, 
            display = 0xe374f0, 
            window = 46137459, 
            root = 296, 
            subwindow = 32, 
            time = 294, 
            x = 12038288, 
            y = 0, 
            x_root = -1786493938, 
            y_root = -1, 
            state = 34641472, 
            is_hint = 0 '\000', 
            same_screen = -205012128
          }, 
          xcrossing = {
            type = 33, 
            serial = 73085, 
            send_event = 1, 
            display = 0xe374f0, 
            window = 46137459, 
            root = 296, 
            subwindow = 32, 
            time = 294, 
            x = 12038288, 
            y = 0, 
            x_root = -1786493938, 
            y_root = -1, 
            mode = 34641472, 
            detail = 0, 
            same_screen = -205012128, 
            focus = -1, 
            state = 75965920
          }, 
          xfocus = {
            type = 33, 
            serial = 73085, 
            send_event = 1, 
            display = 0xe374f0, 
            window = 46137459, 
            mode = 296, 
            detail = 0
          }, 
          xexpose = {
            type = 33, 
            serial = 73085, 
            send_event = 1, 
            display = 0xe374f0, 
            window = 46137459, 
            x = 296, 
            y = 0, 
            width = 32, 
            height = 0, 
            count = 294
          }, 
          xgraphicsexpose = {
            type = 33, 
            serial = 73085, 
            send_event = 1, 
            display = 0xe374f0, 
            drawable = 46137459, 
            x = 296, 
            y = 0, 
            width = 32, 
            height = 0, 
            count = 294, 
            major_code = 0, 
            minor_code = 12038288
          }, 
          xnoexpose = {
            type = 33, 
            serial = 73085, 
            send_event = 1, 
            display = 0xe374f0, 
            drawable = 46137459, 
            major_code = 296, 
            minor_code = 0
          }, 
          xvisibility = {
            type = 33, 
            serial = 73085, 
            send_event = 1, 
            display = 0xe374f0, 
            window = 46137459, 
            state = 296
          }, 
          xcreatewindow = {
            type = 33, 
            serial = 73085, 
            send_event = 1, 
            display = 0xe374f0, 
            parent = 46137459, 
            window = 296, 
            x = 32, 
            y = 0, 
            width = 294, 
            height = 0, 
            border_width = 12038288, 
            override_redirect = 0
          }, 
          xdestroywindow = {
            type = 33, 
            serial = 73085, 
            send_event = 1, 
            display = 0xe374f0, 
            event = 46137459, 
            window = 296
          }, 
          xunmap = {
            type = 33, 
            serial = 73085, 
            send_event = 1, 
            display = 0xe374f0, 
            event = 46137459, 
            window = 296, 
            from_configure = 32
          }, 
          xmap = {
            type = 33, 
            serial = 73085, 
            send_event = 1, 
            display = 0xe374f0, 
            event = 46137459, 
            window = 296, 
            override_redirect = 32
          }, 
          xmaprequest = {
            type = 33, 
            serial = 73085, 
            send_event = 1, 
            display = 0xe374f0, 
            parent = 46137459, 
            window = 296
          }, 
          xreparent = {
            type = 33, 
            serial = 73085, 
            send_event = 1, 
            display = 0xe374f0, 
            event = 46137459, 
            window = 296, 
            parent = 32, 
            x = 294, 
            y = 0, 
            override_redirect = 12038288
          }, 
          xconfigure = {
            type = 33, 
            serial = 73085, 
            send_event = 1, 
            display = 0xe374f0, 
            event = 46137459, 
            window = 296, 
            x = 32, 
            y = 0, 
            width = 294, 
            height = 0, 
            border_width = 12038288, 
            above = 18446744071923057678, 
            override_redirect = 34641472
          }, 
          xgravity = {
            type = 33, 
            serial = 73085, 
            send_event = 1, 
            display = 0xe374f0, 
            event = 46137459, 
            window = 296, 
            x = 32, 
            y = 0
          }, 
          xresizerequest = {
            type = 33, 
            serial = 73085, 
            send_event = 1, 
            display = 0xe374f0, 
            window = 46137459, 
            width = 296, 
            height = 0
          }, 
          xconfigurerequest = {
            type = 33, 
            serial = 73085, 
            send_event = 1, 
            display = 0xe374f0, 
            parent = 46137459, 
            window = 296, 
            x = 32, 
            y = 0, 
            width = 294, 
            height = 0, 
            border_width = 12038288, 
            above = 18446744071923057678, 
            detail = 34641472, 
            value_mask = 18446744073504539488
          }, 
          xcirculate = {
            type = 33, 
            serial = 73085, 
            send_event = 1, 
            display = 0xe374f0, 
            event = 46137459, 
            window = 296, 
            place = 32
          }, 
          xcirculaterequest = {
            type = 33, 
            serial = 73085, 
            send_event = 1, 
            display = 0xe374f0, 
            parent = 46137459, 
            window = 296, 
            place = 32
          }, 
          xproperty = {
            type = 33, 
            serial = 73085, 
            send_event = 1, 
            display = 0xe374f0, 
            window = 46137459, 
            atom = 296, 
            time = 32, 
            state = 294
          }, 
          xselectionclear = {
            type = 33, 
            serial = 73085, 
            send_event = 1, 
            display = 0xe374f0, 
            window = 46137459, 
            selection = 296, 
            time = 32
          }, 
          xselectionrequest = {
            type = 33, 
            serial = 73085, 
            send_event = 1, 
            display = 0xe374f0, 
            owner = 46137459, 
            requestor = 296, 
            selection = 32, 
            target = 294, 
            property = 12038288, 
            time = 18446744071923057678
          }, 
          xselection = {
            type = 33, 
            serial = 73085, 
            send_event = 1, 
            display = 0xe374f0, 
            requestor = 46137459, 
            selection = 296, 
            target = 32, 
            property = 294, 
            time = 12038288
          }, 
          xcolormap = {
            type = 33, 
            serial = 73085, 
            send_event = 1, 
            display = 0xe374f0, 
            window = 46137459, 
            colormap = 296, 
            c_new = 32, 
            state = 0
          }, 
          xclient = {
            type = 33, 
            serial = 73085, 
            send_event = 1, 
            display = 0xe374f0, 
            window = 46137459, 
            message_type = 296, 
            format = 32, 
            data = {
              b = "&\001\000\000\000\000\000\000\220\260\267\000\000\000\000\000\016D\204\225", 
              s = {294, 0, 0, 0, -20336, 183, 0, 0, 17422, -27260}, 
              l = {294, 12038288, -1786493938, 34641472, -205012128}
            }
          }, 
          xmapping = {
            type = 33, 
            serial = 73085, 
            send_event = 1, 
            display = 0xe374f0, 
            window = 46137459, 
            request = 296, 
            first_keycode = 0, 
            count = 32
          }, 
          xerror = {
            type = 33, 
            display = 0x11d7d, 
            resourceid = 1, 
            serial = 14906608, 
            error_code = 115 's', 
            request_code = 0 '\000', 
            minor_code = 192 '\300'
          }, 
          xkeymap = {
            type = 33, 
            serial = 73085, 
            send_event = 1, 
            display = 0xe374f0, 
            window = 46137459, 
            key_vector = "(\001\000\000\000\000\000\000 \000\000\000\000\000\000\000&\001\000\000\000\000\000\000\220\260\267\000\000\000\000"
          }, 
          xgeneric = {
            type = 33, 
            serial = 73085, 
            send_event = 1, 
            display = 0xe374f0, 
            extension = 46137459, 
            evtype = 0
          }, 
          xcookie = {
            type = 33, 
            serial = 73085, 
            send_event = 1, 
            display = 0xe374f0, 
            extension = 46137459, 
            evtype = 0, 
            cookie = 296, 
            data = 0x20
          }, 
          pad = {33, 73085, 1, 14906608, 46137459, 296, 32, 294, 12038288, -1786493938, 34641472, -205012128, 75965920, 14132000, 14132000, 14132000, 6850472837119, -4294967234, 75966272, -1, 913, 75948592, 75964848, 75966144}
        }
        source = 0xe1f270
        marker = 73086
#33 0x0000003295847825 in g_main_dispatch (context=0xe1d500) at gmain.c:2539
        dispatch = 0x35f106a7e0 <x11EventSourceDispatch(GSource*, GSourceFunc, gpointer)>
        was_in_call = 0
        user_data = 0x0
        callback = 0
        cb_funcs = 0x0
        cb_data = 0x0
        current_source_link = {
          data = 0xe1f270, 
          next = 0x0
        }
        need_destroy = <optimized out>
        source = 0xe1f270
        current = 0xfcf530
        i = <optimized out>
#34 g_main_context_dispatch (context=context at entry=0xe1d500) at gmain.c:3075
No locals.
#35 0x0000003295847b58 in g_main_context_iterate (context=context at entry=0xe1d500, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at gmain.c:3146
        max_priority = 2147483647
        timeout = 8907
        some_ready = 1
        nfds = <optimized out>
        allocated_nfds = <optimized out>
        fds = 0xfeb290
#36 0x0000003295847c14 in g_main_context_iteration (context=0xe1d500, may_block=1) at gmain.c:3207
        retval = <optimized out>
#37 0x00000035f09a5fc6 in QEventDispatcherGlib::processEvents (this=0xe1ca60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
        d = 0xe1ca80
        canWait = <optimized out>
        savedFlags = {
          i = 0
        }
        result = <optimized out>
#38 0x00000035f106a5ee in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
        d = 0xe1ca80
        saved_flags = {
          i = 0
        }
        returnValue = false
#39 0x00000035f09766ef in QEventLoop::processEvents (this=this at entry=0x7fffffffdbc0, flags=...) at kernel/qeventloop.cpp:149
        d = 0xb779930
#40 0x00000035f0976978 in QEventLoop::exec (this=0x7fffffffdbc0, flags=...) at kernel/qeventloop.cpp:204
        d = 0xb779930
        locker = {
          val = 14793368
        }
        app = 0x7fffffffdd50
#41 0x00000035f097b768 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
        threadData = 0xe1b7b0
        eventLoop = {
          <QObject> = {
            _vptr.QObject = 0x35f0cd2630, 
            static staticMetaObject = {
              d = {
                superdata = 0x0, 
                stringdata = 0x35f0a561e0 "QObject", 
                data = 0x35f0a56280, 
                extradata = 0x35f0ccfb40
              }
            }, 
            static staticMetaObjectExtraData = {
              objects = 0x0, 
              static_metacall = 0x35f098e0c0 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>
            }, 
            d_ptr = {
              d = 0xb779930
            }, 
            static staticQtMetaObject = {
              d = {
                superdata = 0x0, 
                stringdata = 0x35f0a5f120 "Qt", 
                data = 0x35f0a62a40, 
                extradata = 0x0
              }
            }
          }, 
          members of QEventLoop: 
          static staticMetaObject = {
            d = {
              superdata = 0xd7a080, 
              stringdata = 0x35f0a68d00 "QEventLoop", 
              data = 0x35f0a68d20, 
              extradata = 0x35f0cd26c0
            }
          }, 
          static staticMetaObjectExtraData = {
            objects = 0x0, 
            static_metacall = 0x35f09d76d0 <QEventLoop::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>
          }
        }
        returnCode = <optimized out>
#42 0x0000000000554124 in main (argc=2, argv=0x7fffffffe518) at /home/kk/dev/cpp/qgis/Quantum-GIS/src/app/main.cpp:859
        customizationsettings = 0xfc7d00
        mySettings = {
          <QObject> = {
            _vptr.QObject = 0x35f0cd1930, 
            static staticMetaObject = {
              d = {
                superdata = 0x0, 
                stringdata = 0x35f0a561e0 "QObject", 
                data = 0x35f0a56280, 
                extradata = 0x35f0ccfb40
              }
            }, 
            static staticMetaObjectExtraData = {
              objects = 0x0, 
              static_metacall = 0x35f098e0c0 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>
            }, 
            d_ptr = {
              d = 0xfccdf0
            }, 
            static staticQtMetaObject = {
              d = {
                superdata = 0x0, 
                stringdata = 0x35f0a5f120 "Qt", 
                data = 0x35f0a62a40, 
                extradata = 0x0
              }
            }
          }, 
          members of QSettings: 
          static staticMetaObject = {
            d = {
              superdata = 0xd7a080, 
              stringdata = 0x35f0a67ee0 "QSettings", 
              data = 0x35f0a67f00, 
              extradata = 0x35f0cd19c0
            }
          }, 
          static staticMetaObjectExtraData = {
            objects = 0x0, 
            static_metacall = 0x35f09d6320 <QSettings::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>
          }
        }
        mypSplash = 0xe7af90
        qgis = 0x10043c0
        retval = 32767
        myLocaleOverrideFlag = true
        myLocale = ""
        myPixmap = {
          <QPaintDevice> = {
            _vptr.QPaintDevice = 0x35f1a66cf0, 
            painters = 0
          }, 
          members of QPixmap: 
          data = {
            d = 0xfdf050
          }
        }
        style = "GTK+"
        i18nPath = "/home/kk/dev/cpp/qgis/qtcreator-build/output/i18n"
        myUserLocale = "en_US"
        qgistor = {
          <QObject> = {
            _vptr.QObject = 0x35f0cd2ab0, 
            static staticMetaObject = {
              d = {
                superdata = 0x0, 
                stringdata = 0x35f0a561e0 "QObject", 
                data = 0x35f0a56280, 
                extradata = 0x35f0ccfb40
              }
            }, 
            static staticMetaObjectExtraData = {
              objects = 0x0, 
              static_metacall = 0x35f098e0c0 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>
            }, 
            d_ptr = {
              d = 0xfe0a30
            }, 
            static staticQtMetaObject = {
              d = {
                superdata = 0x0, 
                stringdata = 0x35f0a5f120 "Qt", 
                data = 0x35f0a62a40, 
                extradata = 0x0
              }
            }
          }, 
          members of QTranslator: 
          static staticMetaObject = {
            d = {
              superdata = 0xd7a080, 
              stringdata = 0x35f0a6a1a0 "QTranslator", 
              data = 0x35f0a6a1c0, 
              extradata = 0x35f0cd2b40
            }
          }, 
          static staticMetaObjectExtraData = {
            objects = 0x0, 
            static_metacall = 0x35f09d7e40 <QTranslator::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>
          }
        }
        qttor = {
          <QObject> = {
            _vptr.QObject = 0x35f0cd2ab0, 
            static staticMetaObject = {
              d = {
                superdata = 0x0, 
                stringdata = 0x35f0a561e0 "QObject", 
                data = 0x35f0a56280, 
                extradata = 0x35f0ccfb40
              }
            }, 
            static staticMetaObjectExtraData = {
              objects = 0x0, 
              static_metacall = 0x35f098e0c0 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>
            }, 
            d_ptr = {
              d = 0xfe0630
            }, 
            static staticQtMetaObject = {
              d = {
                superdata = 0x0, 
                stringdata = 0x35f0a5f120 "Qt", 
                data = 0x35f0a62a40, 
                extradata = 0x0
              }
            }
          }, 
          members of QTranslator: 
          static staticMetaObject = {
            d = {
              superdata = 0xd7a080, 
              stringdata = 0x35f0a6a1a0 "QTranslator", 
              data = 0x35f0a6a1c0, 
              extradata = 0x35f0cd2b40
            }
          }, 
          static staticMetaObjectExtraData = {
            objects = 0x0, 
            static_metacall = 0x35f09d7e40 <QTranslator::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>
          }
        }
        mySplashPath = ":/images/splash/"
        mySnapshotHeight = 600
        myHideSplash = false
        myRestorePlugins = true
        pythonfile = ""
        myUseGuiFlag = true
        mySnapshotFileName = ""
        mySnapshotWidth = 800
        myTranslationCode = "en_US"
        configpath = ""
        optionpath = ""
        myCustomization = true
        myInitialExtent = ""
        customizationfile = ""
        myApp = {
          <QApplication> = {
            <QCoreApplication> = {
              <QObject> = {
                _vptr.QObject = 0x7ffff618f4f0, 
                static staticMetaObject = {
                  d = {
                    superdata = 0x0, 
                    stringdata = 0x35f0a561e0 "QObject", 
                    data = 0x35f0a56280, 
                    extradata = 0x35f0ccfb40
                  }
                }, 
                static staticMetaObjectExtraData = {
                  objects = 0x0, 
                  static_metacall = 0x35f098e0c0 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>
                }, 
                d_ptr = {
                  d = 0xe1b850
                }, 
                static staticQtMetaObject = {
                  d = {
                    superdata = 0x0, 
                    stringdata = 0x35f0a5f120 "Qt", 
                    data = 0x35f0a62a40, 
                    extradata = 0x0
                  }
                }
              }, 
              members of QCoreApplication: 
              static staticMetaObject = {
                d = {
                  superdata = 0xd7a080, 
                  stringdata = 0x35f0a68da0 "QCoreApplication", 
                  data = 0x35f0a68e40, 
                  extradata = 0x35f0cd27a0
                }
              }, 
              static staticMetaObjectExtraData = {
                objects = 0x0, 
                static_metacall = 0x35f09d77b0 <QCoreApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>
              }, 
              static self = 0x0
            }, 
            members of QApplication: 
            static staticMetaObject = {
              d = {
                superdata = 0x35f0cd2780, 
                stringdata = 0x35f163b220 "QApplication", 
                data = 0x35f163b460, 
                extradata = 0x35f1a62ea0
              }
            }, 
            static staticMetaObjectExtraData = {
              objects = 0x0, 
              static_metacall = 0x35f0fcdcd0 <QApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>
            }
          }, 
          members of QgsApplication: 
          static staticMetaObject = {
            d = {
              superdata = 0x35f1a62e80, 
              stringdata = 0x7ffff5eb5c40 "QgsApplication", 
              data = 0x7ffff5eb5be0, 
              extradata = 0x7ffff618f4a0
            }
          }, 
          static staticMetaObjectExtraData = {
            objects = 0x0, 
            static_metacall = 0x7ffff5e67da8 <QgsApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>
          }, 
          static mFileOpenEventReceiver10900 = 0x10043c0, 
          static mFileOpenEventList10900 = {
            <QList<QString>> = empty QList<QString>, <No data fields>}, 
          static mPrefixPath10900 = {
            static null = {<No data fields>}, 
            static shared_null = {
              ref = {
                _q_value = 1
              }, 
              alloc = 0, 
              size = 0, 
              data = 0xd7a33a, 
              clean = 0, 
              simpletext = 0, 
              righttoleft = 0, 
              asciiCache = 0, 
              capacity = 0, 
              reserved = 0, 
              array = {0}
            }, 
            static shared_empty = {
              ref = {
                _q_value = 935
              }, 
              alloc = 0, 
              size = 0, 
              data = 0x35f0cd48da, 
              clean = 0, 
              simpletext = 0, 
              righttoleft = 0, 
              asciiCache = 0, 
              capacity = 0, 
              reserved = 0, 
              array = {0}
            }, 
            d = 0xd7a320, 
            static codecForCStrings = 0x0
          }, 
          static mPluginPath10900 = {
            static null = <same as static member of an already seen type>, 
            static shared_null = <same as static member of an already seen type>, 
            static shared_empty = <same as static member of an already seen type>, 
            d = 0xfc9c80, 
            static codecForCStrings = 0x0
          }, 
          static mPkgDataPath10900 = {
            static null = <same as static member of an already seen type>, 
            static shared_null = <same as static member of an already seen type>, 
            static shared_empty = <same as static member of an already seen type>, 
            d = 0xfc6120, 
            static codecForCStrings = 0x0
          }, 
          static mLibraryPath10900 = {
            static null = <same as static member of an already seen type>, 
            static shared_null = <same as static member of an already seen type>, 
            static shared_empty = <same as static member of an already seen type>, 
            d = 0xfc9f10, 
            static codecForCStrings = 0x0
          }, 
          static mLibexecPath10900 = {
            static null = <same as static member of an already seen type>, 
            static shared_null = <same as static member of an already seen type>, 
            static shared_empty = <same as static member of an already seen type>, 
            d = 0xfca130, 
            static codecForCStrings = 0x0
          }, 
          static mThemeName10900 = {
            static null = <same as static member of an already seen type>, 
            static shared_null = <same as static member of an already seen type>, 
            static shared_empty = <same as static member of an already seen type>, 
            d = 0x106e9b0, 
            static codecForCStrings = 0x0
          }, 
          static mDefaultSvgPaths10900 = {
            <QList<QString>> = QList<QString> = {
              [0] = "/home/kk/dev/cpp/qgis/Quantum-GIS/images/svg/",
              [1] = "/home/kk/.qgis//svg/",
              [2] = "/images/svg/"
            }, <No data fields>}, 
          static mConfigPath10900 = {
            static null = <same as static member of an already seen type>, 
            static shared_null = <same as static member of an already seen type>, 
            static shared_empty = <same as static member of an already seen type>, 
            d = 0xfc89d0, 
            static codecForCStrings = 0x0
          }, 
          static mRunningFromBuildDir10900 = false, 
          static mBuildSourcePath10900 = {
            static null = <same as static member of an already seen type>, 
            static shared_null = <same as static member of an already seen type>, 
            static shared_empty = <same as static member of an already seen type>, 
            d = 0x0, 
            static codecForCStrings = 0x0
          }, 
          static mBuildOutputPath10900 = {
            static null = <same as static member of an already seen type>, 
            static shared_null = <same as static member of an already seen type>, 
            static shared_empty = <same as static member of an already seen type>, 
            d = 0xfc7120, 
            static codecForCStrings = 0x0
          }, 
          static mGdalSkipList10900 = {
            <QList<QString>> = <error reading variable: Cannot access memory at address 0xc>, <No data fields>}
        }



More information about the Qgis-developer mailing list